:root {
  color-scheme: dark;
  --graphite: #14161a;
  --paper: #f3f1ec;
  --ink: #1c1e22;
  --quiet: #5e646c;
  --light: #e8eaee;
  --muted: #9aa3b0;
  --display: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--graphite); color: var(--light); }
body { font: 400 17px/1.45 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nav { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 0 40px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.brand { color: var(--light); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero { min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding: 96px 48px 48px; background: var(--graphite); }
.hero-copy { grid-column: 1 / 7; max-width: 640px; padding-bottom: 6vh; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; }
h1 { margin: 0; font-size: clamp(72px, 6.4vw, 104px); line-height: .92; }
h1 span { display: block; }
.lede { max-width: 28rem; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 28px; }
.button, .quiet, .text-link { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; }
.button { padding: 0 18px; border-radius: 8px; background: var(--light); color: #172033; font-weight: 600; }
.quiet, .text-link { text-decoration: underline; text-underline-offset: 4px; }
.hero-figure { grid-column: 7 / 13; justify-self: center; align-self: center; width: auto; height: min(78svh, 860px); object-fit: contain; animation: arrive 220ms ease both; }
.paper { background: var(--paper); color: var(--ink); padding: 96px 0; }
.band { width: min(1320px, calc(100% - 96px)); margin: 0 auto; }
.stage h2, .flow h2, .detail h2, .feature h2 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; }
.stage h2, .flow h2 { max-width: none; }
.feature h2, .detail h2 { max-width: 11em; }
.stage img { display: block; width: 100%; margin-top: 28px; border-radius: 14px; }
.caption { margin: 14px 0 0; color: var(--quiet); font-size: 14px; }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding: 8px 0 80px; }
.feature-copy { grid-column: 1 / 7; }
.feature p { max-width: 28rem; margin: 16px 0 0; color: var(--quiet); font-size: 18px; }
.measures, .poses { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; }
.measures { display: grid; grid-template-columns: max-content 4.2em max-content; justify-content: end; justify-self: end; column-gap: 16px; row-gap: 8px; }
.measures li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
.measures b { min-width: 2.8em; font-family: var(--display); font-size: clamp(36px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.measures span { color: var(--quiet); font-size: 15px; }
.measures span:last-child { color: var(--ink); }
.flip .feature-copy { grid-column: 8 / 13; }
.flip .poses { grid-column: 1 / 7; }
.poses { columns: 2; column-gap: 28px; font-family: var(--display); font-size: 26px; line-height: 1.2; }
.poses a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.poses a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wide { align-items: start; }
.wide h2 { grid-column: 1 / 9; max-width: 14ch; }
.wide p { grid-column: 1 / 8; }
.wide .text-link { grid-column: 1 / 4; margin-top: 8px; }
.detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.detail-copy { grid-column: 1 / 6; }
.big { margin: 28px 0 0; font-family: var(--display); font-size: clamp(88px, 9vw, 136px); font-weight: 500; letter-spacing: -.045em; line-height: .82; }
.big small { margin-left: .15em; font-size: .28em; letter-spacing: 0; }
dl { max-width: 380px; margin: 28px 0 0; }
dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
dt { color: var(--quiet); }
dd { margin: 0; font-variant-numeric: tabular-nums; }
.detail img { grid-column: 7 / 13; width: min(100%, 460px); height: auto; justify-self: end; border-radius: 14px; }
.flow h2 { max-width: none; }
.steps { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; }
.steps button { min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--quiet); font: inherit; font-size: 18px; cursor: pointer; }
.steps button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
#step-panel { max-width: 36rem; min-height: 4.6em; margin: 18px 0 0; font-size: 22px; line-height: 1.4; transition: opacity 180ms ease; }
.close { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 18vh 48px 12vh; background: var(--graphite); }
.close h2 { margin: 0; max-width: 10em; font-size: clamp(64px, 7vw, 104px); line-height: .92; }
footer { padding: 0 48px 28px; background: var(--graphite); }
.ktb-footer__bottom { color: var(--muted); }
.ktb-language-switch { display: flex; gap: 16px; }
.ktb-language-switch a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.ktb-language-switch a[aria-current="page"] { color: var(--light); }
@media (max-width: 980px) {
  .feature, .detail { display: block; }
  .measures, .poses { margin-top: 28px; }
  .detail img { width: min(100%, 460px); margin-top: 32px; }
}
@media (max-width: 800px) {
  .nav { padding: 0 20px; }
  .nav-links { gap: 14px; }
  .nav-links a { letter-spacing: .08em; }
  .hero { display: flex; flex-direction: column; justify-content: flex-start; min-height: 100svh; padding: 76px 20px 28px; }
  .hero-copy { max-width: none; padding-bottom: 0; margin-top: 8px; }
  .hero-figure { order: -1; height: 52svh; margin: 4px auto 12px; }
  h1 { font-size: clamp(48px, 13vw, 64px); }
  .paper { padding: 64px 0; }
  .band { width: calc(100% - 40px); }
  .feature, .detail { display: block; }
  .measures, .poses { margin-top: 28px; }
  .measures { justify-self: start; }
  .detail img { width: 100%; justify-self: start; }
  .poses { columns: 1; font-size: 24px; }
  .detail img { margin-top: 32px; }
  .close, footer { padding-left: 20px; padding-right: 20px; }
  .close h2 { font-size: clamp(48px, 13vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-figure, #step-panel { animation: none; transition: none; }
}
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }
