/* Fonts subset to Latin, Latin-1, French ligatures and common punctuation (Japanese falls back to the system font).
   Originals: SIL OFL 1.1, no reserved font name, licences in /fonts. */
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Yuji Syuku"; src: url("/fonts/yuji-syuku.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #f6f6f4;
  --paper: #ffffff;
  --ink: #111111;
  --mute: #6e6e6a;
  /* One accent, used for the one idea that matters on each screen: ai, the Japanese indigo of the automaton's kimono. */
  --ai: #2b4c7e;
  --faint: #85857f;
  --line: rgba(17, 17, 17, 0.1);
  --f-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Geist", "Segoe UI", system-ui, sans-serif;
  --f-mono: "SF Mono", "Geist Mono", ui-monospace, Menlo, monospace;
  --f-brand: "Unbounded", var(--f-sans);
  --f-brush: "Yuji Syuku", "Hiragino Mincho ProN", serif;
  --f-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }

.label { margin: 0 0 18px; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.h2 { font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(1.6rem, 3.3vw, 3.2rem); line-height: 1.02; letter-spacing: -0.005em; font-weight: 300; text-wrap: balance; }
.jp { font-family: var(--f-jp); font-weight: 300; letter-spacing: 0.12em; color: var(--mute); margin-left: 0.6em; }
.jp-v { font-family: var(--f-jp); font-weight: 300; writing-mode: vertical-rl; letter-spacing: 0.32em; color: var(--mute); margin: 0; line-height: 1; }

/* nav */
.nav { position: static; }
.wordmark { position: fixed; z-index: 60; top: 20px; left: var(--gutter); font-family: var(--f-brand); font-weight: 300; font-size: 1.34rem; line-height: 1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.nav-links { position: fixed; z-index: 60; top: 16px; right: var(--gutter); display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-link, .nav-contact { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.5em; padding: 8px 0; font-family: var(--f-brand); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.25; text-decoration: none; }
.nav-lang { position: relative; z-index: 1; display: block; padding: 8px 0 8px clamp(14px, 1.8vw, 26px); border-left: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; line-height: 1.25; color: var(--mute); text-decoration: none; transition: color 0.3s; }
.nav-lang:hover, .nav-lang:focus-visible { color: var(--ink); }
/* Contact is an ink seal: a square block of ink with 話 (to speak) brushed in it, pressed a little askew on hover. */
.nav-contact { padding: 9px 14px 9px 10px; background: var(--ink); color: var(--bg); transition: transform 0.35s var(--ease); }
.nav-contact:hover, .nav-contact:focus-visible { transform: rotate(-3deg); }
/* The section in view is underlined with a stroke of ink that slides from item to item. */
.nav-ind { position: absolute; z-index: 0; bottom: 2px; height: 2px; left: 0; width: var(--iw, 0px); transform: translateX(var(--ix, 0px)) skewX(-20deg); background: var(--ink); opacity: var(--io, 0); transition: transform 0.55s var(--ease), width 0.55s var(--ease), opacity 0.3s; }
.nav-link::before, .nav-contact[href$="#contact"]::before { font-family: var(--f-brush); font-size: 1.35rem; letter-spacing: 0; line-height: 0.8; text-transform: none; }
.nav-link:nth-of-type(1)::before { content: "一"; }
.nav-link:nth-of-type(2)::before { content: "二"; }
.nav-link:nth-of-type(3)::before { content: "三"; }
.nav-contact[href$="#contact"]::before { content: "話"; font-size: 1.5rem; }
.roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.roll > span { grid-area: 1 / 1; text-align: center; transition: transform 0.5s var(--ease); }
.roll > span + span { transform: translateY(115%); font-family: var(--f-jp); font-weight: 400; letter-spacing: 0.1em; }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child { transform: translateY(-115%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span { transform: none; }

/* scenes */
.scene { position: relative; }
.pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }

/* hero */
.hero { height: 280vh; }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 17vh; text-align: center; padding: 0 var(--gutter); will-change: transform, opacity; }
.hero-title { text-wrap: balance; font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(2.4rem, min(7vw, 12vh), 7.4rem); line-height: 1; padding: 0 1.2em; letter-spacing: -0.02em; font-weight: 400; }
.hero-title .line + .line { margin-top: 0.12em; font-size: 0.46em; font-weight: 300; letter-spacing: 0; text-transform: none; }
.hero-jp { position: absolute; right: var(--gutter); top: 0; font-size: 0.95rem; }
.line { display: block; overflow: hidden; padding: 0.2em 0 0.06em; margin-top: -0.2em; }
.line > span { display: inline-block; }
.hero-stage { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 40%; }
.hero-card {
  --rx: 56deg; --ty: 18vh; --s: 1; --ry: 0deg; --clipx: 22%; --clipy: 32%; --rad: 22px; --zoom: 1.06;
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(var(--clipy) var(--clipx) var(--clipy) var(--clipx) round var(--rad));
  transform: translate3d(0, var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s));
  transform-origin: 50% 60%; will-change: transform, clip-path;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--opx, 30%) 50%; transform: scale(var(--zoom)); }
.hero-overlay { position: absolute; z-index: 3; right: var(--gutter); bottom: 12vh; margin: 0; text-align: right; font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(1.6rem, 4.3vw, 4.6rem); line-height: 1; letter-spacing: -0.005em; font-weight: 400; color: var(--ink); pointer-events: none; }
.hero-overlay span { display: block; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.hero-overlay span.is-on { opacity: 1; transform: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--mute); transition: opacity 0.4s; }

/* tea scene + films */
.tea-scene { height: 330vh; }
.tea-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: 15vh; max-width: 1120px; }
.tea-text { font-family: var(--f-brand); font-size: clamp(1.35rem, 2.7vw, 2.7rem); line-height: 1.16; letter-spacing: -0.02em; font-weight: 300; }
.tl { display: block; text-wrap: balance; opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.tl.is-on { opacity: 1; transform: none; filter: none; }
.tl-mute { color: var(--mute); margin-top: 0.45em; font-size: 0.72em; line-height: 1.12; letter-spacing: -0.03em; }
.tea-jp { position: absolute; right: var(--gutter); top: 15vh; font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--faint); }
.tea-caption { position: absolute; z-index: 3; left: var(--gutter); bottom: 3.2vh; margin: 0; max-width: 34em; font-size: 0.8rem; color: var(--mute); }
.tea-caption span { font-family: var(--f-jp); margin-right: 0.8em; color: var(--ink); }
.tea-stage { position: absolute; inset: 0; pointer-events: none; }
.tea-film { --fx: 0px; position: absolute; left: 50%; bottom: 0; height: 60vh; aspect-ratio: 16 / 9; transform: translate3d(calc(-50% + var(--fx)), 0, 0); will-change: transform; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%); mask-composite: intersect; }
.doll-label { position: absolute; margin: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 0.8rem; color: var(--mute); opacity: 0; transform: translateX(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.doll-label span { font-family: var(--f-jp); font-size: 1rem; color: var(--ink); }
.doll-label::before { content: ""; align-self: center; width: 48px; height: 1px; background: var(--ink); order: -1; }
.label-stop { left: 61%; top: 58%; }
.doll-label.is-on { opacity: 1; transform: none; }


/* book */
.book-scene { height: 460vh; }
.book-head { position: absolute; z-index: 2; left: var(--gutter); top: 12vh; max-width: min(90vw, 900px); }
.book { position: absolute; inset: 0; display: grid; place-items: center; perspective: 2400px; padding-top: 6vh; }
.spread {
  --bx: 55deg; --bz: -10deg; --bs: 0.72; --by: 18vh;
  position: relative; width: min(1000px, 84vw, calc((100svh - 150px) * 1.6)); aspect-ratio: 1.6; transform-style: preserve-3d;
  transform: translateY(var(--by)) rotateX(var(--bx)) rotateZ(var(--bz)) scale(var(--bs)); will-change: transform;
}
.page, .face { position: absolute; top: 0; width: 50%; height: 100%; background: var(--paper); padding: clamp(18px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-left { left: 0; border-radius: 14px 0 0 14px; box-shadow: inset -1px 0 0 var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.3); }
.page-under { right: 0; border-radius: 0 14px 14px 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3); }
.sheet { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.face { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face.front { padding: 0; border-radius: 0 14px 14px 0; }
.face.front img { width: 100%; height: 100%; object-fit: cover; }
.face.back { transform: rotateY(180deg); border-radius: 14px 0 0 14px; box-shadow: inset 1px 0 0 var(--line); }
.face::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.page-num { margin: 0 0 auto; font-family: var(--f-mono); font-size: 0.78rem; color: var(--mute); }
.page-jp { position: absolute; top: clamp(18px, 3vw, 44px); right: clamp(18px, 3vw, 44px); font-size: clamp(1.6rem, 3.4vw, 3.2rem); color: var(--faint); }
.page-big { font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(1.5rem, 3.6vw, 3.9rem); line-height: 1; letter-spacing: -0.005em; font-weight: 300; margin: 0 0 0.4em; text-wrap: balance; }
.page-text { margin: 0; max-width: 24em; color: var(--mute); font-size: clamp(0.95rem, 1.2vw, 1.1rem); }
.page-link { align-self: flex-start; margin-top: 18px; padding: 10px 18px; border-radius: 0; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.02em; text-decoration: none; }

/* space */
.space-scene { height: 420vh; }
.space { position: absolute; inset: 0; perspective: 1000px; transform-style: preserve-3d; will-change: transform; }
.float { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); opacity: 0; will-change: transform, opacity; }
.photo { width: clamp(220px, 27vw, 430px); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.photo img { width: 100%; height: auto; }
.card { width: clamp(240px, 24vw, 340px); min-height: 200px; padding: 24px; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 60px -34px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: auto; padding-bottom: 36px; }
.card-num { font-family: var(--f-mono); font-size: 0.78rem; color: var(--mute); }
.card-jp { font-family: var(--f-jp); font-weight: 300; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--mute); }
.card h3 { font-size: clamp(1.25rem, 1.7vw, 1.7rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 10px; }
.card p { margin: 0; color: var(--mute); font-size: 0.98rem; }
.card a, .founder-body p a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.space-head { position: absolute; z-index: 2; left: 0; right: 0; top: 10vh; text-align: center; padding: 0 var(--gutter); opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 30px)); }
.space-head .label { margin-bottom: 10px; }
.space-head .jp { margin: 0; letter-spacing: 0.3em; }
.space-title { font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.005em; font-weight: 300; text-wrap: balance; }

/* founder */
.founder { max-width: 1300px; margin: 0 auto; padding: clamp(110px, 18vh, 200px) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: center; perspective: 1200px; overflow-x: clip; }
.polaroid { --tx: 0deg; --ty: 0deg; position: relative; width: 100%; max-width: 420px; justify-self: center; margin: 0; padding: 4.5% 4.5% 15%; background: var(--paper); border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45); transform: rotate(-3deg) rotateX(var(--tx)) rotateY(var(--ty)); transition: transform 0.25s ease-out; }
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 4.5%; text-align: center; font-family: var(--f-mono); font-size: 0.9rem; color: var(--mute); }
.polaroid-jp { position: absolute; top: 6%; right: -2.2em; font-size: 0.9rem; }
.founder-lede { font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.015em; font-weight: 400; margin: 14px 0 22px; }
.founder-body > p:not(.label):not(.founder-lede) { color: var(--mute); max-width: 38em; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }

/* contact + button + serving film */
.contact { position: relative; padding: clamp(110px, 18vh, 200px) var(--gutter) 0; text-align: center; perspective: 900px; overflow: hidden; }
.contact-title { font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(1.9rem, 5.6vw, 5.8rem); line-height: 1; letter-spacing: -0.01em; font-weight: 300; margin-bottom: clamp(40px, 7vh, 72px); text-wrap: balance; }
.contact-stage { position: relative; height: 360px; margin-top: 10px; }
.contact-film { --fx: 0px; position: absolute; left: 50%; bottom: 0; height: 100%; aspect-ratio: 16 / 9; transform: translate3d(calc(-73% + var(--fx)), 0, 0); will-change: transform; }
.contact-film .film-video { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 94%, transparent); }
.contact-jp { position: absolute; left: calc(50% + 120px); bottom: 110px; font-size: 1.15rem; color: var(--mute); }

/* footer */
.footer { padding: 40px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-word { margin: 0 0 22px; font-family: var(--f-brand); font-weight: 300; font-size: clamp(2.6rem, 14.5vw, 17rem); line-height: 0.9; letter-spacing: -0.03em; text-align: center; color: #deded9; white-space: nowrap; }
.footer-word::before { content: "Chahakobi"; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 0.85rem; color: var(--mute); }
.footer-row p { margin: 0; }
.footer-row a { text-decoration: none; margin-left: 16px; }
.footer-row a:hover { color: var(--ink); }

/* legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: 140px var(--gutter) 120px; }
.legal h1 { font-family: var(--f-brand); text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.005em; font-weight: 300; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.03em; margin: 2.4rem 0 0.7rem; }
.legal p { color: var(--mute); }
.legal .kicker { font-size: 0.82rem; font-weight: 600; color: var(--mute); }
.legal .back { font-weight: 600; }
.legal-alt { margin-top: 4.5rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.legal-alt-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; color: var(--ink) !important; margin: 0.4rem 0 1.2rem; }
.btn-ink { display: inline-block; padding: 12px 20px; border-radius: 0; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) 0.1s forwards; }
  .line:nth-child(2) > span { animation-delay: 0.2s; }
  .hero-copy .label, .hero-jp { animation: fade 1s ease 0.5s both; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .nav-link, .nav-ind { display: none; }
  .nav-contact { margin-left: 0; }
  .wordmark { font-size: 1.1rem; top: 22px; }
  .hero-jp, .tea-jp { display: none; }
  /* Phone hero: the headline sits lower and tighter, so it meets the photo instead of floating in white. */
  .hero-copy { top: 21vh; }
  .hero-title { padding: 0; font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero-title .line + .line { font-size: 0.58em; margin-top: 0.18em; }
  /* Over the full photo, the words go top right, on the bright window, well above the head. */
  .hero-overlay { top: 12vh; bottom: auto; right: var(--gutter); left: auto; max-width: 76%; text-align: right; font-size: clamp(1.15rem, 5.6vw, 1.6rem); line-height: 1.08; font-weight: 400; }
  .tea-copy { top: 13vh; }
  .tea-film { height: 58vh; }
  .tea-caption { display: none; }
  .label-stop { left: 50%; top: -8%; flex-direction: column; align-items: center; gap: 2px; transform: translate(-50%, 10px); }
  .label-stop.is-on { transform: translate(-50%, 0); }
  .label-stop::before { display: none; }
  .book-head { top: 10vh; }
  .spread { width: 94vw; aspect-ratio: 1.15; }
  .page, .face { padding: 16px; }
  .page-jp { top: 16px; right: 16px; }
  .founder { grid-template-columns: 1fr; }
  .polaroid { width: min(66vw, 260px); }
  .polaroid-jp { right: -1.9em; }
  .card { width: calc(50vw - 22px); min-height: 0; padding: 14px; border-radius: 14px; }
  .card-top { padding-bottom: 14px; flex-direction: column; gap: 4px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.8rem; line-height: 1.35; }
  .photo { width: 40vw; }
  .contact-stage { height: 240px; }
  .contact-jp { left: calc(50% + 74px); bottom: 70px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .book-scene, .space-scene, .tea-scene { height: auto; }
  .pin { position: relative; height: auto; overflow: visible; }
  .hero-copy { position: relative; top: 0; padding-top: 120px; }
  .hero-jp, .tea-jp, .doll-label { display: none; }
  .hero-stage { position: relative; perspective: none; height: 60vh; margin-top: 40px; }
  .hero-card { clip-path: none; transform: none; }
  .hero-overlay, .scroll-hint { display: none; }
  .tea-copy, .tea-caption { position: relative; top: auto; bottom: auto; left: auto; right: auto; padding: 100px var(--gutter) 0; }
  .tea-caption { padding-top: 16px; }
  .tl { opacity: 1; transform: none; filter: none; }
  .tea-stage { position: relative; }
  .tea-film { position: relative; left: auto; bottom: auto; transform: none; width: min(100% - 2 * var(--gutter), 960px); height: auto; margin: 24px auto 0; }
  .book-head { position: relative; top: 0; padding: 80px var(--gutter) 24px; }
  .book { position: relative; perspective: none; padding: 0 var(--gutter) 80px; }
  .spread { transform: none; aspect-ratio: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
  .page, .sheet, .face { position: relative; width: auto; height: auto; transform: none !important; left: auto; right: auto; border-radius: 14px; min-height: 260px; }
  .sheet { display: contents; }
  .space { position: relative; perspective: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0 var(--gutter) 80px; }
  .float { position: relative; left: auto; top: auto; transform: none !important; opacity: 1 !important; width: auto; }
  .photo { display: none; }
  .space-head { position: relative; top: 0; opacity: 1; transform: none; padding: 80px var(--gutter) 24px; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Japanese written with a brush: each sign is drawn from top to bottom when its section comes into view. */
.brush { font-family: var(--f-brush); font-weight: 400; color: var(--ink); letter-spacing: 0.08em; }
.brush > span { display: inline-block; -webkit-mask-image: linear-gradient(to bottom, #000 46%, transparent 54%); mask-image: linear-gradient(to bottom, #000 46%, transparent 54%); -webkit-mask-size: 100% 240%; mask-size: 100% 240%; -webkit-mask-position: 0 100%; mask-position: 0 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: -webkit-mask-position 1.1s cubic-bezier(0.65, 0.05, 0.25, 1) calc(var(--i, 0) * 0.28s), mask-position 1.1s cubic-bezier(0.65, 0.05, 0.25, 1) calc(var(--i, 0) * 0.28s); }
.brush.is-written > span { -webkit-mask-position: 0 0; mask-position: 0 0; }
.hero-jp.brush { font-size: clamp(1.3rem, 1.9vw, 2rem); color: var(--ink); }
.tea-jp.brush { font-size: clamp(2.2rem, 3.8vw, 3.6rem); color: var(--ink); }
.page-jp.brush { color: var(--ink); opacity: 0.88; }
.contact-jp.brush { font-size: clamp(1.5rem, 2.2vw, 2.1rem); color: var(--ink); }
.space-brush { position: absolute; z-index: 3; left: var(--gutter); top: 24vh; margin: 0; font-size: clamp(2.6rem, 4.6vw, 4.6rem); }

@media (prefers-reduced-motion: reduce) {
  .brush > span { -webkit-mask-position: 0 0; mask-position: 0 0; transition: none; }
}
@media (max-width: 760px) {
  .space-brush { top: auto; bottom: 12vh; left: auto; right: var(--gutter); font-size: 2.2rem; }
}

/* The first screen says Japan at once: 茶運び (chahakobi, the tea carrier) brushed in large signs, written as the page opens. */
.hero-brush { position: absolute; z-index: -1; right: var(--gutter); top: -8vh; margin: 0; writing-mode: vertical-rl; height: 3.2em; white-space: nowrap; font-size: clamp(5rem, 21vh, 13rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); pointer-events: none; }
.hero-brush > span { transition-duration: 1.5s, 1.5s; transition-delay: calc(0.35s + var(--i, 0) * 0.55s), calc(0.35s + var(--i, 0) * 0.55s); }
.hero-jp { display: none; }
@media (max-width: 860px) {
  .hero-brush { top: -7vh; right: 50%; transform: translateX(50%); font-size: 27vw; opacity: 0.1; }
}

/* The contact call, no button: 話 brushed large, the words in light capitals, and a stroke of ink drawn under them when you
   reach for it; the arrow leans in. The automaton below bows at the same moment (main.js). */
.cta { position: relative; z-index: 2; display: inline-grid; grid-template-columns: auto auto auto; align-items: center; gap: clamp(14px, 2.4vw, 32px); padding: 14px 4px 30px; color: var(--ink); text-decoration: none; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--line); }
.cta-kanji { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1; }
.cta-text { display: grid; gap: 12px; text-align: left; }
.cta-label { font: 300 clamp(1.9rem, 5.4vw, 4.8rem)/0.95 var(--f-brand); text-transform: uppercase; letter-spacing: -0.005em; }
.cta-sub { font: 400 0.72rem/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.cta-arrow svg { display: block; width: clamp(40px, 5vw, 66px); height: auto; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s var(--ease); }
.cta-stroke { position: absolute; left: -1%; width: 102%; bottom: 6px; height: 14px; overflow: visible; pointer-events: none; }
.cta-stroke path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0.05, 0.25, 1); }
.cta:hover .cta-stroke path, .cta:focus-visible .cta-stroke path { stroke-dashoffset: 0; }
.cta:hover .cta-arrow svg, .cta:focus-visible .cta-arrow svg { transform: translateX(10px); }
@media (max-width: 760px) {
  .cta { grid-template-columns: auto auto; gap: 14px; }
  .cta-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-stroke path { transition: none; }
  .cta-arrow svg { transition: none; }
}

/* Over the photo: one idea leads (the AI that knows when to stop), two quiet lines frame it. */
.hero-overlay .ov-small { margin-bottom: 0.9em; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-overlay .ov-big { font-family: var(--f-brand); font-size: clamp(1.9rem, 4.1vw, 4.4rem); font-weight: 300; line-height: 1; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.hero-overlay .ov-note { margin-top: 0.9em; font-family: var(--f-sans); font-size: clamp(0.95rem, 1.2vw, 1.15rem); font-weight: 400; letter-spacing: 0; line-height: 1.35; text-transform: none; }
.hero-overlay { max-width: min(44rem, 58vw); }
@media (max-width: 860px) {
  .hero-overlay { max-width: 78%; }
  .hero-overlay .ov-big { font-size: clamp(1.3rem, 6.4vw, 1.9rem); line-height: 1.04; }
  .hero-overlay .ov-small { font-size: 0.62rem; letter-spacing: 0.16em; }
  .hero-overlay .ov-note { font-size: 0.85rem; }
}

.hero-title .line + .line { color: var(--ai); }
.tl-mute { color: var(--ai); }
.nav-ind { background: var(--ai); }
.cta-sub { color: var(--ai); }
.cta-stroke path { stroke: var(--ai); }

/* ---------- Type system: classic and modern, hierarchy by weight, tone and space ----------
   One text face (Geist), in lower case. A headline is set light in a quiet grey; only its key words go semi-bold in ink, so
   a hurried reader reads the ink first. Indigo marks the one idea of a screen. Unbounded stays for the wordmark only. */
:root { --f-text: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; --soft: #5c5c58; }
body { font-family: var(--f-text); }
.k { font-weight: 600; color: var(--ink); }
.hero-title { font-family: var(--f-text); text-transform: none; font-weight: 600; font-size: clamp(2.8rem, min(8.4vw, 14vh), 8.6rem); line-height: 0.98; letter-spacing: -0.05em; padding: 0 1em; }
.hero-title .line + .line { margin-top: 0.06em; font-size: 0.54em; font-weight: 300; letter-spacing: -0.035em; color: var(--ai); }
.h2, .space-title, .contact-title, .page-big { font-family: var(--f-text); text-transform: none; font-weight: 300; color: var(--soft); letter-spacing: -0.045em; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); line-height: 1.02; }
.space-title { font-size: clamp(2.1rem, 4.6vw, 4.6rem); line-height: 1.02; }
.contact-title { font-size: clamp(2.4rem, 6.4vw, 6.6rem); line-height: 1; }
.page-big { font-size: clamp(1.8rem, 4vw, 4.2rem); line-height: 1; color: var(--ink); font-weight: 500; }
.page-under .page-big { font-weight: 300; color: var(--soft); }
.founder .h2 { color: var(--ink); font-weight: 500; }
.tea-text { font-family: var(--f-text); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 3.2rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); }
.tl-mute { font-weight: 400; letter-spacing: -0.02em; }
.hero-overlay { text-transform: none; }
.hero-overlay .ov-big { font-family: var(--f-text); font-weight: 300; text-transform: none; letter-spacing: -0.045em; font-size: clamp(2.2rem, 4.6vw, 5rem); color: var(--soft); }
.nav-link, .nav-contact { font-family: var(--f-text); font-size: 0.84rem; font-weight: 500; letter-spacing: -0.005em; text-transform: none; }
.cta-label { font-family: var(--f-text); font-weight: 300; text-transform: none; letter-spacing: -0.045em; font-size: clamp(2.4rem, 6vw, 5.6rem); }
.legal h1 { font-family: var(--f-text); text-transform: none; font-weight: 300; letter-spacing: -0.045em; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
@media (max-width: 860px) {
  .hero-title { padding: 0; font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-overlay .ov-big { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
}
