/* Unspun Studio: patent drawing sheet x cracktro void (round 2) */
@font-face { font-family: "Familjen Grotesk"; src: url("/fonts/familjen-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url("/fonts/departure-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --void: #09090c;
  --void-2: #121217;
  --ivory: #ece7da;
  --ivory-dim: #a8a395;
  --ivory-faint: rgba(236, 231, 218, .16);
  --ivory-rule: rgba(236, 231, 218, .3);
  --carmine: #c8102e;
  --carmine-hi: #f2384f;
  --paper: #f6f5f0;
  --paper-2: #ecebe4;
  --ink: #16150f;
  --ink-soft: #49463d;
  --rule: rgba(22, 21, 15, .2);
  --f-sans: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Departure Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #3a3933 var(--void); scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--void); color: var(--ivory);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.55;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; caret-color: var(--carmine-hi);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
::selection { background: var(--carmine-hi); color: var(--void); }
.sheet ::selection { background: var(--carmine); color: var(--paper); }
:focus-visible { outline: 2px solid var(--carmine-hi); outline-offset: 3px; border-radius: 2px; }
.sheet :focus-visible { outline-color: var(--carmine); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #34332d; border: 2px solid var(--void); border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ivory); color: var(--void); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }

/* ---------- fixed bar: wordmark plate + bold pill nav, always on top, always contrasting ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut) 0;
}
.bar > * { pointer-events: auto; }
.bar-brand, .nav, .menu summary {
  background: #09090c; border: 2px solid var(--ivory); border-radius: 999px;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(9, 9, 12, .9);
}
.bar-brand { display: inline-flex; align-items: center; height: 60px; padding: 0 22px 0 18px; color: var(--ivory); text-decoration: none; }
.wm { width: 220px; height: 36px; overflow: visible; }
.bar-brand:hover { border-color: var(--carmine-hi); }
.nav { display: flex; gap: 4px; padding: 5px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .01em; color: var(--ivory); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--ivory); color: var(--void); }
.nav .nav-cta { background: var(--ivory); color: var(--void); }
.nav .nav-cta:hover { background: var(--carmine-hi); color: var(--void); }
.nav a:focus-visible, .bar-brand:focus-visible { outline-offset: 3px; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  color: var(--ivory); font-weight: 700; font-size: 16px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.menu[open] summary svg { transform: rotate(45deg); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; display: grid; padding: 8px;
  background: #09090c; border: 2px solid var(--ivory); border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
}
.menu nav a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; color: var(--ivory); text-decoration: none; font-weight: 700; font-size: 20px; }
.menu nav a:hover, .menu nav a:focus-visible { background: var(--ivory); color: var(--void); }
@media (max-width: 899px) {
  .bar { padding-top: 10px; }
  .nav { display: none; }
  .menu { display: block; }
  .bar-brand { height: 52px; padding: 0 16px 0 12px; }
  .wm { width: 176px; height: 29px; }
}

/* ---------- hero: FIG. 1 ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy zone" "foot foot";
  padding-top: 84px;
  background: radial-gradient(ellipse 70% 60% at 66% 46%, rgba(236, 231, 218, .045), transparent 70%), var(--void);
}
.fig-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero.is-live .fig-canvas { opacity: 1; }
.fig-leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.leader { fill: none; stroke: var(--ivory); stroke-width: 1; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .3s, opacity .3s; }
.leader.is-on { stroke: var(--carmine-hi); stroke-width: 1.6; opacity: 1; }
.fig-zone { grid-area: zone; min-height: 420px; margin: 28px var(--gut) 34px 0; pointer-events: none; }

.hero-copy { grid-area: copy; position: relative; z-index: 3; align-self: center; padding: 0 0 6vh var(--gut); max-width: 640px; }
.hero h1 { font-size: clamp(2.7rem, 5.5vw, 5.75rem); line-height: .93; letter-spacing: -.04em; font-weight: 600; color: var(--ivory); }
.spun { position: relative; display: inline-block; white-space: nowrap; }
.spun svg { position: absolute; left: -10%; top: -14%; width: 122%; height: 132%; overflow: visible; pointer-events: none; }
.spun path { fill: none; stroke: var(--carmine-hi); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring 1.4s .9s var(--ease-out) forwards; vector-effect: non-scaling-stroke; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.hero-line { margin-top: 30px; color: var(--ivory-dim); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 38ch; }

/* labels: desktop = positioned on the figure */
.fig-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.fig-labels li { display: contents; }
.part {
  position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; gap: 10px; padding: 6px 4px;
  color: var(--ivory); text-decoration: none; background: none; border: 0; font: inherit; text-align: left; cursor: pointer;
  pointer-events: auto; opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.part.is-left { flex-direction: row-reverse; text-align: right; }
.part .num { font-family: var(--f-mono); font-size: 22px; line-height: 1; padding-top: 1px; transition: color .25s; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent; }
.part .txt { display: flex; flex-direction: column; gap: 4px; }
.part .name { font-size: 15px; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.part .sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-dim); white-space: nowrap; }
.part .ch { color: var(--carmine-hi); display: inline-flex; gap: 6px; align-items: center; }
.part .ch svg { width: 11px; height: 11px; }
.part.is-active .num, .part:hover .num { color: var(--carmine-hi); text-decoration-color: currentColor; }
.fig-tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; }
.fig-tag { position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: 22px; line-height: 1; color: var(--ivory); padding: 2px; opacity: 0; }

.hero-foot {
  grid-area: foot; position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 0 18px; border-top: 1px solid var(--ivory-faint); margin: 0 var(--gut);
}
.fig-cap { display: flex; align-items: baseline; gap: 16px; }
.fig-cap b { font-family: var(--f-mono); font-weight: 400; font-size: 22px; letter-spacing: .04em; }
.fig-cap span { color: var(--ivory-dim); font-size: 14px; }
.toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(236, 231, 218, .4);
  background: transparent; color: var(--ivory); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: 999px;
  transition: border-color .25s, color .25s;
}
.toggle svg { width: 16px; height: 16px; }
.toggle:hover { border-color: var(--carmine-hi); color: var(--carmine-hi); }
.fig-still { display: none; position: absolute; z-index: 1; right: var(--gut); top: 12%; width: 54%; height: auto; }
.hero.is-fallback .fig-still { display: block; }
@media (scripting: none) { .fig-still { display: block; } }
@media (min-width: 900px) {
  .hero.is-fallback .fig-labels { inset: auto var(--gut) 88px auto; width: min(560px, 50vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .hero.is-fallback .part { position: static; opacity: 1; visibility: visible; transform: none; }
}
@media (scripting: none) and (min-width: 900px) {
  .fig-labels { inset: auto var(--gut) 88px auto; width: min(560px, 50vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .part { position: static; opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 899px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "copy" "zone" "legend" "foot";
    min-height: 0; padding-top: 72px;
  }
  .hero-copy { padding: 30px var(--gut) 0; align-self: start; }
  .hero h1 { font-size: clamp(2.5rem, 11.4vw, 3.6rem); }
  .hero-line { margin-top: 16px; }
  .fig-zone { height: min(108vw, 470px); min-height: 0; margin: 4px 0 0; }
  .fig-tags { display: block; }
  .fig-labels {
    position: relative; inset: auto; grid-area: legend; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
    padding: 6px var(--gut) 0; pointer-events: auto;
  }
  .fig-labels li { display: block; border-top: 1px solid var(--ivory-faint); }
  .part { position: static; opacity: 1; visibility: visible; transform: none !important; padding: 10px 0; min-height: 56px; width: 100%; }
  .part.is-left { flex-direction: row; text-align: left; }
  .part .name, .part .sub { white-space: normal; }
  .hero-foot { margin-top: 22px; }
  .fig-cap span { display: none; }
  .fig-still { width: 92%; right: 4%; top: 30%; }
}

/* ---------- sheets ---------- */
.sheets { position: relative; padding: clamp(8px, 1.4vw, 20px); display: grid; gap: clamp(8px, 1.4vw, 20px); }
.sheet {
  --paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  position: relative; color: var(--ink); background: var(--paper-noise), var(--paper); border-radius: 3px;
  padding: clamp(48px, 6vw, 96px) clamp(22px, 4.6vw, 80px) clamp(48px, 6vw, 96px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  color-scheme: light;
}
.sheet::before { content: ""; position: absolute; inset: clamp(8px, 1.1vw, 16px); border: 1px solid var(--ink); pointer-events: none; }
.sheet::after {
  content: ""; position: absolute; left: 50%; top: clamp(8px, 1.1vw, 16px); width: 22px; height: 22px; transform: translate(-50%, -50%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%2316150f' stroke-width='1'%3E%3Ccircle cx='11' cy='11' r='6' fill='%23f6f5f0'/%3E%3Cpath d='M11 0v22M0 11h22'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ---------- channels: drafting board with three ruled ivory panels ---------- */
.board {
  position: relative; overflow: hidden; isolation: isolate; scroll-margin-top: 70px;
  padding: clamp(110px, 11vw, 170px) clamp(16px, 3vw, 48px) clamp(64px, 8vw, 120px);
  background:
    linear-gradient(rgba(236, 231, 218, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(236, 231, 218, .045) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236, 231, 218, .06), transparent 70%),
    #0e0e12;
  border-top: 1px solid var(--ivory-faint); border-bottom: 1px solid var(--ivory-faint);
}
.board-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 48px; align-items: end; padding: 0 clamp(8px, 2vw, 32px); }
.board-head h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: .92; letter-spacing: -.045em; max-width: 12ch; }
.board-head p { color: var(--ivory-dim); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 36ch; padding-bottom: 8px; }
.chans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(48px, 6vw, 88px); }
.chan {
  position: relative; display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 90px;
  padding: 0 clamp(18px, 2vw, 30px) clamp(22px, 2.4vw, 32px); border: 1px solid var(--ivory-rule);
  background: linear-gradient(180deg, rgba(236, 231, 218, .035), rgba(236, 231, 218, 0) 40%), rgba(9, 9, 12, .55);
  transition: border-color .4s var(--ease-out), transform .6s var(--ease-out);
}
.chan::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 20px; height: 20px; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23ece7da' stroke-width='1'%3E%3Ccircle cx='11' cy='11' r='6' fill='%230e0e12'/%3E%3Cpath d='M11 0v22M0 11h22'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chan:hover { border-color: rgba(236, 231, 218, .7); transform: translateY(-4px); }
.plate { position: relative; margin: 0 calc(clamp(18px, 2vw, 30px) * -1); padding: 52px clamp(18px, 2vw, 30px) 0; }
.plate-frame { position: relative; border: 1px solid var(--ivory); padding: clamp(5px, .5vw, 8px); background: #09090c; }
.plate-frame picture, .plate-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.plate-frame img { background: #1a1a1f; }
.plate .ref { position: absolute; right: clamp(14px, 1.8vw, 26px); top: 14px; font-family: var(--f-mono); font-size: 22px; line-height: 1; color: var(--ivory); }
.plate .ref-lead { position: absolute; right: clamp(26px, 2.6vw, 38px); top: 30px; width: 44px; height: 24px; overflow: visible; pointer-events: none; }
.plate .ref-lead path { fill: none; stroke: var(--ivory); stroke-width: 1; }
.plate figcaption { margin-top: 14px; text-align: center; font-family: var(--f-mono); font-size: 22px; line-height: 1; letter-spacing: .02em; color: var(--ivory); }
.chan-h { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.chan-h video { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; background: #1a1a1f; box-shadow: 0 0 0 1.5px var(--ivory); }
.chan h2 { font-size: clamp(1.9rem, 2.7vw, 2.75rem); line-height: 1; letter-spacing: -.035em; color: var(--ivory); }
.premise { margin-top: 18px; font-size: clamp(1.15rem, 1.35vw, 1.3rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--ivory); }
.body { margin-top: 14px; color: var(--ivory-dim); font-size: 1rem; line-height: 1.6; }
.follow { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px 0 12px; border: 1.5px solid var(--ivory); border-radius: 999px;
  color: var(--ivory); text-decoration: none; font-weight: 700; font-size: 15px; background: transparent; transition: background .2s, color .2s;
}
.btn-ink svg { width: 20px; height: 20px; flex: none; }
.btn-ink:hover { background: var(--ivory); color: var(--void); }
.alllinks { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); }
.alllinks:hover { color: var(--carmine-hi); }
.alllinks svg { width: 12px; height: 12px; }

/* ---------- method: FIG. 5 on the void ---------- */
.method { position: relative; padding: clamp(84px, 8vw, 120px) clamp(8px, 3vw, 48px) clamp(40px, 5vw, 72px); scroll-margin-top: 0; }
.method-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 48px; align-items: end; padding: 0 clamp(8px, 2vw, 32px); }
.method h2 { font-size: clamp(2.8rem, 7.2vw, 7.5rem); line-height: .9; letter-spacing: -.045em; max-width: 11ch; }
.method-head p { color: var(--ivory-dim); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 40ch; padding-bottom: 10px; }
.fig5 { margin: clamp(4px, 1vw, 16px) 0 0; }
.fig5 svg { width: 100%; height: auto; overflow: visible; }
.fig5 figcaption { text-align: center; font-family: var(--f-mono); font-size: 22px; line-height: 1; margin-top: 4px; }
.axis5 { stroke: var(--ivory); stroke-width: 1; stroke-dasharray: 10 6 2 6; opacity: .45; fill: none; }
.leads5 path { stroke-dasharray: 1; }
.steps { list-style: none; margin: 14px 0 0; padding: 0 clamp(8px, 2vw, 32px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px); }
.steps li { border-top: 1px solid var(--ivory-rule); padding-top: 16px; }
.steps .num { font-family: var(--f-mono); font-size: 22px; line-height: 1; }
.steps h3 { margin-top: 14px; font-size: clamp(1.15rem, 1.45vw, 1.45rem); line-height: 1.15; letter-spacing: -.02em; }
.steps p { margin-top: 10px; color: var(--ivory-dim); font-size: .98rem; }
.steps .is-last { border-top-color: var(--carmine-hi); }
.steps .is-last .num { color: var(--carmine-hi); }

/* ---------- questions: compact two-column accordion ---------- */
.sheet--faq { padding-block: clamp(44px, 5vw, 80px); }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 4vw, 72px); align-items: start; }
.faq h2 { font-size: clamp(2.2rem, 4vw, 3.75rem); line-height: .95; letter-spacing: -.04em; max-width: 9ch; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); align-items: start; }
.qa details { border-top: 1.5px solid var(--ink); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.qa summary svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.qa details[open] summary svg { transform: rotate(45deg); color: var(--carmine); }
.qa summary:hover h3 { text-decoration: underline; text-decoration-color: var(--carmine); text-underline-offset: 4px; }
.qa p { padding: 0 32px 18px 0; color: var(--ink-soft); }
.qa a { color: var(--ink); text-decoration-color: var(--carmine); }

/* ---------- footer: FIG. 6 over a patent title block ---------- */
.close { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 90px) var(--gut) clamp(28px, 3vw, 44px); isolation: isolate; }
.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dust i { position: absolute; top: 0; left: 0; width: 200%; height: 100%; animation: drift 160s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }
.tblock {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 2px solid var(--ivory);
  margin-top: clamp(24px, 3vw, 44px); background: rgba(9, 9, 12, .72);
}
.tblock > * { padding: clamp(20px, 2.6vw, 36px); }
.tb-a { border-right: 1px solid var(--ivory-rule); border-bottom: 1px solid var(--ivory-rule); }
.tb-b { border-bottom: 1px solid var(--ivory-rule); display: grid; align-content: center; padding-block: 12px; }
.tb-c { border-right: 1px solid var(--ivory-rule); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.tb-d { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.close h2 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; }
.f6-head { max-width: 1240px; margin: 0 auto clamp(18px, 2.4vw, 34px); }
.f6-head h2 { font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.f6-head p { margin-top: 14px; max-width: 72ch; font-size: clamp(1.02rem, 1.3vw, 1.25rem); line-height: 1.45; opacity: .82; }
.tb-a .mail { margin-top: 0; }
.tb-a { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tb-note { max-width: 46ch; font-size: clamp(.98rem, 1.15vw, 1.12rem); line-height: 1.45; opacity: .78; }
.mail {
  display: inline-block; margin-top: 18px; font-size: clamp(1.7rem, 4.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 600;
  color: var(--ivory); text-decoration: none; background: linear-gradient(var(--carmine-hi), var(--carmine-hi)) 0 100% / 0 3px no-repeat; padding-bottom: 8px;
  transition: background-size .7s var(--ease-out); overflow-wrap: anywhere;
}
.mail:hover { background-size: 100% 3px; }
.tb-ch { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; min-height: 64px; color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--ivory-faint); }
.tb-ch:last-child { border-bottom: 0; }
.tb-ch img { width: 44px; height: 44px; border-radius: 50%; }
.tb-ch b { display: block; font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.tb-ch small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--ivory-dim); }
.tb-ch svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.tb-ch:hover b { color: var(--carmine-hi); }
.tb-ch:hover svg { transform: translateX(4px); color: var(--carmine-hi); }
.tb-wm { display: inline-flex; color: var(--ivory); min-height: 44px; align-items: center; }
.tb-wm svg { width: clamp(220px, 26vw, 372px); height: auto; aspect-ratio: 248 / 40; overflow: visible; }
.tb-c p { color: var(--ivory-dim); }
.tb-d nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.tb-d nav a { color: var(--ivory); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.tb-d nav a:hover { color: var(--carmine-hi); text-decoration: underline; }
.tb-d .mono { color: var(--ivory-dim); }

/* ---------- reveal (enhancement only, with a failsafe) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); animation: rv-failsafe 0s 4s forwards; }
  .rv.in { opacity: 1; transform: none; }
  .plate-frame.rv { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); }
  .plate-frame.rv.in { clip-path: inset(0 0 0 0); }
  .fig5.rv { opacity: 1; transform: none; animation: none; }
  .fig5 .plate5 { transition: transform 1.6s var(--ease-out), opacity 1s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
  .fig5:not(.in) .plate5 { transform: translate(calc((2 - var(--i)) * 215px), calc((var(--i) - 2) * -38px)); }
  .fig5 .leads5 path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s 1s var(--ease-out); }
  .fig5.in .leads5 path { stroke-dashoffset: 0; }
}
@keyframes rv-failsafe { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .dust i { animation: none; } .spun path { animation: none; stroke-dashoffset: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) and (min-width: 900px) {
  .follow { gap: 6px; }
  .btn-ink { padding: 0 12px 0 10px; font-size: 14px; }
}
@media (max-width: 899px) {
  .chans { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .board-head { grid-template-columns: minmax(0, 1fr); }
  .method-head { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 16px 0 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .steps h3 { margin-top: 0; }
  .steps p { grid-column: 2; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .qa { grid-template-columns: minmax(0, 1fr); }
  .tblock { grid-template-columns: minmax(0, 1fr); }
  .tb-a, .tb-c { border-right: 0; }
  .tb-c { border-bottom: 1px solid var(--ivory-rule); }
  }

/* ---------- plain document pages (imprint, privacy, 404) ---------- */
.doc { max-width: 1180px; margin: 0 auto; }
.doc .sheet { min-height: 60vh; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .96; letter-spacing: -.04em; max-width: 16ch; }
.doc .stamp { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.prose { max-width: 68ch; margin-top: clamp(32px, 4vw, 56px); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 44px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 12px 0 0; color: var(--ink-soft); }
.prose a { color: var(--ink); text-decoration-color: var(--carmine); }
.prose address { font-style: normal; color: var(--ink); margin-top: 12px; line-height: 1.6; }
.docpage .doc { padding-top: 96px; }
@media (max-width: 899px) { .docpage .doc { padding-top: 78px; } }
@media (min-width: 900px) {
  .docpage .sheet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); align-content: start; }
  .docpage .sheet h1 { grid-column: 1; grid-row: 1; }
  .docpage .stamp { grid-column: 1; grid-row: 2; align-self: start; }
  .docpage .prose { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}

/* OG capture mode (render-only, never linked) */
.og .hero-foot, .og .nav { display: none; }
.og .hero { min-height: 630px; height: 630px; grid-template-rows: auto 1fr 0; }
.og .hero-copy { padding-bottom: 0; }
.og .hero h1 { font-size: 4.8rem; }
.og .part .txt { display: none; }

.dust i:nth-child(1) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='320'%3E%3Cg fill='%23ece7da' fill-opacity='0.28'%3E%3Ccircle cx='136.0' cy='48.3' r='0.56'/%3E%3Ccircle cx='30.4' cy='171.5' r='0.49'/%3E%3Ccircle cx='24.4' cy='162.4' r='0.40'/%3E%3Ccircle cx='182.1' cy='22.4' r='0.41'/%3E%3Ccircle cx='178.3' cy='264.6' r='0.42'/%3E%3Ccircle cx='93.8' cy='200.8' r='0.65'/%3E%3Ccircle cx='242.4' cy='126.9' r='0.65'/%3E%3Ccircle cx='19.6' cy='274.7' r='0.46'/%3E%3Ccircle cx='60.6' cy='37.7' r='0.47'/%3E%3Ccircle cx='342.8' cy='57.8' r='0.54'/%3E%3Ccircle cx='268.3' cy='119.2' r='0.54'/%3E%3Ccircle cx='26.4' cy='19.1' r='0.44'/%3E%3Ccircle cx='285.8' cy='136.8' r='0.47'/%3E%3Ccircle cx='245.9' cy='145.0' r='0.47'/%3E%3Ccircle cx='333.6' cy='223.7' r='0.45'/%3E%3Ccircle cx='241.3' cy='168.1' r='0.63'/%3E%3Ccircle cx='306.4' cy='92.1' r='0.65'/%3E%3Ccircle cx='49.6' cy='133.8' r='0.59'/%3E%3Ccircle cx='63.8' cy='156.5' r='0.40'/%3E%3Ccircle cx='280.7' cy='244.7' r='0.54'/%3E%3Ccircle cx='367.7' cy='100.4' r='0.58'/%3E%3Ccircle cx='249.6' cy='185.6' r='0.51'/%3E%3Ccircle cx='352.8' cy='302.3' r='0.52'/%3E%3Ccircle cx='278.9' cy='19.4' r='0.58'/%3E%3Ccircle cx='271.8' cy='317.8' r='0.61'/%3E%3Ccircle cx='119.5' cy='123.5' r='0.57'/%3E%3Ccircle cx='9.5' cy='147.7' r='0.43'/%3E%3Ccircle cx='49.2' cy='18.9' r='0.60'/%3E%3Ccircle cx='54.3' cy='79.2' r='0.49'/%3E%3Ccircle cx='366.0' cy='25.8' r='0.51'/%3E%3Ccircle cx='230.8' cy='282.7' r='0.61'/%3E%3Ccircle cx='362.9' cy='89.1' r='0.50'/%3E%3Ccircle cx='150.7' cy='282.9' r='0.65'/%3E%3Ccircle cx='63.4' cy='56.4' r='0.45'/%3E%3Ccircle cx='98.0' cy='155.2' r='0.55'/%3E%3Ccircle cx='110.4' cy='1.3' r='0.50'/%3E%3Ccircle cx='155.1' cy='181.2' r='0.65'/%3E%3Ccircle cx='290.0' cy='165.0' r='0.55'/%3E%3Ccircle cx='284.0' cy='17.3' r='0.63'/%3E%3Ccircle cx='327.6' cy='279.8' r='0.60'/%3E%3Ccircle cx='164.8' cy='127.7' r='0.41'/%3E%3Ccircle cx='266.4' cy='19.9' r='0.40'/%3E%3Ccircle cx='87.7' cy='51.9' r='0.48'/%3E%3Ccircle cx='22.1' cy='0.1' r='0.43'/%3E%3Ccircle cx='42.6' cy='116.4' r='0.39'/%3E%3Ccircle cx='367.2' cy='196.5' r='0.43'/%3E%3Ccircle cx='105.9' cy='111.2' r='0.49'/%3E%3Ccircle cx='51.6' cy='271.7' r='0.66'/%3E%3Ccircle cx='195.7' cy='154.8' r='0.41'/%3E%3Ccircle cx='42.9' cy='109.6' r='0.46'/%3E%3Ccircle cx='348.1' cy='51.7' r='0.39'/%3E%3Ccircle cx='399.4' cy='169.0' r='0.43'/%3E%3Ccircle cx='228.1' cy='8.7' r='0.53'/%3E%3Ccircle cx='411.0' cy='276.3' r='0.58'/%3E%3Ccircle cx='109.7' cy='117.3' r='0.43'/%3E%3Ccircle cx='324.2' cy='170.4' r='0.60'/%3E%3Ccircle cx='138.5' cy='71.4' r='0.61'/%3E%3Ccircle cx='413.7' cy='272.8' r='0.61'/%3E%3Ccircle cx='343.7' cy='236.8' r='0.45'/%3E%3Ccircle cx='217.4' cy='113.8' r='0.39'/%3E%3Ccircle cx='11.7' cy='89.4' r='0.46'/%3E%3Ccircle cx='290.9' cy='306.1' r='0.51'/%3E%3Ccircle cx='393.5' cy='316.2' r='0.65'/%3E%3Ccircle cx='153.1' cy='70.5' r='0.45'/%3E%3Ccircle cx='82.6' cy='65.4' r='0.56'/%3E%3Ccircle cx='378.1' cy='268.9' r='0.52'/%3E%3Ccircle cx='274.3' cy='255.9' r='0.41'/%3E%3Ccircle cx='277.4' cy='291.1' r='0.60'/%3E%3Ccircle cx='315.1' cy='153.0' r='0.43'/%3E%3Ccircle cx='331.4' cy='106.4' r='0.61'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 420px 320px; }
.dust i:nth-child(2) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='420'%3E%3Cg fill='%23ece7da' fill-opacity='0.42'%3E%3Ccircle cx='544.1' cy='166.3' r='0.72'/%3E%3Ccircle cx='530.2' cy='304.4' r='0.63'/%3E%3Ccircle cx='71.1' cy='63.5' r='0.92'/%3E%3Ccircle cx='451.6' cy='61.4' r='0.89'/%3E%3Ccircle cx='549.0' cy='276.1' r='0.70'/%3E%3Ccircle cx='307.2' cy='55.0' r='0.57'/%3E%3Ccircle cx='543.7' cy='272.9' r='0.77'/%3E%3Ccircle cx='522.8' cy='182.2' r='0.91'/%3E%3Ccircle cx='462.6' cy='88.6' r='0.66'/%3E%3Ccircle cx='164.1' cy='101.0' r='0.79'/%3E%3Ccircle cx='145.2' cy='176.0' r='0.61'/%3E%3Ccircle cx='509.6' cy='148.6' r='0.74'/%3E%3Ccircle cx='326.7' cy='379.8' r='0.73'/%3E%3Ccircle cx='513.9' cy='210.7' r='0.77'/%3E%3Ccircle cx='293.2' cy='7.9' r='0.74'/%3E%3Ccircle cx='102.5' cy='1.7' r='0.88'/%3E%3Ccircle cx='96.5' cy='198.9' r='0.85'/%3E%3Ccircle cx='311.6' cy='136.9' r='0.77'/%3E%3Ccircle cx='311.0' cy='329.4' r='0.60'/%3E%3Ccircle cx='313.8' cy='104.4' r='0.67'/%3E%3Ccircle cx='432.5' cy='213.2' r='0.78'/%3E%3Ccircle cx='425.6' cy='383.2' r='0.74'/%3E%3Ccircle cx='343.0' cy='212.3' r='0.76'/%3E%3Ccircle cx='387.9' cy='190.0' r='0.77'/%3E%3Ccircle cx='267.7' cy='395.4' r='0.84'/%3E%3Ccircle cx='490.9' cy='395.7' r='0.66'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 560px 420px; animation-duration: 90s; }
.dust i:nth-child(3) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='560'%3E%3Cg fill='%23ece7da' fill-opacity='0.7'%3E%3Ccircle cx='425.2' cy='528.2' r='1.23'/%3E%3Ccircle cx='104.2' cy='68.1' r='1.01'/%3E%3Ccircle cx='55.1' cy='134.8' r='0.81'/%3E%3Ccircle cx='508.8' cy='439.0' r='1.26'/%3E%3Ccircle cx='117.4' cy='401.0' r='1.13'/%3E%3Ccircle cx='108.7' cy='494.4' r='1.30'/%3E%3Ccircle cx='166.9' cy='533.4' r='0.99'/%3E%3Ccircle cx='370.3' cy='554.3' r='1.23'/%3E%3Ccircle cx='122.7' cy='241.7' r='1.05'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 760px 560px; animation-duration: 48s; }

/* FIG. 5 phone variant: vertical stack */
.fig5m { display: none; }
@media (max-width: 899px) {
  .fig5d { display: none !important; }
  .fig5 .fig5m { display: block; width: 100%; max-width: 440px; margin: 0 auto; height: auto; overflow: visible; }
  .fig5 figcaption { font-size: 22px; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .fig5:not(.in) .fig5m .plate5 { transform: translate(calc((2 - var(--i)) * 16px), calc((2 - var(--i)) * 168px)); }
  .fig5 .lead5m { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s 1.1s var(--ease-out); }
  .fig5.in .lead5m { stroke-dashoffset: 0; }
}

/* ---------- FIG. 5: each plate performs its step (loops while in view) ---------- */
.fig5 .bob { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -7px); } }
.p-dot { animation: p-blink 2.8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes p-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.p-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: p-draw 5s cubic-bezier(.16, 1, .3, 1) infinite; }
.p-ticks { animation: p-ticks 5s ease-out infinite; }
@keyframes p-draw { 0%, 12% { stroke-dashoffset: 1; } 40%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes p-ticks { 0%, 34% { opacity: 0; } 44%, 86% { opacity: 1; } 100% { opacity: 0; } }
.p-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: p-write 5s linear infinite; animation-delay: var(--d); }
@keyframes p-write { 0% { stroke-dashoffset: 1; } 14%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.p-seal { transform-box: fill-box; transform-origin: center; animation: p-stamp 5s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes p-stamp {
  0%, 30% { transform: translate(18px, -70px) scale(1.5); opacity: 0; }
  44% { transform: translate(0, 0) scale(1); opacity: 1; }
  48% { transform: scale(.82); }
  53%, 88% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.p-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: p-grow 5s cubic-bezier(.16, 1, .3, 1) infinite; animation-delay: var(--d); }
@keyframes p-grow { 0%, 6% { transform: scaleY(0); } 34%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.p-claim { animation: p-claim 5s linear infinite; }
@keyframes p-claim { 0% { opacity: 0; } 8%, 90% { opacity: 1; } 100% { opacity: 0; } }
.p-gap { animation: p-ticks 5s ease-out infinite; animation-delay: .6s; }
.p-pin { transform-box: fill-box; transform-origin: center; animation: p-rise 5s cubic-bezier(.16, 1, .3, 1) infinite; animation-delay: var(--d); }
@keyframes p-rise { 0%, 8% { transform: scale(.5); opacity: .4; } 30%, 84% { transform: scale(1); opacity: 1; } 100% { transform: scale(.5); opacity: .4; } }
.p-frame { stroke-dasharray: 1; stroke-dashoffset: 1; animation: p-frame 5s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes p-frame { 0%, 4% { stroke-dashoffset: 1; } 26%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.p-play { transform-box: fill-box; transform-origin: center; animation: p-pop 5s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes p-pop { 0%, 22% { transform: scale(0); } 34%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.p-src { animation: p-slide 5s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes p-slide { 0%, 36% { transform: translateX(-36px); opacity: 0; } 50%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.p-prog { transform-box: fill-box; transform-origin: 0 50%; animation: p-prog 5s linear infinite; }
@keyframes p-prog { 0%, 40% { transform: scaleX(0); } 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.fig5:not(.in) :is(.bob, .p-dot, .p-ring, .p-ticks, .p-line, .p-seal, .p-bar, .p-claim, .p-gap, .p-pin, .p-frame, .p-play, .p-src, .p-prog) { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .fig5 :is(.bob, .p-dot, .p-ring, .p-ticks, .p-line, .p-seal, .p-bar, .p-claim, .p-gap, .p-pin, .p-frame, .p-play, .p-src, .p-prog) { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* ---------- questions: smooth open and close ---------- */
:root { interpolate-size: allow-keywords; }
.qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s cubic-bezier(.16, 1, .3, 1), content-visibility .5s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
.qa-a { opacity: 0; transform: translateY(-6px); transition: opacity .45s .05s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
.qa details[open] .qa-a { opacity: 1; transform: none; }
.qa details { transition: border-color .3s; }
.qa details[open] { border-top-color: var(--carmine); }
@media (prefers-reduced-motion: reduce) { .qa details::details-content, .qa-a { transition: none; } }
.qa-col { display: grid; align-content: start; }

/* ---------- method: phone spacing ---------- */
@media (max-width: 899px) {
  .method { padding: 96px 12px 40px; }
  .method h2 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .method-head { gap: 12px; }
  .fig5 { margin-top: 8px; }
  .fig5 .fig5m { max-width: 400px; }
  .steps { margin-top: 8px; }
}

/* ---------- the living wordmark ---------- */
.wm-thread { will-change: d; }
.wm-spark { transform-box: fill-box; transform-origin: center; }
.wm-spark.is-on { animation: wm-spark .7s cubic-bezier(.16, 1, .3, 1); }
@keyframes wm-spark { 0% { opacity: 1; transform: scale(1); stroke-width: 2; } 100% { opacity: 0; transform: scale(5.5); stroke-width: .3; } }
.wm-txt { transform-box: fill-box; transform-origin: 50% 100%; }
.bar-brand.is-snap .wm-txt { animation: wm-jolt .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes wm-jolt { 0% { transform: none; } 18% { transform: translate(3px, -3px) skewX(-6deg); } 45% { transform: translate(-1px, 0) skewX(2deg); } 100% { transform: none; } }
.bar-brand.is-snap { border-color: var(--carmine-hi); }
.bar.is-snap .nav { animation: nav-recoil .6s cubic-bezier(.16, 1, .3, 1); border-color: var(--carmine-hi); }
.bar.is-snap .menu summary { animation: nav-recoil .6s cubic-bezier(.16, 1, .3, 1); border-color: var(--carmine-hi); }
@keyframes nav-recoil { 0% { transform: none; } 20% { transform: translateX(9px); } 55% { transform: translateX(-3px); } 100% { transform: none; } }
.bar-brand, .nav, .menu summary { transition: border-color .4s; }
.snapline { position: fixed; z-index: 99; height: 2px; right: 0; left: 0; top: -10px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: var(--carmine-hi); opacity: 0; }
.snapline.is-on { animation: snapline .75s cubic-bezier(.16, 1, .3, 1); }
@keyframes snapline { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- FIG. 6: a message, exploded (footer) ---------- */
.fig6 { position: relative; margin: 0 auto; max-width: 1240px; }
.fig6 svg { width: 100%; height: auto; overflow: visible; }
.fig6m, .f6-legend { display: none; }
.fig6 figcaption { text-align: center; font-family: var(--f-mono); font-size: 22px; line-height: 1; margin-top: 2px; color: var(--ivory); }
.axis6 { stroke: var(--ivory); stroke-width: 1; stroke-dasharray: 10 6 2 6; opacity: .4; fill: none; }
.plate6 { animation: f6-explode 8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes f6-explode {
  0%, 10% { transform: translate(calc((1 - var(--i)) * 220px), calc((var(--i) - 1) * -44px)); }
  26%, 84% { transform: none; }
  97%, 100% { transform: translate(calc((1 - var(--i)) * 220px), calc((var(--i) - 1) * -44px)); }
}
.fig6m .plate6 { animation-name: f6-explode-m; }
@keyframes f6-explode-m {
  0%, 10% { transform: translate(calc((1 - var(--i)) * 16px), calc((1 - var(--i)) * 150px)); }
  26%, 84% { transform: none; }
  97%, 100% { transform: translate(calc((1 - var(--i)) * 16px), calc((1 - var(--i)) * 150px)); }
}
.f6-flap { transform-box: fill-box; transform-origin: 50% 0; animation: f6-flap 8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes f6-flap { 0%, 12% { transform: scaleY(1); } 26%, 84% { transform: scaleY(-.75); } 96%, 100% { transform: scaleY(1); } }
.f6-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: f6-ring 8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes f6-ring { 0%, 32% { stroke-dashoffset: 1; } 48%, 82% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 1; } }
.f6-chain { transform-box: fill-box; transform-origin: center; animation: f6-chain 8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes f6-chain { 0%, 40% { transform: scale(.4); opacity: 0; } 52%, 82% { transform: none; opacity: 1; } 92%, 100% { opacity: 0; } }
.f6-lead { stroke-dasharray: 1; stroke-dashoffset: 1; animation: f6-lead 8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes f6-lead { 0%, 24% { stroke-dashoffset: 1; } 38%, 84% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 1; } }
.f6-label { animation: f6-label 8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes f6-label { 0%, 30% { opacity: 0; transform: translateX(-8px); } 40%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.f6-legend { list-style: none; margin: 10px 0 0; padding: 0; }
.f6-legend li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--ivory-faint); }
.f6-legend .num { font-family: var(--f-mono); font-size: 22px; line-height: 1.1; grid-row: span 2; }
.f6-legend li:nth-child(2) .num { color: var(--carmine-hi); }
.f6-legend b { font-size: 1.05rem; }
.f6-legend span:last-child { color: var(--ivory-dim); font-size: .95rem; }
@media (max-width: 899px) {
  .fig6d { display: none; }
  .fig6m { display: block; max-width: 380px; margin: 0 auto; }
  .f6-legend { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .plate6, .f6-flap, .f6-chain, .f6-label, .f6-lead, .f6-ring { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .f6-flap { transform: scaleY(-.75); }
}
/* FIG. 6 legend on desktop: three columns under the drawing, like the FIG. 5 steps */
.f6-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); max-width: 980px; margin: 8px auto 0; }
.f6-legend li { grid-template-columns: 40px 1fr; }
.fig6 figcaption { margin: 10px 0 4px; }
.copy { font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; }
@media (max-width: 899px) { .f6-legend { display: block; } }

/* ---------- round 5: mobile pass ---------- */
.is-off, .is-off * { animation-play-state: paused !important; }
.mail { min-height: 44px; }
@media (max-width: 899px) {
  .board { padding-top: 88px; padding-bottom: 56px; }
  .board-head h2 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .chan { padding-bottom: 20px; }
  .chan-h { margin-top: 24px; }
  .method { padding-top: 84px; }
  .doc .sheet { min-height: 0; }
  .close { padding-top: 56px; }
  .f6-head h2 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .tblock > * { padding: 20px 18px; }
  .mail { font-size: clamp(1.45rem, 7.4vw, 2.1rem); }
  .menu nav { min-width: min(260px, calc(100vw - 32px)); }
}
@media (max-width: 370px) {
  .wm { width: 160px; height: 26px; }
  .bar-brand { padding: 0 14px 0 10px; }
  .menu summary { padding: 0 14px; }
  .hero h1 { font-size: 2.35rem; }
  .btn-ink { padding: 0 13px 0 10px; font-size: 14px; }
}
/* touch: no sticky hover states after a tap */
@media (hover: none) {
  .qa summary:hover h3 { text-decoration: none; }
  .chan:hover { transform: none; border-color: var(--ivory-rule); }
  .tb-ch:hover svg { transform: none; }
  .btn-ink:hover { background: transparent; color: var(--ivory); }
}
/* round 7: inline text links get a 44px hit area without moving the text */
.prose p a, .prose address a, .qa-a a, .doc .stamp a { padding: 12px 8px; margin: -12px -8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
