:root {
  --ink: #0b0b0b;
  --paper: #f4f2ed;
  --gold: #f3b229;
  --line: rgba(11, 11, 11, .2);
  --muted: #6f6d67;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--gold); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  /* script.js paints the header with the background of whatever section is under it,
     so scrolled copy never shows through; ink text by default, white over dark sections. */
  color: var(--ink);
  background-color: var(--header-bg, transparent); /* switches instantly: a fade passes through muddy greys */
}
.site-header.is-dark { color: #fff; }
.wordmark { font-size: 1.3rem; font-weight: 800; letter-spacing: .22em; text-decoration: none; }
.wordmark span { font-size: .45em; vertical-align: top; margin-left: .15rem; }
nav { display: flex; gap: 2rem; }
nav a, footer a { text-decoration: none; font-size: .9rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7.5rem 2rem 2.2rem;
  background: var(--ink);
  color: #fff;
}
.hero-topline, .hero-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero-topline p { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .65rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(243,178,41,.75); }
.eyebrow { margin: 0 0 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
.hero h1 { margin: 0; max-width: 10ch; font-size: clamp(4.5rem, 11.5vw, 11.5rem); font-weight: 650; letter-spacing: -.075em; line-height: .78; }
em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-footer > p { margin: 0; max-width: 39rem; font-size: clamp(1rem, 1.65vw, 1.5rem); line-height: 1.4; }

.section-number { margin: 0; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.statement, .name-story { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; gap: 3rem; padding: 9rem 2rem; border-bottom: 1px solid var(--line); }
.statement h2, .work h2, .playground h2, .name-story h2, .verbs h2, .values h2 { margin: -.15em 0 3rem; font-size: clamp(3.2rem, 7vw, 7.8rem); letter-spacing: -.065em; line-height: .9; font-weight: 650; }
.statement-copy { max-width: 46rem; margin: 0 0 0 auto; font-size: clamp(1.25rem, 2.4vw, 2.25rem); line-height: 1.35; letter-spacing: -.02em; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.principles article { min-height: 23rem; padding: 2rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.principles article:last-child { border-right: 0; }
.principles span { color: var(--muted); font-size: .75rem; }
.principles h3 { max-width: 10ch; margin: auto 0 1.5rem; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
.principles p { max-width: 24rem; margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------- 01 The name ---------- */
.name-story-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.name-mark { display: block; width: 100%; max-width: 34rem; overflow: visible; }
.name-mark path {
  fill: none; stroke: var(--ink); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.name-mark .name-mark-tick { stroke: var(--gold); }
.is-visible .name-mark path { animation: draw-stroke .5s cubic-bezier(.6, .05, .3, 1) forwards; animation-delay: calc(var(--i) * .3s); }
.name-story h2 { margin-bottom: 2rem; }
.name-story-copy p { max-width: 36rem; margin: 0 0 1.25rem; font-size: 1.3rem; line-height: 1.55; }
.name-story-copy em { color: var(--ink); background: linear-gradient(transparent 60%, rgba(243,178,41,.6) 60%); padding: 0 .05em; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }

/* ---------- 02 Draw / Write ---------- */
.verbs { padding: 9rem 2rem 0; border-bottom: 1px solid var(--line); }
.verbs-heading { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; gap: 3rem; }
.verbs-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.verb { padding: 3rem 2rem 4rem 0; }
.verb + .verb { padding-left: 2rem; border-left: 1px solid var(--line); }
.verb-art { display: block; width: 100%; max-width: 24rem; height: auto; margin-bottom: 2.5rem; overflow: visible; }
.verb-line { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-visible .verb-line { animation: draw-stroke 1.3s ease forwards; }
.verb-dot { fill: var(--gold); stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.is-visible .verb-dot { animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(.9s + var(--i) * .18s); }
.verb-staff path { fill: none; stroke: rgba(11,11,11,.25); stroke-width: 1.5; }
.verb-note { opacity: 0; }
.verb-note ellipse { fill: var(--ink); }
.verb-note path { stroke: var(--ink); stroke-width: 3; }
.verb-note.is-gold ellipse { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.is-visible .verb-note { animation: note-in .4s ease forwards; animation-delay: calc(.2s + var(--i) * .2s); }
.verb h3 { margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.06em; }
.verb-kind { margin: .9rem 0 1.5rem; color: var(--muted); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.verb > p:not(.verb-kind) { max-width: 30rem; margin: 0; font-size: 1.15rem; line-height: 1.55; }
.verb-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.verb-tags li { padding: .35rem .8rem; border: 1px solid currentColor; border-radius: 3rem; font-size: .8rem; }
@keyframes pop { to { transform: scale(1); } }
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 03 Playground ---------- */
.playground { padding: 9rem 2rem; background: var(--gold); }
.playground-copy { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; column-gap: 3rem; }
.playground-copy > * { grid-column: 2; }
.playground-copy > .section-number { grid-column: 1; grid-row: 1 / span 2; }
.playground-copy > p:last-child { max-width: 34rem; margin: 0; font-size: 1.25rem; line-height: 1.5; }
.toys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.toy { display: flex; flex-direction: column; gap: 1rem; min-height: 27rem; padding: 1.25rem; border: 1px solid var(--ink); border-radius: 1.25rem; background: var(--paper); }
.toy-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.4rem; }
.toy-head h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.03em; }
.toy-button { padding: .5rem .95rem; border: 1px solid var(--ink); border-radius: 3rem; background: transparent; color: var(--ink); font-size: .85rem; cursor: pointer; }
.toy-button:hover, .toy-button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toy-button:focus-visible, .block:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.toy-note { margin: auto 0 0; color: var(--muted); font-size: .85rem; }
.sketch-pad { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: .75rem; background: #fff; touch-action: none; cursor: crosshair; }
/* Drawing and tapping surfaces: no text selection, iOS callout or blue tap flash on long press. */
.hero-ink, .ink-pad, .sketch-pad, .blocks, .words-tiles {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.blocks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.block { aspect-ratio: 1; padding: 0; border: 1.5px solid var(--ink); border-radius: .45rem; background: #fff; cursor: pointer; transition: transform .08s ease; }
.block.is-col { background: #f3ead6; }
.block[aria-pressed="true"] { background: var(--gold); }
.block[aria-pressed="true"].is-col { background: var(--ink); transform: scale(.92); }
.words-label { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.words-input { width: 100%; margin-top: -.5rem; padding: .7rem .9rem; border: 1.5px solid var(--ink); border-radius: .75rem; background: #fff; color: var(--ink); font: inherit; font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; }
.words-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.words-tiles { display: flex; flex-wrap: wrap; gap: 5px; align-items: flex-end; min-height: 8.5rem; }
.word-tile { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .35rem; width: 2.4rem; }
.word-tile i { display: block; width: 100%; height: calc(1.2rem + var(--h) * .55rem); border: 1.5px solid var(--ink); border-radius: .45rem; background: #fff; transition: transform .08s ease; }
.word-tile span { font-size: .85rem; font-weight: 650; }
.word-tile.is-rest i { height: .35rem; border-style: dashed; }
.word-tile.is-now i { background: var(--gold); transform: translateY(-4px); }

.work { padding: 9rem 2rem; background: var(--ink); color: #fff; }
.work-heading { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; gap: 3rem; }
.work-list { margin-top: 4rem; border-top: 1px solid #333; }
.work-list article { display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: center; min-height: 8rem; border-bottom: 1px solid #333; transition: padding .25s ease, color .25s ease; }
.work-list article:hover { padding: 0 1rem; color: var(--gold); }
.work-list span { font-size: 1.5rem; }
.work-list p { max-width: 34rem; color: #aaa; line-height: 1.55; }
.work-list b { font-size: .75rem; font-weight: 400; color: #777; }
.work-subhead { margin: 5rem 0 0; color: #aaa; font-size: .75rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; }
.work-subhead + .work-list { margin-top: 1.5rem; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 4rem; padding: 2.5rem; border: 1px solid #333; border-radius: 1.25rem; background: #151515; }
.feature-status { display: flex; align-items: center; margin: 0 0 1.25rem; color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.feature h3 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.05em; }
.feature-copy > p:not(.feature-status) { max-width: 32rem; margin: 0; color: #bbb; font-size: 1.1rem; line-height: 1.55; }
.feature .verb-tags li { border-color: #555; color: #ddd; }
.castle { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; width: 100%; max-width: 26rem; justify-self: end; }
/* One merlon per room column, so the battlement lines up with the rooms below. */
.merlon { justify-self: center; width: 46%; height: 9px; margin-bottom: 2px; border-radius: 2px 2px 0 0; background: #4a4a4a; }
.room { aspect-ratio: 3 / 4; border: 1.5px solid #4a4a4a; border-radius: 1rem 1rem .2rem .2rem; }
.room.is-filled { border-color: var(--gold); }
.is-visible .room.is-filled { animation: room-in .3s ease forwards; animation-delay: calc(var(--i) * 22ms); }
@keyframes room-in { to { background: var(--gold); } }

/* ---------- 04 Values ---------- */
.values { padding: 9rem 2rem 0; background: var(--ink); color: #fff; }
.values-heading { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; gap: 3rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1rem -2rem 0; border-top: 1px solid #333; }
.value { display: flex; flex-direction: column; min-height: 27rem; padding: 2rem; border-right: 1px solid #333; transition: background-color .25s ease, color .25s ease; }
.value:last-child { border-right: 0; }
.value b { color: var(--gold); font-size: clamp(5rem, 10vw, 10rem); line-height: .8; letter-spacing: -.05em; transition: transform .3s ease, color .25s ease; }
.value h3 { margin: auto 0 1rem; font-size: 1.6rem; letter-spacing: -.03em; }
.value p { max-width: 22rem; min-height: calc(1.55em * 4); margin: 0; color: #aaa; line-height: 1.55; transition: color .25s ease; }
/* Share rows across the cells (letter / title / text) so titles stay on one line however long the text runs. */
@supports (grid-template-rows: subgrid) {
  .values-grid { grid-auto-rows: minmax(15rem, auto) auto auto; }
  .value { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .value b { align-self: start; }
  .value h3 { align-self: end; margin: 1.5rem 0 1rem; }
  .value p { min-height: 0; }
}
.value:hover { background: var(--gold); color: var(--ink); }
.value:hover b { color: var(--ink); transform: translateY(-.06em) rotate(-5deg); }
.value:hover p { color: var(--ink); }


.mission { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #343434; background: var(--ink); color: #fff; }
.mission article { min-height: 42rem; padding: 3rem 2rem; display: flex; flex-direction: column; border-right: 1px solid #343434; }
.mission article:last-child { border-right: 0; }
.mission h2 { margin: auto 0 2.5rem; font-size: clamp(3.2rem, 5.8vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.mission article > p:last-child { max-width: 34rem; margin: 0; color: #aaa; font-size: 1.2rem; line-height: 1.55; }

.contact-band { padding: 8rem 2rem; background: var(--gold); }
.contact-band > p { margin: 0 0 3rem; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; }
.contact-band h2 { margin: 0; font-size: clamp(3.6rem, 9vw, 10rem); line-height: .85; letter-spacing: -.07em; }
.contact-band h2 em { color: var(--ink); text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .08em; }
.contact-band > a { display: flex; justify-content: space-between; align-items: center; margin-top: 5rem; padding: 1.5rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 1.15rem; }
.contact-band > a span { font-size: 1.8rem; transition: transform .2s ease; }
.contact-band > a:hover span { transform: translate(4px,-4px); }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 2rem; align-items: end; padding: 4rem 2rem 2rem; background: var(--ink); color: #fff; }
footer p { margin: 0; color: #8e8e8e; font-size: .82rem; line-height: 1.5; }
footer > div { display: flex; gap: 1.5rem; }
footer .credit { font-size: .72rem; color: #6e6e6e; }
footer .credit a { text-decoration: underline; text-underline-offset: .2rem; }

.subpage { min-height: 100svh; padding: 10rem 2rem 5rem; }
.subpage-grid { display: grid; grid-template-columns: minmax(12rem,1fr) 3fr; gap: 3rem; }
.subpage h1 { margin: 0 0 4rem; font-size: clamp(4rem, 10vw, 9rem); line-height: .85; letter-spacing: -.07em; }
.subpage-content { max-width: 50rem; font-size: 1.08rem; line-height: 1.75; }
.subpage-content h2 { margin-top: 3rem; font-size: 1.5rem; letter-spacing: -.02em; }
.subpage-content a { text-underline-offset: .25rem; }
.subpage-content .contact-link { display: inline-block; margin-top: 2rem; padding: 1rem 1.3rem; background: var(--ink); color: #fff; text-decoration: none; }
.legal-page .language-nav { display: flex; gap: .65rem; margin: 0 0 2rem; }
.legal-page .language-nav a { padding: .55rem .85rem; border: 1px solid rgba(11,11,11,.3); border-radius: 999px; color: var(--ink); text-decoration: none; }
.legal-page .language-nav a:hover { border-color: var(--ink); text-decoration: none; }
.legal-page .language-nav a.is-active { background: var(--ink); color: #fff; }
.legal-page .legal-meta { margin: -2rem 0 4rem; color: var(--muted); }
.legal-page .subpage-content { margin-bottom: 4rem; }
.legal-page .subpage-content ul { padding-left: 1.25rem; }
.legal-page .subpage-content li { margin: .55rem 0; }
.legal-contact-card { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: .25rem solid var(--gold); background: rgba(243,178,41,.1); }
.legal-contact-card p { margin: .35rem 0; }
[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .toys { grid-template-columns: 1fr 1fr; }
  .toy-words { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n + 2) { border-bottom: 1px solid #333; }
}

@media (max-width: 800px) {
  .site-header { padding: 1rem 1.25rem; }
  nav { display: none; }
  .menu-toggle { display: block; padding: .5rem 0; border: 0; background: transparent; color: inherit; }
  .mobile-menu { position: fixed; z-index: 40; top: 4rem; left: 1rem; right: 1rem; padding: 1rem; background: #fff; color: var(--ink); isolation: isolate; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
  .mobile-menu:not([hidden]) { display: grid; gap: 1rem; }
  .mobile-menu a { text-decoration: none; font-size: 1.1rem; }
  .hero { padding: 6rem 1.25rem 1.5rem; }
  .hero-topline p:last-child { display: none; }
  .hero h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero-footer { align-items: center; }
  .hero-footer > p { max-width: 18rem; }
  .statement, .name-story, .name-story-body, .work-heading, .verbs-heading, .values-heading, .playground-copy, .subpage-grid { grid-template-columns: 1fr; }
  .statement, .name-story, .work, .contact-band, .subpage, .playground { padding: 6rem 1.25rem; }
  .verbs, .values { padding: 6rem 1.25rem 0; }
  .statement h2, .work h2, .playground h2, .name-story h2, .verbs h2, .values h2 { margin: 0 0 2.5rem; }
  .playground-copy > *, .playground-copy > .section-number { grid-column: 1; grid-row: auto; }
  .playground-copy > .section-number { margin-bottom: 1.5rem; }
  .name-story-body { gap: 2.5rem; }
  .name-mark { max-width: 22rem; }
  .verbs-grid { grid-template-columns: 1fr; }
  .verb, .verb + .verb { padding: 2.5rem 0 3rem; border-left: 0; }
  .verb + .verb { border-top: 1px solid var(--line); }
  .toys { grid-template-columns: 1fr; margin-top: 3rem; }
  /* Phones: each toy is one screen tall and scrolling settles on it once, centered under the header. */
  html { scroll-snap-type: y proximity; scroll-padding-top: 4.25rem; }
  .toy { min-height: calc(100svh - 4.25rem - 2rem); scroll-snap-align: center; scroll-snap-stop: always; }
  /* Capped so a thumb still finds card space around the pad to scroll past it (the pad itself draws). */
  .toy-sketch .sketch-pad { flex: 1; aspect-ratio: auto; min-height: 16rem; max-height: 58svh; margin: auto 0; }
  .toy-blocks .blocks { flex: 1; max-height: 22rem; margin: auto 0; grid-template-rows: repeat(5, 1fr); }
  .toy-blocks .block { aspect-ratio: auto; }
  .toy-words .words-tiles { flex: 1; align-content: flex-end; padding-bottom: 1rem; }
  .toy-words .word-tile { width: 2.9rem; }
  .toy-words .word-tile i { height: calc(2rem + var(--h) * 1.5rem); }
  .values-grid { grid-template-columns: 1fr; margin: 0 -1.25rem; }
  .value { min-height: 0; padding: 2rem 1.25rem 2.5rem; border-right: 0; border-bottom: 1px solid #333; }
  .value h3 { margin-top: 1.5rem; }
  .value p { min-height: 0; }
  .values-grid { grid-auto-rows: auto; }
  .feature { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
  .castle { justify-self: start; }
  .statement-copy { margin: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 18rem; padding: 1.5rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .work-list article { grid-template-columns: 1fr auto; padding: 1.2rem 0; }
  .work-list article p { grid-column: 1 / -1; margin: 0; }
  .mission { grid-template-columns: 1fr; }
  .mission article { min-height: 34rem; padding: 3rem 1.25rem; border-right: 0; border-bottom: 1px solid #343434; }
  footer { grid-template-columns: 1fr 1fr; padding: 3rem 1.25rem 2rem; }
  footer > div { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---------- Hero canvas prototype: "Every mark plays" ---------- */
.hero-ink { background: var(--paper); color: var(--ink); }
.ink-canvas { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
/* Input lives on the staff only (sized by hero-canvas.js); the rest of the hero scrolls normally on touch. */
.ink-pad { position: absolute; z-index: 3; touch-action: none; cursor: crosshair; }
.hero-ink .hero-topline,
.hero-ink .hero-footer { position: relative; z-index: 2; pointer-events: none; }
.hero-ink .hero-footer { z-index: 4; pointer-events: auto; cursor: auto; }
.hero-ink h1 { user-select: none; }
.hero-ink .hero-topline h1 {
  max-width: none; margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: .95; letter-spacing: -.05em;
}
.hero-ink h1 em {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 88%, transparent 88%);
  padding: 0 .04em;
}
.hero-ink .hero-footer > p { max-width: 34rem; }

.ink-controls { display: flex; flex: 0 0 auto; gap: .6rem; }
.ink-button {
  padding: .7rem 1.15rem; border: 1px solid var(--ink); border-radius: 3rem;
  background: var(--paper); color: var(--ink); cursor: pointer; font-size: .9rem;
  transition: background .2s ease, color .2s ease;
}
.ink-button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.ink-button:disabled { opacity: .35; cursor: default; }
.ink-button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ink-button:focus-visible, .sound-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ink-hint {
  position: absolute; z-index: 5; left: 50%; top: 0; margin: 0;
  padding: .55rem .95rem; border-radius: 3rem; background: var(--ink); color: var(--paper);
  font-size: .85rem; transform: translate(-50%, .5rem); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.ink-hint.is-visible { opacity: 1; transform: translate(-50%, 0); }

.sound-toggle {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .8rem;
  border: 1px solid currentColor; border-radius: 3rem; background: transparent; color: inherit;
  font-size: .8rem; cursor: pointer;
}
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.sound-bars i { display: block; width: 2px; height: 3px; background: currentColor; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: sound-bar .9s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes sound-bar { from { height: 3px; } to { height: 10px; } }

@media (max-width: 800px) {
  .sound-toggle { margin-left: auto; margin-right: 1rem; }
  /* Phones: give the staff the whole screen height and keep the copy and buttons compact. */
  .hero-ink { min-height: 100svh; padding-top: 5.25rem; }
  .hero-ink .hero-footer { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .hero-ink .hero-footer > p { font-size: .95rem; line-height: 1.45; }
  .ink-controls { gap: .45rem; }
  .ink-button { padding: .5rem .85rem; font-size: .82rem; white-space: nowrap; }
  .ink-hint { white-space: nowrap; }
}
