/* Bekito — worlds.
 * The page background is painted by the fixed field canvas (js/field.js).
 * Sections only set text tone; each carries a solid fallback background that
 * disappears once the field is running (html.field-on). */

:root {
  --ink: #2B3A4A;
  --ak: #B45F2F;
  --cream: #FAF6F0;
  --green: #2F7D4F;
  --f-sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --f-latin: Inter, 'Zen Kaku Gothic New', sans-serif;
  --f-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  /* no ui-monospace: on iOS its last-resort cascade shows boxes for Japanese before later families are tried */
  --f-mono: 'IBM Plex Mono', Menlo, Consolas, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Zen Kaku Gothic New', 'Noto Sans JP', monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --seam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 14C90 4 170 20 260 12S430 3 520 13 700 22 790 11 960 4 1050 12 1160 18 1200 14V24H0Z'/%3E%3C/svg%3E");
  --vignette: radial-gradient(ellipse 95% 85% at 50% 50%, transparent 55%, rgba(0,0,0,.3));
}

[data-tone="light"] {
  --fg: #1E2A37; --fg-2: rgba(30,42,55,.78); --fg-3: rgba(30,42,55,.64); --line: rgba(30,42,55,.15);
  --acc: #B45F2F; --acc-ink: #fff; --card: rgba(255,255,255,.72); --card-line: rgba(30,42,55,.1);
}
[data-tone="dark"] {
  --fg: #F5EFE6; --fg-2: rgba(245,239,230,.76); --fg-3: rgba(245,239,230,.52); --line: rgba(245,239,230,.16);
  --acc: #E39A68; --acc-ink: #1A1410; --card: rgba(255,255,255,.045); --card-line: rgba(245,239,230,.12);
}
[data-world="blueprint"] { --acc: #F0A868; }
[data-world="darkroom"] { --acc: #86E8B0; --acc-ink: #0B1A13; }
[data-world="clean"] { --acc: #B45F2F; }
[data-world="sky"] { --acc: #9A4A1F; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px;
  background: #EDE4D5;
  color: #1E2A37;
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s;
}
::selection { background: var(--ak); color: #fff; }
h1, h2, h3, p { margin: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .beat { word-break: auto-phrase; }

@keyframes bkpulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes bkdot { 0%,80%,100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes bkcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes bknaviresult { 0% { opacity: 0; transform: translateY(12px) scale(.985); } 100% { opacity: 1; transform: none; } }
@keyframes bknaviflash { 0% { box-shadow: 0 0 0 0 rgba(180,95,47,.48); } 100% { box-shadow: 0 0 0 12px rgba(180,95,47,0); } }

/* ---------- field canvas: particles only, above world backgrounds, below content ---------- */
#bk-field { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
main { overflow-x: clip; }
.footer { position: relative; z-index: 1; }

/* ---------- world backgrounds: plain page CSS, so they scroll natively (no canvas lag on iOS) ---------- */
.world { position: relative; color: var(--fg); background: var(--w-bot); }
.world:not(.is-pinned), .world.is-pinned > .pin {
  background:
    var(--w-extra, linear-gradient(transparent, transparent)),
    radial-gradient(var(--w-glow-at), var(--w-glow), transparent 70%),
    linear-gradient(var(--w-top), var(--w-bot));
}
[data-world="paper"] { --w-top: #F7F2EA; --w-bot: #EDE4D5; --w-glow: rgba(243,216,190,.6); --w-glow-at: ellipse 45% 55% at 76% 44%; }
[data-world="ink"] { --w-top: #121519; --w-bot: #090A0C; --w-glow: rgba(56,35,20,.9); --w-glow-at: ellipse 75% 55% at 50% 100%; --w-extra: var(--vignette); }
[data-world="blueprint"] {
  --w-top: #0F2C4E; --w-bot: #0A1F39; --w-glow: rgba(29,80,137,.55); --w-glow-at: ellipse 55% 60% at 70% 45%;
  --w-extra: var(--vignette),
    linear-gradient(rgba(169,204,255,.12) 1px, transparent 1px) 0 0 / 140px 140px,
    linear-gradient(90deg, rgba(169,204,255,.12) 1px, transparent 1px) 0 0 / 140px 140px,
    linear-gradient(rgba(169,204,255,.065) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(169,204,255,.065) 1px, transparent 1px) 0 0 / 28px 28px;
}
[data-world="sky"] { --w-top: var(--sky-top, #D9E3EE); --w-bot: var(--sky-bot, #F6E3CE); --w-glow: var(--sun-col, rgba(255,231,191,.7)); --w-glow-at: ellipse 42% 48% at var(--sun-x, 12%) var(--sun-y, 94%); }
[data-world="darkroom"] { --w-top: #0F1715; --w-bot: #080C0B; --w-glow: rgba(22,58,44,.6); --w-glow-at: ellipse 55% 60% at 30% 50%; --w-extra: var(--vignette); }
[data-world="clean"] { --w-top: #F3F6F3; --w-bot: #E1E9E3; --w-glow: rgba(255,255,255,.8); --w-glow-at: ellipse 45% 50% at 28% 45%; }
[data-world="atlas"] { --w-top: #111A24; --w-bot: #0B1119; --w-glow: rgba(27,51,80,.65); --w-glow-at: ellipse 45% 40% at 34% 55%; --w-extra: var(--vignette); }
[data-world="urushi"] { --w-top: #1F120D; --w-bot: #100907; --w-glow: rgba(106,41,21,.6); --w-glow-at: ellipse 50% 55% at 70% 46%; --w-extra: var(--vignette); }
[data-world="paper2"] { --w-top: #F3EEE5; --w-bot: #E9E1D3; --w-glow: rgba(255,253,248,.7); --w-glow-at: ellipse 50% 50% at 20% 20%; }
[data-world="night"] { --w-top: #131C26; --w-bot: #1F2C3A; --w-glow: rgba(44,66,89,.6); --w-glow-at: ellipse 50% 50% at 82% 18%; --w-extra: var(--vignette); }
/* where the world changes, the next one bleeds up over the last with an inked edge */
.world[data-seam]::before, .footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 24px; pointer-events: none;
  background: var(--w-top, #141A21);
  -webkit-mask: var(--seam) repeat-x 0 100% / 1200px 24px; mask: var(--seam) repeat-x 0 100% / 1200px 24px;
}
.footer::before { --w-top: #141A21; }
.scan-band {
  position: absolute; left: 0; right: 0; top: 0; height: 180px; margin-top: -90px; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 75% 50% at 50% 50%, rgba(61,220,151,.26), transparent 70%);
  will-change: transform, opacity;
}

/* ---------- shared type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; }
.w-idx { display: flex; align-items: center; gap: 14px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; }
.w-idx b { font-weight: 500; color: var(--acc); }
.w-idx b::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .6; }
.tnum { font-variant-numeric: tabular-nums; }
.nw { display: inline-block; }
.muted-note { font-size: 12px; color: var(--fg-3); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: bkpulse 3s ease-in-out infinite; flex: none; }
.h-serif { font-family: var(--f-serif) !important; font-weight: 800 !important; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; font-weight: 700; font-family: inherit; cursor: pointer; text-align: center; white-space: nowrap; }
.btn-primary { background: var(--acc); color: var(--acc-ink); border: none; padding: 15px 30px; font-size: 14.5px; transition: transform .25s var(--ease), box-shadow .25s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-outline { border: 1.5px solid var(--line); color: var(--fg); padding: 15px 30px; font-size: 14.5px; background: transparent; transition: border-color .25s, color .25s; }
.btn-outline:hover { border-color: var(--acc); color: var(--acc); }
.btn-ghost { background: transparent; border: 1px solid rgba(43,58,74,.25); padding: 10px 24px; font-size: 13px; color: var(--ink); transition: border-color .25s, color .25s; }
.btn-ghost:hover { border-color: var(--ak); color: var(--ak); }

.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; white-space: nowrap; border: 1px solid currentColor; color: var(--acc); }
.badge-soon { color: var(--fg-3); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--nav-fg, #1E2A37);
  border-bottom: 1px solid transparent;
  transition: color .5s, background-color .5s, border-color .5s;
}
html[data-tone="light"] { --nav-fg: #1E2A37; --nav-bg: rgba(255,255,255,.34); --nav-line: rgba(30,42,55,.08); --nav-inv: #F5EFE6; }
html[data-tone="dark"] { --nav-fg: #F5EFE6; --nav-bg: rgba(8,10,13,.32); --nav-line: rgba(245,239,230,.08); --nav-inv: #1E2A37; }
.nav.scrolled { background: var(--nav-bg); border-color: var(--nav-line); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-svg { display: block; height: 23px; width: auto; overflow: visible; }
.logo-svg .logo-dot { fill: var(--logo-dot, #B45F2F); transition: fill .5s; }
html[data-tone="dark"] { --logo-dot: #E8A071; }
.logo-kana { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .22em; white-space: nowrap; opacity: .62; }
.logo-kana::before { content: ''; width: 1px; height: 13px; background: currentColor; opacity: .45; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 32px); font-size: 13.5px; font-weight: 500; }
.nav-links a { color: inherit; text-decoration: none; opacity: .82; white-space: nowrap; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-lang { display: flex; align-items: center; gap: 2px; font-size: 12px; opacity: .6; }
.lang-btn { background: transparent; border: none; cursor: pointer; font: 600 12px Inter, sans-serif; color: inherit; padding: 6px 5px; border-radius: 6px; opacity: .7; }
.lang-btn:hover { opacity: 1; }
.lang-btn.on { font-weight: 800; opacity: 1; }
.nav-lang:has(.lang-btn:hover), .nav-lang:has(.lang-btn.on) { opacity: 1; }
.nav-cta { background: var(--nav-fg); color: var(--nav-inv); padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .5s, color .5s, transform .25s; }
.nav-cta:hover { transform: translateY(-1px); }
@media (max-width: 959px) { .nav-links { display: none; } }
@media (hover: none) {
  .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-tone="light"] .nav.scrolled { background: rgba(246,241,233,.94); }
  html[data-tone="dark"] .nav.scrolled { background: rgba(11,13,16,.9); }
}
@media (max-width: 420px) { .logo-kana { display: none; } .nav-end { gap: 10px; } .nav-cta { padding: 9px 15px; font-size: 12px; } }

/* ---------- world index rail ---------- */
.rail {
  position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%);
  display: none; flex-direction: column; align-items: flex-end; gap: 4px;
  color: var(--nav-fg); transition: color .5s;
}
@media (min-width: 1380px) { .rail { display: flex; } }
.rail a { display: flex; align-items: center; gap: 10px; padding: 5px 0; text-decoration: none; color: inherit; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; }
.rail a i { font-style: normal; opacity: .38; transition: opacity .3s; }
.rail a span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease), opacity .3s; font-family: var(--f-sans); font-size: 11.5px; letter-spacing: .06em; }
.rail a::after { content: ''; width: 10px; height: 1px; background: currentColor; opacity: .35; transition: width .45s var(--ease), opacity .3s; }
.rail a:hover i, .rail a.on i { opacity: 1; }
.rail a:hover span, .rail a.on span { max-width: 8em; opacity: .9; }
.rail a.on::after { width: 26px; opacity: 1; }

/* ---------- pinned world frames ---------- */
.world.is-pinned { height: calc(var(--len, 200) * 1vh); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.frame {
  position: relative; z-index: 1; height: 100%;
  max-width: 1320px; margin: 0 auto;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 5vh;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 96px); align-items: center;
}
.frame--flip { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.frame--flip .stage-wrap { order: -1; }
.stage-wrap { position: relative; height: min(68vh, 700px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stage { position: relative; flex: 1 1 auto; min-height: 0; }
.stage--full { position: absolute; inset: 0; }

.copy { display: flex; flex-direction: column; min-width: 0; }
.copy h2 { margin: 20px 0 22px; font: 900 clamp(32px, 3.9vw, 58px)/1.18 var(--f-sans); letter-spacing: .01em; text-wrap: balance; }
.copy > p { max-width: 31em; font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 2; color: var(--fg-2); }
html[lang="en"] .copy h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -.01em; }
html[lang="en"] .copy > p { line-height: 1.75; }
.w-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.w-link { font: 600 14px var(--f-latin); color: var(--fg); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--acc); transition: color .25s; }
.w-link:hover { color: var(--acc); }

/* readouts under each stage: the instrument's live value */
.readout { position: relative; flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 34px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 11px/1.2 var(--f-mono); letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase; }
.ro { display: inline-flex; align-items: baseline; gap: 10px; transition: opacity .5s, transform .5s var(--ease); }
.ro em { font-style: normal; }
.ro strong { font: 500 clamp(20px, 1.9vw, 28px)/1 var(--f-mono); letter-spacing: .02em; color: var(--fg); font-variant-numeric: tabular-nums; text-transform: none; }
.ro small { font-size: 11px; text-transform: none; }
.ro-b { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(6px); pointer-events: none; }
.ro-url { font-size: clamp(15px, 1.4vw, 20px) !important; }
.readout.on .ro-a { opacity: 0; transform: translateY(-6px); }
.readout.on .ro-b { opacity: 1; transform: none; }
.ro-tag { margin-left: auto; opacity: .7; }

/* labels pinned to scene coordinates (positioned by the field) */
.anchor { position: absolute; left: 0; top: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; white-space: nowrap; translate: -50% -50%; pointer-events: none; }
.anchor--out { translate: -100% -50%; }
.ai-label { font-size: 11.5px; letter-spacing: .12em; color: var(--fg-2); }
.ai-label--in { color: #B45F2F; font-weight: 500; }

/* ---------- 00 hero ---------- */
.w-hero { min-height: 100vh; min-height: 100svh; }
.w-hero .frame { height: 100vh; height: 100svh; min-height: 620px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.w-hero .stage-wrap { height: min(80vh, 760px); }
.w-hero .copy { gap: clamp(22px, 3.2vh, 32px); }
.w-hero h1 { font: 900 clamp(40px, 4.4vw, 70px)/1.16 var(--f-sans); letter-spacing: .01em; text-wrap: balance; }
html[lang="en"] .w-hero h1 { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -.015em; }
.lead { max-width: 31em; font-size: clamp(15px, 1.2vw, 17.5px); line-height: 2; color: var(--fg-2); }
html[lang="en"] .lead { line-height: 1.75; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hint { flex: none; text-align: center; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; color: var(--fg-3); }
.scroll-cue { position: absolute; left: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); bottom: 26px; z-index: 2; display: flex; flex-direction: row-reverse; align-items: center; gap: 14px; text-decoration: none; color: var(--fg-3); font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; white-space: nowrap; }
.scroll-cue i { display: block; width: 1px; height: 34px; background: currentColor; animation: bkcue 2.4s var(--ease) infinite; }
.scroll-cue:hover { color: var(--fg); }

/* ---------- 01 manifesto ---------- */
.frame--center { display: flex; align-items: center; justify-content: center; padding-bottom: 32vh; }
.statement { position: relative; text-align: center; width: min(100%, 1040px); }
.beat { font: 800 clamp(26px, 4.2vw, 62px)/1.4 var(--f-serif); color: var(--fg); opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); text-wrap: balance; }
.beat.on { opacity: 1; transform: none; }
.beat--words { margin-top: .3em; opacity: 1; transform: none; display: flex; justify-content: center; gap: .5em; flex-wrap: wrap; }
.beat--words span { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); color: var(--acc); }
.beat--words span.on { opacity: 1; transform: none; }
.beat--final { margin-top: .6em; font-size: clamp(30px, 5vw, 76px); }
html[lang="en"] .beat { font-family: var(--f-serif); letter-spacing: -.005em; line-height: 1.22; }

/* ---------- 04+ more ---------- */
.container { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.w-more { padding: 6vh 0 18vh; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 28px; }
.more-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); color: var(--fg); text-decoration: none; transition: border-color .3s, transform .3s var(--ease), background-color .3s; }
a.more-card:hover { border-color: var(--acc); transform: translateY(-3px); background: rgba(255,255,255,.07); }
.more-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.more-name { font-size: 19px; font-weight: 700; }
.more-arrow { font: 600 15px Inter, sans-serif; color: var(--acc); transition: transform .3s; }
a.more-card:hover .more-arrow { transform: translate(2px, -2px); }
.more-desc { font-size: 14px; line-height: 1.85; color: var(--fg-2); }
/* quiet partner credit under a product card; a sibling link, since cards are links themselves */
.more-item { position: relative; display: flex; }
.more-item > .more-card { flex: 1; padding-bottom: 58px; }
.more-credit { position: absolute; left: 27px; bottom: 24px; font-size: 12px; color: var(--fg-3); text-decoration: none; border-bottom: 1px dotted var(--line); transition: color .25s, transform .3s var(--ease); }
.more-credit:hover { color: var(--fg); }
.more-item:has(> a.more-card:hover) .more-credit { transform: translateY(-3px); }

/* ---------- 05 secure ai services ---------- */
.w-services { padding: 4vh 0 16vh; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svc li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.svc li b { font: 500 12px var(--f-mono); color: var(--acc); letter-spacing: .1em; }
.svc h3 { font-size: 18px; font-weight: 700; }
.svc p { font-size: 13.5px; line-height: 1.9; color: var(--fg-2); }
html[lang="en"] .svc p { line-height: 1.7; }

/* ---------- 06 promises ---------- */
.promises { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.promises li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.promises li.on { opacity: 1; transform: none; }
.promises li b { font: 500 12px/1.9 var(--f-mono); color: var(--acc); letter-spacing: .08em; }
.promises h3 { font-size: clamp(16px, 1.35vw, 19px); font-weight: 700; line-height: 1.5; }
.promises p { margin-top: 4px; font-size: 13.5px; line-height: 1.8; color: var(--fg-2); }

/* ---------- 07 company ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }
.w-company { padding: 20vh 0 18vh; }
.company-block { display: flex; flex-direction: column; gap: 26px; }
.company-table { display: flex; flex-direction: column; }
.company-row { display: grid; grid-template-columns: clamp(84px, 20vw, 110px) 1fr; gap: clamp(12px, 3vw, 20px); padding: 18px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.8; }
.company-row:last-child { border-bottom: 1px solid var(--line); }
.company-key { font-weight: 700; color: var(--fg-3); }
.founder-list { display: flex; flex-direction: column; gap: 16px; }
.founder-card { background: rgba(255,255,255,.6); border: 1px solid var(--card-line); border-radius: 16px; padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.founder-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 19px; font-weight: 700; }
.founder-role { font-size: 12.5px; font-weight: 400; color: var(--fg-3); }
.founder-card p { font-size: 14px; line-height: 1.9; color: var(--fg-2); }
html[lang="en"] .founder-card p { line-height: 1.75; }

/* ---------- 08 ask ---------- */
.w-ask { padding: 18vh 0; }
.ai-intro { display: flex; flex-direction: column; gap: 24px; }
.ai-intro h2, .contact-h2 { font: 900 clamp(32px, 4vw, 56px)/1.2 var(--f-sans); text-wrap: balance; }
html[lang="en"] .ai-intro h2, html[lang="en"] .contact-h2 { line-height: 1.1; letter-spacing: -.01em; }
.ai-lead { font-size: 15px; line-height: 2; color: var(--fg-2); max-width: 30em; }
html[lang="en"] .ai-lead, html[lang="en"] .contact-lead { line-height: 1.75; }
.chip-list { display: flex; flex-direction: column; gap: 10px; }
.chip { align-self: flex-start; background: transparent; border: 1px solid var(--line); color: var(--fg); padding: 10px 18px; border-radius: 999px; font-size: 13px; font-family: inherit; cursor: pointer; text-align: left; transition: border-color .25s, background-color .25s; }
.chip:hover { border-color: var(--acc); background: rgba(255,255,255,.05); }

.chat-panel { background: var(--cream); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.4); display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid rgba(43,58,74,.12); background: #fff; }
.chat-head .pulse-dot { background: var(--ak); }
.chat-title { font-weight: 700; font-size: 14px; white-space: nowrap; }
.chat-beta { font: 700 10px Inter, sans-serif; letter-spacing: .14em; color: rgba(43,58,74,.45); border: 1px solid rgba(43,58,74,.2); border-radius: 999px; padding: 2px 8px; }
.chat-reset { margin-left: auto; background: transparent; border: none; cursor: pointer; font-family: inherit; font-size: 11.5px; color: rgba(43,58,74,.45); padding: 4px 6px; white-space: nowrap; transition: color .25s; }
.chat-reset:hover { color: var(--ak); }
.chat-log { display: flex; flex-direction: column; gap: 12px; height: 360px; overflow-y: auto; padding: 22px; }
.chat-msg { max-width: 82%; padding: 12px 16px; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; }
.chat-msg.assistant { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 14px 14px 14px 4px; }
.chat-msg.user { align-self: flex-end; background: var(--ink); color: var(--cream); border-radius: 14px 14px 4px 14px; }
.chat-typing { align-self: flex-start; background: #fff; border: 1px solid rgba(43,58,74,.1); border-radius: 14px 14px 14px 4px; padding: 14px 18px; display: flex; gap: 5px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ak); animation: bkdot 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
.chat-form { display: flex; gap: 10px; padding: 16px; border-top: 1px solid rgba(43,58,74,.12); background: #fff; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid rgba(43,58,74,.18); border-radius: 999px; padding: 12px 20px; font-size: 14px; font-family: inherit; background: var(--cream); color: var(--ink); outline: none; }
.chat-form input:focus { border-color: var(--ak); }
.chat-panel .btn-primary { background: var(--ak); color: #fff; }
.btn-send { padding: 12px 24px; font-size: 14px; }

/* ---------- 08 contact ---------- */
.w-contact { padding: 16vh 0 14vh; }
.contact-intro { display: flex; flex-direction: column; gap: 26px; }
.stage--mark { flex: none; width: min(320px, 72vw); aspect-ratio: 1; margin: -12px 0 0 -14px; }
.contact-lead { font-size: 15px; line-height: 2; color: var(--fg-2); max-width: 30em; }
.contact-mail { align-self: flex-start; color: var(--fg); text-decoration: none; font: 700 17px Inter, sans-serif; border-bottom: 2px solid var(--acc); padding-bottom: 4px; transition: color .25s; }
.contact-mail:hover { color: var(--acc); }
.contact-panel { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(43,58,74,.08); box-shadow: 0 30px 80px rgba(43,58,74,.14); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 700; color: rgba(43,58,74,.6); }
.label-text { white-space: nowrap; }
.req { color: var(--ak); }
.contact-form input, .contact-form textarea { border: 1px solid rgba(43,58,74,.18); border-radius: 10px; padding: 13px 16px; font-size: 14px; font-family: inherit; font-weight: 400; background: #FBF8F3; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ak); background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-panel .btn-primary { background: var(--ak); color: #fff; align-self: stretch; }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.form-note { font-size: 11.5px; color: rgba(43,58,74,.5); line-height: 1.7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-done { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; min-height: 380px; text-align: center; }
.contact-done[hidden] { display: none; }
.done-check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 900; }
.done-title { font-size: 19px; font-weight: 700; }
.contact-done p { font-size: 14px; line-height: 1.9; color: rgba(43,58,74,.65); }

/* ---------- footer ---------- */
.footer { background: #141A21; color: rgba(245,239,230,.6); padding: 34px var(--gutter); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 18px; color: #F5EFE6; --logo-dot: #E8A071; }
.footer-kana { letter-spacing: .14em; }
.footer-tag { color: rgba(245,239,230,.4); }
.footer-llm { color: rgba(245,239,230,.5); text-decoration: none; border-bottom: 1px dotted rgba(245,239,230,.3); }
.footer-llm:hover { color: #F5EFE6; }

/* ---------- 05+ AI atlas ---------- */
.w-atlas { padding: 16vh 0 14vh; }
.atlas { position: relative; z-index: 1; max-width: min(1320px, 92vw); margin: 0 auto; padding: 0 var(--gutter); }
.atlas-head { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin-bottom: clamp(24px, 4vh, 44px); }
.atlas-head h2 { font: 900 clamp(32px, 3.9vw, 58px)/1.18 var(--f-sans); text-wrap: balance; }
html[lang="en"] .atlas-head h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -.01em; }
.atlas-sub { font-size: 14.5px; line-height: 1.9; color: var(--fg-2); max-width: 40em; }
.atlas-asof { font: 500 11px var(--f-mono); color: var(--fg-3); letter-spacing: .08em; white-space: nowrap; }
.atlas-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 80px); align-items: start; }
.atlas-map { position: sticky; top: calc(var(--nav-h) + 12px); }
.atlas-stage { position: relative; width: 100%; aspect-ratio: 1; max-height: calc(100vh - var(--nav-h) - 84px); margin: 0 auto; }
.atlas-labels { position: absolute; inset: 0; pointer-events: none; }
.atlas-model {
  position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform;
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px;
  border: 1px solid transparent; border-radius: 999px; background: rgba(11,17,25,.62);
  color: rgba(244,238,226,.9); font: 600 11px/1.25 var(--f-latin); white-space: nowrap; cursor: pointer;
  transition: opacity .6s, border-color .3s, background-color .3s, color .3s;
}
.atlas-model.cls-open { color: #F2B892; }
.atlas-model.cls-jp { color: #A3DDB9; }
.atlas-model:hover, .atlas-model:focus-visible { border-color: rgba(244,238,226,.55); outline: none; }
.atlas-model.is-weak { opacity: .55; }
.atlas-model.is-out { opacity: .2; }
.atlas-model.is-top { background: #E39A68; color: #1A1410; opacity: 1; }
.atlas-model.is-sel { border-color: #E2C16D; opacity: 1; }
.atlas-rank { font: 700 10px/1 var(--f-mono); font-style: normal; }
.atlas-rank:empty { display: none; }
.ring-label { padding: 2px 9px; border-radius: 999px; background: rgba(11,17,25,.66); font: 500 10px/1.3 var(--f-mono); letter-spacing: .14em; color: #AFC0D2; }
.ring-0 { color: #E9A77A; }
.ring-1 { color: #8ED0A8; }
.core-label { font: 700 11px/1 var(--f-sans); letter-spacing: .08em; color: #F4EEE2; }
.atlas-legend { display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 8px; font-size: 11.5px; color: var(--fg-2); }
.atlas-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.lg-open { background: #E39A68; }
.lg-jp { background: #7CC79B; }
.lg-closed { background: #F4EEE2; }
.lg-hint { color: var(--fg-3); }
.atlas-card {
  position: absolute; left: 50%; bottom: 40px; z-index: 3; transform: translateX(-50%);
  width: min(100%, 460px); padding: 16px 18px 14px; border-radius: 14px;
  background: rgba(12,18,26,.96); border: 1px solid rgba(244,238,226,.16); box-shadow: 0 24px 60px rgba(0,0,0,.4);
  font-size: 12.5px; line-height: 1.6; color: rgba(244,238,226,.85);
}
.atlas-card[hidden] { display: none; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ac-prov { font: 600 10px/1.4 var(--f-latin); letter-spacing: .1em; text-transform: uppercase; color: rgba(244,238,226,.5); }
.ac-name { margin: 2px 0 0; font: 700 18px/1.3 var(--f-latin); color: #F4EEE2; }
.ac-close { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(244,238,226,.2); background: transparent; color: rgba(244,238,226,.7); font-size: 16px; line-height: 1; cursor: pointer; }
.ac-close:hover { border-color: #E2C16D; color: #fff; }
.ac-status { margin: 6px 0 0; color: rgba(244,238,226,.62); }
.ac-grid { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(244,238,226,.12); }
.ac-grid dt { color: rgba(244,238,226,.45); }
.ac-grid dd { margin: 0; color: rgba(244,238,226,.9); }
.ac-foot { margin: 10px 0 0; font-size: 11px; color: rgba(244,238,226,.5); }
.ac-foot a { color: #E9A578; text-underline-offset: 2px; }
.ac-caution { margin: 6px 0 0; font-size: 10.5px; color: rgba(244,238,226,.38); }
.atlas-list { display: none; }
.atlas-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(244,238,226,.18); background: rgba(11,17,25,.5); color: rgba(244,238,226,.88);
  font: 600 11.5px/1.2 var(--f-latin); cursor: pointer; transition: opacity .4s, background-color .3s, border-color .3s;
}
.atlas-chip.cls-open { color: #F2B892; }
.atlas-chip.cls-jp { color: #A3DDB9; }
.atlas-chip.is-weak { opacity: .6; }
.atlas-chip.is-out { opacity: .28; text-decoration: line-through; text-decoration-color: rgba(244,238,226,.4); }
.atlas-chip.is-top { background: #E39A68; color: #1A1410; border-color: #E39A68; }
.atlas-chip.is-sel { border-color: #E2C16D; }
.atlas-panel { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; }
.atlas-count { display: flex; align-items: baseline; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.atlas-count strong { font: 500 48px/1 var(--f-mono); color: var(--fg); font-variant-numeric: tabular-nums; }
.atlas-count > span { font-size: 13px; color: var(--fg-2); }
.atlas-count em { margin-left: auto; font: 500 11px var(--f-mono); letter-spacing: .08em; color: var(--acc); font-style: normal; text-align: right; }
.atlas-q { display: flex; flex-direction: column; gap: 10px; transition: opacity .3s; }
.atlas-q.is-pending { opacity: .42; }
.atlas-qlabel { display: flex; gap: 12px; align-items: baseline; font-size: 14px; font-weight: 700; }
.atlas-qlabel b { font: 500 11px var(--f-mono); color: var(--acc); }
.atlas-reset { align-self: flex-start; padding: 4px 0; background: none; border: 0; color: var(--fg-3); font: 500 12px var(--f-mono); letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.atlas-reset:hover { color: var(--fg); }
.navi-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.navi-opt { background: transparent; border: 1px solid rgba(250,246,240,.28); color: rgba(250,246,240,.85); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-family: inherit; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .25s, opacity .25s, box-shadow .25s; }
.navi-opt:hover { border-color: var(--ak); color: #fff; transform: translateY(-1px); }
.navi-opt:disabled { cursor: not-allowed; opacity: .34; transform: none; }
.navi-opt.on { background: var(--ak); border-color: var(--ak); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(180,95,47,.25); animation: bknaviflash .55s ease-out; }
.navi-opts:has(.navi-opt.on) .navi-opt:not(.on) { opacity: .55; }
.navi-opt:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.navi-result { display: flex; flex-direction: column; gap: 16px; background: var(--cream); color: var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.navi-result[hidden] { display: none; }
.navi-result.is-entering { animation: bknaviresult .55s cubic-bezier(.2,.75,.2,1) both; }
.navi-r-trace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(43,58,74,.12); border-radius: 10px; overflow: hidden; }
.navi-r-trace span { min-width: 0; padding: 9px 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: rgba(43,58,74,.64); }
.navi-r-trace span + span { border-left: 1px solid rgba(43,58,74,.12); }
.navi-r-models { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.navi-r-models-label { margin-right: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: rgba(43,58,74,.46); }
.navi-r-model { appearance: none; padding: 5px 9px; border: 1px solid rgba(180,95,47,.25); border-radius: 999px; font: 600 10.5px Inter, sans-serif; color: var(--ak); background: rgba(180,95,47,.055); cursor: pointer; }
.navi-r-model:hover { border-color: var(--ak); background: rgba(180,95,47,.11); }
.navi-r-model b { margin-right: 6px; font-family: var(--f-mono); }
.navi-r-model:focus-visible { outline: 2px solid var(--ak); outline-offset: 2px; }
.navi-r-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.navi-r-eyebrow { font: 600 11px Inter, sans-serif; letter-spacing: .18em; color: var(--ak); }
.navi-r-name { font-size: 19px; font-weight: 700; }
.navi-r-why { margin: 0; font-size: 13.5px; line-height: 1.95; color: rgba(43,58,74,.72); }
.navi-r-honesty { margin: 0; padding: 11px 13px; border-left: 2px solid var(--ak); background: rgba(180,95,47,.055); font-size: 12px; line-height: 1.75; color: rgba(43,58,74,.66); }
.navi-r-table { display: flex; flex-direction: column; }
.navi-r-row { display: grid; grid-template-columns: clamp(110px, 24vw, 150px) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(43,58,74,.12); font-size: 13.5px; }
.navi-r-row:last-child { border-bottom: 1px solid rgba(43,58,74,.12); }
.navi-r-key { font-weight: 700; color: rgba(43,58,74,.55); }
.navi-r-cta { align-self: flex-start; border: none; padding: 13px 28px; font-size: 14px; background: var(--ak); color: #fff; }
.navi-r-note { margin: 0; font-size: 11.5px; color: rgba(43,58,74,.45); }

/* ---------- reveal ---------- */
.rv-init { opacity: 0; transform: translateY(24px); }
.rv-anim { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv-in { opacity: 1; transform: none; }

/* ---------- large & extra-large displays ---------- */
@media (min-width: 1800px) {
  :root { --gutter: clamp(72px, 5vw, 140px); --nav-h: 76px; }
  .logo-svg { height: 26px; }
  .nav-links { font-size: 15px; }
  .nav-cta { padding: 12px 24px; font-size: 14px; }
  .frame { max-width: min(1760px, 90vw); }
  .container { max-width: min(1560px, 84vw); }
  .stage-wrap { height: min(72vh, 920px); }
  .w-hero .stage-wrap { height: min(80vh, 1000px); }
  .w-hero h1 { font-size: clamp(66px, 3.6vw, 100px); }
  .w-hero .frame { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .statement { width: min(100%, 1640px); }
  .atlas { max-width: min(1760px, 90vw); }
  .atlas-head { max-width: min(1200px, 60vw); }
  .atlas-head h2 { font-size: clamp(56px, 3.1vw, 88px); }
  .atlas-sub { font-size: clamp(15px, .85vw, 19px); }
  .atlas-model { font-size: 12.5px; }
  .copy h2 { font-size: clamp(56px, 3.05vw, 86px); }
  html[lang="en"] .copy h2 { font-size: clamp(52px, 2.9vw, 80px); }
  .lead, .copy > p { font-size: clamp(17px, 0.95vw, 22px); max-width: 32em; }
  .beat { font-size: clamp(62px, 3.6vw, 104px); }
  .beat--final { font-size: clamp(76px, 4.3vw, 124px); }
  .w-idx, .eyebrow, .readout { font-size: 13px; }
  .ro strong { font-size: clamp(28px, 1.6vw, 40px); }
  .ai-intro h2, .contact-h2 { font-size: clamp(54px, 2.8vw, 80px); }
  .ai-lead, .contact-lead, .more-desc, .svc p, .company-row, .founder-card p { font-size: clamp(15px, .85vw, 19px); }
  .svc h3, .more-name, .founder-name { font-size: clamp(19px, 1.05vw, 26px); }
  .chat-log { height: clamp(360px, 36vh, 560px); }
  .chat-msg, .chip { font-size: 15px; }
  .stage--mark { width: min(420px, 22vw); }
  .rail a { font-size: 12px; }
  .rail a span { font-size: 13px; }
}

/* ---------- tablet & phone: the stage sits above the copy ---------- */
@media (max-width: 859px) {
  :root { --nav-h: 58px; }
  .frame, .frame--flip {
    display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
    padding: calc(var(--nav-h) + 4px) 20px 22px; gap: 14px;
  }
  .stage-wrap, .frame--flip .stage-wrap { order: -1; flex: 1 1 auto; height: auto; min-height: 24svh; gap: 8px; }
  .copy { flex: none; }
  .copy h2 { margin: 10px 0 12px; font-size: clamp(27px, 7.4vw, 40px); }
  html[lang="en"] .copy h2 { font-size: clamp(26px, 6.8vw, 36px); }
  .copy > p { font-size: 13.5px; line-height: 1.8; }
  html[lang="en"] .copy > p { line-height: 1.6; }
  .w-meta { margin-top: 14px; gap: 12px; }
  .readout { min-height: 26px; padding-top: 8px; }
  .ro strong { font-size: 19px; }
  .ro-tag { display: none; }
  .w-hero .frame { height: auto; min-height: 100svh; justify-content: flex-start; padding-bottom: 72px; }
  .w-hero .stage-wrap { flex: none; height: 36svh; min-height: 220px; }
  .w-hero h1 { font-size: clamp(34px, 9.4vw, 48px); }
  html[lang="en"] .w-hero h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .lead { font-size: 14px; line-height: 1.85; }
  .hint { display: none; }
  .scroll-cue { bottom: 16px; left: 20px; }
  .frame--center { justify-content: center; padding-bottom: 34vh; }
  .promises li { padding: 10px 0; grid-template-columns: 30px 1fr; }
  .promises p { display: none; }
  .promises h3 { font-size: 14.5px; }
  .h-serif { font-size: clamp(30px, 8vw, 40px) !important; }
  .stage--mark { width: min(260px, 70vw); }
  .atlas-grid { grid-template-columns: 1fr; }
  .atlas-map { position: relative; top: 0; }
  .atlas-stage { max-height: none; }
  .w-atlas { padding: 12vh 0 10vh; }
  .anchor { font-size: 9.5px; }
}
@media (max-width: 720px) {
  .navi-r-trace { grid-template-columns: 1fr; }
  .navi-r-trace span + span { border-left: 0; border-top: 1px solid rgba(43,58,74,.12); }
  .atlas-model { font-size: 9.5px; padding: 2px 6px; }
  .ring-label { font-size: 8.5px; letter-spacing: .1em; }
  .atlas-card { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; transform: none; z-index: 60; max-height: 70vh; overflow: auto; }
  .atlas-model:not(.is-top):not(.is-sel) { visibility: hidden; }
  .atlas-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .atlas-legend { justify-content: flex-start; }
  .lg-hint { display: none; }
}
@media (max-height: 640px) and (max-width: 859px) {
  .copy > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- reduced motion: no pinning, no drift ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .world.is-pinned { height: auto; }
  .pin { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
  .frame { min-height: 100svh; }
  .rv-init, .beat, .beat--words span, .promises li { opacity: 1 !important; transform: none !important; }
  .scroll-cue i, .pulse-dot { animation: none; }
  .atlas-q, .atlas-model, .navi-opt { transition-duration: 0s; }
  .navi-opt.on, .navi-result.is-entering { animation: none; }
}
