@font-face {
  font-family: Instrument Serif;
  src: url(type/InstrumentSerif.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url(type/InstrumentSerif-Italic.ttf) format("truetype");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(type/DMSans.ttf) format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #faf6e9;
  --ink: #202e31;
  --red: #a23d28;
  --line: #c9c3b2;
  --teal: #17433f;
  --serif:
    "Instrument Serif", "Hiragino Mincho ProN", "Songti SC",
    "Noto Serif CJK KR", Georgia, serif;
  --sans:
    "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans", "Malgun Gothic", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #ab532c;
  outline-offset: 4px;
}
img {
  display: block;
}
.wrap {
  width: min(100% - clamp(2rem, 8vw, 9rem), 1440px);
  margin-inline: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  min-height: 81px;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3.6vw, 3.7rem);
}
.brand,
.wordmark {
  font: 600 1.68rem/1.1 var(--sans);
  letter-spacing: -0.07em;
  text-decoration: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  margin-right: auto;
}
.brand img {
  border-radius: 9px;
}
.mast nav,
.foot-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.7rem);
}
.mast nav a,
.languages summary,
.foot-links a {
  font-weight: 550;
  font-size: 0.91rem;
  text-decoration: none;
}
.mast nav a:hover,
.foot-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.languages {
  position: relative;
}
.languages summary {
  list-style: none;
  display: flex;
  gap: 0.48rem;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2vw, 2rem);
  min-height: 44px;
}
.languages summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}
.languages > div {
  position: absolute;
  right: 0;
  top: 100%;
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 23px #1c231b1c;
  width: 154px;
  padding: 6px;
  z-index: 5;
}
.languages a {
  padding: 0.48rem 0.7rem;
  text-decoration: none;
}
.languages a:hover,
.languages a[aria-current] {
  background: #eae6d7;
}
.globe {
  font-size: 1.2rem;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem;
  z-index: 5;
}
.skip:focus {
  top: 1rem;
}
.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(2.7rem, 5.2vw, 5.5rem) clamp(3.2rem, 5.1vw, 5.7rem);
}
.kicker {
  font: 650 0.78rem/1.45 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal);
}
.kicker i {
  display: inline-block;
  background: var(--red);
  width: 19px;
  height: 3px;
}
.hero h1,
.doc h1,
h2,
h3 {
  font: 400 3rem/1.04 var(--serif);
  margin: 0;
  letter-spacing: -0.032em;
}
.hero h1 {
  font-size: clamp(4rem, 7.8vw, 8.5rem);
  line-height: 0.95;
}
.hero h1 em,
.family em {
  font-weight: 400;
  color: var(--red);
}
.lead {
  font-size: clamp(1.06rem, 1.25vw, 1.3rem);
  line-height: 1.55;
  max-width: 34em;
}
.hero-copy .lead {
  margin: 1.65rem 0 1.8rem;
  max-width: 29em;
}
.actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  color: white;
  font: 600 1rem var(--sans);
  box-shadow: 0 2px 0 #753020;
}
.primary:hover {
  background: #883522;
}
.primary:disabled {
  opacity: 0.7;
}
.play-icon {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid #fff;
}
.text-link {
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.hero-plate {
  margin: 0;
  border: 1px solid #3a4037;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  background: #16413c;
  box-shadow: 0 4px 0 -1px #d4c8b0;
}
.hero-plate img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.49;
  object-fit: cover;
}
.hero-plate figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 38px;
  margin-top: -1px;
  background: #e9dfc7;
  color: #30312a;
  padding: 0.36rem 0.95rem;
  font: 600 0.83rem var(--sans);
  border-top: 1px solid #343c32;
}
.plate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a33c28;
}
.ticks {
  margin-left: auto;
  width: 31%;
  height: 9px;
  background: repeating-linear-gradient(
    to right,
    #736b56 0 1px,
    transparent 1px 8px
  );
}
.gallery {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.4rem, 4vw, 4.4rem) clamp(3rem, 5vw, 5.5rem);
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.7rem;
}
.section-intro .kicker,
.family .kicker {
  margin-bottom: 0.6rem;
}
.section-intro h2,
.family h2,
.doc h1 {
  font-size: clamp(3rem, 5vw, 6rem);
}
.section-intro > p {
  max-width: 330px;
  margin: 0;
  color: #4a514a;
}
.specimens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.4rem);
}
.image-bed {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: #f6ead3;
}
.image-bed img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.spec-caption {
  padding: 0.95rem 0 0;
}
.dot-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #485b4e;
}
.dot-label:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #428173;
}
.specimen:last-child .dot-label:before {
  background: #bd852a;
}
.spec-caption h3 {
  font-size: clamp(1.75rem, 2.6vw, 3rem);
  margin: 0.45rem 0 0.55rem;
}
.spec-caption p,
.family-copy > p:not(.kicker) {
  color: #414d46;
  margin: 0;
  max-width: 39em;
  line-height: 1.65;
}
.family {
  background: #e7ecdf;
  border-block: 1px solid #bdc7b7;
}
.family-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: 4.3rem;
}
.family-copy h2 {
  max-width: 9em;
}
.family-copy > p:not(.kicker) {
  margin: 1.2rem 0;
}
.paper-stack {
  width: min(84%, 355px);
  margin: auto;
  position: relative;
  isolation: isolate;
}
.paper-stack:after,
.paper-stack:before {
  content: "";
  position: absolute;
  inset: 8px 0 -5px;
  border: 1px solid #9e9f88;
  background: #e5d9bb;
  z-index: -1;
  transform: rotate(5deg);
  border-radius: 3px;
}
.paper-stack:before {
  transform: rotate(-6deg);
  background: #e8d9c4;
}
.note {
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, #6c816711 19px 20px),
    #fcf5df;
  border: 1px solid #a39a83;
  border-top: 7px solid #b75038;
  padding: 1.1rem clamp(1rem, 2.4vw, 2rem);
  transform: rotate(-1deg);
  box-shadow: 3px 7px 8px #3a3c2a14;
}
.note-title {
  font: 400 2.55rem/1 var(--serif);
}
.tank-sketch {
  width: 84px;
  height: 68px;
  border: 3px solid #354d4b;
  border-top: 0;
  margin: 1.8rem auto;
  position: relative;
  transform: rotate(-4deg);
}
.water-fill {
  position: absolute;
  bottom: 0;
  background: #8ec5be;
  width: 100%;
  height: 65%;
  border-top: 2px solid #347971;
}
.water-mark {
  border-top: 2px dashed #ad4b35;
  position: absolute;
  bottom: 50%;
  width: 118%;
  left: -9%;
}
.note-guesses {
  display: flex;
  gap: 1.2rem;
  border-top: 1px solid #aca795;
  padding-top: 0.7rem;
}
.note-guesses > div {
  flex: 1;
  font: 1.28rem var(--serif);
}
.note-guesses small {
  display: block;
  font: 650 0.7rem var(--sans);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 2.6rem;
}
.wordmark {
  font-size: 1.45rem;
}
.foot p {
  font-size: 0.88rem;
  margin: 0.4rem 0;
  color: #5c6156;
}
.foot-links {
  flex-wrap: wrap;
}
.doc {
  padding-block: clamp(2rem, 5vw, 5rem);
}
.doc-intro {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.doc-intro .lead {
  max-width: 53ch;
}
.doc-intro small {
  font-size: 0.85rem;
  color: #575f54;
}
.doc-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding-top: 2.5rem;
}
.doc-body h2 {
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}
.prose p,
.help-tile p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 70ch;
}
.prose section {
  padding-bottom: 1rem;
}
.help-tile,
.contents {
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  padding: 1.5rem;
  background: #f0ebdb;
}
.help-tile h2 {
  font-size: 2.35rem;
}
.contents {
  display: grid;
  gap: 0.8rem;
}
.contents a {
  text-underline-offset: 4px;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 1rem;
}
.faq summary {
  list-style: none;
  font-weight: 650;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary:after {
  content: "+";
}
.faq[open] summary:after {
  content: "−";
}
.faq p {
  margin-bottom: 0.4rem;
}
footer {
  border-top: 1px solid var(--line);
}
.js-only {
  display: none;
}
.js .js-only {
  display: inline-flex;
}
dialog {
  color: var(--ink);
  padding: clamp(1.35rem, 3vw, 2.4rem);
  width: min(590px, calc(100vw - 2rem));
  max-height: 90dvh;
  background: var(--paper);
  border: 1px solid #586258;
  border-radius: 10px;
}
dialog::backdrop {
  background: #162d29b8;
}
dialog h2 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  padding-right: 0.5rem;
}
dialog .kicker {
  margin-bottom: 0.5rem;
}
.close {
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.65rem;
}
.close:hover {
  background: #e7dfca;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 1rem 0;
}
legend,
.flag-label {
  font-weight: 600;
}
fieldset label {
  margin-right: 0.9rem;
}
#track {
  width: 100%;
  height: auto;
  display: block;
  background: #ede8d9;
  border-radius: 3px;
  border: 1px solid #c4b99f;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  min-height: 38px;
  margin: 0 0 0.5rem;
}
.flag-label {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}
#outcome {
  min-height: 1.4em;
  margin: 1rem 0 0;
}
:lang(ja) .hero h1,
:lang(ko) .hero h1,
:lang(zh) .hero h1 {
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  line-height: 1.13;
  letter-spacing: -0.07em;
}
:lang(ja) h2,
:lang(ko) h2,
:lang(zh) h2 {
  line-height: 1.2;
}
:lang(ko) {
  word-break: keep-all;
  overflow-wrap: break-word;
}
:lang(ja) .kicker,
:lang(ko) .kicker,
:lang(zh) .kicker {
  letter-spacing: 0.07em;
}
@media (max-width: 860px) {
  .nav-family {
    display: none;
  }
  .hero {
    gap: 1.4rem;
    grid-template-columns: 0.88fr 1.12fr;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 8vw, 5rem);
  }
  .actions {
    gap: 0.9rem;
  }
  .hero-plate img {
    aspect-ratio: 1.24;
  }
  .doc-body {
    gap: 2.4rem;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 2.2rem);
  }
  .mast-inner {
    gap: 0.85rem;
    min-height: 65px;
  }
  .brand {
    font-size: 1.38rem;
    gap: 0.4rem;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .nav-exhibit {
    display: none;
  }
  .mast nav a,
  .languages summary {
    font-size: 0.85rem;
  }
  .languages summary {
    padding-left: 0.65rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    padding-block: 2.15rem 2.25rem;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 14vw, 6rem);
  }
  .hero-copy .lead {
    margin: 0.95rem 0 1.25rem;
  }
  .kicker {
    margin-bottom: 0.75rem;
  }
  .hero-plate img {
    aspect-ratio: 1.65;
  }
  .section-intro,
  .foot {
    display: block;
  }
  .section-intro > p {
    margin: 0.75rem 0;
  }
  .specimens {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .image-bed img {
    aspect-ratio: 1.85;
  }
  .family-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: 2.6rem;
  }
  .paper-stack {
    width: 76%;
  }
  .foot-links {
    margin-top: 1.2rem;
  }
  .doc-body {
    grid-template-columns: 1fr;
  }
  .doc .contents {
    display: none;
  }
  .doc .lead {
    margin-bottom: 1rem;
  }
  .doc h1 {
    font-size: 3.5rem;
  }
  .globe {
    display: none;
  }
  .primary {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.image-bed {
  display: grid;
  place-items: center;
  height: clamp(175px, 18vw, 310px);
  padding: 1rem;
}
.image-bed.water {
  background: #d6e5de;
}
.image-bed.mirror {
  background: #e2d9e4;
}
.image-bed.garden {
  background: #efe0bd;
}
.image-bed img {
  aspect-ratio: auto;
  width: auto;
  height: 100%;
  max-width: 90%;
  object-fit: contain;
  box-shadow: 0 4px 11px #29332b29;
  border-radius: 2px;
}
.water img {
  transform: rotate(-3deg);
}
.mirror img {
  transform: rotate(2deg);
}
.garden img {
  transform: rotate(-2deg);
}
@media (max-width: 680px) {
  .image-bed {
    height: clamp(195px, 55vw, 280px);
  }
}
