/* =====================================================================
   drapoyan.am — design system "Vessel"
   Liquid Glass · editorial grid · two modes: paper / night (cath lab)
   ===================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  --paper: #f3f4f6;
  --paper-2: #e8eaee;
  --night: #050507;
  --night-2: #0d0e12;
  --ink: #0a0c11;
  --ink-2: #3b404c;
  --ink-3: #7a808d;
  --ink-4: #b4b9c3;
  --blue: #1846ff;          /* venous — brand */
  --blue-2: #5b7cff;
  --red: #e3132c;           /* arterial — live accent */
  --red-2: #ff3b50;
  --hair: rgba(10, 12, 17, 0.08);
  --hair-2: rgba(10, 12, 17, 0.14);

  --font: "Inter Tight", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "Noto Sans Armenian", ui-monospace, "SF Mono", Menlo, monospace;
  --t-display: clamp(72px, min(11.6vw, 20vh), 250px);
  --t-d2: clamp(52px, 8.4vw, 168px);
  --t-h1: clamp(36px, 4.6vw, 84px);
  --t-h2: clamp(28px, 3vw, 52px);
  --t-h3: clamp(20px, 1.6vw, 26px);
  --t-lead: clamp(19px, 1.5vw, 24px);
  --t-body: 17px;
  --t-small: 14.5px;
  --t-micro: 11.5px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --section: clamp(96px, 16vh, 200px);
  --gutter: clamp(16px, 4vw, 72px);
  --maxw: 1720px;

  --r1: 12px; --r2: 20px; --r3: 28px; --r4: 44px; --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.5, 1.6, 0.4, 1);

  --g-fill-a: rgba(255, 255, 255, 0.66);
  --g-fill-b: rgba(255, 255, 255, 0.30);
  --g-rim: rgba(255, 255, 255, 1);
  --g-rim-2: rgba(255, 255, 255, .35);
  --g-shadow: 0 1px 2px rgba(10,12,17,.04), 0 24px 60px -18px rgba(16,24,60,.20);
  color-scheme: light;
}
/* night mode: any element with .dark re-maps the tokens */
.dark {
  --ink: #f4f6fb;
  --ink-2: rgba(244, 246, 251, 0.72);
  --ink-3: rgba(244, 246, 251, 0.46);
  --ink-4: rgba(244, 246, 251, 0.2);
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.15);
  --g-fill-a: rgba(255, 255, 255, 0.07);
  --g-fill-b: rgba(255, 255, 255, 0.015);
  --g-rim: rgba(255, 255, 255, 0.95);
  --g-rim-2: rgba(255, 255, 255, 0.12);
  --g-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  color: var(--ink);
}

/* ---------- 2. base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3, p { margin: 0; }
main { position: relative; z-index: 2; overflow-x: clip; }
.wrap { width: min(var(--maxw), 100%); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
section { position: relative; }

.cols { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.cols i { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(var(--maxw), 100%); padding: 0 var(--gutter); background-clip: content-box;
  background-image: repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px calc((100% - 1px) / 6)); }

/* night panel — full-bleed black block with rounded ends; opens as it enters */
.night { position: relative; color: var(--ink); }
.night > .bg { position: absolute; inset: 0; z-index: 0; background: var(--night); border-radius: var(--r4); clip-path: inset(0 var(--open-x, 0px) round var(--r4)); }
.night > .bg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px calc((100% - 1px) / 6)); background-clip: content-box; padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.night > .bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(50% 35% at 85% 0%, rgba(24,70,255,.14), transparent 70%), radial-gradient(40% 30% at 5% 70%, rgba(227,19,44,.08), transparent 70%); }
.night > :not(.bg) { position: relative; z-index: 1; }
.night--top > .bg { border-top-left-radius: 0; border-top-right-radius: 0; clip-path: none; }

/* ---------- 3. type ---------- */
.label { font: 500 var(--t-micro)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.d1 { font-size: var(--t-display); font-weight: 500; letter-spacing: -0.05em; line-height: .84; }
.d2 { font-size: var(--t-d2); font-weight: 500; letter-spacing: -0.042em; line-height: .88; }
.h1 { font-size: var(--t-h1); font-weight: 500; letter-spacing: -0.045em; line-height: .98; }
.h2 { font-size: var(--t-h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--t-lead); line-height: 1.42; letter-spacing: -0.012em; color: var(--ink-2); }
.body { color: var(--ink-2); max-width: 52ch; }
.small { font-size: var(--t-small); color: var(--ink-3); }
.mute { color: var(--ink-3); }
.dot { color: var(--blue); }
.dark .dot { color: var(--blue-2); }
:lang(hy) .d1, :lang(hy) .d2, :lang(hy) .h1 { letter-spacing: -0.035em; }

[data-split] .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .12em .14em; margin: -.02em -.12em -.14em; }
[data-split] .wm > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].in .wm > span { transform: none; }

.chead { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: var(--s4); margin-bottom: var(--s6); }
.chead .ix { font: 500 var(--t-micro)/1 var(--mono); color: var(--blue); letter-spacing: .1em; }
.dark .chead .ix { color: var(--red-2); }
.chead .rule { height: 1px; background: var(--hair-2); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .1s; }
.chead.in .rule { transform: scaleX(1); }

/* ---------- 4. liquid glass ---------- */
.g {
  position: relative; isolation: isolate; border-radius: var(--r3);
  background: linear-gradient(135deg, var(--g-fill-a), var(--g-fill-b));
  -webkit-backdrop-filter: blur(22px) saturate(185%); backdrop-filter: blur(22px) saturate(185%);
  box-shadow: inset 0 1px 0 var(--g-rim-2), inset 0 0 24px rgba(255,255,255,.08), var(--g-shadow);
}
html.refract .g { backdrop-filter: url(#liquid) blur(12px) saturate(190%); }
/* specular rim: hot at top-left, cooling around the edge */
.g::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from 200deg at 30% 30%, var(--g-rim-2), var(--g-rim) 12%, var(--g-rim-2) 30%, transparent 48%, var(--g-rim-2) 70%, var(--g-rim) 86%, var(--g-rim-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.g::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 20%) var(--my, -20%), rgba(255,255,255,.45), transparent 50%); mix-blend-mode: soft-light; }
.dark .g::after { background: radial-gradient(320px circle at var(--mx, 10%) var(--my, -10%), rgba(255,255,255,.12), transparent 55%); mix-blend-mode: normal; }
.g > * { position: relative; z-index: 3; }
.g--pill { border-radius: var(--pill); }
.g--sm { border-radius: var(--r2); }
.g--accent { background: linear-gradient(135deg, rgba(24,70,255,.94), rgba(11,43,184,.9)); --ink: #fff; --ink-2: rgba(255,255,255,.8); --ink-3: rgba(255,255,255,.6); color: #fff; }
.dark .g--accent { background: linear-gradient(135deg, rgba(24,70,255,.5), rgba(24,70,255,.08)); }
/* bloom + sparkles on the hot corner (dark glass) */
.spark { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; overflow: visible; }
.spark::before { content: ""; position: absolute; left: -2px; top: -2px; width: 160px; height: 90px; border-top-left-radius: inherit;
  background: radial-gradient(60% 50% at 18% 10%, rgba(255,255,255,.55), transparent 70%); filter: blur(6px); opacity: .55; }
.spark i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255,255,255,.9); animation: twinkle 3s ease-in-out infinite; }
.spark i::before, .spark i::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.8); transform: translate(-50%, -50%); }
.spark i::before { width: 12px; height: 1px; }
.spark i::after { width: 1px; height: 12px; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }

/* lens — a free-floating liquid glass drop that refracts what is under it */
.lens {
  position: absolute; z-index: 6; width: clamp(220px, 24vw, 420px); aspect-ratio: 1.15; border-radius: 34% 30% 36% 32% / 36% 34% 32% 34%;
  -webkit-backdrop-filter: blur(9px) brightness(1.18); backdrop-filter: blur(9px) brightness(1.18);
  background: radial-gradient(120% 90% at 28% 18%, rgba(255,255,255,.08), rgba(255,255,255,0) 55%);
  box-shadow:
    inset 1.5px 1.5px 0 rgba(255,255,255,.6), inset -1px -1px 0 rgba(255,255,255,.16),
    inset 10px 10px 24px -14px rgba(255,255,255,.4), inset -10px -14px 30px -16px rgba(0,0,0,.45),
    0 30px 60px -24px rgba(0,0,0,.7);
  cursor: grab; touch-action: none; will-change: transform;
}
html.refract .lens { backdrop-filter: url(#lensf) blur(7px) brightness(1.2); }
.lens:active { cursor: grabbing; }
.lens .spark i:nth-child(1) { left: 22%; top: 2%; }
.lens .spark i:nth-child(2) { left: 4%; top: 30%; animation-delay: 1.2s; }
.lens--drop { width: clamp(46px, 4vw, 72px); aspect-ratio: 1; border-radius: 38%; cursor: default; }

/* tag / button / live */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); font: 500 13px/1 var(--font); color: var(--ink-2); border: 1px solid var(--hair-2); }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px 16px 24px; border-radius: var(--pill); font: 500 15px/1 var(--font); color: var(--ink); cursor: pointer; border: 0; transition: transform .5s var(--ease), background .3s, color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,19,44,.5); animation: live 2.2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(227,19,44,0); } 100% { box-shadow: 0 0 0 0 rgba(227,19,44,0); } }
.check { width: 16px; height: 16px; flex: none; }

.rv { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 5. loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--night); color: #f4f6fb; display: grid; place-items: center; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.loader.is-out { opacity: 0; transform: translateY(-4vh); pointer-events: none; }
.loader .ld { width: min(680px, 86vw); display: grid; gap: 22px; opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.loader.go .ld { opacity: 1; transform: none; }
.loader .ecg { width: 100%; height: clamp(70px, 12vw, 120px); overflow: visible; }
.loader .ecg path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.loader .ecg-bg { stroke: rgba(255,255,255,.08); }
.loader .ecg-ln { stroke: var(--red-2); filter: drop-shadow(0 0 6px rgba(255,59,80,.6)); }
.loader .ld-name { font-size: clamp(36px, 6vw, 76px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.loader .ld-sub { display: flex; justify-content: space-between; gap: 16px; color: rgba(244,246,251,.55); font-variant-numeric: tabular-nums; }

/* ---------- 6. navigation (always dark glass) ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%) translateY(-140%);
  width: min(calc(var(--maxw) - 2 * var(--gutter) + 32px), calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px;
  background: linear-gradient(135deg, rgba(20,21,26,.72), rgba(10,11,14,.6)) !important; transition: transform 1s var(--ease) .2s; }
body.is-ready .nav { transform: translateX(-50%) translateY(0); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.04em; font-size: 19px; }
.logo b { font-weight: 600; position: relative; }
.logo b::after { content: ""; position: absolute; right: -9px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
.logo small { margin-left: 8px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: var(--pill); font-size: 14.5px; color: var(--ink-2); transition: background .3s, color .3s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-links a.on { color: var(--ink); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.lang { position: relative; display: flex; padding: 4px; border-radius: var(--pill); background: rgba(255,255,255,.05); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.lang button { position: relative; z-index: 2; border: 0; background: none; cursor: pointer; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); padding: 9px 12px; border-radius: var(--pill); min-width: 44px; min-height: 34px; transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang .pill { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: 44px; border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.7), inset -1px -1px 0 rgba(255,255,255,.1), 0 0 18px rgba(255,255,255,.12);
  transition: transform .55s var(--ease-spring), width .55s var(--ease); }

.rail { position: fixed; z-index: 40; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 4px; mix-blend-mode: difference; color: #fff; opacity: 0; transition: opacity .8s var(--ease) .6s; }
body.is-ready .rail { opacity: 1; }
.rail a { display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 0; }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease); text-align: right; white-space: nowrap; }
.rail a i { height: 1px; background: #fff; opacity: .45; width: 10px; justify-self: end; transition: width .5s var(--ease), opacity .3s; }
.rail a.on i { width: 18px; opacity: 1; }
.rail a span { display: none; }


/* ---------- 7. hero (night) ---------- */
.hero { min-height: 100svh; padding: 104px 0 112px; display: flex; } /* bottom room for the scroll cue */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 4; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; font-size: 14px; color: var(--ink-2); }
.name { margin: 26px 0 0; white-space: nowrap; }
.name small { display: block; margin-bottom: 18px; }
.name .line { display: block; overflow: hidden; padding-bottom: .06em; }
.name .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
body.is-ready .name .line > span { transform: none; transition-delay: .8s; }
body.is-ready .name .line:nth-of-type(2) > span { transition-delay: .9s; }
/* hero order: portrait → name → copy → heart → chip */
.hero .eyebrow, .hero .name small, .hero .role, .hero .hero-lead { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
body.is-ready .hero .eyebrow { opacity: 1; transform: none; transition-delay: .7s; }
body.is-ready .hero .name small { opacity: 1; transform: none; transition-delay: .75s; }
body.is-ready .hero .role { opacity: 1; transform: none; transition-delay: 1.25s; }
body.is-ready .hero .hero-lead { opacity: 1; transform: none; transition-delay: 1.4s; }
.hero .stats.rv { transition-delay: 1.6s !important; }
.role { margin-top: 22px; max-width: 22ch; }
:lang(hy) .role, :lang(hy) .hero-lead { max-width: 32ch; }
.hero-lead { margin-top: 12px; max-width: 34ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; padding: 8px; max-width: 640px; }
.stat { padding: 16px 18px; }
.stat + .stat { border-left: 1px solid var(--hair); }
.stat .n { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n em { font-style: normal; color: var(--blue-2); }
.stat .l { margin-top: 8px; font-size: 13.5px; line-height: 1.3; color: var(--ink-3); }
.hero-visual { position: relative; align-self: stretch; min-height: min(80svh, 860px); }
.halo { position: absolute; right: 2%; bottom: 4%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(120,140,190,.34), rgba(40,50,80,.12) 40%, transparent 66%); }
.portrait { position: absolute; right: -2%; bottom: 0; width: min(600px, 90%); z-index: 2;
  filter: saturate(.9) contrast(1.06) brightness(1.02) drop-shadow(-1px -1px 0 rgba(200,215,255,.35));
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%); opacity: 0; transform: translateY(30px) scale(.98); transition: opacity 1.4s var(--ease) .1s, transform 1.6s var(--ease) .1s; }
body.is-ready .portrait { opacity: 1; transform: none; }
.hero-3d { position: absolute; z-index: 3; left: -34%; bottom: 8%; width: 78%; aspect-ratio: 1; pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity 1.2s var(--ease) 2.1s, transform 1.6s var(--ease) 2.1s; }
body.is-ready .hero-3d { opacity: 1; transform: none; }
.hero-3d canvas, .stage canvas { width: 100%; height: 100%; display: block; }
.hero-chip { position: absolute; z-index: 5; left: -6%; bottom: 6%; padding: 16px 20px; width: 270px; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) 2.8s, transform 1.2s var(--ease) 2.8s; }
body.is-ready .hero-chip { opacity: 1; transform: none; }
.hero-chip .h3 { margin-top: 6px; font-size: 19px; }
.hero .lens { left: 31%; top: 9%; }
.hero .drop1 { left: 52%; top: 12%; }
.hero .drop2 { left: 44.5%; top: 66%; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 12px; z-index: 5; }
.scroll-cue i { width: 1px; height: 36px; background: var(--hair-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- 8. chapters ---------- */
.chapter { padding: var(--section) 0 0; }
.night .chapter:first-of-type { padding-top: clamp(110px, 16vh, 180px); }
.night .chapter:last-child { padding-bottom: var(--section); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }

.statement { max-width: 15ch; }
.statement .w { opacity: .14; transition: opacity .5s; }
.statement .w.on { opacity: 1; }
.compare { display: grid; gap: 12px; }
.cmp { padding: 22px 24px; display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; }
.cmp .label { padding-top: 6px; }
.cmp p { grid-column: 2; color: var(--ink-2); }

/* problem */
.beats { font-variant-numeric: tabular-nums; }
.beats-more { margin-top: var(--s7, 56px); max-width: 620px; }
.pulse { width: 100%; height: 70px; overflow: visible; }
.pulse path { fill: none; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse-bg { stroke: var(--hair); }
.pulse-ln { stroke: var(--red-2); stroke-dasharray: .14 .86; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255,59,80,.55)); animation: pulseRun 2.1s linear infinite; }
@keyframes pulseRun { to { stroke-dashoffset: 0; } }
.beats-more .body { margin-top: 22px; color: var(--ink-2); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair); }
.mini b { display: block; font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mini span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
@media (max-width: 640px) { .mini { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .pulse-ln { animation: none; stroke-dasharray: none; } }
.beats .unit { display: block; font-size: var(--t-h2); letter-spacing: -0.03em; color: var(--ink-3); margin-top: .3em; }
.facts { margin-top: var(--s8); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { padding: 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.fact .h3 { font-size: clamp(22px, 2vw, 30px); }
.fact p { color: var(--ink-2); }
.valves { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.valves figure { margin: 0; padding: var(--s5); display: grid; justify-items: center; gap: var(--s4); }
.valves svg { width: min(220px, 100%); height: auto; }

/* two ways */
.ways { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 2vw, 28px); margin-top: var(--s7); }
.way { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: var(--s5); min-height: 460px; }
.way .h1 { font-size: clamp(32px, 3.4vw, 60px); }
.way .meter { display: grid; gap: 0; margin-top: auto; }
.way .meter div { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: var(--t-small); color: var(--ink-2); padding: 12px 0; border-top: 1px solid var(--hair); }
.way .meter b { font-weight: 500; color: var(--ink); }
.way--old { opacity: calc(1 - var(--w, 0) * .5); transform: scale(calc(1 - var(--w, 0) * .03)); transition: none; }
.vs { align-self: center; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; writing-mode: vertical-rl; }

/* procedure (pinned) */
.tavi { height: 440vh; }
.tavi-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.tavi .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 80px); align-items: center; }
.tavi-title { max-width: 15ch; font-size: clamp(32px, 3.4vw, 60px); }
.tavi-title span { color: var(--ink-3); }
.steps { list-style: none; margin: clamp(20px, 4vh, 40px) 0 0; padding: 8px; display: grid; gap: 2px; max-width: 520px; }
.step { position: relative; padding: 14px 18px; border-radius: 20px; display: grid; grid-template-columns: 26px 1fr; gap: 2px 12px; color: var(--ink-3); transition: color .4s; }
.step .check { opacity: 0; margin-top: 4px; transition: opacity .3s; color: #fff; }
.step .h3 { font-size: 19px; }
.step p { grid-column: 2; font-size: 15px; color: var(--ink-2); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.step.on { color: var(--ink); }
.step.on .check { opacity: 1; }
.step.on p { max-height: 120px; margin-top: 6px; }
.step-hl { position: absolute; left: 8px; right: 8px; top: 8px; height: 56px; border-radius: 20px; pointer-events: none; transition: transform .7s var(--ease-spring), height .6s var(--ease);
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  box-shadow: inset 1.2px 1.2px 0 rgba(255,255,255,.85), inset -1px -1px 0 rgba(255,255,255,.15), 0 0 30px rgba(255,255,255,.06); }
.stage { position: relative; height: min(84svh, 920px); }
.minimap { position: absolute; left: 0; bottom: 8%; width: 220px; padding: 16px 16px 12px; }
.minimap svg { width: 100%; height: auto; overflow: visible; }
.minimap .vessel { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; stroke-linecap: round; }
.minimap .path { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.minimap .tip { fill: var(--red-2); }
.minimap .names { display: flex; justify-content: space-between; margin-top: 8px; gap: 8px; }
.progress { position: absolute; right: 0; bottom: 8%; display: grid; gap: 10px; justify-items: end; }
.progress .bars { display: flex; gap: 6px; }
.progress i { width: 34px; height: 3px; border-radius: 3px; background: var(--hair-2); overflow: hidden; position: relative; }
.progress i b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.progress .big { font: 500 clamp(64px, 7vw, 120px)/.8 var(--font); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair-2); margin-top: var(--s7); }
.num { padding: var(--s6) var(--s5) var(--s6) 0; border-right: 1px solid var(--hair); }
.num:last-child { border-right: 0; }
.num + .num { padding-left: var(--s5); }
.num .v { font-size: clamp(64px, 7.4vw, 140px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.num .v em { font-style: normal; color: var(--blue); }
.num p { margin-top: var(--s4); color: var(--ink-2); max-width: 22ch; }

/* expertise */
.rows { display: grid; gap: 12px; margin-top: var(--s7); }
.row { display: grid; grid-template-columns: 70px 1fr minmax(300px, 34%); align-items: center; gap: 20px; min-height: 190px; padding: 0 0 0 28px; overflow: hidden; transition: transform .6s var(--ease); }
.row:hover { transform: translateY(-3px); }
.row > .label { align-self: start; padding-top: 32px; }
.row .h2 { font-size: clamp(26px, 2.6vw, 42px); }
.row p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.row .obj { height: 190px; position: relative; align-self: stretch; }
.row .obj canvas { position: absolute; inset: -20px -10px -20px 0; width: calc(100% + 10px); height: calc(100% + 40px); }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }

/* path */
.timeline { margin-top: var(--s7); border-top: 1px solid var(--hair-2); }
.tl { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); align-items: baseline; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.tl.in::before { transform: scaleX(1); transition-delay: .2s; }
.tl .y { font: 500 14px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.tl .y.now { color: var(--red); }
.tl p { color: var(--ink-2); }

/* talks — pinned horizontal track */
.talks { height: 320vh; }
.talks-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.track { display: flex; gap: 16px; padding: var(--s7) var(--gutter) 0; will-change: transform; }
.talk { flex: 0 0 clamp(300px, 31vw, 560px); padding: 14px 14px 26px; display: flex; flex-direction: column; }
.talk .ph { margin: 0 0 22px; aspect-ratio: 3 / 2; border-radius: calc(var(--r2) - 4px); overflow: hidden; background: #0b0d12; }
.talk .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.talk:hover .ph img { transform: scale(1); }
.talk .top, .talk .city, .talk p { padding-inline: 14px; }
.talk .top { display: flex; justify-content: space-between; }
.talk .city { margin-top: 14px; font-size: clamp(34px, 3vw, 56px); font-weight: 500; letter-spacing: -0.05em; line-height: .95; }
.talk p.t { margin-top: 10px; font-weight: 500; color: var(--ink); }
.talk p.x { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.talk--next { padding: 28px; justify-content: space-between;  background: var(--night) !important; --ink: #f4f6fb; --ink-2: rgba(244,246,251,.7); --ink-3: rgba(244,246,251,.45); --hair: rgba(255,255,255,.1); color: var(--ink); }

/* finale */
.finale { margin-top: var(--section); }
.finale .wrap { padding-top: var(--section); padding-bottom: var(--s8); }
.motto { max-width: 13ch; position: relative; }
.motto span { color: var(--ink-4); }
.finale .lens { right: 12%; top: 10%; }
.contact-card { margin-top: var(--s9); padding: clamp(24px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.links .btn { background: rgba(255,255,255,.06); box-shadow: inset 1px 1px 0 rgba(255,255,255,.4), inset -1px -1px 0 rgba(255,255,255,.08); }
.links .btn:hover { background: #fff; color: var(--night); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--hair); padding-top: var(--s5); margin-top: var(--s9); }

/* ---------- 9. responsive ---------- */
@media (max-width: 1200px) { .rail { display: none; } }
@media (max-width: 1024px) {
  .nav-links, .logo small { display: none; }
  .hero .wrap, .split, .tavi .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .portrait { right: 50%; transform: translateX(50%); width: min(460px, 92%); }
  body.is-ready .portrait { transform: translateX(50%); }
  .hero-3d { left: -6%; width: 58%; }
  .hero .lens { left: 40%; top: 18%; width: 200px; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 0; }
  .ways { grid-template-columns: 1fr; }
  .vs { writing-mode: horizontal-tb; justify-self: center; }
  .way { min-height: 0; }
  .tavi .wrap { gap: 0; }
  .stage { height: 40svh; order: -1; }
  .minimap { display: none; }
  .progress { bottom: 0; }
  .progress .big { font-size: 48px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .row { grid-template-columns: 1fr; padding: 24px 24px 0; gap: 8px; }
  .row > .label { padding-top: 0; }
  .row .obj { height: 160px; margin-right: -24px; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .contact-card { grid-template-columns: 1fr; }
  .links { justify-content: flex-start; }
  .night > .bg { border-radius: var(--r3); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding: 6px 6px 6px 16px; top: 10px; width: calc(100% - 20px); }
  .lang button { padding: 9px 8px; min-width: 40px; }
  .hero { padding-top: 96px; }
  .hero-copy { display: contents; }
  .hero .wrap { gap: 0; }
  .eyebrow { justify-self: start; }
  .hero-visual { min-height: 400px; margin-top: 8px; order: 2; }
  .stats { order: 3; margin-top: 0; padding: 4px; }
  .stat { padding: 12px 10px; }
  .stat .l { font-size: 12px; }
  .hero-visual { min-height: 500px; }
  .portrait { right: -8%; width: 84%; transform: translateY(30px); }
  body.is-ready .portrait { transform: none; }
  .hero-3d { left: -10%; width: 64%; bottom: 14%; }
  .hero-chip { left: 0; bottom: 6%; width: 210px; padding: 12px 14px; }
  .hero-chip .h3 { font-size: 16px; }
  .hero .lens { width: 150px; left: 48%; top: 22%; }
  .scroll-cue, .lens--drop { display: none; }
  .tavi-sticky { padding-top: 64px; }
  .step:not(.on) { display: none; }
  .step-hl { display: none; }
  .step.on { background: rgba(255,255,255,.06); box-shadow: inset 1px 1px 0 rgba(255,255,255,.6); }
  .chead { grid-template-columns: auto 1fr; }
  .chead .rule, .chead .meta { display: none; }
  .talk { flex-basis: 82vw; }
  .valves { grid-template-columns: 1fr 1fr; }
  .finale .lens { width: 140px; right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* FAQ */
.qa { display: grid; gap: 10px; margin-top: var(--s7); max-width: 1100px; }
.q summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 16px; padding: 22px 24px; }
.q summary::-webkit-details-marker { display: none; }
.q summary i { width: 14px; height: 14px; position: relative; justify-self: end; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.q summary i::after { transform: rotate(90deg); }
.q[open] summary i::after { transform: rotate(0); }
.q p { padding: 0 24px 26px calc(24px + 48px + 16px); max-width: 70ch; }
@media (max-width: 600px) { .q summary { grid-template-columns: 32px 1fr 18px; padding: 18px; } .q p { padding: 0 18px 20px; } }
.hero .lens:not(.lens--drop) { width: clamp(180px, 17vw, 300px); }

/* cath lab interlude — full-bleed photo, copy on the dark side */
.cathlab { position: relative; min-height: 112svh; display: flex; align-items: center; background: #04060a; color: var(--ink); overflow: hidden; padding: 120px 0; }
.cl-img { position: absolute; inset: 0; margin: 0; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.cathlab.in .cl-img img { transform: none; }
.cl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #04060a 0%, rgba(4,6,10,.92) 30%, rgba(4,6,10,.55) 52%, rgba(4,6,10,0) 75%), linear-gradient(0deg, #04060a 0%, transparent 22%, transparent 80%, rgba(4,6,10,.7) 100%); }
.cathlab .wrap { position: relative; z-index: 2; width: 100%; }
.cl-copy { max-width: 640px; }
.cl-k { display: inline-flex; align-items: center; gap: 10px; color: var(--red-2); }
.cl-k .live { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255,59,80,.6); animation: clLive 1.6s ease-out infinite; }
@keyframes clLive { to { box-shadow: 0 0 0 10px rgba(255,59,80,0); } }
.cathlab .d2 { margin-top: 18px; }
.cathlab .lead { margin-top: 24px; color: var(--ink-2); }
.cl-list { margin-top: 40px; display: grid; gap: 0; }
.cl-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--hair); }
.cl-list p { color: var(--ink-2); }
@media (max-width: 900px) {
  .cathlab { display: block; min-height: 0; padding: 0 0 72px; }
  .cl-img { position: relative; aspect-ratio: 4 / 3; }
  .cl-img img { object-position: 78% 40%; }
  .cl-img::after { background: linear-gradient(0deg, #04060a 0%, transparent 45%); }
  .cathlab .wrap { margin-top: -40px; }
  .cl-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================== lower half v2 =========================== */
.lab2 { margin-top: var(--section); }

/* 06 numbers — bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); gap: 14px; margin-top: var(--s8); }
.bx { position: relative; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.bx-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 18px; }
.bx .v { font-size: clamp(56px, 5.6vw, 104px); font-weight: 500; letter-spacing: -0.06em; line-height: .88; font-variant-numeric: tabular-nums; }
.bx .v em { font-style: normal; color: var(--blue-2); }
.bx p { color: var(--ink-2); max-width: 36ch; }
.bx--valves { grid-row: 1 / 4; }
.bx--valves .v { font-size: clamp(110px, 12vw, 220px); }
.dots { display: grid; grid-template-columns: repeat(11, 1fr); gap: clamp(6px, .8vw, 12px); margin-top: auto; padding-top: 36px; max-width: 620px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Ccircle cx='20' cy='20' r='18'/%3E%3Ccircle cx='20' cy='20' r='7' fill='%23ffffff' stroke='none'/%3E%3C/g%3E%3C/svg%3E") center / 100% no-repeat; opacity: .14; transition: opacity .5s var(--ease), filter .5s var(--ease); transition-delay: calc(var(--d) * 28ms + .3s); }
.bx.in .dots i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%235b7cff' stroke-width='1.6'%3E%3Ccircle cx='20' cy='20' r='18'/%3E%3Ccircle cx='20' cy='20' r='7' fill='%235b7cff' stroke='none'/%3E%3C/g%3E%3C/svg%3E"); opacity: 1; filter: drop-shadow(0 0 5px rgba(91,124,255,.55)); }
.dots-cap { color: var(--ink-3) !important; margin-top: 14px; }
.bx .live, .cl-k .live { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); animation: clLive 1.6s ease-out infinite; }
.bx--247 .pulse { margin-top: 8px; height: 54px; }

/* 07 expertise — large 3D cards */
.xgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: var(--s8); }
.xc { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 26px; overflow: hidden; transition: transform .6s var(--ease); }
.xc:hover { transform: translateY(-4px); }
.xc-head { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.xc .obj { position: relative; flex: 1; min-height: 260px; margin: 0 -26px; }
.xc .obj canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-txt { position: relative; z-index: 2; }
.xc .h2 { font-size: clamp(26px, 2.3vw, 40px); }
.xc p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.xc--wide { grid-column: 1 / -1; min-height: 520px; display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto 1fr; column-gap: 24px; }
.xc--wide .xc-head { grid-column: 1 / -1; grid-row: 1; }
.xc--wide .xc-txt { grid-column: 1; grid-row: 2; align-self: end; }
.xc--wide .obj { grid-column: 2; grid-row: 1 / 3; margin: 0 -26px 0 0; }
.xc--wide .h2 { font-size: clamp(40px, 4.4vw, 80px); letter-spacing: -0.05em; }
.lab2 .terms { margin-top: var(--s6); }
.lab2 .tag { border-color: var(--hair-2); }

/* cath lab sits as its own rounded panel after the dark block */
.cathlab { margin-top: 14px; border-radius: var(--r4); }

/* 08 path — sticky photo + vertical timeline */
.path-grid { display: grid; grid-template-columns: minmax(320px, .8fr) 1.2fr; gap: clamp(32px, 6vw, 120px); margin-top: var(--s7); align-items: start; }
.path-photo { position: sticky; top: 110px; margin: 0; }
.path-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; border-radius: var(--r3); display: block; box-shadow: 0 40px 80px -40px rgba(10,12,17,.45); }
.path-photo figcaption { margin-top: 14px; }
.path-intro { margin-top: var(--s6); max-width: 40ch; }
.path .timeline { margin-top: var(--s8); border: 0; position: relative; padding-left: 44px; }
.path .timeline::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 1px; background: var(--hair-2); }
.path .tl { display: block; padding: 0 0 clamp(36px, 5vh, 64px); border: 0; }
.path .tl::before { left: -44px; top: .55em; bottom: auto; width: 13px; height: 13px; border-radius: 50%; background: var(--paper, #f3f4f6); border: 1px solid var(--ink-3); transform: none; transition: background .6s var(--ease), border-color .6s var(--ease), box-shadow .6s; }
.path .tl.in::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(24,70,255,.12); }
.path .tl .y { display: block; font: 500 clamp(40px, 4.2vw, 76px)/1 var(--font); letter-spacing: -0.055em; color: var(--ink); }
.path .tl .y.now { color: var(--red); }
.path .tl .h3 { margin-top: 14px; font-size: clamp(20px, 1.6vw, 26px); }
.path .tl p { margin-top: 8px; max-width: 56ch; }

/* FAQ — sticky side + hairline list */
.faq-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 6vw, 120px); margin-top: var(--s5); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .lead { margin-top: var(--s6); max-width: 32ch; }
.faq .qa { margin-top: 0; gap: 0; border-top: 1px solid var(--hair-2); }
.faq .q { border-bottom: 1px solid var(--hair-2); }
.faq .q summary { padding: 26px 0; }
.faq .q summary .h3 { font-size: clamp(20px, 1.6vw, 26px); transition: color .3s; }
.faq .q summary:hover .h3 { color: var(--blue); }
.faq .q p { padding: 0 0 30px calc(48px + 16px); }

/* finale — identity card + wordmark */
.contact-card { grid-template-columns: auto 1fr auto; align-items: center; }
.idc { display: flex; align-items: center; gap: 18px; padding-right: clamp(0px, 3vw, 40px); border-right: 1px solid var(--hair); }
.idc .ava { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #0d1018; border: 1px solid var(--hair-2); }
.idc b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.idc span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.idc .label { margin-top: 8px; font-size: 11px; }
.wordmark { margin-top: var(--s8); font-size: clamp(90px, 21vw, 420px); font-weight: 500; letter-spacing: -0.075em; line-height: .74; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); user-select: none; overflow: hidden; padding-bottom: .04em; }
.wordmark b { color: var(--blue-2); -webkit-text-stroke: 0; }
.finale .wrap { padding-bottom: 0; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bx--valves { grid-row: auto; }
  .xgrid { grid-template-columns: 1fr; }
  .xc, .xc--wide { min-height: 0; display: flex; }
  .xc .obj, .xc--wide .obj { min-height: 260px; margin: 0 -26px; }
  .path-grid, .faq-grid { grid-template-columns: 1fr; }
  .path-photo, .faq-side { position: relative; top: 0; }
  .path-photo img { aspect-ratio: 4 / 3; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .idc { border-right: 0; border-bottom: 1px solid var(--hair); padding: 0 0 22px; }
  .links { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .dots { grid-template-columns: repeat(11, 1fr); gap: 5px; }
  .faq .q p { padding-left: 0; }
}
.faq-side .d2 { font-size: clamp(52px, 5.2vw, 100px); }
.wordmark b { color: transparent; -webkit-text-stroke: 1.5px var(--blue-2); }
.idc .ava { flex: none; }
.finale .motto { font-size: clamp(40px, 4.6vw, 88px); max-width: 20ch; line-height: .95; }

.cdata { display: grid; gap: 0; margin: 0; }
.cdata > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.cdata > div:last-child { border-bottom: 1px solid var(--hair); }
.cdata dt { color: var(--ink-3); }
.cdata dd { margin: 0; color: var(--ink); }
.cdata dd span { color: var(--ink-3); }
.cdata a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue-2); text-underline-offset: 3px; }
.faq-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: var(--s5); }
.faq-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue-2); text-underline-offset: 4px; }

/* ---- 25.11: numbers + expertise merged into one compact chapter ---- */
.bento { grid-template-columns: 1.25fr 1fr; grid-template-rows: none; gap: clamp(20px, 3vw, 56px); align-items: stretch; }
.bx--valves { grid-row: auto; }
.bx--valves .v { font-size: clamp(96px, 10vw, 184px); }
.bx--valves .dots { max-width: 520px; padding-top: 28px; }
.stl { display: flex; flex-direction: column; justify-content: space-between; }
.st { padding: 22px 0 24px; border-top: 1px solid var(--hair-2); display: flex; flex-direction: column; gap: 10px; }
.st:last-child { border-bottom: 1px solid var(--hair-2); }
.st-k { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.st-k .live { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); animation: clLive 1.6s ease-out infinite; }
.st-v { font-size: clamp(48px, 4.6vw, 88px); font-weight: 500; letter-spacing: -0.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.st p { color: var(--ink-2); max-width: 40ch; margin: 0; }
.xlist { margin-top: var(--s9); }
.xl-head { margin-bottom: var(--s4); }
.xr { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.35fr) 150px; gap: 28px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair-2); min-height: 150px; }
.xr:last-of-type { border-bottom: 1px solid var(--hair-2); }
.xr-n { color: var(--ink-3); }
.xr .h3 { font-size: clamp(22px, 2vw, 34px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.xr p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.xr .obj { position: relative; height: 130px; }
.xr .obj canvas { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr; }
  .xr { grid-template-columns: minmax(0, 1fr) 120px; gap: 6px 20px; padding: 22px 0; }
  .xr-n { grid-column: 1; grid-row: 1; }
  .xr .h3 { grid-column: 1; grid-row: 2; }
  .xr p { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }
  .xr .obj { grid-column: 2; grid-row: 1 / 3; height: 100px; }
}
/* finale: endless ECG line (same as the loader) instead of the wordmark */
.ecg-end { display: block; width: 100%; height: clamp(80px, 11vw, 170px); margin: var(--s8) 0 0; overflow: visible; }
.ecg-end path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ecg-end .ecg-bg { stroke: rgba(255,255,255,.08); }
.ecg-end .ecg-ln { stroke: var(--red-2); filter: drop-shadow(0 0 6px rgba(255,59,80,.6)); stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ecgLoop 3.6s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes ecgLoop { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@media (prefers-reduced-motion: reduce) { .ecg-end .ecg-ln { animation: none; stroke-dashoffset: 0; } }
.finale .wrap { padding-bottom: var(--s8); }
.finale > .bg { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.finale > .bg { clip-path: inset(0 var(--open-x, 0px) round var(--r4) var(--r4) 0 0); }
.finale .ecg-end + .foot { margin-top: var(--s6); }
/* TAVI minimap: readable route femoral artery → aortic arch → valve */
.minimap { width: 240px; padding: 14px 14px 10px; }
.mm-map { position: relative; }
.minimap .valve { fill: none; stroke: var(--blue-2); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(91,124,255,.7)); }
.mm-map .label { position: absolute; font-size: 9.5px; line-height: 1.35; color: var(--ink-3); max-width: 9em; }
.mm-a { left: 3%; top: 71%; }
.mm-b { left: 14%; top: 52%; }
@media (min-width: 1025px) { .stage[data-view="tavi"] > canvas { transform: translateX(12%); } }
.finale .motto { letter-spacing: -0.028em; line-height: 1; }
.loader .ld-name { white-space: nowrap; }
html[lang="hy"] .loader .ld-name { font-size: clamp(26px, 4.4vw, 56px); letter-spacing: -0.02em; }
@media (max-width: 1024px) { .hero .drop2 { display: none; } }
/* 25.11: no decorative column lines on the light background */
.cols { display: none; }
/* 25.11: tighter vertical rhythm on phones */
@media (max-width: 600px) {
  :root { --section: 64px; }
  .hero { min-height: 0; padding-bottom: 48px; }
  .hero .scroll-cue { display: none; }
  .night .chapter:first-of-type { padding-top: 72px; }
  .night .chapter:last-child { padding-bottom: 64px; }
  .tavi { height: 320vh; }
  .cathlab { min-height: 0; padding: 72px 0; }
  .lab2, .finale { margin-top: 40px; }
  .finale .wrap { padding-top: 64px; }
  .xlist { margin-top: 56px; }
}
.nav-links a:hover { background: none; color: var(--ink); }
