/* Kurikara Labs: the film and the homepage. Brand: navy, teal defense, silver-blue accents, crimson only for threats (tokens.css). */
/* Base reset, skip link, tokens and type: /css/core.css (linked first). */

/* ------------------------------------------------------------ buttons: .btn is the shared .cta button (assets/css/header.css, design review 2 A3) */

/* ------------------------------------------------------------ the film */
#film { position: relative; }
/* No picture behind the stage: the loading screen covers it until the film's first picture is in, and a second copy
   of the first frame would only take bandwidth from the film. */
.stage { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy-950); }
#ambient, #frame { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Phones and tablets: the film plays as a video, laid out exactly where the frames would be drawn (film.js resize). */
.film-video { position: absolute; left: 0; top: 0; display: block; max-width: none; transform-origin: 0 0; pointer-events: none; }
.vid #frame { visibility: hidden; }
.auto-film .load, .auto-film .hint { display: none; }
/* The film's window: full screen while a chapter plays, a card between chapters (film.js cards()). */
.stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--teal-a06) 1px, transparent 1px), linear-gradient(90deg, var(--teal-a06) 1px, transparent 1px); background-size: 72px 72px; }
.window { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 50%; will-change: transform; background: var(--navy-950); }
#ambient { filter: blur(36px) saturate(1.15) brightness(0.5); transform: scale(1.25); opacity: 0.55; }
/* Phones: the letterbox bars glow with the film's own colours. */
.portrait #ambient { filter: blur(30px) saturate(1.3) brightness(0.62); transform: scale(1.2); opacity: 0.8; }
.grade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 95% at 50% 45%, transparent 55%, color-mix(in srgb, var(--navy-950) 60%, transparent) 100%), linear-gradient(to bottom, color-mix(in srgb, var(--navy-950) 50%, transparent), transparent 16%),
    linear-gradient(to top, color-mix(in srgb, var(--navy-950) 62%, transparent), color-mix(in srgb, var(--navy-950) 28%, transparent) 30%, transparent 52%); }   /* the lower band, where the words sit, stays dark over bright frames */
.grade::after { content: ''; position: absolute; inset: 0; background: var(--navy-850); opacity: var(--g, 0); }
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer > .at, .signal { position: absolute; left: 0; top: 0; will-change: transform; }
/* !important: GSAP writes visibility inline (autoAlpha), which would otherwise show a label whose anchor is off screen. */
.offscreen { visibility: hidden !important; }

.display { font: var(--fw-film) var(--fs-4xl)/var(--lh-film) var(--display); letter-spacing: var(--tr-tight); color: var(--white);
  text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 75%, transparent), 0 2px 12px color-mix(in srgb, var(--navy-950) 60%, transparent), 0 0 48px color-mix(in srgb, var(--navy-950) 45%, transparent); }
.mask { display: block; overflow: hidden; padding: 0.02em 0 0.1em; margin-bottom: -0.1em; }
.mask .line { display: block; will-change: transform; }
.sub { font: var(--fw-film-sub) var(--fs-xl)/1.45 var(--display); color: var(--white); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 95%, transparent), 0 1px 14px color-mix(in srgb, var(--navy-950) 80%, transparent); }
.ch { display: inline-block; white-space: pre; }

/* 01: the world. Left-aligned, with annotations standing on the city. */
.world-head { position: absolute; left: var(--gutter); bottom: 12vh; max-width: min(54vw, 940px); }
.world-head::before, .adv-head::before, .fail-head::before, .awk-head::before { content: ''; position: absolute; inset: -45% -40% -60% -40%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--navy-950) 88%, transparent), color-mix(in srgb, var(--navy-950) 66%, transparent) 55%, transparent); }
.world-sub { margin-top: 22px; max-width: 30ch; }
.world-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.world-tags li { padding: 7px 11px; border-top: 1px solid var(--teal-300); background: color-mix(in srgb, var(--navy-950) 80%, transparent); backdrop-filter: blur(4px); font: var(--fw-film-label) var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--white); }

/* 02: the adversary. A wide reveal across the sky; signals locked by brackets in the clouds. */
.adv-head { position: absolute; left: var(--gutter); bottom: 12vh; max-width: min(64vw, 1100px); }
.adv-signals { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding-left: 16px; }
.adv-signals .signal { position: relative; }
.adv-head .display { color: var(--ink-50); }
.wipe { display: inline-block; will-change: clip-path; }
.adv-rule { display: block; width: min(540px, 42vw); height: 1px; margin: 26px 0 20px; background: linear-gradient(90deg, var(--red-500), color-mix(in srgb, var(--red-500) 0%, transparent)); transform-origin: left; box-shadow: none; }
.adv-head .sub { max-width: 36ch; }
/* 10 Nov 2026: balanced lines, so no word is left alone on the last line ("Speed.", "scale."). */
.adv-head .display, .adv-head .sub { text-wrap: balance; }
.signal { white-space: nowrap; padding: 8px 12px; background: color-mix(in srgb, var(--black) 86%, transparent); backdrop-filter: blur(4px); }
.signal .bracket { position: absolute; inset: 0; --c: color-mix(in srgb, var(--red-500) 85%, transparent);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 10px 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px 10px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 10px 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 10px,
    linear-gradient(var(--c), var(--c)) 0 100% / 10px 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px 10px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 10px 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 10px;
  background-repeat: no-repeat; }
/* The final words reserve their width, so a label is kept on screen before it has finished resolving. */
.sig-text::after { content: attr(data-to); display: block; height: 0; overflow: hidden; visibility: hidden; }
.sig-text { display: inline-block; position: relative; font: var(--fw-film-label) var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); color: var(--ink-50); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 90%, transparent), 0 0 10px color-mix(in srgb, var(--red-500) 45%, transparent); }
.signal .ping { position: absolute; left: -16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: var(--r-full); background: var(--red-500); box-shadow: 0 0 0 1px color-mix(in srgb, var(--red-500) 60%, transparent); }

/* 03: failure. Sector sensors that turn crimson; the headline arrives later, with the teal dragon (chapter 04). */
.sensor { --hud: var(--teal-300); position: absolute; left: -12px; bottom: 12px; display: grid; gap: 6px; min-width: 168px; padding: 10px 14px 11px;
  border-left: 1px solid var(--hud); background: color-mix(in srgb, var(--navy-950) 84%, transparent); backdrop-filter: blur(4px); color: var(--hud); font: 500 var(--fs-xs)/1 var(--mono); text-shadow: 0 1px 6px color-mix(in srgb, var(--navy-950) 90%, transparent); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; }
.sensor .sec { color: var(--ink-50); letter-spacing: var(--tr-label); }
.sensor .state { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); }
.sensor .state b { font-weight: 600; }
.sensor .dot { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--hud); box-shadow: none; }
.sensor .bars { display: flex; gap: 3px; height: 12px; align-items: flex-end; }
.sensor .bars i { width: 3px; height: 12px; background: var(--hud); opacity: 0.8; transform-origin: bottom; }
.sensor .corner { position: absolute; width: 8px; height: 8px; border: 1px solid var(--hud); }
.sensor .corner.tl { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.sensor .corner.br { right: 0; bottom: 0; border-width: 0 1px 1px 0; opacity: 0.6; }
.fail-head { position: absolute; left: var(--gutter); bottom: 12vh; max-width: min(74vw, 1240px); }
/* 10 Nov 2026: the third words are two full sentences, so they set smaller than the other headlines and wrap
   balanced, never leaving a single word on a row. */
.fail-head .display { font-size: var(--fs-3xl); line-height: 1.08; }
.fail-head .line { text-wrap: balance; }
.fail-sensors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fail-sensors .sensor { position: relative; left: auto; bottom: auto; }
/* Per-chapter type. Gradient fills keep a dark edge through drop-shadow (text-shadow would show through the fill). */
.steel .line { background: linear-gradient(180deg, var(--white) 8%, color-mix(in srgb, var(--teal-600) 20%, var(--ink-50)) 46%, color-mix(in srgb, var(--teal-300) 35%, var(--ink-400)) 62%, var(--ink-50) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--navy-950) 85%, transparent)) drop-shadow(0 2px 14px color-mix(in srgb, var(--navy-950) 60%, transparent)); padding-bottom: 0.12em; margin-bottom: -0.12em; }

.world-head .display::after { content: ''; display: block; width: 72px; height: 2px; margin-top: 18px; background: var(--teal-400); box-shadow: none; transform: scaleX(var(--rule, 0)); transform-origin: left; }
.adv-head .display .lead { font-weight: 400; color: var(--red-300); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 90%, transparent), 0 0 24px color-mix(in srgb, var(--red-500) 55%, transparent); }
.adv-head .display .threat { background: linear-gradient(180deg, var(--white) 0%, color-mix(in srgb, var(--red-300) 35%, var(--white)) 45%, color-mix(in srgb, var(--red-300) 40%, var(--red-500)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--navy-950) 90%, transparent)) drop-shadow(0 0 18px color-mix(in srgb, var(--red-500) 45%, transparent)); padding-bottom: 0.12em; margin-bottom: -0.12em; }
/* 10 Nov 2026 (owner): the third words arrive with the teal dragon, so they carry Kurikara's colours, never the
   threat's: solid white, the name in the logo teal, a teal rule beneath. */
.fail-head .kk-l1 .line { color: var(--white); font-weight: 600; }
.fail-head .kk-l2 .line { color: var(--white); font-weight: 500; }
.fail-head .kk-l2 { margin-top: 0.04em; }
.fail-head .kk { color: var(--teal-600); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 90%, transparent), 0 0 22px color-mix(in srgb, var(--teal-600) 45%, transparent); }
.fail-head .display::after { content: ''; display: block; width: 72px; height: 2px; margin-top: 16px; background: var(--teal-600); box-shadow: none; transform: scaleX(var(--rule, 0)); transform-origin: left; }

/* 04: awakening. Teal light sweeps the headline; three concepts form an architecture that joins the dome. */
.awk-head { position: absolute; left: var(--gutter); bottom: 12vh; max-width: min(56vw, 980px); }
.awk-head .display { font-size: var(--fs-3xl); line-height: 1.06; }
/* Chapter 4: contrast of size and weight; the decisive word stands alone, lit in teal, with a rule beneath. */
.awk-display .awk-l1 .line { font-size: 0.6em; font-weight: 500; letter-spacing: 0; color: var(--white); }
.awk-display .awk-l2 .line { font-weight: 600; }
.awk-display .awk-l3 .line { position: relative; display: inline-block; font-size: 1.42em; font-weight: 700; letter-spacing: var(--tr-tight); padding-bottom: 0.14em; }
.awk-display .awk-l3 { overflow: visible; }
.awk-rule { position: absolute; left: 0.04em; right: 0.2em; bottom: 0.02em; height: 3px; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--teal-300), var(--teal-a12)); box-shadow: none; transform-origin: left; }
/* The gradient fill paints only inside the box: room below the baseline keeps descenders (the g of Intelligent) whole. */
.illum { padding: 0.04em 0.06em 0.2em 0; margin-bottom: -0.2em; }
.illum { color: transparent; -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--navy-950) 90%, transparent)) drop-shadow(0 0 22px var(--teal-a40));
  background-image: linear-gradient(100deg, color-mix(in srgb, var(--teal-300) 50%, var(--white)) 0%, var(--teal-400) 18%, var(--teal-600) 32%, var(--ink-50) 42%, var(--teal-300) 50%, var(--teal-a06) 58%, var(--teal-a06) 100%);
  background-size: 260% 100%; background-position: 100% 0; }
.arch { position: absolute; left: 53vw; top: max(15vh, 104px); width: min(230px, 17vw); margin-left: calc(min(230px, 17vw) / -2); aspect-ratio: 1; }
.arch-svg { width: 100%; height: 100%; overflow: visible; }
.arch .ring { fill: none; stroke: color-mix(in srgb, var(--teal-300) 75%, transparent); stroke-width: 0.7; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.arch .tri { fill: var(--teal-a06); stroke: var(--teal-a40); stroke-width: 0.6; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.arch .core { fill: var(--teal-400); filter: drop-shadow(0 0 6px var(--teal-400)); }
.concept { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 12px; border-radius: var(--r-xs);
  border: 1px solid var(--teal-a60); background: color-mix(in srgb, var(--navy-950) 90%, transparent); backdrop-filter: blur(4px); font: var(--fw-film-label) var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--white); }
.concept i { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--teal-400); box-shadow: none; }
.apex-pulse { position: absolute; left: -45px; top: -45px; width: 90px; height: 90px; border-radius: var(--r-full); opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, color-mix(in srgb, var(--teal-300) 60%, var(--white)) 90%, transparent), var(--teal-a40) 40%, transparent 70%); }

/* 05: the sword. One pair at a time: the adversary's word is cut by a slash and Kurikara's rises from the cut.
   Then WISDOM as a window: the screen darkens except inside its letters. */
.duel { position: absolute; left: 0; right: 0; bottom: 9vh; height: clamp(4rem, 9vw, 9.5rem); isolation: isolate; }
.duel::before { content: ''; position: absolute; left: 0; right: 0; bottom: -12vh; height: 50vh; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--navy-950) 82%, transparent), color-mix(in srgb, var(--navy-950) 45%, transparent) 55%, transparent); }
.pair { position: absolute; inset: 0; display: grid; place-items: center; }
.foe, .ally { grid-area: 1 / 1; font: 700 var(--fs-4xl)/1 var(--display); text-transform: uppercase; letter-spacing: var(--tr-label); white-space: nowrap; }
.foe { position: relative; visibility: hidden; }
.foe .half { display: block; color: color-mix(in srgb, var(--red-500) 10%, transparent); -webkit-text-stroke: 2px color-mix(in srgb, var(--red-300) 50%, var(--red-500)); filter: drop-shadow(0 0 1px color-mix(in srgb, var(--navy-950) 90%, transparent)) drop-shadow(0 0 18px color-mix(in srgb, var(--red-500) 60%, transparent)); }
.foe .top { clip-path: polygon(-5% -10%, 105% -10%, 105% 38%, -5% 62%); }
.foe .bot { position: absolute; inset: 0; clip-path: polygon(-5% 62%, 105% 38%, 105% 110%, -5% 110%); }
.slash { grid-area: 1 / 1; width: 115%; height: 3px; transform: rotate(-9deg) scaleX(0); transform-origin: left center; border-radius: var(--r-xs); visibility: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--white) 0%, transparent), var(--white) 30%, color-mix(in srgb, var(--teal-300) 40%, var(--white)) 70%, color-mix(in srgb, var(--white) 0%, transparent)); box-shadow: none; }
.ally { visibility: hidden; background: linear-gradient(180deg, var(--white) 8%, color-mix(in srgb, var(--teal-300) 40%, var(--white)) 50%, color-mix(in srgb, var(--teal-400) 45%, var(--teal-600)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--navy-950) 85%, transparent)) drop-shadow(0 0 26px var(--teal-a60)); }
.statement { position: absolute; inset: 0; visibility: hidden; }
.knock { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.knock-fill { fill: var(--navy-950); }
.km-text { font-family: var(--display); font-weight: 800; letter-spacing: var(--tr-tight); }
.km-edge { fill: none; stroke: color-mix(in srgb, color-mix(in srgb, var(--teal-300) 60%, var(--white)) 95%, transparent); stroke-width: 2.5; font-family: var(--display); font-weight: 800; letter-spacing: var(--tr-tight); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--teal-400) 70%, transparent)); }
.st-sub { position: absolute; left: 0; right: 0; bottom: 12vh; margin: 0; text-align: center; font: 600 var(--fs-xl)/1 var(--display); text-transform: uppercase;
  letter-spacing: var(--tr-label); padding-left: 0.3em; color: var(--white); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 90%, transparent), 0 0 18px var(--teal-a40); }

/* 06: the principle. The approved emblem, then the tagline and name. Nothing else. */
.emblem { position: absolute; width: 0; transform-origin: 0 0; will-change: transform, opacity; }
.emblem img { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 40px color-mix(in srgb, var(--navy-950) 45%, transparent)); }
.finale { position: absolute; left: 0; right: 0; top: 63vh; text-align: center; padding: 0 var(--gutter); }
.tagline { font: 400 var(--fs-3xl)/1.1 var(--display); color: var(--white); letter-spacing: var(--tr-tight); text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 75%, transparent), 0 2px 18px color-mix(in srgb, var(--navy-950) 50%, transparent); }
.tagline .mask { display: inline-block; margin: 0; }   /* the lines are joined by one space (js/film.js) */
.name { margin-top: 3.6vh; display: flex; flex-direction: column; align-items: center; }
.wordmark { display: block; font: 500 var(--fs-3xl)/1 var(--display); letter-spacing: var(--tr-label); padding-left: 0.34em; text-transform: uppercase; color: var(--white); }
.legend-link { display: inline-block; margin-top: 2vh; pointer-events: auto; font: 500 var(--fs-sm)/1 var(--display); color: var(--teal-300); text-decoration: none; border-bottom: 1px solid var(--teal-a40); padding-bottom: 4px; transition: color var(--dur-base), border-color var(--dur-base); }
.legend-link:hover, .legend-link:focus-visible { color: var(--white); border-color: var(--teal-300); }
.finale-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 3.2vh; pointer-events: auto; }
.descriptor { display: block; margin-top: 16px; font: var(--fw-film-label) var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: color-mix(in srgb, var(--ink-50) 65%, var(--ink-200)); padding-left: 0.42em; text-shadow: 0 1px 3px color-mix(in srgb, var(--navy-950) 80%, transparent); }
.blueprint, .platform::before { background-image: linear-gradient(var(--teal-a06) 1px, transparent 1px), linear-gradient(90deg, var(--teal-a06) 1px, transparent 1px); background-size: 72px 72px; background-position: center; }
.blueprint { position: absolute; inset: 0; opacity: 0; -webkit-mask: radial-gradient(70% 70% at 50% 50%, black, transparent); mask: radial-gradient(70% 70% at 50% 50%, black, transparent); }

/* Loading line */
/* Side tracker: overall progress through the intro, chapter ticks (jump targets), chapter n / 6 and percent. */
.rail { position: absolute; right: clamp(16px, 2.2vw, 36px); top: 50%; transform: translateY(-50%); height: min(46vh, 420px); width: 40px; z-index: 5; pointer-events: auto; transition: opacity var(--dur-slow); }
.rail-track { position: absolute; right: 6px; top: 0; bottom: 0; width: 2px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--ink-50) 22%, transparent); overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--teal-300), var(--teal-400)); transform-origin: top; transform: scaleY(0); box-shadow: none; }
.rail-chapters li { position: absolute; right: 0; transform: translateY(-50%); }
.rail-chapters button { display: flex; align-items: center; gap: 10px; padding: 6px 0; background: none; border: 0; cursor: pointer; color: color-mix(in srgb, var(--ink-50) 70%, var(--ink-200)); }
.rail-chapters .tick { order: 2; width: 14px; height: 14px; border-radius: var(--r-full); border: 2px solid color-mix(in srgb, var(--ink-50) 55%, transparent); background: color-mix(in srgb, var(--navy-950) 85%, transparent); transition: border-color var(--dur-slow), background var(--dur-slow), transform var(--dur-slow); }
.rail-chapters .past .tick { border-color: var(--teal-400); background: var(--teal-400); }
.rail-chapters .on .tick { border-color: var(--teal-300); background: color-mix(in srgb, var(--navy-950) 90%, transparent); transform: scale(1.25); box-shadow: 0 0 0 4px var(--teal-a24); }
.rail-chapters .t { order: 1; display: flex; gap: 8px; padding: 6px 10px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--navy-950) 85%, transparent); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateX(6px); transition: opacity var(--dur-base), transform var(--dur-base); pointer-events: none; }
.rail-chapters .t b { color: var(--teal-300); font-weight: 500; }
.rail-chapters button:hover .t, .rail-chapters button:focus-visible .t { opacity: 1; transform: none; }
.rail-meta { position: absolute; right: -2px; top: calc(100% + 16px); display: grid; justify-items: end; gap: 4px; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); color: color-mix(in srgb, var(--ink-50) 70%, var(--ink-200)); white-space: nowrap; text-shadow: 0 1px 4px color-mix(in srgb, var(--navy-950) 90%, transparent); }
.rail-meta .rail-n { font-size: var(--fs-md); color: var(--white); }
.rail-meta .rail-of { color: color-mix(in srgb, var(--ink-200) 45%, var(--ink-400)); margin-top: -2px; }
.rail-meta .rail-pct { color: var(--teal-300); }
#film[data-chapter="principle"] .rail { opacity: 0.45; }

/* Scroll hint: shown on arrival and when a visitor pauses part-way through. */
.hint { position: absolute; left: 50%; bottom: 7vh; transform: translate(-50%, 12px); display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--navy-950) 86%, transparent); border: 1px solid var(--teal-a40); backdrop-filter: blur(8px); box-shadow: var(--e1);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-standard), transform var(--dur-slow) var(--ease-standard); z-index: 6; }
.hint.show { opacity: 1; transform: translate(-50%, 0); }
.hint-icon { position: relative; width: 22px; height: 34px; border: 2px solid var(--teal-300); border-radius: var(--r-md); flex: none; }
.hint-icon i { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: var(--r-xs); background: var(--teal-300); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hint-text { display: grid; gap: 4px; }
.hint-main { font: 600 var(--fs-md)/1.1 var(--display); color: var(--white); }
.hint-sub { font: 400 var(--fs-xs)/1.2 var(--display); color: color-mix(in srgb, var(--ink-50) 30%, var(--ink-200)); }
.hint kbd { font: 500 var(--fs-xs)/1 var(--mono); padding: 2px 5px; border: 1px solid color-mix(in srgb, var(--ink-50) 35%, transparent); border-radius: var(--r-xs); }
@media (pointer: coarse) { .hint-icon { border-radius: var(--r-sm); } }
/* The strap (review A1, Nov 2026): what Kurikara Labs is and the entry price, over the film from its first frame, under
   the header and clear of the chapter words (bottom left), the rail (right) and the dome (centre). 21 Nov 2026: it ends
   before chapter 4's labels around the dome (53vw), which it touched on 1366 px screens. */
.film-strap { position: absolute; left: var(--gutter); top: calc(96px + env(safe-area-inset-top, 0px)); z-index: 6; max-width: min(44vw, 560px, calc(53vw - 140px - var(--gutter))); margin: 0; padding: 10px 16px 10px 14px;
  border-left: 2px solid var(--teal-400); background: color-mix(in srgb, var(--navy-950) 74%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 var(--fs-md)/1.45 var(--display); color: var(--ink-50); text-wrap: balance; transition: opacity var(--dur-slow) var(--ease-standard), visibility var(--dur-slow); }
#film[data-chapter="principle"] .film-strap { opacity: 0; visibility: hidden; }   /* the emblem and end card take the frame */
/* Phones held upright (21 Nov 2026): js/film.js places the film's window (--film-top) so the picture and the chapters'
   words clear the strap and the pause button above, and stay on the screen below. */
.portrait #film .window, .portrait #film #ambient { top: var(--film-top, 0px); }
/* Pause and play (20 Nov 2026): bottom left, clear of the chapter rail (right) and the chat control (bottom right). */
.film-pp { position: absolute; left: var(--gutter); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 7; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 14px 8px 11px; border-radius: var(--r-xs); border: 1px solid var(--teal-a40); background: color-mix(in srgb, var(--navy-950) 78%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: color-mix(in srgb, var(--ink-50) 70%, var(--ink-200)); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; cursor: pointer; }
.film-pp:hover { border-color: var(--teal-300); color: var(--white); }
.film-pp:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 3px; }
.film-pp[hidden] { display: none; }
.film-pp svg { width: 16px; height: 16px; fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-pp .i-play { display: none; fill: var(--teal-300); stroke-width: 1.5; }
.film-pp[data-state="play"] .i-pause, .film-pp[data-state="replay"] .i-pause { display: none; }
.film-pp[data-state="play"] .i-play, .film-pp[data-state="replay"] .i-play { display: block; }
/* Phones: the end card fills the bottom of the frame, so there the control moves up into the strap's place (hidden then). */
.portrait #film[data-chapter="principle"] .film-pp { top: calc(72px + env(safe-area-inset-top, 0px)); bottom: auto; }
/* Phones held upright, during the story (21 Nov 2026, owner: the control covered the chapters' words): the control sits
   at the right end of the strap's row as its icon (its name stays for screen readers), so the space below the picture
   is free for the words. On the end card it shows its words in the strap's place (above). */
.portrait #film:not([data-chapter="principle"]) .film-pp { top: calc(72px + env(safe-area-inset-top, 0px)); bottom: auto; left: auto; right: var(--gutter);
  width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; justify-content: center; }
.portrait #film:not([data-chapter="principle"]) .film-pp .film-pp-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.portrait .film-strap { right: calc(var(--gutter) + 54px); }
.film-strap a { color: var(--teal-300); font-weight: 600; text-decoration: none; white-space: nowrap; }
.film-strap a:hover, .film-strap a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .film-strap { right: var(--gutter); max-width: none; top: calc(72px + env(safe-area-inset-top, 0px)); padding: 8px 12px; font-size: var(--fs-sm); } }

.load { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); transition: opacity var(--dur-slow); }
.load i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-400), var(--teal-300)); transform-origin: left; transform: scaleX(0); }
/* The film waits for data after the loading screen has lifted (20 Nov 2026): a label and a moving line over the picture. */
.film-wait { position: absolute; left: 50%; bottom: clamp(56px, 12vh, 120px); z-index: 6; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-md); background: color-mix(in srgb, var(--navy-950) 72%, transparent); backdrop-filter: blur(6px); pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity var(--dur-slow), visibility 0s 0.35s; }
.film-wait.show { opacity: 1; visibility: visible; transition: opacity var(--dur-slow); }
.film-wait .fw-t { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--teal-300); }
.film-wait .fw-line { position: relative; width: 140px; height: 2px; overflow: hidden; border-radius: var(--r-xs); background: var(--line); }
.film-wait .fw-line i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--teal-300), transparent); animation: fwSlide 1.1s ease-in-out infinite; }
@keyframes fwSlide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .film-wait .fw-line i { animation: none; width: 100%; opacity: 0.6; } }
.load.done { opacity: 0; }
/* The visitor scrolled faster than the frames arrive: the film waits at the last frame that is in, and says so. */
.load.held, .load.held.done { opacity: 1; height: 3px; }
.load.held::after { content: 'Loading the film'; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: var(--r-full);
  background: color-mix(in srgb, var(--navy-950) 86%, transparent); border: 1px solid var(--teal-a40); font: var(--fw-film-label) var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--teal-300); white-space: nowrap; }

/* Phones: the film runs in a band and the camera pans; words sit below the band. */
/* Phones: the letterbox is 56.4vw tall, centred. Each chapter's words sit like cinema captions: the details in the bar
   below the picture, the headline in the bar above it. */
.portrait .world-head, .portrait .adv-head, .portrait .fail-head, .portrait .awk-head { left: 18px; right: 18px; top: calc(50% + var(--band-half, 28.2vw) + 18px); bottom: auto; max-width: none; }
.portrait .world-head > .display, .portrait .adv-head > .display, .portrait .fail-head > .display, .portrait .awk-head > .display { position: absolute; left: 0; right: 0; bottom: calc(100% + 2 * var(--band-half, 28.2vw) + 36px); margin: 0; }
.portrait .display { font-size: var(--fs-3xl); }
.portrait .sub { font-size: var(--fs-md); line-height: 1.4; }
/* Phones: the words sit in the letterbox bars, which glow with the film's colours; a dark wash keeps them legible. */
.portrait .world-head::before, .portrait .adv-head::before, .portrait .fail-head::before, .portrait .awk-head::before { inset: -18px -18px -24px; background: linear-gradient(to bottom, color-mix(in srgb, var(--navy-950) 72%, transparent), color-mix(in srgb, var(--navy-950) 50%, transparent) 75%, transparent); }
.portrait .world-head > .display, .portrait .adv-head > .display, .portrait .fail-head > .display, .portrait .awk-head > .display { text-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 90%, transparent), 0 0 22px color-mix(in srgb, var(--navy-950) 90%, transparent); }
.portrait .world-sub { margin-top: 12px; }
.portrait .adv-rule { margin: 14px 0 12px; width: 50vw; }
.portrait .arch { left: 50%; top: 12vh; width: 52vw; margin-left: -26vw; }
.portrait .concept { font-size: var(--fs-xs); padding: 6px 9px; letter-spacing: var(--tr-eyebrow); }
.portrait .arch { width: 30vw; margin-left: -15vw; top: calc(50% - 15vw); }   /* on the picture, centred in the letterbox, clear of the headline above */
/* 21 Nov 2026: a little closer together, so all three stay above the pause button on shorter phones. */
.portrait .duel { bottom: 5vh; padding: 0 18px; }
.portrait .st-sub { bottom: 20vh; font-size: var(--fs-sm); letter-spacing: var(--tr-label); padding-left: 0.2em; }
.portrait .foe, .portrait .ally { font-size: var(--fs-4xl); }
.portrait .duel { bottom: 6vh; }
/* Phones, the final screen: the emblem stays on the picture; the tagline above it, the name and buttons below it. */
.portrait .finale { top: calc(50% + var(--band-half, 28.2vw) + 14px); bottom: auto; padding: 0 16px; }
.portrait .finale .tagline { position: absolute; left: 16px; right: 16px; bottom: calc(100% + 2 * var(--band-half, 28.2vw) + 28px); margin: 0; }
.portrait .name { margin-top: 0; }
/* The film's end card names the company with the official wordmark (review A15): below the emblem, never over it. */
.wordmark.wm-svg { width: clamp(280px, 28vw, 460px); height: auto; padding: 0; letter-spacing: 0; }
.portrait .wordmark.wm-svg { width: min(264px, 72vw); }
.portrait .wordmark { font-size: var(--fs-2xl); letter-spacing: var(--tr-label); padding-left: 0.26em; white-space: nowrap; }
/* !important: film.js tweens the descriptor's tracking to the desktop 0.42em inline, which wraps it on a phone. */
.portrait .descriptor { margin-top: 12px; font-size: var(--fs-xs); letter-spacing: var(--tr-label); padding-left: 0.16em; line-height: 1.7; text-wrap: balance; }
/* 10 Nov 2026: the option C descriptor is wider than a phone on one line (it was clipped both sides); it now wraps, balanced. */
.portrait .finale-cta { margin-top: 18px; gap: 8px; }
.portrait .legend-link { margin-top: 14px; }
/* Phones: the adversary's signals sit tighter so all three fit the bar under the picture on small screens. */
.portrait .adv-signals { gap: 6px 18px; margin-top: 12px; }
.portrait .adv-rule { display: none; }   /* on phones the headline sits above the picture, so its underline would float alone */
.portrait .adv-signals .signal { padding: 6px 10px; }
.portrait .tagline { font-size: var(--fs-2xl); }
.portrait .tagline .mask { display: block; }
/* Phones under 600 px, during the story (design review A19, 22 Nov 2026): js/film.js makes the picture box up to 62% of
   the screen tall (--band-half is half of it), the footage cropped to fill it and panned per step. Second review A15
   (22 Nov 2026): the headline is the caption in the navy band under the picture, no longer on the picture; the
   chapter's line, labels and signals follow it. Chapter 3's sensors leave before its headline arrives, so the headline
   takes their place. The concepts of chapter 4 stack under its caption (--awk-cap, its height, set by js/film.js).
   The end card (data-chapter="principle") keeps the letterbox, so the emblem never carries words. */
.portrait.film-tall .world-head > .display, .portrait.film-tall .adv-head > .display, .portrait.film-tall .awk-head > .display {
  position: static; margin: 0 0 12px; }
.portrait.film-tall .fail-head > .display { top: 0; bottom: auto; }
.portrait.film-tall .world-head > .display, .portrait.film-tall .adv-head > .display, .portrait.film-tall .fail-head > .display, .portrait.film-tall .awk-head > .display { font-size: var(--fs-2xl); }
.portrait.film-tall .world-sub { margin-top: 0; }
.portrait.film-tall .adv-signals { margin-top: 10px; }
/* Phones (design review A15, 22 Nov 2026): the chapter counter is a navy chip under the pause button, in the strap's row,
   so it is always on screen and clear of the words; both in --ink-200. */
.portrait .rail { left: auto; right: var(--gutter); top: calc(122px + env(safe-area-inset-top, 0px)); bottom: auto; width: 44px; height: auto; transform: none; }
.portrait .rail-track, .portrait .rail-chapters { display: none; }
.portrait .rail-meta { position: static; display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--navy-950) 86%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink-200); }
.portrait .rail-meta .rail-n { font-size: var(--fs-sm); color: var(--ink-50); }
.portrait .rail-meta .rail-of { margin-top: 0; color: var(--ink-200); }
.portrait .rail-meta .rail-pct { display: none; }
.portrait #film[data-chapter="principle"] .rail { opacity: 0; visibility: hidden; }   /* the end card's control sits in that row */
.portrait #film .film-pp { border-color: var(--line-strong); background: color-mix(in srgb, var(--navy-950) 86%, transparent); color: var(--ink-200); }
.portrait #film .film-pp svg { stroke: var(--ink-200); }
.portrait #film .film-pp .i-play { fill: var(--ink-200); }
.portrait .sig-text, .portrait .sensor, .portrait .world-tags li { font-size: var(--fs-xs); letter-spacing: var(--tr-eyebrow); }
.portrait .sensor { min-width: 0; }

/* ------------------------------------------------------------ product */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { color: var(--teal-300); margin-bottom: 22px; }   /* type: css/type.css */
.h1 { max-width: 18ch; }
.h2 { max-width: 20ch; }
.lede { margin-top: 22px; color: var(--ink-200); max-width: 46ch; }

.platform { position: relative; min-height: 100vh; padding: 12vh 0 6vh; background: var(--navy-850); }
.platform::before { content: ''; position: absolute; inset: 0; pointer-events: none; -webkit-mask: linear-gradient(to bottom, black, transparent 85%); mask: linear-gradient(to bottom, black, transparent 85%); }
.platform > * { position: relative; }

.visibility { position: relative; background: linear-gradient(180deg, var(--navy-850), var(--navy-900) 60%, var(--navy-850)); }
.graph { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 1000 / 300; }
.edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.legend { margin-top: 18px; display: grid; gap: 8px; font: 400 var(--fs-xs)/1.4 var(--mono); color: var(--ink-400); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 22px; height: 0; border-top: 1.5px solid var(--teal-400); }

.operations { position: relative; padding: 14vh 0 12vh; background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); overflow: hidden; }
.scope { position: absolute; left: calc(var(--gutter) + 2%); bottom: 4%; display: flex; flex-wrap: wrap; gap: 8px; max-width: 46%; z-index: 2; }

@media (max-width: 1023px) {
  .graph { width: 100%; }
  .scope { display: none; }
}

@media (prefers-reduced-motion: reduce) { .hint-icon i { animation: none; } * { scroll-behavior: auto !important; } }

/* Footer: no rules here. The one footer (assets/partials-footer.html) is styled in assets/css/site-inner.css (core.css). */

/* Loading screen: on screen from the first paint, with the site's header over it, so the page is never a blank black
   screen. The approved emblem (a small copy, so it arrives at once), the name, the promise and a progress line. The
   card fades in as soon as the emblem is in, or after a second whatever happens. */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 46%, var(--navy-800), var(--navy-850) 55%, var(--navy-950)); transition: opacity var(--dur-slow) var(--ease-standard), visibility var(--dur-slow); }
.preloader.pl-done { opacity: 0; visibility: hidden; }
html.pl-lock .site-header { z-index: 110; }
.pl-glow { position: absolute; left: 50%; top: 46%; width: min(120vw, 900px); aspect-ratio: 1; translate: -50% -50%; border-radius: var(--r-full); pointer-events: none;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--teal-400) 0%, transparent) 0deg, var(--teal-a12) 70deg, color-mix(in srgb, var(--teal-400) 0%, transparent) 140deg, color-mix(in srgb, var(--ink-400) 12%, transparent) 230deg, color-mix(in srgb, var(--teal-400) 0%, transparent) 320deg);
  filter: blur(60px); animation: pl-turn 9s linear infinite; }
@keyframes pl-turn { to { rotate: 360deg; } }
.pl-card { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 24px; opacity: 0; translate: 0 10px;
  transition: opacity var(--dur-slow) var(--ease-standard), translate var(--dur-slow) var(--ease-standard); animation: pl-show var(--dur-slow) var(--ease-standard) 1s forwards; }
.pl-in .pl-card { opacity: 1; translate: 0 0; animation: none; }
@keyframes pl-show { to { opacity: 1; translate: 0 0; } }
.pl-emblem { width: clamp(110px, 13.3vw, 160px); height: auto; filter: drop-shadow(0 0 28px var(--teal-a24)); animation: pl-breathe 2.6s ease-in-out infinite alternate; }
@keyframes pl-breathe { from { filter: drop-shadow(0 0 14px var(--teal-a12)); } to { filter: drop-shadow(0 0 34px var(--teal-a40)); } }
.pl-name { margin: 26px 0 0; padding-left: 0.34em; font: 500 var(--fs-sm)/1 var(--display); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-50); }
/* What Kurikara is, in plain words, from the first second. */
.pl-promise { margin: 14px 0 0; max-width: 30ch; font: 400 var(--fs-md)/1.45 var(--display); color: var(--ink-200); }
.pl-meter { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.pl-bar { width: clamp(160px, 20vw, 240px); height: 2px; border-radius: var(--r-xs); background: var(--line); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-400), var(--teal-300)); box-shadow: none; transform-origin: left; transform: scaleX(0); }
.pl-pct { display: none; margin: 0; min-width: 4ch; text-align: right; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); color: var(--ink-200); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.pl-lock, html.pl-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .pl-emblem, .pl-glow { animation: none; } }

/* Homepage header: the shared site header, fixed over the film. */
.site-header { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--navy-950) 78%, transparent), color-mix(in srgb, var(--navy-950) 35%, transparent)); transition: transform var(--dur-slow) var(--ease-standard), background var(--dur-slow) var(--ease-standard); }
.site-header.quiet { transform: translateY(-110%); }
.site-header.nav-open { background: color-mix(in srgb, var(--navy-850) 97%, transparent); }
.site-header .bar-ctas { display: flex; gap: 10px; }
@media (max-width: 1023px) { .site-header .bar-ctas { margin-left: auto; } .menu-toggle { order: 3; margin-left: 10px; } }
@media (max-width: 767px) { .site-header .brand span { display: none; } }

/* ------------------------------------------------------------ text band under the film (11 Nov 2026)
 * The page's H1, a short intro and the main pages, in the page flow after #film (never over it). Linework only. */
.home-band { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; background: linear-gradient(180deg, var(--navy-950), var(--navy-850) 70%); border-top: 1px solid var(--line); }
.home-band::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 30% 40%, black 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 30% 40%, black 20%, transparent 75%); }
.home-band::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 55% at 82% 30%, var(--teal-a12), transparent 70%); }
.hb-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: end; }
.home-band .eyebrow { margin-bottom: 20px; }
.hb-h1 { margin: 0; max-width: 21ch; font: var(--fw-h2) var(--fs-3xl)/var(--lh-h2) var(--display); letter-spacing: var(--tr-tight); color: var(--ink-50); }
.hb-intro { margin-top: 24px; max-width: 56ch; font-size: var(--fs-lede); line-height: var(--lh-lede); color: var(--ink-200); }
.hb-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hb-links ul { border-top: 1px solid var(--line); }
.hb-links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 8px; padding: 17px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-50); transition: color var(--dur-base), background var(--dur-base); }
.hb-links a::after { content: '\2192'; justify-self: end; color: var(--teal-300); transition: transform var(--dur-base); }
.hb-links a:hover, .hb-links a:focus-visible { background: var(--teal-a06); }
.hb-links a:hover::after { transform: translateX(4px); }
.hb-n { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); color: var(--teal-300); }
.hb-t { font: 500 var(--fs-lg)/1.35 var(--display); }
@media (max-width: 1023px) {
  .hb-grid { grid-template-columns: 1fr; gap: 44px; }
  .hb-t { font-size: var(--fs-md); }
}

