/* ==========================================================================
   CICADA — Digital Nature · refined
   Art direction: organic line-work next to precise, working interfaces.
   ========================================================================== */

:root {
  --bg: #0d1014;
  --surface: #161b23;
  --surface-2: #1c222c;
  --surface-3: #232a36;
  --ink: #edece7;
  --muted: #a7afbd;
  --dim: #7d8594;
  --lines: #bfc1be;
  --iris: #98a5f7;
  --iris-soft: rgba(152, 165, 247, 0.14);
  --line: rgba(237, 236, 231, 0.09);
  --line-2: rgba(237, 236, 231, 0.18);

  --serif: 'Cormorant', 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 4.4vw, 72px);
  --max: 1440px;
  --header: 76px;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --halo: 0 0 22px var(--bg), 0 0 44px var(--bg), 0 0 2px var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
html { overflow-x: clip; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
::selection { background: var(--iris); color: var(--bg); }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.wrap-narrow { max-width: calc(980px + var(--pad) * 2); }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 2.2s var(--ease); }
.scene-ready .stage canvas { opacity: 1; }
#gl-back { z-index: 0; }
.deep { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
#gl-front { z-index: 2; }
.deep-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--sans); font-weight: 300; font-size: 16.5vw; line-height: 1; letter-spacing: 0.3em; margin-right: -0.3em;
  color: rgba(237, 236, 231, 0.06); white-space: nowrap; will-change: transform, opacity;
}
.stage-fallback { position: absolute; left: 30%; top: 10%; width: 70%; height: 80%; display: none; }
.no-webgl .stage-fallback, .no-js .stage-fallback { display: block; }
.stage-vignette { position: absolute; inset: 0; z-index: 3; background: radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(6, 8, 10, 0.68) 100%); }
main, .footer { position: relative; z-index: 3; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 var(--pad);
  transition: background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(13, 16, 20, 0.94); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 6px 0; }
.mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-word { font-weight: 600; font-size: 15px; letter-spacing: 0.34em; }
.nav { display: flex; gap: 6px; justify-self: center; }
.nav a { position: relative; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--muted); border-radius: 10px; transition: color .3s; }
.nav a:hover { color: var(--ink); }
/* active: a fine vein with a node, like the wing venation */
.nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: linear-gradient(90deg, var(--iris), rgba(152, 165, 247, 0.15)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.nav a::before { content: ''; position: absolute; left: 13px; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--iris); opacity: 0; transition: opacity .4s; }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active::before { opacity: 1; }
.header-end { display: flex; align-items: center; gap: 18px; justify-self: end; }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 500; }
.langs a { padding: 8px; color: var(--dim); border-radius: 6px; transition: color .3s; }
.langs a:hover, .langs a[aria-current] { color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; transition: background .3s; }
.header-cta:hover, .header-cta:focus-visible { background: var(--iris); }
.burger { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 4px 0 12px; font-size: 15px; font-weight: 500; position: relative; z-index: 2; }
.burger-text { position: relative; display: block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.burger-text > span { display: block; transition: transform .6s var(--ease); }
.burger[aria-expanded="true"] .burger-text > span { transform: translateY(-100%); }
.burger-icon { position: relative; width: 22px; height: 22px; }
.burger-icon i { position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; background: var(--ink); transition: transform .6s var(--ease); }
.burger-icon i:first-child { transform: translateY(-4px); }
.burger-icon i:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] .burger-icon i:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-icon i:last-child { transform: rotate(-45deg); }

/* staggered menu (mobile) — adapted from React Bits StaggeredMenu */
.menu { position: fixed; inset: 0; z-index: 45; }
.menu[hidden] { display: none; }
.menu-layer, .menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 520px); }
.menu-layer--1 { background: #262d3c; }
.menu-layer--2 { background: #7f8be0; }
.menu-panel { display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header) + 32px) var(--pad) 32px; background: #10141a; }
.menu-list { display: grid; gap: 6px; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; overflow: hidden; }
.menu-num { font-size: 13px; font-weight: 600; color: var(--iris); font-variant-numeric: tabular-nums; }
.menu-label { display: inline-block; font-size: clamp(36px, 10vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.menu-foot .langs a { font-size: 15px; padding: 10px; }

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { color: var(--iris); font-variant-numeric: tabular-nums; }
.eyebrow span::after { content: ''; display: inline-block; width: 22px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }
.h2 { font-weight: 600; font-size: clamp(40px, 4.8vw, 78px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h2--m { font-size: clamp(34px, 3.4vw, 56px); }
.h3 { font-weight: 600; font-size: clamp(30px, 2.8vw, 46px); letter-spacing: -0.03em; line-height: 1.05; }
.lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.hint { margin-top: 36px; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.mono { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.note { margin-top: 28px; font-size: 13.5px; color: var(--dim); }
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 600; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .3s; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--iris); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: none; }
.btn-arrow { transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-line { height: 50px; padding: 0 20px; color: var(--ink); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-xl { height: 60px; padding: 0 30px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; background: var(--surface-3); color: var(--muted); }
.btn:active:not([disabled]), .ctl:active:not(:disabled), .channel:active, .choice:active span { transform: scale(.97); }
.ctl { height: 42px; padding: 0 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.ctl:hover:not(:disabled) { border-color: var(--line-2); background: var(--surface-3); }

/* ==========================================================================
   01 · Hero (pinned while the camera glides along the wing)
   ========================================================================== */
.hero { position: relative; height: 170svh; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-kicker { position: absolute; left: var(--pad); top: calc(var(--header) + 4vh); font-size: 15px; font-weight: 500; color: var(--muted); max-width: 26em; }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 96px); line-height: 0.96; letter-spacing: -0.015em; text-shadow: var(--halo); }
.ht { position: absolute; left: 0; top: 0; display: block; will-change: transform; }
.ht-a { text-align: right; width: 6.4em; }
.ht-b { white-space: nowrap; }
.ht em { font-style: italic; color: var(--iris); }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-sub { max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); text-shadow: var(--halo); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.scroll-cue i { position: relative; width: 1px; height: 42px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--lines); animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { to { transform: translateY(350%); } }
.no-js .ht, .static-hero .ht { position: relative; width: auto; text-align: left; }
.no-js .hero-title, .static-hero .hero-title { position: absolute; left: var(--pad); bottom: 200px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { position: relative; padding: clamp(110px, 18vh, 200px) 0; }
.sol-intro::before, .int-panel::before, .ai-head::before, .res-head::before { content: ''; position: absolute; inset: -40px -60px -40px -80px; z-index: -1; background: radial-gradient(closest-side, rgba(13, 16, 20, 0.86), rgba(13, 16, 20, 0.5) 65%, transparent); pointer-events: none; }

/* solutions table of contents: one bar for the five scenes (shown only while the section is on screen) */
.sol-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom)); width: min(640px, calc(100% - 32px)); margin-inline: auto;
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.sol-nav.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s; }
.sol-nav-in { position: relative; height: 56px; padding: 6px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.sol-nav ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 100%; }
.sol-nav a { display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.sol-nav a:hover { color: var(--ink); }
.sol-nav a:active { background: var(--iris-soft); }
.sol-nav a:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; }
.sol-nav a[aria-current] { color: var(--iris); }
.sol-nav-mark { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 2px; pointer-events: none; }
.sol-nav-mark i { display: block; width: 20%; height: 2px; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .24s var(--ease); }
.sol-nav-mark i::after { content: ''; display: block; width: 32px; height: 2px; margin: 0 auto; background: var(--iris); }
@media (prefers-reduced-motion: reduce) { .sol-nav, .sol-nav.is-on, .sol-nav-mark i { transition: none; } }
.no-js .sol-nav { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; margin: 0 auto 32px; }

/* 02 · solutions — five scenes; each comes out in the centre while the cicada changes behind it */
.showcase { position: relative; }
.show-block { position: relative; }
.show-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; padding: calc(var(--header) + 22px) var(--pad) calc(112px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.show-stage::before { content: ''; position: absolute; left: 50%; top: 4%; width: min(1100px, 92vw); height: 46%; translate: -50% 0; z-index: -1; background: radial-gradient(closest-side, rgba(13, 16, 20, 0.82), rgba(13, 16, 20, 0.4) 60%, transparent); pointer-events: none; }
.show-head { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.show-head .eyebrow { margin-bottom: 14px; }
.show-title { font-size: clamp(30px, min(3.4vw, 6vh), 60px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; max-width: 16em; }
.show-desc { margin-top: 12px; font-size: clamp(16px, 1.15vw, 18.5px); color: var(--muted); max-width: 44em; text-wrap: balance; }
.show-shot { position: relative; z-index: -1; margin: -2vh 0 -5vh; width: min(70vw, calc((100svh - 420px) * 1.5), 1040px); aspect-ratio: 3 / 2; flex: none; }
.showcase { overflow-x: clip; }
/* the pictures carry their own alpha: devices only, no background frame */
.show-shot img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.show-caps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(4px, 1vh, 12px); max-width: 760px; }
.show-caps li { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(13, 16, 20, 0.7); font-size: 14px; color: var(--ink); }
.show-caps li:first-child { border-color: rgba(152, 165, 247, 0.5); color: var(--iris); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

/* the information comes out of the centre and leaves upward — scroll-driven, compositor only */
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .show-block { view-timeline: --blk block; }
    .show-title { animation-name: sp-b; }
    .show-desc { animation-name: sp-c; }
    .show-shot { animation-name: sp-shot; }
    .show-caps { animation-name: sp-d; }
  }
}
/* no pinning: each scene is one screen moving with the scroll; cover 0→100% spans 200vh and the
   scene fills the screen at 50%. It comes in from below and leaves upward while the next arrives */
@keyframes sp-a { 0%, 18% { opacity: 0; translate: 0 40px; } 38%, 62% { opacity: 1; translate: 0 0; } 82%, 100% { opacity: 0; translate: 0 -40px; } }
@keyframes sp-b { 0%, 19% { opacity: 0; translate: 0 70px; scale: .96; } 39%, 61% { opacity: 1; translate: 0 0; scale: 1; } 83%, 100% { opacity: 0; translate: 0 -60px; scale: 1; } }
@keyframes sp-c { 0%, 21% { opacity: 0; translate: 0 60px; } 40%, 60% { opacity: 1; translate: 0 0; } 81%, 100% { opacity: 0; translate: 0 -50px; } }
@keyframes sp-shot { 0%, 20% { opacity: 0; translate: 0 120px; scale: .78; } 41%, 59% { opacity: 1; translate: 0 0; scale: 1; } 82%, 100% { opacity: 0; translate: 0 -80px; scale: 1.06; } }
@keyframes sp-d { 0%, 24% { opacity: 0; translate: 0 50px; } 42%, 58% { opacity: 1; translate: 0 0; } 78%, 100% { opacity: 0; translate: 0 -30px; } }

@media (max-width: 820px) {
  .show-block { height: auto; }
  .show-stage { position: relative; height: auto; min-height: 0; overflow: visible; padding: 72px var(--pad) 40px; }
  .show-block:first-of-type .show-stage { padding-top: 24px; }
  .sol-nav { position: static; width: auto; margin: 0 var(--pad); padding-top: calc(var(--header) + 24px); opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; }
  .sol-nav-in { height: auto; padding: 0; border: 0; background: none; }
  .sol-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .sol-nav li:last-child { grid-column: 1 / -1; }
  .sol-nav a { height: 44px; border: 1px solid var(--line); border-radius: 8px; position: relative; }
  .sol-nav a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 32px; height: 2px; margin-left: -16px; background: var(--iris); }
  .sol-nav-mark { display: none; }
  .show-title { font-size: clamp(30px, 8vw, 40px); }
  .show-shot { width: calc(100% + var(--pad)); margin: 0; }
}

/* 04 · integrations */
.int-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.int-panel { grid-column: 1 / span 5; position: relative; }
@media (min-width: 1101px) { .int-panel .h2 { width: min(132%, 760px); } }
.channels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.channel { height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 15.5px; font-weight: 500; color: var(--muted); transition: color .3s, border-color .3s, background-color .3s; }
.channel:hover { color: var(--ink); border-color: var(--ink); }
.channel[aria-pressed="true"] { color: var(--ink); border-color: var(--iris); background: var(--iris-soft); }
.channels .btn { margin-left: 4px; }
.route-steps { margin-top: 26px; display: grid; border-left: 1px solid var(--line); }
.route-steps li { position: relative; padding: 9px 0 9px 26px; font-size: 16px; color: var(--dim); transition: color .4s; }
.route-steps li::before { content: ''; position: absolute; left: -5px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.route-steps li.is-done { color: var(--muted); }
.route-steps li.is-done::before { background: var(--muted); border-color: var(--muted); }
.route-steps li.is-now { color: var(--ink); font-weight: 500; }
.route-steps li.is-now::before { background: var(--iris); border-color: var(--iris); box-shadow: 0 0 0 5px var(--iris-soft); }
.systems { margin-top: 32px; }
.systems ul { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.systems li { padding: 12px 14px; border-radius: 12px; background: rgba(22, 27, 35, 0.85); border: 1px solid var(--line); outline: none; transition: border-color .3s; }
.systems li:hover, .systems li:focus-visible, .systems li.is-lit { border-color: rgba(152, 165, 247, 0.55); }
.systems b { display: block; font-weight: 600; font-size: 16px; }
.systems span { font-size: 14px; color: var(--muted); }
.tree-labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s; }
.tree-labels.is-on { opacity: 1; }
.tree-label { position: absolute; left: 0; top: 0; padding: 6px 12px; border-radius: 999px; background: rgba(13, 16, 20, 0.8); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; white-space: nowrap; will-change: transform; transition: border-color .3s, color .3s, background .3s; }
.tree-label--ch { color: var(--ink); }
.tree-label:not(.tree-label--ch) { color: var(--muted); }
.tree-label--ai { font-family: var(--serif); font-style: italic; font-size: 18px; font-weight: 500; color: var(--iris); border-color: rgba(152, 165, 247, 0.5); }
.tree-label.is-lit { border-color: var(--iris); color: var(--ink); background: rgba(40, 46, 70, 0.92); }

/* 05 · results: model + cases */
.res-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.res-head { position: relative; max-width: 560px; }
.res-head .btn { margin-top: 34px; }
.gets { display: grid; counter-reset: get; }
.get { position: relative; display: grid; grid-template-columns: clamp(64px, 7vw, 108px) 1fr; gap: 20px; padding: clamp(24px, 3vw, 38px) 0; transition: opacity .9s var(--ease) calc(var(--i) * .14s), translate 1s var(--ease) calc(var(--i) * .14s); }
.get-n { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 5vw, 84px); line-height: .85; color: var(--dim); transition: color .5s var(--ease); }
.get-title { font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.get-desc { margin-top: 10px; font-size: clamp(16px, 1.15vw, 18px); color: var(--muted); max-width: 32em; }
.get-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.get-tags span { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: border-color .4s, color .4s; }
.get-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); overflow: hidden; }
.get-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--iris), #91d4d0 60%, transparent); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease) calc(.3s + var(--i) * .18s); }
.get:first-child::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.get:hover .get-n { color: var(--iris); }
.get:hover .get-tags span { border-color: rgba(152, 165, 247, 0.45); color: var(--ink); }
.gets.is-in .get-line::after { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .ui-ready .gets:not(.is-in) .get { opacity: 0; translate: 0 32px; }
}
@media (prefers-reduced-motion: reduce) { .get-line::after { transform: none; } }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr; } .res-head .btn { margin-top: 26px; } }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; --fill: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--iris) var(--fill), var(--surface-3) var(--fill)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--iris) var(--fill), var(--surface-3) var(--fill)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bg); }
input[type=range]:focus-visible { outline: 2px solid var(--iris); outline-offset: 4px; }
.lg::before { content: ''; width: 22px; height: 12px; border-radius: 3px; }

/* process & faq */
.vein-path { margin-top: 48px; height: 50px; }
.vein-path svg { width: 100%; height: 100%; overflow: visible; }
.vein-path path { fill: none; stroke: var(--lines); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .6; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 18px; }
.step-num { font-size: 13px; font-weight: 600; color: var(--iris); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; font-weight: 600; margin: 10px 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 15.5px; color: var(--muted); }
.step-time { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--lines); font-variant-numeric: tabular-nums; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.01em; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--iris); }
.faq-item summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 0 24px; max-width: 46em; color: var(--muted); font-size: 17px; }

/* 06 · contact */
/* 06 · contact — under the cicada: one calm column, no box */
.finale { text-align: center; padding-top: clamp(280px, 58vh, 600px); }
.fin { position: relative; max-width: calc(940px + var(--pad) * 2); }
.fin::before { content: ''; position: absolute; inset: -80px -120px -40px; z-index: -1; background: radial-gradient(closest-side, rgba(13, 16, 20, 0.96), rgba(13, 16, 20, 0.82) 60%, transparent); pointer-events: none; }
.fin-head .eyebrow { justify-content: center; margin-bottom: 18px; }
.final { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 5.2vw, 88px); line-height: 0.98; letter-spacing: -0.015em; max-width: 13em; margin: 0 auto; text-wrap: balance; }
.final-sub { margin: 22px auto 0; max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); text-wrap: balance; }
.form { position: relative; display: grid; gap: 38px; max-width: 860px; margin: clamp(48px, 7vh, 80px) auto 0; text-align: left; }
.f-label { display: block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choices legend { float: left; width: 100%; padding: 0; }
.choice span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 16px; font-weight: 500; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.field { position: relative; display: block; min-width: 0; }
.field input, .field textarea { display: block; width: 100%; padding: 6px 0 14px; font: inherit; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--dim); border-radius: 0; transition: border-color .35s; }
.field textarea { resize: none; min-height: 2.6em; field-sizing: content; max-height: 9em; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); opacity: .8; }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--iris), #91d4d0); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: none; }
.field input:focus, .field textarea:focus { outline: none; }
.field:focus-within .f-label { color: var(--iris); }
.field.is-invalid input { border-bottom-color: #e9a0aa; }
.field.is-invalid .f-label { color: #e9a0aa; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.form-foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 6px; }
.form-note { flex: 1 1 240px; font-size: 13.5px; color: var(--dim); }
.fin-promise { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.fin-promise li { display: inline-flex; align-items: center; gap: 10px; }
.fin-promise li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 10px var(--iris); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice:hover span { color: var(--ink); }
.choice input:checked + span { color: var(--ink); border-color: var(--iris); background: var(--iris-soft); }
.choice input:focus-visible + span { outline: 2px solid var(--iris); outline-offset: 3px; }
.form-status { margin-top: -26px; min-height: 1.5em; font-size: 16px; font-weight: 500; }
.form-status.is-ok { color: var(--iris); }
.form-status.is-err { color: #e9a0aa; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.footer { padding: 80px 0 40px; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; border-top: 1px solid var(--line); padding-top: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; font-size: 14px; letter-spacing: 0.34em; }
.footer-brand span { flex-basis: 100%; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
}
@media (max-width: 1100px) {
  .tree-labels { display: none; }
  .int-panel { grid-column: 1 / -1; }
  .header { grid-template-columns: 1fr auto; }
  .nav, .header .langs, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .steps { grid-template-columns: 1fr 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 820px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .brand-word { font-size: 14px; }
  .hero { height: 150vh; }
  .hero-kicker { font-size: 14px; }
  .hero-title { font-size: clamp(36px, 9.6vw, 58px); }
  .ht-a { width: 88vw; text-align: center; }
  .ht-b { white-space: normal; width: 88vw; text-align: center; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 18px; bottom: 26px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
  .systems ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-pair { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .finale { padding-top: 44vh; }
  .form { gap: 30px; }
  .form-pair { gap: 30px; }
  .fin::before { inset: -40px -20px -20px; }
  .btn-xl { width: 100%; }
  .tree-label { font-size: 12.5px; padding: 4px 9px; }
  .deep-word { font-size: 20vw; top: 34%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero { height: auto; }
}
