/* Wabi-Sabi engine: every section is one reference, re-drawn in the active theme. All colour comes from theme.css tokens. */
html { color-scheme: var(--scheme, dark); }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.bgfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: var(--grain, .07); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); width: min(100%, 1400px); margin-inline: auto; }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--h-weight, 500); font-stretch: var(--h-stretch, 100%); letter-spacing: var(--h-track, -.035em); line-height: 1.02; text-wrap: balance; font-style: var(--h-style, normal); }
h2 { font-size: clamp(34px, 4.6vw, 68px); }
::selection { background: var(--accent); color: var(--btn-ink); }
.link { color: var(--accent-text); border-bottom: 1px solid rgb(var(--glow) / .35); }

/* glass primitive */
.glass, .nav__in, .seg, .badge, .me__pills li, .keep__card, .caps__card, .step, .qa, .gal__arrow {
  background: var(--glass); -webkit-backdrop-filter: blur(var(--blur, 18px)) saturate(150%); backdrop-filter: blur(var(--blur, 18px)) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 var(--glass-top), 0 20px 50px -30px rgb(0 0 0 / .5); }

/* buttons */
.btn { --btn-bg: var(--btn-bg-c); --btn-ink: var(--btn-ink-c); position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--ghost { --btn-bg: var(--glass); --btn-ink: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--ring { outline: 1px dashed rgb(var(--glow) / .6); outline-offset: 7px; }
.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 10px rgb(var(--glow) / .8); }
.pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.sig { font-family: var(--font-sig); font-size: 46px; line-height: 1; color: var(--accent-text); font-weight: 400; letter-spacing: 0; }

/* nav: floating glass pill */
.nav { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.nav__in { height: 60px; border-radius: 999px; gap: 22px; padding-left: 22px !important; padding-right: 8px !important; width: min(100% - 24px, 1180px); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; font-style: normal; }
.logo-mark { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--rim-hot), var(--accent) 45%, transparent 72%); box-shadow: 0 0 14px rgb(var(--glow) / .8); }
.nav__links { gap: 22px; font-size: 14px; }
.nav.is-scrolled { background: none; backdrop-filter: none; }
@media (max-width: 860px) { .nav__in { padding-right: 4px !important; } .nav__links { top: calc(env(safe-area-inset-top, 0px) + 80px); left: 12px; right: 12px; border-radius: 22px; background: var(--bg-2); } }

/* ── 1 · Hero (ref 5) ─────────────────────────── */
.hero { position: relative; min-height: max(100svh, 660px); overflow: hidden; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(transparent, rgb(var(--bg-rgb) / .92) 90%); z-index: 2; pointer-events: none; }
.hero__cols { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 24 - 1px), var(--col-line) calc(100% / 24 - 1px) calc(100% / 24));
  -webkit-mask: radial-gradient(ellipse 62% 95% at 50% 62%, rgb(0 0 0 / .2), #000 80%); mask: radial-gradient(ellipse 62% 95% at 50% 62%, rgb(0 0 0 / .2), #000 80%); }
.hero__arc, .hero__glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__glow { filter: blur(9px); opacity: .95; }
.hero__me { position: absolute; left: 50%; bottom: 0; height: min(84%, 900px); max-width: 92vw; aspect-ratio: 600 / 720; transform: translateX(-50%); z-index: 1; margin: 0;
  opacity: 0; filter: brightness(.35); transition: opacity 1.6s var(--ease) .2s, filter 2.6s var(--ease) .2s; }
.is-ready .hero__me { opacity: 1; filter: none; }
.hero__me img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 1px rgb(var(--glow) / .7)) drop-shadow(0 -10px 40px rgb(var(--glow) / .22)); }
.hero__me img + .hero__sil { display: none; }
.hero__sil { width: 100%; height: 100%; filter: drop-shadow(0 -10px 40px rgb(var(--glow) / .16)); }
.hero__top { position: absolute; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 96px); z-index: 3; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--ink-2); }
.hero__tag span, .hero__contact > * { display: block; }
.hero__contact { text-align: right; } .hero__contact a { color: var(--ink); }
.hero__svc { position: absolute; left: 0; right: 0; top: 33%; z-index: 3; display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.hero__rule { position: absolute; left: 0; right: 0; top: calc(33% + 30px); height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.5s cubic-bezier(.76, 0, .24, 1) .3s; }
.is-ready .hero__rule { transform: none; }
.hero__svc li, .hero__top { transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
html:not(.is-ready) .hero__svc li, html:not(.is-ready) .hero__top { opacity: .001; transform: translateY(10px); }
.hero__title { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 3; margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: var(--t-weight, 800); font-stretch: var(--t-stretch, 80%); font-style: var(--t-style, normal); text-transform: var(--t-case, uppercase); letter-spacing: var(--t-track, -.035em); line-height: .82; color: var(--title-ink); }
.hero__title .ln { display: block; overflow: hidden; padding: .02em 0 .03em; }
.hero__title .fit { display: inline-block; white-space: nowrap; transform: translateY(105%); transition: transform 1.4s var(--ease); background: var(--title-fill, none); -webkit-background-clip: var(--title-clip, border-box); background-clip: var(--title-clip, border-box); }
.hero__title .ln + .ln .fit { transition-delay: .1s; }
.is-ready .hero__title .fit { transform: none; }
@media (max-width: 760px) {
  .hero__me { height: 64%; bottom: 17%; } .hero::after { height: 50%; }
  .hero__svc { font-size: 12px; top: 31%; } .hero__rule { top: calc(31% + 26px); }
  .hero__top { font-size: 12px; } .hero__contact { display: none; }
}

.industries { border-block: 1px solid var(--line); padding: 20px 0; font-size: 15px; color: var(--ink-3); background: rgb(var(--bg-rgb) / .4); }

/* ── 2 · Work gallery (ref 2) ─────────────────── */
.work { padding-bottom: 40px; overflow: hidden; }
.work__bar { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; }
.seg__b { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: .3s; }
.seg__b.is-on { background: var(--ink); color: var(--bg); }
.gal { position: relative; height: clamp(340px, 36vw, 520px); margin-top: 24px; cursor: grab; user-select: none; touch-action: pan-y; }
.gal::before, .gal::after { content: ''; position: absolute; top: 5%; bottom: 5%; width: 22%; z-index: 4; pointer-events: none; filter: blur(30px); opacity: .55; }
.gal::before { left: -10%; background: radial-gradient(closest-side, rgb(var(--glow-2) / .55), transparent); }
.gal::after { right: -10%; background: radial-gradient(closest-side, rgb(var(--glow-3) / .55), transparent); }
.gal.is-grabbing { cursor: grabbing; }
.gal__stage { position: absolute; inset: 0; perspective: 1100px; transform-style: preserve-3d; }
.gal__card { position: absolute; left: 50%; top: 50%; width: clamp(150px, 15vw, 230px); aspect-ratio: 384 / 520; translate: -50% -48%; transform-style: preserve-3d; will-change: transform; padding: 0; }
.gal__img { position: absolute; inset: 0; border-radius: 14px; filter: saturate(.8) brightness(.72); transition: filter .6s; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 30px 60px -20px rgb(0 0 0 / .65); }
.gal__shine { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; mix-blend-mode: screen; opacity: .8;
  background: linear-gradient(105deg, transparent calc(35% + var(--a, 0) * 40%), rgb(255 255 255 / .16) calc(48% + var(--a, 0) * 40%), transparent calc(60% + var(--a, 0) * 40%)); }
.gal__card.is-active .gal__img { filter: none; box-shadow: 0 0 0 1px rgb(var(--glow) / .6), 0 0 40px -6px rgb(var(--glow) / .5), 0 40px 90px -20px rgb(0 0 0 / .7); }
.gal__tag { position: absolute; left: 2px; bottom: calc(100% + 10px); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.gal__card.is-active .gal__tag { color: var(--accent-text); }
.gal__arrow { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; z-index: 5; }
.gal__arrow::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); transform: translate(-30%, -50%) rotate(-45deg); }
.gal__arrow--l { left: max(16px, env(safe-area-inset-left, 0px)); } .gal__arrow--r { right: max(16px, env(safe-area-inset-right, 0px)); } .gal__arrow--r::after { transform: translate(-70%, -50%) rotate(135deg); }
.gal__meta { display: grid; grid-template-columns: 110px 1fr auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 20px; padding-top: 10px; }
.gal__count { font: 13px var(--font-mono); color: var(--ink-3); } .gal__count b { color: var(--ink); font-weight: 500; }
.gal__title { font-size: clamp(36px, 5.6vw, 88px); line-height: .95; transition: opacity .25s, filter .25s; }
.gal__kind { color: var(--ink-2); font-size: 15px; }
.gal__line { grid-column: 1 / -1; height: 1px; background: var(--line); margin-top: 22px; } .gal__line i { display: block; height: 100%; width: var(--p, 10%); background: var(--accent); box-shadow: 0 0 10px rgb(var(--glow)); transition: width .6s var(--ease); }
.gal__meta.is-swap .gal__title { opacity: 0; filter: blur(8px); }
.gal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.gal__grid button { aspect-ratio: 384 / 520; border-radius: 12px; position: relative; overflow: hidden; }
.gal__grid button span { position: absolute; left: 10px; bottom: 10px; font-size: 12px; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
.work.is-grid .gal, .work.is-grid .gal__meta { display: none; }
@media (max-width: 760px) { .gal__meta { grid-template-columns: 1fr; } .gal__arrow { display: none; } .gal__grid { grid-template-columns: 1fr 1fr; } }

/* ── 3 · Films (ref 4) ────────────────────────── */
.films__head { text-align: center; display: grid; justify-items: center; gap: 18px; }
.badge { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 13px; color: var(--accent-text); }
.films__head h2 { font-size: clamp(40px, 6.2vw, 96px); line-height: .98; }
.films__sub { max-width: 46ch; color: var(--ink-2); }
.films__band { position: relative; margin-top: 34px; }
.note { position: absolute; z-index: 3; font-family: var(--font-hand); font-size: 26px; color: var(--accent-text); pointer-events: none; }
.note svg { display: block; width: 110px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.note--a { right: 8%; top: -42px; transform: rotate(10deg); } .films.is-in .note svg { stroke-dashoffset: 0; }
.films__now { text-align: center; margin-top: 16px; font-size: 15px; min-height: 1.5em; } .films__now b { font-weight: 600; margin-right: 10px; } .films__now span { color: var(--ink-2); }
.films__cta { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 760px) { .note { display: none; } }

/* ── 4 · Name (ref 1) ─────────────────────────── */
.name { text-align: center; overflow: hidden; }
.name__bar { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-3); }
.name__replay { padding: 6px 14px; border-radius: 999px; font-size: 12px; background: var(--ink); color: var(--bg); }
.name__word { font-family: var(--font-display); font-weight: var(--n-weight, 800); font-stretch: var(--n-stretch, 75%); font-style: var(--n-style, normal); text-transform: var(--n-case, uppercase);
  letter-spacing: var(--n-track, -.03em); line-height: .9; font-size: clamp(44px, calc(150vw / var(--n-len, 5)), 480px); color: var(--ink); margin: 6px 0 18px; white-space: nowrap; }
.name__role { font-size: clamp(18px, 1.8vw, 24px); color: var(--ink-2); }
.tm { user-select: none; cursor: default; }
.tm__ch { position: relative; display: inline-block; transition: color .35s, filter .35s; }
.tm__ch.is-near { color: rgb(var(--ink-rgb) / .1); filter: blur(2px); }
.tm__ch.is-on { color: transparent; }
.tm__fig { position: absolute; left: 50%; top: 52%; width: .74em; height: .74em; margin: -.37em 0 0 -.37em; pointer-events: none; z-index: 2; color: var(--icon-ink);
  opacity: 0; transform: scale(.3) rotate(-16deg); transition: opacity .25s, transform .65s cubic-bezier(.34, 1.56, .64, 1); }
.tm__fig svg { width: 100%; height: 100%; filter: drop-shadow(0 0 2px rgb(var(--glow-hot) / .9)) drop-shadow(0 0 10px rgb(var(--glow) / .8)) drop-shadow(0 0 34px rgb(var(--glow) / .45)); }
.tm__fig em { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 12px); white-space: nowrap; font: 500 13px/1 var(--font-mono); letter-spacing: .02em; font-style: normal; text-transform: none;
  color: var(--btn-ink-c); background: var(--accent); padding: 8px 12px; border-radius: 6px; opacity: 0; transition: opacity .3s .12s; box-shadow: 0 0 24px rgb(var(--glow) / .5); }
.tm__ch.is-on .tm__fig { opacity: 1; transform: rotate(var(--r, 0deg)); }
.tm__ch:nth-child(even) { --r: 7deg; } .tm__ch:nth-child(3n) { --r: -6deg; }
.tm__ch.is-on .tm__fig em { opacity: 1; }
@media (max-width: 600px) { .tm__fig em { font-size: 10px; padding: 6px 8px; } }

/* ── 5 · Portrait in a ring (ref 3) ───────────── */
.me { position: relative; min-height: max(100svh, 720px); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, transparent, rgb(var(--bg-rgb) / .55) 30%, rgb(var(--bg-rgb) / .55) 70%, transparent); }
.me::after { content: ''; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgb(var(--bg-rgb) / .9)); z-index: 2; pointer-events: none; }
.me__ring { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 38%; z-index: 0; }
.ring { position: absolute; left: 50%; top: 34%; width: 0; height: 0; transform-style: preserve-3d; animation: ring 120s linear infinite; }
.ring__card { position: absolute; width: 250px; height: 165px; margin: -82px 0 0 -125px; border-radius: 12px; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 50px rgb(0 0 0 / .45); filter: saturate(.85); }
@keyframes ring { from { transform: translateZ(400px) rotateY(0); } to { transform: translateZ(400px) rotateY(-360deg); } }
.me__fig { position: absolute; left: 50%; bottom: 0; height: min(84%, 860px); aspect-ratio: 600 / 720; max-width: 92vw; transform: translateX(-50%); margin: 0; z-index: 1; }
.me__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.me__fig img + .me__sil { display: none; }
.me__sil { width: 100%; height: 100%; filter: drop-shadow(0 0 50px rgb(0 0 0 / .5)); }
.me__ui { position: relative; z-index: 3; min-height: max(100svh, 720px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding-block: 110px 56px; }
.me__pills { grid-column: 1 / 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.me__pills li { padding: 9px 15px; border-radius: 999px; }
.me__left { align-self: end; display: grid; justify-items: start; gap: 18px; }
.me__hi { font: 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.me__left h2 { font-size: clamp(44px, 5.6vw, 88px); }
.me__quote { align-self: end; justify-self: end; max-width: 340px; margin: 0; text-align: left; }
.me__quote p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; color: var(--ink-2); }
@media (max-width: 860px) {
  .me__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; }
  .me__pills { grid-column: 1; } .me__quote { justify-self: start; margin-top: 26px; }
  .me__fig { height: 56%; bottom: 32%; } .me::after { height: 62%; }
  .ring__card { width: 150px; height: 100px; margin: -50px 0 0 -75px; }
}

/* ── 6 · Services (ref 6) ─────────────────────── */
.svc { position: relative; height: 560vh; }
.svc__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(70% 55% at 50% 45%, rgb(var(--glow) / .07), transparent 70%); }
.svc__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc__ui { position: absolute; inset: 0; pointer-events: none; }
.svc__kicker { position: absolute; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 100px); font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.svc__index { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; text-align: right; font: 12px var(--font-mono); color: var(--ink-3); }
.svc__index li { display: flex; justify-content: end; align-items: center; gap: 10px; transition: color .4s; }
.svc__index li span { opacity: 0; transform: translateX(6px); transition: .5s var(--ease); color: var(--ink); font-family: var(--font-body); font-size: 13px; }
.svc__index li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.svc__index li.is-on { color: var(--ink); } .svc__index li.is-on span { opacity: 1; transform: none; }
.svc__index li.is-on::after { background: var(--accent); transform: scale(1.9); box-shadow: 0 0 10px rgb(var(--glow)); }
.svc__title { position: absolute; left: 0; right: 0; bottom: 7vh; text-align: center; font-family: var(--font-display); font-weight: var(--s-weight, 300); font-style: var(--h-style, normal); letter-spacing: -.05em; line-height: 1; font-size: clamp(46px, 9vw, 150px); color: var(--ink); transition: filter .45s, opacity .45s, transform .6s var(--ease); }
.svc__count { font: 400 .15em var(--font-mono); letter-spacing: 0; color: var(--accent-text); vertical-align: 3.8em; margin-left: .3em; }
.svc__count::before { content: '('; } .svc__count::after { content: ')'; }
.svc__detail { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); max-width: 290px; padding: 20px; border-radius: 18px; transition: opacity .45s, transform .6s var(--ease); }
.svc__body { font-size: 15px; color: var(--ink-2); } .svc__deliv { margin-top: 12px; font-size: 13px; color: var(--accent-text); }
.svc.is-swap .svc__title { filter: blur(14px); opacity: 0; transform: translateY(8px); }
.svc.is-swap .svc__detail { opacity: 0; }
@media (max-width: 760px) {
  .svc__detail { top: auto; bottom: calc(7vh + clamp(46px, 13vw, 90px) + 16px); left: 16px; right: 16px; max-width: none; transform: none; text-align: center; padding: 0; }
  .svc__index { top: calc(env(safe-area-inset-top, 0px) + 140px); transform: none; gap: 6px; }
  .svc__title { font-size: clamp(40px, 12.5vw, 90px); }
}

/* ── 7 · Why (ref 3, numbers) ─────────────────── */
.why { overflow: hidden; }
.why__ghost { position: absolute; left: 50%; top: clamp(30px, 5vw, 90px); transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: clamp(170px, 30vw, 480px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgb(var(--ink-rgb) / .08); pointer-events: none; user-select: none; text-transform: var(--n-case, uppercase); font-style: var(--h-style, normal); }
.why__in { position: relative; display: grid; grid-template-columns: 1fr minmax(290px, 420px) 1fr; grid-template-rows: 1fr 1fr; column-gap: clamp(24px, 6vw, 96px); align-items: center; }
.why__arch { grid-column: 2; grid-row: 1 / 3; position: relative; z-index: 1; min-height: 520px; padding: 130px 34px 40px; border-radius: 999px 999px 18px 18px; display: flex; flex-direction: column; justify-content: end; gap: 14px; overflow: hidden;
  background: var(--arch); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 40px 120px -40px rgb(var(--glow) / .55); color: var(--arch-ink); }
.why__arch::after { content: ''; position: absolute; inset: 0; opacity: .25; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.why__k { font: 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; display: flex; align-items: center; gap: 8px; }
.why__k .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.why__arch h2 { font-size: clamp(30px, 3vw, 44px); }
.why__arch p { font-size: 15px; opacity: .8; }
.why__arch .sig { color: var(--arch-ink); opacity: 1; }
.why__stats { display: contents; }
.stat { display: grid; gap: 8px; }
.stat--0 { grid-column: 1; grid-row: 1; } .stat--1 { grid-column: 3; grid-row: 1; } .stat--2 { grid-column: 1; grid-row: 2; } .stat--3 { grid-column: 3; grid-row: 2; }
.stat--0, .stat--2 { text-align: right; }
.stat__v { font-family: var(--font-display); font-size: clamp(48px, 5.6vw, 90px); font-weight: 300; font-style: var(--h-style, normal); letter-spacing: -.05em; line-height: 1; color: var(--stat-ink); font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgb(var(--glow) / .35); }
.stat__l { font: 11px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.why__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: rgb(var(--glow) / .45); }
.why__lines path { vector-effect: non-scaling-stroke; }
@media (max-width: 900px) {
  .why__in { grid-template-columns: 1fr 1fr; grid-template-rows: auto; row-gap: 40px; }
  .why__arch { grid-column: 1 / 3; grid-row: 1; min-height: 430px; }
  .stat--0, .stat--1, .stat--2, .stat--3 { grid-column: auto; grid-row: auto; text-align: left; }
  .why__lines { display: none; }
}

/* ── 8 · Keep (ref 7) ─────────────────────────── */
.keep h2 { max-width: 16ch; }
.keep__sub { margin-top: 18px; color: var(--ink-2); max-width: 48ch; }
.keep__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.keep__card { --tone: var(--glow); position: relative; overflow: hidden; border-radius: 26px; padding: 26px; min-height: 340px; display: flex; flex-direction: column; isolation: isolate; transition: transform .6s var(--ease); }
.keep__card:nth-child(2) { --tone: var(--glow-2); } .keep__card:nth-child(3) { --tone: var(--glow-3); }
.keep__card::before { content: ''; position: absolute; inset: 0; z-index: -1; transition: transform .9s var(--ease), opacity .6s;
  background: linear-gradient(180deg, transparent 30%, rgb(var(--tone) / .22) 58%, rgb(var(--tone) / .7) 86%, rgb(var(--glow-hot) / .85) 100%); transform: translateY(14%); }
.keep__card:hover::before { transform: translateY(4%); }
.keep__card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .09), transparent 60%); }
.keep__card:hover::after { opacity: 1; }
.keep__card:hover { transform: translateY(-4px); }
.keep__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--bg-rgb) / .6); box-shadow: inset 0 0 0 1px var(--glass-line); color: var(--ink); }
.keep__ic svg { width: 22px; height: 22px; }
.keep__card h3 { font-size: 26px; margin-top: 30px; }
.keep__card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.keep__card a { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--ink); }
.keep__proof { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 34px; font-size: 14px; color: var(--ink-2); }
.keep__proof li { display: flex; align-items: center; gap: 10px; }
.keep__proof li::before { content: ''; width: 14px; height: 8px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
@media (max-width: 900px) { .keep__grid { grid-template-columns: 1fr; } .keep__card { min-height: 280px; } }

/* ── 9 · Capabilities (ref 8) ─────────────────── */
.caps { text-align: center; }
.caps__strip { display: grid; grid-template-columns: auto 60px 1fr auto; align-items: center; gap: 14px; font: 11px var(--font-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 64px; text-align: left; }
.caps__strip i { height: 1px; background: var(--line-strong); }
.caps__strip span:nth-child(3) { text-align: center; }
.caps__h { font-size: clamp(38px, 5.4vw, 84px); font-weight: var(--c-weight, 450); }
.caps__lit { background: linear-gradient(180deg, var(--rim-hot), var(--accent) 55%, var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgb(var(--glow) / .45)); }
.caps__lede { max-width: 52ch; margin: 22px auto 0; color: var(--ink-2); font-weight: 300; font-size: 17px; }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.caps__card { position: relative; border-radius: 8px; overflow: hidden; min-height: 330px; isolation: isolate; }
.caps__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 30%, rgb(var(--glow) / .18), transparent 75%); }
.caps__stage { height: 190px; display: grid; place-items: center; color: var(--icon-ink); -webkit-mask: radial-gradient(closest-side, #000 70%, transparent); mask: radial-gradient(closest-side, #000 70%, transparent); }
.caps__stage svg { width: 210px; height: auto; mix-blend-mode: screen; filter: drop-shadow(0 0 2px rgb(var(--glow-hot) / .9)) drop-shadow(0 0 10px rgb(var(--glow) / .7)) drop-shadow(0 0 30px rgb(var(--glow) / .4)); }
.caps__body { padding: 0 26px 28px; } .caps__body h3 { font-size: 19px; font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; font-style: normal; }
.caps__body p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.caps__card .caps__stage svg { transition: transform 1.1s cubic-bezier(.34, 1.4, .64, 1), clip-path 1.2s var(--ease), opacity .8s; }
.caps:not(.is-in) .caps__card:nth-child(1) svg { transform: scale(.72); opacity: .2; }
.caps:not(.is-in) .caps__card:nth-child(2) svg { clip-path: inset(100% 0 0 0); }
.caps:not(.is-in) .caps__card:nth-child(3) svg { clip-path: inset(0 100% 0 0); }
.caps__card:nth-child(2) svg { transition-delay: .15s; } .caps__card:nth-child(3) svg { transition-delay: .3s; }
@media (max-width: 900px) { .caps__grid { grid-template-columns: 1fr; } .caps__card { display: grid; grid-template-columns: 160px 1fr; align-items: center; min-height: 0; } .caps__stage { height: 160px; } .caps__stage svg { width: 140px; } .caps__body { padding: 20px 20px 20px 0; } .caps__strip span:nth-child(4) { display: none; } .caps__strip { grid-template-columns: auto 40px 1fr; } }
@media (max-width: 480px) { .caps__card { grid-template-columns: 1fr; } .caps__body { padding: 0 20px 22px; } }
.holo-orbit { transform-origin: 100px 80px; animation: orbit 9s linear infinite; } @keyframes orbit { to { transform: rotate(360deg); } }

/* ── Process, quotes, FAQ ─────────────────────── */
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__aside { color: var(--ink-2); font-size: 15px; max-width: 30ch; text-align: right; }
@media (max-width: 760px) { .sec__head { flex-direction: column; align-items: start; } .sec__aside { text-align: left; } }
.steps { gap: 14px; }
.step { border-radius: 20px; padding: 26px 22px 24px; border-top: 0; }
.step__n { position: static; width: 30px; height: 30px; margin-bottom: 26px; font: 12px var(--font-mono); background: var(--accent); color: var(--btn-ink-c); box-shadow: 0 0 18px rgb(var(--glow) / .6); }
.step__t { font-family: var(--font-display); font-style: var(--h-style, normal); font-size: 24px; }
.quote blockquote { font-family: var(--font-display); font-style: var(--h-style, normal); font-weight: var(--q-weight, 400); }
.quote:first-child blockquote { font-weight: var(--q1-weight, 300); }
.faq__side p { margin-top: 18px; color: var(--ink-2); }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 16px; border-bottom: 0; padding-inline: 22px; }
.qa summary { font-size: 17px; }
.qa__a { padding-right: 0; }

/* ── CTA, footer ──────────────────────────────── */
.cta { position: relative; min-height: 90svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.cta__arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta { min-height: max(100svh, 760px); align-items: end; }
.cta__in { padding-block: 47vh 90px; }
.cta__status { font-size: 14px; color: var(--ink-2); }
.cta h2 { margin: 24px auto 0; max-width: 19ch; font-size: clamp(42px, 7vw, 118px); font-weight: var(--t-weight, 800); font-stretch: var(--t-stretch, 82%); text-transform: var(--t-case, uppercase); letter-spacing: var(--t-track, -.04em); line-height: .92; font-style: var(--t-style, normal); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.cta__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); } .cta__mail { color: var(--ink-2); user-select: all; }
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 44px; background: rgb(var(--bg-rgb) / .5); }
.foot__in { display: flex; justify-content: space-between; align-items: start; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.foot__line { font-weight: 500; } .foot__muted { color: var(--ink-3); max-width: 46ch; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; } .foot__links a { color: var(--ink-2); } .foot__links a:hover { color: var(--ink); }
.foot__mark { font-family: var(--font-display); font-weight: var(--n-weight, 800); font-stretch: var(--n-stretch, 75%); font-style: var(--n-style, normal); text-transform: var(--n-case, uppercase); font-size: 33vw; line-height: .78; letter-spacing: -.05em; text-align: center; margin: 40px 0 -.1em;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / .16), rgb(var(--ink-rgb) / 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* loader */
.ld { background: var(--bg); --rr: 7.4; }
.ld__item { color: var(--icon-ink); filter: drop-shadow(0 0 6px rgb(var(--glow) / .7)); }
.ld__num { font-family: var(--font-display); font-style: var(--h-style, normal); color: var(--ink); }
.ld__mid small { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }

/* lightbox stays dark in every theme */
.lb { color: #fff; }

@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .ring { animation: none; } }

/* ================= v3 · refs 9-14 ================= */
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; pointer-events: none; }
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; display: block; pointer-events: none; }
.hero::after, .me::after { display: none; }
.hero__me, .me__fig { -webkit-mask-image: linear-gradient(#000 60%, transparent 97%); mask-image: linear-gradient(#000 60%, transparent 97%); }
.industries { transform: skewX(calc(var(--skew, 0) * 1deg)); transition: transform .3s var(--ease); }
.ring { rotate: x var(--tilt, 0deg); transition: rotate .8s var(--ease); }
.keep__grid, .caps__grid { perspective: 1200px; }
.keep__card, .caps__card { transition: rotate .5s var(--ease), border-color .4s, box-shadow .4s; }
.kick { font: 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); display: flex; gap: 9px; align-items: center; }
.kick .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.slot3d { pointer-events: none; }
.slot3d--films { position: absolute; right: max(3vw, 16px); top: clamp(-40px, -2vw, 0px); width: clamp(120px, 17vw, 250px); aspect-ratio: 1; }
.slot3d--beam { --w: clamp(150px, 18vw, 270px); position: sticky; z-index: 1; top: 24vh; width: var(--w); height: var(--w); margin: 40px 0 calc(-1 * var(--w) - 40px) max(3vw, 12px); }

/* section hand-off: content rises out of the field instead of cutting in */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main > .sec > .wrap:not(.venn), .garc__stage, .beam__list, .gal, .films__band { animation: secRise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes secRise { from { translate: 0 70px; scale: .965; } to { translate: 0 0; scale: 1; } }
  }
}

/* work · neon behind the showcase */
.work { position: relative; isolation: isolate; }
.work > :not(.work__neon) { position: relative; z-index: 1; }
.work__neon { position: absolute; inset: 60px 0 40px; z-index: 0; pointer-events: none; }
.work__neon canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.work__glow { filter: blur(16px) saturate(1.2); opacity: .95; }

/* ref 12 · graph cards */
.graphs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 30px); align-items: start; perspective: 1300px; }
.gr { position: relative; border-radius: 32px; padding: 24px 20px 20px; overflow: hidden; isolation: isolate; aspect-ratio: 5 / 6.2;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / .035), rgb(var(--glow) / .06) 55%, rgb(var(--glow) / .32));
  border: 1px solid rgb(var(--glow) / .3);
  box-shadow: inset 0 1px 0 rgb(var(--glow-hot) / .22), inset 0 -50px 90px -40px rgb(var(--glow) / .75), 0 40px 90px -50px rgb(var(--glow) / .6);
  -webkit-backdrop-filter: blur(var(--blur, 18px)); backdrop-filter: blur(var(--blur, 18px)); transition: rotate .5s var(--ease), box-shadow .4s; }
.gr:nth-child(2) { margin-top: 90px; } .gr:nth-child(3) { margin-top: -10px; }
.gr::before { content: ''; position: absolute; left: -20%; right: -20%; bottom: -38%; height: 70%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--glow-hot) / .6), rgb(var(--glow) / .38) 40%, transparent); animation: grBreath 7s ease-in-out infinite; }
.gr::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgb(var(--glow-hot) / .1), transparent 70%); }
.gr:hover::after { opacity: 1; }
@keyframes grBreath { 50% { transform: scale(1.08) translateY(-4%); opacity: .85; } }
.gr__k { text-align: center; font-size: 15px; line-height: 1.3; color: var(--ink); position: relative; z-index: 2; }
.gr__k span { display: block; color: var(--accent-text); font-size: 13px; }
.gr__svg { position: absolute; inset: 14% 4% 6%; width: 92%; height: 80%; overflow: visible; }
.gr__n { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-family: var(--font-display); font-weight: var(--n-weight, 700); font-stretch: var(--n-stretch, 100%); font-style: var(--n-style, normal);
  font-size: clamp(64px, 7.4vw, 120px); line-height: .9; letter-spacing: -.05em; color: var(--title-ink); text-shadow: 0 0 50px rgb(var(--glow) / .55); z-index: 2; pointer-events: none; }
.gr__n small { font-size: .6em; margin-left: .02em; }
.gr--gauge .gr__n { bottom: 22%; }
.gr--peak .gr__n { bottom: 7%; font-size: clamp(48px, 5vw, 84px); }
.gr--line .gr__n { bottom: 8%; }
.gr__ticks line { stroke: rgb(var(--ink-rgb) / .2); stroke-width: 1.6; stroke-linecap: round; transition: stroke .5s calc(var(--i) * 25ms); }
.gr__ticks line.on { stroke: rgb(var(--glow-hot) / .95); }
.gr.is-armed .gr__ticks line.on { stroke: rgb(var(--ink-rgb) / .2); }
.gr__needle { transform-origin: 160px 232px; transform: rotate(var(--a)); transition: transform .7s var(--ease); }
.gr.is-armed .gr__needle { transform: rotate(-110deg); }
.gr__needle line { stroke: rgb(var(--glow-hot)); stroke-width: 2; stroke-linecap: round; }
.gr__needle circle, .gr__dot { fill: rgb(var(--glow-hot)); filter: drop-shadow(0 0 6px rgb(var(--glow))); }
.gr__l { fill: none; stroke: rgb(var(--glow-hot)); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(var(--glow) / .9)); stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease); }
.gr__l--b { stroke: rgb(var(--glow) / .75); stroke-width: 1.6; filter: none; }
.gr.is-armed .gr__l { stroke-dashoffset: 1; }
.gr__drop { stroke: rgb(var(--ink-rgb) / .14); stroke-width: 1; }
.gr__pt { fill: rgb(var(--bg-rgb)); stroke: rgb(var(--glow-hot)); stroke-width: 2; transition: fill .3s, r .3s; }
.gr__pt.is-on { fill: rgb(var(--glow-hot)); r: 7px; }
.gr__probe { fill: var(--ink-2); font: 12px var(--font-mono); text-anchor: middle; opacity: 0; transition: opacity .3s; }
.gr__vline { stroke: rgb(var(--ink-rgb) / .3); stroke-dasharray: 3 4; opacity: 0; transition: opacity .3s; }
.gr__p { fill: rgb(var(--glow-hot)); opacity: 0; transition: opacity .3s; } .gr__p--b { fill: rgb(var(--glow)); }
.gr.is-probe .gr__probe, .gr.is-probe .gr__vline, .gr.is-probe .gr__p { opacity: 1; }
.gr__legend text { font: 11px var(--font-mono); fill: var(--ink-3); }

/* ref 14 · venn */
.venn__head { display: grid; grid-template-columns: 1fr auto; gap: 18px 60px; align-items: end; }
.venn__head .kick { grid-column: 1 / -1; }
.venn__head h2 { font-size: clamp(40px, 6vw, 96px); line-height: .95; }
.venn__aside { max-width: 34ch; color: var(--ink-2); }
.venn { position: relative; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(360px, 1.9fr) minmax(200px, 1fr); align-items: center; gap: 28px; margin-top: clamp(40px, 6vw, 90px); }
.venn__chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 2; }
.venn__chips li { padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; transition: color .3s, border-color .3s; }
.venn__chips li b { color: var(--accent-text); font: 500 13px var(--font-mono); }
.venn__chips li:hover { color: var(--ink); border-color: rgb(var(--glow) / .5); }
.venn__chips--l li:nth-child(odd) { margin-right: 28px; } .venn__chips--l li:nth-child(even) { margin-left: 28px; margin-right: -10px; }
.venn__chips--r li:nth-child(odd) { margin-left: 28px; } .venn__chips--r li:nth-child(even) { margin-right: 28px; margin-left: -10px; }
.venn__fig { position: relative; aspect-ratio: 1.5; --sep: 1; --core: 1; --cx: 0px; --cy: 0px; }
.venn__c { position: absolute; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; translate: 0 -50%; display: flex; align-items: flex-start; padding-top: 19%;
  border: 1px solid rgb(var(--ink-rgb) / .16); background: radial-gradient(circle at 50% 28%, rgb(var(--ink-rgb) / .07), rgb(var(--ink-rgb) / .015) 62%);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: inset 0 1px 0 rgb(var(--ink-rgb) / .14), inset 0 0 80px rgb(var(--glow) / .07); font-size: clamp(14px, 1.3vw, 19px); }
.venn__c--l { left: calc(50% - 31% - 4% - 16% * var(--sep)); padding-left: 7%; }
.venn__c--r { left: calc(50% - 31% + 4% + 16% * var(--sep)); justify-content: flex-end; padding-right: 7%; }
.venn__core { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; border-radius: 50%; translate: calc(-50% + var(--cx)) calc(-50% + var(--cy)); scale: var(--core); z-index: 1;
  background: radial-gradient(circle at 50% 42%, rgb(var(--glow-hot)) 0%, rgb(var(--glow-3)) 30%, rgb(var(--glow)) 56%, rgb(var(--glow-2) / .7) 69%, transparent 71%);
  box-shadow: 0 0 70px 18px rgb(var(--glow) / .45), 0 0 220px 70px rgb(var(--glow-2) / .22); display: grid; place-items: center;
  color: var(--core-ink, rgb(var(--bg-rgb))); font: 600 clamp(11px, 1vw, 14px) var(--font-mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.venn__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.venn__lines path { fill: none; stroke: rgb(var(--ink-rgb) / .22); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.venn__lines circle { fill: rgb(var(--glow-hot)); }
.venn.is-armed .venn__lines path { stroke-dashoffset: 1; }

/* ref 9 · kit cards with 3D objects */
.kit__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.kit__head h2 { font-size: clamp(38px, 5.4vw, 86px); line-height: .96; }
.kit__head p { max-width: 34ch; color: var(--ink-2); }
.kit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 64px); perspective: 1300px; }
.kit__card { position: relative; border-radius: 26px; min-height: 440px; padding: 26px 26px 0; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  border: 1px solid rgb(var(--glow) / .26); background: linear-gradient(180deg, rgb(var(--ink-rgb) / .045), rgb(var(--ink-rgb) / .015) 45%, rgb(var(--glow) / .3));
  box-shadow: inset 0 1px 0 rgb(var(--ink-rgb) / .12), 0 40px 80px -50px rgb(var(--glow) / .55); transition: rotate .5s var(--ease), border-color .4s; }
.kit__card::before { content: ''; position: absolute; left: -15%; right: -15%; bottom: -30%; height: 75%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--glow-hot) / .55), rgb(var(--glow-2) / .5) 35%, rgb(var(--glow) / .2) 65%, transparent); transition: transform .7s var(--ease); }
.kit__card:hover::before { transform: scale(1.14) translateY(-4%); }
.kit__card:hover { border-color: rgb(var(--glow) / .55); }
.kit__txt h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; font-family: var(--font-body); }
.kit__txt p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; max-width: 28ch; }
.kit__slot { flex: 1; min-height: 260px; margin: 6px -26px 0; }

/* ref 13 · arc of glowing tiles */
.garc { overflow: hidden; }
.garc__stage { position: relative; height: clamp(420px, 58vw, 720px); max-width: 1240px; margin: 0 auto; }
.garc__stage::before { content: ''; position: absolute; left: 50%; bottom: 0; width: 70%; height: 70%; translate: -50% 0; border-radius: 50% 50% 0 0; background: radial-gradient(60% 70% at 50% 100%, rgb(var(--glow) / .16), transparent 70%); pointer-events: none; }
.garc__tiles { position: absolute; inset: 0 4vw; }
.garc__t { position: absolute; left: 0; top: 0; width: 74px; height: 74px; padding: 0; border: 0; border-radius: 24%; background: none; cursor: pointer; will-change: transform, opacity; --gc: rgb(var(--glow) / .85); }
.garc__t:nth-child(3n+2) { --gc: rgb(var(--glow-2) / .85); } .garc__t:nth-child(3n) { --gc: rgb(var(--glow-3) / .85); }
.garc__t i { position: absolute; inset: 0; border-radius: inherit; display: block; box-shadow: 0 0 30px 4px var(--gc), 0 0 70px 10px var(--gc), inset 0 0 0 1px rgb(255 255 255 / .22); }
.garc__t::before { content: ''; position: absolute; inset: -45%; border-radius: 50%; background: radial-gradient(closest-side, var(--gc), transparent); opacity: calc(.3 + var(--m, 0) * .6); z-index: -1; }
.garc__t:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.garc__in { position: absolute; left: 50%; bottom: 6%; translate: -50% 0; width: min(520px, 86vw); text-align: center; }
.garc__in h2 { font-size: clamp(32px, 4.4vw, 64px); }
.garc__in p { color: var(--ink-2); margin: 12px auto 22px; max-width: 36ch; }

/* ref 10 · process on a beam */
.beam { overflow: clip; }
.beam__light { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: calc(-50% + var(--bx, 0px)) 0; pointer-events: none; z-index: 0; }
.beam__light::before { content: ''; position: absolute; inset: 14% 0 4%; background: linear-gradient(transparent, rgb(var(--glow-hot)) 22%, rgb(var(--glow-hot)) 80%, transparent); box-shadow: 0 0 18px 4px rgb(var(--glow) / .75), 0 0 90px 34px rgb(var(--glow) / .22); }
.beam__light::after { content: ''; position: absolute; top: 10%; bottom: 0; left: -220px; right: -220px; background: radial-gradient(40% 50% at 50% 50%, rgb(var(--glow) / .2), transparent 75%); }
.beam__light i { position: absolute; left: -3px; width: 8px; height: 140px; border-radius: 4px; background: linear-gradient(transparent, rgb(255 255 255 / .95), transparent); box-shadow: 0 0 22px 6px rgb(var(--glow-hot) / .6); animation: beamRun 5s linear infinite; }
@keyframes beamRun { from { top: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 96%; opacity: 0; } }
.beam__list { list-style: none; margin: clamp(30px, 5vw, 70px) auto 0; padding: 0 20px; display: grid; gap: clamp(34px, 5vw, 70px); max-width: 640px; position: relative; z-index: 1; perspective: 1000px; }
.beam__card { position: relative; border-radius: 22px; padding: 22px 24px 24px; isolation: isolate; transform: rotateZ(calc(var(--r) * (.4 + var(--k, 0) * 1.2))) rotateX(calc(var(--k, 0) * 10deg)) translateX(calc(var(--k, 0) * var(--sh, 0px))); transition: rotate .5s var(--ease); }
.beam__card:nth-child(odd) { --sh: -60px; } .beam__card:nth-child(even) { --sh: 60px; }
.beam__card::before { content: ''; position: absolute; left: 12%; right: 12%; top: -34px; height: 72px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--glow-hot) / .85), rgb(var(--glow) / .45) 45%, transparent); }
.beam__card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgb(var(--glow) / .14), transparent 40%); }
.beam__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.beam__top h3 { font-size: clamp(21px, 2.2vw, 28px); font-weight: var(--h-weight, 500); }
.beam__ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, rgb(var(--glow) / .6), rgb(var(--glow-2) / .25)); border: 1px solid rgb(var(--glow-hot) / .4); box-shadow: 0 0 22px rgb(var(--glow) / .35); }
.beam__ic svg { width: 22px; height: 22px; }
.beam__card p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.beam__card p b { font: 500 12px var(--font-mono); color: var(--accent-text); margin-right: 6px; }

/* ref 11 · eclipse contact */
.cta { min-height: max(100svh, 780px); align-items: center; }
.cta__in { padding-block: clamp(120px, 16vh, 180px) 90px; position: relative; z-index: 2; }
.ecl { position: absolute; left: 50%; top: 44%; width: min(66vw, 640px); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; z-index: 0; --ang: -40deg; }
.ecl i { position: absolute; inset: 0; border-radius: 50%; display: block; }
.ecl__ring { inset: -20% !important; border: 1px solid rgb(var(--glow) / .3); -webkit-mask: conic-gradient(from calc(var(--ang) - 90deg), transparent, #000 90deg, transparent 180deg); mask: conic-gradient(from calc(var(--ang) - 90deg), transparent, #000 90deg, transparent 180deg); }
.ecl__ring--2 { inset: -48% !important; opacity: .55; }
.ecl__bloom { inset: -30% !important; background: conic-gradient(from calc(var(--ang) - 70deg), transparent, rgb(var(--glow) / .55) 70deg, transparent 140deg); filter: blur(50px); opacity: .9;
  -webkit-mask: radial-gradient(closest-side, transparent 30%, #000 55%, transparent); mask: radial-gradient(closest-side, transparent 30%, #000 55%, transparent); }
.ecl__disc { rotate: var(--ang); background: radial-gradient(circle at 50% -8%, rgb(var(--glow) / .22), transparent 42%), radial-gradient(circle at 50% 50%, rgb(var(--bg-rgb)) 66%, rgb(var(--bg-rgb) / .9)); box-shadow: inset 0 0 50px rgb(var(--bg-rgb)); }
.ecl__rim { inset: -1% !important; background: conic-gradient(from calc(var(--ang) - 80deg), transparent, rgb(var(--glow) / .8) 50deg, rgb(var(--glow-hot)) 80deg, rgb(var(--glow) / .8) 110deg, transparent 160deg);
  -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 98%, transparent); mask: radial-gradient(closest-side, transparent 96%, #000 98%, transparent); filter: drop-shadow(0 0 10px rgb(var(--glow))); }
.cta h2.cta__word { max-width: none; margin: 18px auto 0; font-size: clamp(74px, 15vw, 250px); line-height: .86; padding-bottom: .06em;
  background: linear-gradient(180deg, rgb(var(--glow-hot)) 8%, var(--title-ink) 46%, rgb(var(--glow)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgb(var(--glow) / .3)); }
.cta__word span { -webkit-text-fill-color: rgb(var(--glow)); }
.cta__sub { font-size: clamp(17px, 1.6vw, 22px); color: var(--ink-2); margin: 14px auto 0; max-width: 34ch; }
.cta__chips { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.chip { position: absolute; left: var(--x); top: var(--y); transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; font-size: 13px; display: flex; gap: 8px; align-items: center; white-space: nowrap; color: var(--ink); }
.chip small { color: var(--ink-3); } .chip .logo-mark { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .graphs, .kit__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .gr:nth-child(n) { margin-top: 0; }
  .venn__head { grid-template-columns: 1fr; }
  .venn { grid-template-columns: 1fr; }
  .venn__fig { order: -1; width: min(100%, 520px); margin: 0 auto; }
  .venn__chips { grid-template-columns: 1fr 1fr; }
  .venn__chips li:nth-child(n) { margin: 0; }
  .kit__head { flex-direction: column; align-items: start; }
  .kit__card { min-height: 380px; }
  .beam__card:nth-child(n) { --sh: 0px; }
  .chip:nth-child(2), .chip:nth-child(3) { display: none; }
  .chip:nth-child(1) { --x: 28% !important; --y: 10% !important; } .chip:nth-child(4) { --x: 72% !important; --y: 15% !important; }
  .slot3d--films { width: 92px; top: auto; bottom: 6px; right: 6px; }
  .garc__stage { height: auto; }
  .garc__tiles { position: relative; inset: auto; height: 300px; margin: 0 4vw; }
  .garc__in { position: relative; left: auto; bottom: auto; translate: none; margin: 10px auto 0; }
  .slot3d--beam { position: relative; margin: 6px auto -6px; width: 132px; height: 132px; top: auto; left: auto; }
}
@media (max-width: 520px) {
  .venn__chips { grid-template-columns: 1fr; }
  .gr__n { font-size: 76px; }
}

/* ── v4 · Wabi-Sabi polish (Vercel Web Interface Guidelines pass) ── */
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--btn-bg-c); color: var(--btn-ink-c); font-size: 14px; transition: top .2s; }
.skip:focus-visible { top: 12px; }
section[id], [id$="-title"] { scroll-margin-top: 88px; }
h1, h2, h3, .kit__head p, .sec__aside { text-wrap: balance; }
p { text-wrap: pretty; }
.gr__n, .stat__v, .svc__count, .films__now, .gr__probe, .ld__num { font-variant-numeric: tabular-nums; }
a, button, .btn, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tm__mark { display: inline-block; color: rgb(var(--glow) / .9); text-shadow: 0 0 18px rgb(var(--glow) / .55); }
@media (pointer: fine) { html { overscroll-behavior: none; } }/* name captions near the edges stay on screen */
.tm__ch:nth-last-child(-n+2) .tm__fig em { left: auto; right: -8%; transform: translateY(12px); }
.tm__ch:nth-child(-n+2) .tm__fig em { left: -8%; transform: translateY(12px); }