/* R. N. Electronics — light luxury design system
   Layout: pearl canvas with porcelain surfaces on a 12-column grid (max 1320px); 3D studio
   objects sit on white plinths with champagne rims. One signature: a fine sapphire signal
   line that threads the page (scroll progress, section seams, page transitions). */
:root {
  color-scheme: light;
  --bg: #f4f6f9;
  --bg-2: #ffffff;
  --bg-3: #eaeef3;
  --bg-4: #dfe5ed;
  --ink: #0d1728;
  --ink-2: #46536a;
  --ink-3: #7b879a;
  --line: rgba(13, 23, 40, .08);
  --line-2: rgba(13, 23, 40, .15);
  --sapphire: #2a5bf0;
  --sapphire-2: #1d44c4;
  --sapphire-soft: rgba(42, 91, 240, .08);
  --champ: #b08d57;
  --champ-2: #dcc8a4;
  --champ-ink: #85663a;
  --led: #12a173;
  --amber: #9a5f12;
  --amber-bg: #fbf3e4;
  --danger: #c2413b;
  --on-ink: #ffffff;

  --sh-1: 0 1px 2px rgba(13, 23, 40, .05), 0 6px 16px -8px rgba(13, 23, 40, .10);
  --sh-2: 0 2px 6px rgba(13, 23, 40, .04), 0 24px 48px -24px rgba(13, 23, 40, .22);
  --sh-3: 0 4px 10px rgba(13, 23, 40, .04), 0 40px 90px -36px rgba(13, 23, 40, .32);
  /* porcelain surfaces: top-lit face, bevelled edge, cool layered shadow with a warm bounce */
  --porcelain: linear-gradient(180deg, #ffffff 0%, #fcfdfe 46%, #f4f6fa 100%);
  --bevel: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(13, 23, 40, .045), inset 0 0 0 1px rgba(13, 23, 40, .06);
  --lift-1: 0 1px 1px rgba(13, 23, 40, .04), 0 8px 18px -10px rgba(28, 40, 72, .18), 0 26px 52px -30px rgba(28, 40, 72, .26);
  --lift-2: 0 2px 2px rgba(13, 23, 40, .035), 0 16px 32px -16px rgba(28, 40, 72, .2), 0 50px 90px -44px rgba(28, 40, 72, .34), 0 38px 60px -50px rgba(176, 141, 87, .4);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.375rem;
  --fs-xl: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem);
  --fs-2xl: clamp(2rem, 1.35rem + 2.5vw, 3.4rem);
  --fs-3xl: clamp(2.4rem, 1.5rem + 3.6vw, 5rem);
  --fs-hero: clamp(2.7rem, .9rem + 6.6vw, 7rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f2f4f8; color: var(--ink); font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 140; opacity: .035; 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 type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.lock { overflow: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(42, 91, 240, .18); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-stretch: 110%; font-weight: 650; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: calc(var(--safe-top) + 12px); }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: clamp(4.5rem, 9vw, 9rem); }
.sec--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.sec--white { background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .4)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(13, 23, 40, .04); }
.sec--mist { background: linear-gradient(180deg, rgba(226, 231, 239, .6), rgba(244, 246, 249, 0)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--champ-ink); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--champ)); }
.eyebrow--plain::before { display: none; }
.h-2xl { font-size: var(--fs-2xl); }
.h-3xl { font-size: var(--fs-3xl); }
.h-xl { font-size: var(--fs-xl); letter-spacing: -.02em; }
.thin { font-weight: 300; font-stretch: 120%; }
.lede { font-size: var(--fs-md); color: var(--ink-2); max-width: 60ch; line-height: 1.7; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.mono { font-family: var(--f-mono); font-size: var(--fs-sm); letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; }
.sel { user-select: all; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 4.2rem); }
.sec-head > * { min-width: 0; }
.sec-head .lede { justify-self: end; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lede { justify-self: start; } }
.seam { position: absolute; left: 0; right: 0; top: 0; height: 1px; overflow: hidden; pointer-events: none; }
.seam::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.seam::after { content: ""; position: absolute; top: 0; height: 1px; width: 180px; left: -180px; background: linear-gradient(90deg, transparent, var(--sapphire), transparent); opacity: 0; }
.seam.is-in::after { animation: seam-pulse 2.8s var(--ease-io) .3s 1 forwards; }
@keyframes seam-pulse { 0% { left: -180px; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); opacity: .7; }

/* ---------- verification markers ---------- */
.flag { display: inline-flex; align-items: center; gap: .35em; vertical-align: middle; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: var(--amber-bg); border: 1px solid rgba(154, 95, 18, .22); border-radius: 999px; padding: 1px 8px; line-height: 1.7; white-space: nowrap; cursor: help; font-weight: 500; }
.flag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.preview-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; padding: 8px var(--gutter); background: var(--amber-bg); border-bottom: 1px solid rgba(154, 95, 18, .15); color: #6d4a17; font-size: var(--fs-xs); font-family: var(--f-mono); letter-spacing: .03em; text-align: center; }
.preview-bar .long { display: inline; } .preview-bar .short { display: none; }
@media (max-width: 700px) { .preview-bar .long { display: none; } .preview-bar .short { display: inline; } }
@media (max-width: 520px) { .preview-bar { font-size: 10.5px; padding-block: 6px; } }
.preview-bar a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
body.has-preview .nav { top: calc(var(--safe-top) + var(--pb, 36px) + 10px); }
body.has-preview .nav.is-compact { top: calc(var(--safe-top) + 10px); }
body.has-preview .mmenu { padding-top: calc(var(--safe-top) + var(--pb, 0px) + 104px); }

/* ---------- buttons ---------- */
.btn { --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 1.5em; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .005em; white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn > .btn__in { display: inline-flex; align-items: center; gap: .6em; transition: transform .35s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--ink); color: var(--on-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 14px 30px -14px rgba(13, 23, 40, .6); }
.btn--primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(140px circle at var(--mx) var(--my), rgba(90, 130, 255, .55), transparent 65%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(220, 200, 164, .45), transparent); transform: skewX(-18deg); transition: left .8s var(--ease); z-index: -1; }
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 0 0 4px rgba(42, 91, 240, .12), 0 20px 40px -16px rgba(13, 23, 40, .6); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { left: 120%; }
.btn--glass { color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--sh-1); }
.btn--glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(140px circle at var(--mx) var(--my), rgba(42, 91, 240, .12), transparent 65%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn--glass:hover { border-color: rgba(42, 91, 240, .4); }
.btn--glass:hover::before { opacity: 1; }
.btn--gold { background: linear-gradient(135deg, #e4d2b0, #c5a46f 55%, #b08d57); color: #2a1f0e; box-shadow: 0 14px 30px -14px rgba(176, 141, 87, .8); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-busy .btn__in { opacity: 0; }
.btn.is-busy::after { content: ""; position: absolute; left: calc(50% - 10px); top: calc(50% - 10px); width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; transform: none; background: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { position: relative; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--ink); }
.link::after { content: ""; position: absolute; left: 0; right: 1.4em; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link--sig { color: var(--sapphire); }
.link--gold { color: var(--champ-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- surfaces ---------- */
.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .64)); border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--r-lg); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(13, 23, 40, .06), inset 0 -22px 34px -30px rgba(28, 40, 72, .16), var(--lift-2); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; pointer-events: none; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(42, 91, 240, 0), var(--sapphire) 70%, var(--champ)); }
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(13, 23, 40, .35); transform: translate3d(-100px, -100px, 0); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .3s, background-color .3s; }
.cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--sapphire); }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(176, 141, 87, .7); background: rgba(176, 141, 87, .06); }
.cursor.is-drag { width: 76px; height: 76px; margin: -38px 0 0 -38px; border-color: rgba(42, 91, 240, .5); }
.cursor.is-drag::before { content: "DRAG"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; color: var(--sapphire); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- navigation ---------- */
.nav { position: fixed; z-index: 100; left: 50%; top: calc(var(--safe-top) + 14px); transform: translateX(-50%); width: min(calc(100% - 24px), 1240px); height: var(--nav-h); display: flex; align-items: center; gap: 1rem; padding: 0 8px 0 20px; border-radius: 999px; border: 1px solid transparent; transition: top .45s var(--ease), height .45s var(--ease), background-color .45s, border-color .45s, box-shadow .45s, width .45s var(--ease); }
.nav.is-compact { --nav-h: 58px; top: calc(var(--safe-top) + 10px); background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); width: min(calc(100% - 24px), 1160px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--f-display); font-stretch: 122%; font-weight: 750; font-size: 1.04rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand__name b { font-weight: 750; color: var(--champ); }
.brand__sub { font-family: var(--f-mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .nav .brand__sub { display: none; } }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 9px 13px; font-size: .9rem; color: var(--ink-2); border-radius: 999px; transition: color .25s, background-color .25s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); background: rgba(13, 23, 40, .04); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__ind { position: absolute; bottom: 4px; left: 0; height: 2px; width: 20px; border-radius: 2px; background: linear-gradient(90deg, var(--sapphire), var(--champ)); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; pointer-events: none; }
.nav__cta { margin-left: .5rem; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; margin-left: auto; position: relative; flex: none; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line); }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }
@media (max-width: 1140px) { .nav__links a { padding: 9px 9px; font-size: .86rem; } }
@media (max-width: 1040px) { .nav__links, .nav__cta { display: none; } .burger { display: block; } .nav { padding-left: 16px; padding-right: 6px; } }

.mmenu { position: fixed; inset: 0; z-index: 95; background: rgba(244, 246, 249, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: calc(var(--safe-top) + 100px) var(--gutter) calc(var(--safe-bot) + 28px); clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease-io); visibility: hidden; overflow-y: auto; }
.mmenu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; font-family: var(--f-display); font-stretch: 115%; font-weight: 600; font-size: clamp(1.7rem, 7.6vw, 2.5rem); letter-spacing: -.02em; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s; }
.mmenu nav a small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--champ-ink); font-weight: 400; }
.mmenu nav a[aria-current="page"] { color: var(--sapphire); }
.mmenu.is-open nav a { opacity: 1; transform: none; }
.mmenu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; color: var(--ink-2); font-size: var(--fs-sm); }

/* ---------- page transition ---------- */
.tx { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; }
.tx__veil { position: absolute; inset: 0; background: var(--bg); opacity: 0; }
.tx__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--sapphire), var(--champ), transparent); transform: scaleX(0); }
.tx__pulse { position: absolute; top: calc(50% - 3px); left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--sapphire); box-shadow: 0 0 14px 3px rgba(42, 91, 240, .45); opacity: 0; }
.tx__mark { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; opacity: 0; transform: scale(.7); }
.tx.is-on { visibility: visible; pointer-events: all; }
.tx.is-on .tx__veil { animation: tx-veil .26s var(--ease) forwards; }
.tx.is-on .tx__line { animation: tx-line .34s var(--ease) .08s forwards; }
.tx.is-on .tx__pulse { animation: tx-pulse .42s var(--ease-io) .14s forwards; }
.tx.is-on .tx__mark { animation: tx-mark .3s var(--ease) .3s forwards; }
.tx.is-out { visibility: visible; }
.tx.is-out .tx__veil { opacity: 1; animation: tx-out .45s var(--ease) forwards; }
.tx.is-out .tx__line { transform: scaleX(1); animation: tx-line-out .35s var(--ease) forwards; }
.tx.is-out .tx__mark { opacity: 1; transform: scale(1); animation: tx-mark-out .25s var(--ease) forwards; }
@keyframes tx-veil { to { opacity: 1; } }
@keyframes tx-line { to { transform: scaleX(1); } }
@keyframes tx-pulse { 0% { left: 0; opacity: 1; } 100% { left: calc(50% - 3px); opacity: 1; } }
@keyframes tx-mark { to { opacity: 1; transform: scale(1); } }
@keyframes tx-out { to { opacity: 0; } }
@keyframes tx-line-out { to { transform: scaleY(0) scaleX(1.05); opacity: 0; } }
@keyframes tx-mark-out { to { opacity: 0; transform: scale(1.15); } }

/* ---------- reveal system ---------- */
.js-motion [data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js-motion [data-reveal].pre { opacity: 0; transform: translate3d(0, 28px, 0); }
.js-motion [data-reveal="fade"].pre { transform: none; }
.js-motion [data-reveal="scale"].pre { transform: scale(.95); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.js-motion .split.pre .w > span { transform: translate3d(0, 105%, 0); opacity: 0; }

/* ---------- 3D viewer ---------- */
.viewer { position: relative; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(70% 60% at 50% 38%, #ffffff, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #f9fafc, var(--bg-3)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 #fff, var(--sh-2); isolation: isolate; min-height: 260px; }
.viewer--bare { background: none; border: 0; box-shadow: none; border-radius: 0; min-height: 0; overflow: visible; }
.viewer--bare canvas { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%), radial-gradient(closest-side, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%); }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.viewer.is-ready canvas { opacity: 1; }
.viewer__fallback { position: absolute; inset: 12% 10%; display: grid; place-items: center; }
.viewer.is-ready .viewer__fallback { display: none; }
.viewer__hots { position: absolute; inset: 0; pointer-events: none; }
.hot { position: absolute; left: 0; top: 0; width: 0; height: 0; transition: opacity .35s var(--ease); will-change: transform; }
.hot__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(42, 91, 240, .45), 0 2px 8px rgba(13, 23, 40, .25); flex: none; }
.hot__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sapphire); }
.hot__dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(42, 91, 240, .4); animation: ping 2.6s var(--ease) infinite; }
.hot__lab { position: absolute; left: 14px; top: -12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .88); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; white-space: nowrap; box-shadow: var(--sh-1); backdrop-filter: blur(8px); }
.hot.is-off { opacity: 0; }
.hot.is-left .hot__lab { left: auto; right: 14px; }
@media (max-width: 640px) { .hot__lab { display: none; } }
@media (max-width: 480px) { .viewer__hint { display: none; } .viewer__ctrl button { width: 44px; height: 44px; } }
.viewer__ctrl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.viewer__ctrl button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); color: var(--ink-2); transition: color .2s, transform .3s var(--ease); }
.viewer__ctrl button:hover { color: var(--sapphire); transform: translateY(-2px); }
.viewer__ctrl button[aria-pressed="true"] { color: var(--sapphire); }
.viewer__ctrl svg { width: 17px; height: 17px; }
.viewer__hint { position: absolute; left: 14px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.viewer__hint i { width: 22px; height: 1px; background: var(--champ); position: relative; }
.viewer__hint i::before, .viewer__hint i::after { content: ""; position: absolute; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--champ); border-left: 1px solid var(--champ); }
.viewer__hint i::before { left: -1px; transform: rotate(-45deg); } .viewer__hint i::after { right: -1px; transform: rotate(135deg); }
.viewer__tag { position: absolute; left: 14px; top: 14px; }
.band__model > .viewer, .phead__model > .viewer, .login__art > .viewer { position: absolute; inset: 0; min-height: 0; }
.hot.is-crowd .hot__lab { opacity: 0; }
.hot__lab { transition: opacity .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--pb, 0px)); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
@supports (min-height: 100svh) { .hero { min-height: calc(100svh - var(--pb, 0px)); } }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(1000px 700px at 76% 42%, rgba(42, 91, 240, .10), transparent 62%), radial-gradient(800px 520px at 8% 100%, rgba(176, 141, 87, .12), transparent 60%), linear-gradient(180deg, rgba(250, 251, 252, .55), rgba(244, 246, 249, 0)); }
.hero__bg .grid-bg { opacity: .9; mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 65%); }
.hero__halo { position: absolute; right: -6vw; top: 50%; width: min(70vw, 900px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(176, 141, 87, .22); pointer-events: none; z-index: -2; }
.hero__halo::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(13, 23, 40, .08); }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__stage.is-ready canvas { opacity: 1; }
@media (min-width: 901px) and (max-width: 1280px) { .hero__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(244, 246, 249, .9) 0%, rgba(244, 246, 249, .6) 34%, rgba(244, 246, 249, 0) 58%); } }
.hero__fallback { position: absolute; right: 4%; top: 50%; width: min(52vw, 720px); transform: translateY(-50%); }
.hero__stage.is-ready .hero__fallback { display: none; }
.hero__inner { position: relative; width: 100%; padding-top: calc(var(--nav-h) + 64px); padding-bottom: 104px; }
.hero__content { max-width: 720px; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__eyebrow .live { display: inline-flex; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 4px rgba(18, 161, 115, .15); animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero__title { font-size: var(--fs-hero); font-stretch: 118%; font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.hero__title .l1 { display: block; color: var(--ink); }
.hero__title .l2 { display: block; font-weight: 300; font-stretch: 125%; letter-spacing: -.035em; padding-bottom: .08em; }
.hero__title .l1, .hero__title .l2 { white-space: nowrap; perspective: 700px; }
@property --s { syntax: "<number>"; inherits: true; initial-value: .1; }
.hero__title .ch { display: inline-block; transform-origin: 50% 85%; translate: 0 calc(var(--w, 0) * -.05em); transition: translate .45s var(--ease), font-weight .45s var(--ease); opacity: 0; }
.hero__title.is-on .ch { animation: chin 1.15s var(--ease) both; animation-delay: calc(.12s + var(--i) * 55ms); }
.hero__title.is-still .ch { opacity: 1; animation: none; }
@keyframes chin { from { opacity: 0; transform: translateY(.6em) rotateX(-80deg); filter: blur(7px); } 55% { filter: blur(0); } to { opacity: 1; transform: none; filter: none; } }
/* the two full stops in "R. N." are sapphire status lights */
.hero__title .ch--dot { color: var(--sapphire); text-shadow: 0 0 .22em rgba(42, 91, 240, .45); }
.hero__title.is-on .ch--dot { animation: chin 1.15s var(--ease) both calc(.12s + var(--i) * 55ms), ledglow 3.2s ease-in-out calc(1.8s + var(--i) * .25s) infinite; }
@keyframes ledglow { 0%, 100% { text-shadow: 0 0 .22em rgba(42, 91, 240, .45); color: var(--sapphire); } 50% { text-shadow: 0 0 .5em rgba(42, 91, 240, .85), 0 0 .12em rgba(255, 255, 255, .9); color: #4d7bff; } }
/* "Electronics": one gradient across the word (each letter shows its slice) plus a sweeping light */
.hero__title .l2 { --W: 6em; --wd: 380; animation: sheen 7.5s var(--ease-io) 2.2s infinite; }
.hero__title .l2 .ch { color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; font-weight: calc(300 + var(--w, 0) * var(--wd));
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .95) 48%, rgba(220, 200, 164, .6) 52%, rgba(255, 255, 255, 0) 60%), linear-gradient(100deg, #0d1728 0%, #2a5bf0 48%, #b08d57 100%);
  background-size: calc(var(--W) * 2.4) 100%, var(--W) 100%; background-position: calc(var(--s) * var(--W) - var(--x, 0px)) 0, calc(0px - var(--x, 0px)) 0; }
@keyframes sheen { 0% { --s: .1; } 24% { --s: -1.4; } 100% { --s: -1.4; } }
.hero__title .l1 .ch:not(.ch--dot) { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 calc(14px + var(--w, 0) * 10px) 34px rgba(28, 40, 72, calc(.12 + var(--w, 0) * .1)); }
@media (max-width: 600px) { .hero__title .l2 { --wd: 120; } }
@media (prefers-reduced-motion: reduce) { .hero__title .ch { opacity: 1; animation: none !important; } .hero__title .l2 { animation: none; } }
/* hero showcase caption: follows the plinth, names the piece on show, progress + jump buttons */
.hshow { position: absolute; left: 0; top: 0; z-index: 3; display: grid; justify-items: center; gap: .55rem; text-align: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; transform: translate3d(var(--ax, -999px), var(--ay, -999px), 0); }
.hshow.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.hshow__meta { display: flex; align-items: baseline; gap: .45rem; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.hshow__idx { color: var(--sapphire); font-weight: 500; }
.hshow__cat { color: var(--champ-ink); }
.hshow__cat::before { content: "·"; margin-right: .45rem; color: var(--ink-3); }
.hshow__name { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-display); font-stretch: 108%; font-weight: 620; font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; padding: .15rem .2rem; }
.hshow__name svg { width: 18px; height: 18px; color: var(--sapphire); transition: transform .4s var(--ease); }
.hshow__name:hover svg { transform: translateX(4px); }
.hshow__name:hover span { background: linear-gradient(90deg, var(--sapphire), var(--champ)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hshow.is-swap .hshow__meta, .hshow.is-swap .hshow__name { animation: hsin .8s var(--ease) both; }
.hshow.is-swap .hshow__name { animation-delay: .08s; }
@keyframes hsin { from { opacity: 0; transform: translateY(12px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
.hshow__dots { display: flex; align-items: center; gap: 2px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(13, 23, 40, .06), 0 8px 20px -12px rgba(28, 40, 72, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hshow__dots button { width: 22px; height: 26px; display: grid; place-items: center; border-radius: 999px; transition: width .5s var(--ease); }
.hshow__dots button i { position: relative; display: block; width: 7px; height: 7px; border-radius: 999px; background: rgba(13, 23, 40, .22); overflow: hidden; transition: width .5s var(--ease), background .3s; }
.hshow__dots button:hover i { background: rgba(42, 91, 240, .55); }
.hshow__dots button[aria-current="true"] { width: 46px; }
.hshow__dots button[aria-current="true"] i { width: 34px; background: rgba(42, 91, 240, .16); }
.hshow__dots button[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--champ), var(--sapphire)); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.hshow.is-paused .hshow__dots button[aria-current="true"] i::after { background: var(--sapphire); }
.hshow__dots button:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 1px; }
/* mid-size screens: a 'now showing' badge in the top-right corner, clear of the text and buttons */
.hshow.is-corner { justify-items: end; text-align: right; }
.hshow.is-compact { gap: .3rem; }
.hshow.is-compact .hshow__meta { display: none; }
.hshow.is-compact .hshow__name { font-size: 1rem; }
.hshow.is-narrow { gap: .3rem; }
.hshow.is-narrow .hshow__meta { display: none; }
.hshow.is-narrow .hshow__name { font-size: .98rem; }
.hshow.is-narrow .hshow__dots button { width: 18px; height: 24px; }
.hshow.is-narrow .hshow__dots button[aria-current="true"] { width: 40px; }
.hshow.is-narrow .hshow__dots button[aria-current="true"] i { width: 28px; }
@media (max-width: 900px) { .hero .hero__inner { padding-top: calc(51vh + 64px); } }
.hero__tag { margin-top: 1.4rem; font-family: var(--f-mono); font-size: clamp(.7rem, .64rem + .3vw, .84rem); letter-spacing: .22em; text-transform: uppercase; color: var(--champ-ink); }
.hero__line { margin-top: 1.1rem; font-family: var(--f-display); font-stretch: 105%; font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); letter-spacing: -.015em; line-height: 1.2; max-width: 22ch; }
.hero__sub { margin-top: 1rem; color: var(--ink-2); max-width: 52ch; font-size: var(--fs-md); }
.hero__ctas { margin-top: 1.9rem; }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 26px; }
.hero__meta .wrap { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.hero__status { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero__status b { color: var(--ink-2); font-weight: 500; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--ink-3); }
.dot--on { background: var(--led); box-shadow: 0 0 0 3px rgba(18, 161, 115, .15); }
.dot--off { background: #d4932e; }
.scrollcue { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.scrollcue i { position: relative; width: 1px; height: 42px; background: var(--line-2); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--sapphire); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero__inner { padding-top: 51vh; padding-bottom: 96px; }
  .hero__stage::after { content: ""; position: absolute; inset: 44% 0 0 0; background: linear-gradient(180deg, rgba(244, 246, 249, 0), rgba(244, 246, 249, .92) 38%, var(--bg)); }
  .hero__fallback { right: 50%; top: 24%; transform: translate(50%, -50%); width: 92vw; }
  .hero__halo { right: -30vw; top: 22%; width: 120vw; }
  .scrollcue { display: none; }
  .hero__meta { bottom: 18px; }
}

/* ---------- intro statement ---------- */
.intro { padding-block: clamp(4rem, 8vw, 8rem) clamp(3rem, 6vw, 6rem); }
.statement { font-family: var(--f-display); font-stretch: 110%; font-weight: 500; font-size: clamp(1.55rem, 1rem + 2.5vw, 3.2rem); line-height: 1.14; letter-spacing: -.028em; max-width: 25ch; }
.statement .sw { color: rgba(13, 23, 40, .14); transition: color .5s var(--ease); }
.statement .sw.lit { color: var(--ink); }
.statement .sw.hi.lit { color: var(--sapphire); }
.brandstrip { margin-top: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--line); padding-block: 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; }
.brandstrip__label { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.4rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--f-display); font-stretch: 122%; font-weight: 300; font-size: 1.45rem; color: var(--ink-2); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.4rem; }
.marquee__item::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--champ); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .brandstrip { grid-template-columns: 1fr; gap: 1rem; } .brandstrip__label { flex-direction: row; align-items: center; flex-wrap: wrap; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about__copy > * + * { margin-top: 1.2rem; }
.about__copy p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-md); max-width: 56ch; }
.about__net { position: absolute; inset: 0; z-index: -1; opacity: .8; pointer-events: none; width: 100%; height: 100%; }
.nameplate { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); overflow: hidden; }
.nameplate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--champ-2), var(--champ), var(--champ-2)); }
.nameplate__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); margin-bottom: .4rem; }
.nameplate__head .mono { color: var(--champ-ink); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.screws { display: flex; gap: 6px; }
.screws i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #c9ced6 55%, #8a94a2); position: relative; box-shadow: 0 1px 2px rgba(13, 23, 40, .2); }
.screws i::after { content: ""; position: absolute; left: 1px; right: 1px; top: 4.5px; height: 1px; background: #6e7889; transform: rotate(35deg); }
.factrow { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.factrow:last-child { border-bottom: 0; }
.factrow dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.factrow dd { margin: 0; color: var(--ink); min-width: 0; }
.factrow dd .flag { margin-left: .5rem; }
.coords { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; margin-top: 1.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .factrow { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; grid-column: span 4; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 70% at 50% 30%, #fff, rgba(255, 255, 255, 0) 70%), linear-gradient(170deg, #fbfcfd, var(--bg-3)); border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .35s, box-shadow .5s var(--ease); isolation: isolate; }
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 6; min-height: 380px; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(42, 91, 240, .08), transparent 55%); opacity: 0; transition: opacity .4s; z-index: -1; }
.tile:hover { border-color: rgba(176, 141, 87, .45); box-shadow: var(--sh-3); }
.tile:hover::before { opacity: 1; }
.tile__art { position: absolute; inset: 0 0 34% 0; display: grid; place-items: center; padding: 1.2rem 1.5rem 0; transition: transform .8s var(--ease); z-index: -1; }
.tile__art svg { width: 100%; height: 100%; max-height: 230px; }
.tile:hover .tile__art { transform: translate3d(calc(var(--ry) * -1.2px), -6px, 0) scale(1.04); }
.tile__meta { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.tile h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.tile p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: .4rem; max-width: 40ch; }
.tile__count { font-family: var(--f-mono); font-size: 11px; color: var(--champ-ink); letter-spacing: .1em; white-space: nowrap; }
.tile__go { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .8); display: grid; place-items: center; transition: background .3s, color .3s, transform .45s var(--ease), border-color .3s; }
.tile__go svg { width: 16px; height: 16px; }
.tile:hover .tile__go { background: var(--ink); color: #fff; transform: rotate(-45deg); border-color: var(--ink); }
.tile .flag { position: absolute; top: 1.3rem; left: 1.3rem; }
@media (max-width: 1024px) { .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 6; } }
@media (max-width: 640px) { .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 12; min-height: 280px; } }

/* ---------- product studio (home) ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 360px); gap: 16px; align-items: stretch; }
.studio__rail { display: flex; flex-direction: column; gap: 6px; }
.studio__rail button { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .8rem; align-items: center; text-align: left; padding: .6rem .7rem; border-radius: 14px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.studio__rail button:hover { background: rgba(255, 255, 255, .7); }
.studio__rail button[aria-selected="true"] { background: #fff; border-color: rgba(176, 141, 87, .4); box-shadow: var(--sh-1); }
.studio__rail .ico { width: 44px; height: 36px; border-radius: 10px; background: var(--bg-3); display: grid; place-items: center; padding: 3px; }
.studio__rail .ico svg { width: 100%; height: 100%; }
.studio__rail b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.studio__rail small { display: block; color: var(--ink-3); font-size: 11.5px; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.studio .viewer { min-height: 520px; }
.studio__info { padding: clamp(1.3rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .9rem; }
.studio__info .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--champ-ink); }
.studio__info h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); }
.studio__info p { color: var(--ink-2); font-size: var(--fs-sm); }
.studio__info .cta-row { margin-top: auto; padding-top: .6rem; }
.studio__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.studio__count b { color: var(--ink); font-weight: 500; }
@media (max-width: 1180px) { .studio { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); } .studio__rail { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; } .studio__rail::-webkit-scrollbar { display: none; } .studio__rail button { flex: none; width: 240px; scroll-snap-align: start; background: rgba(255, 255, 255, .6); border-color: var(--line); } }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } .studio .viewer { min-height: 0; aspect-ratio: 1 / .9; } .studio__rail button { width: 210px; } }

.specs { display: grid; gap: 0; margin: .4rem 0 0; }
.specs div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: 13px; }
.specs dt { color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; color: var(--ink); }

/* ---------- solutions explorer ---------- */
.solx { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.solx__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.solx__btn { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; text-align: left; padding: 1.1rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink-3); transition: color .3s, padding .4s var(--ease); position: relative; }
.solx__btn::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--sapphire), var(--champ)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.solx__btn strong { grid-column: 1; font-family: var(--f-display); font-stretch: 110%; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.solx__btn span { grid-column: 1; font-size: var(--fs-sm); color: var(--ink-3); }
.solx__btn svg { width: 18px; height: 18px; grid-column: 2; grid-row: 1 / span 2; align-self: center; opacity: 0; transform: translateX(-6px); transition: .4s var(--ease); }
.solx__btn:hover { color: var(--ink-2); }
.solx__btn[aria-selected="true"] { color: var(--ink); padding-left: .8rem; }
.solx__btn[aria-selected="true"]::before { transform: scaleX(1); }
.solx__btn[aria-selected="true"] svg { opacity: 1; transform: none; color: var(--sapphire); }
.flow { position: relative; padding: clamp(1.4rem, 3vw, 2.4rem); overflow: hidden; }
.flow__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: 1.6rem; }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.flow__wire { position: absolute; left: 0; right: 0; top: 23px; height: 2px; pointer-events: none; }
.flow__wire svg { width: 100%; height: 2px; overflow: visible; }
.flow__wire .wv { display: none; }
.flow__wire .base { stroke: var(--line-2); stroke-width: 1; }
.flow__wire .lit { stroke: var(--sapphire); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.flow.is-run .flow__wire .lit { animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fstep { position: relative; min-width: 0; }
.fstep__node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); margin-bottom: 1rem; position: relative; z-index: 1; transition: border-color .5s, box-shadow .5s; transition-delay: calc(var(--i) * .28s + .1s); }
.fstep__node svg { width: 20px; height: 20px; color: var(--ink-3); transition: color .5s; transition-delay: inherit; }
.flow.is-run .fstep__node { border-color: rgba(42, 91, 240, .55); box-shadow: 0 0 0 5px rgba(42, 91, 240, .07), var(--sh-1); }
.flow.is-run .fstep__node svg { color: var(--sapphire); }
.fstep__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--champ-ink); }
.fstep__v { margin-top: .4rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.fstep--cta .fstep__v { color: var(--ink); }
.fstep__body { opacity: .35; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * .28s + .2s); }
.flow.is-run .fstep__body { opacity: 1; transform: none; }
.flow__prods { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); font-size: var(--fs-sm); color: var(--ink-2); transition: border-color .25s, color .25s, background .25s; }
a.pill:hover { border-color: var(--sapphire); color: var(--ink); background: #fff; }
@media (max-width: 1024px) { .solx { grid-template-columns: 1fr; } .solx__list { flex-direction: row; overflow-x: auto; border: 0; gap: .5rem; scrollbar-width: none; } .solx__list::-webkit-scrollbar { display: none; } .solx__btn { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: .6rem 1rem; display: block; background: rgba(255, 255, 255, .7); } .solx__btn span, .solx__btn svg { display: none; } .solx__btn strong { font-size: .95rem; } .solx__btn[aria-selected="true"] { padding-left: 1rem; border-color: var(--ink); background: var(--ink); color: #fff; } .solx__btn::before { display: none; } }
@media (max-width: 760px) {
  .flow__steps { grid-template-columns: 1fr; gap: 0; }
  .flow__wire { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow__wire .wh { display: none; }
  .flow__wire .wv { display: block; width: 2px; height: 100%; }
  .fstep { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.2rem; }
  .fstep__node { margin: 0; }
}

/* ---------- industries ---------- */
.ind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.ind__list { display: flex; flex-direction: column; }
.ind__item { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; color: var(--ink-3); transition: color .35s; }
.ind__item:first-child { border-top: 1px solid var(--line); }
.ind__item b { font-family: var(--f-display); font-stretch: 115%; font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem); letter-spacing: -.02em; transition: transform .5s var(--ease); }
.ind__item i { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; white-space: nowrap; }
.ind__item.is-on { color: var(--ink); }
.ind__item.is-on b { transform: translateX(10px); font-weight: 650; }
.ind__item.is-on i { color: var(--champ-ink); }
.ind__stage { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 470px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-2); isolation: isolate; }
.ind__bg { position: absolute; inset: 0; z-index: -2; transition: background 1s var(--ease); background: radial-gradient(600px 380px at var(--bx, 70%) var(--by, 30%), var(--bc, rgba(42, 91, 240, .14)), transparent 70%), linear-gradient(180deg, #fff, var(--bg)); }
.ind__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ind__art { position: absolute; right: 6%; top: 8%; width: 44%; max-width: 250px; aspect-ratio: 1; transition: opacity .6s var(--ease), transform .8s var(--ease); color: var(--sapphire); }
.ind__art svg { width: 100%; height: 100%; }
.ind__art.out { opacity: 0; transform: translateY(14px) scale(.96); }
.ind__panel { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.2rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.ind__need { font-size: var(--fs-md); max-width: 40ch; }
.ind__sols { display: flex; flex-wrap: wrap; gap: .5rem; }
.ind__panel > * { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ind__panel.out > * { opacity: 0; transform: translateY(10px); }
@media (max-width: 960px) { .ind { grid-template-columns: 1fr; } .ind__stage { min-height: 470px; order: -1; } .ind__art { width: 30%; top: 6%; right: 6%; } }

/* ---------- infrastructure (sticky 3D) ---------- */
.infra { position: relative; height: 340vh; background: linear-gradient(180deg, rgba(244, 246, 249, 0), rgba(236, 240, 245, .78) 18%, rgba(236, 240, 245, .78) 82%, rgba(244, 246, 249, 0)); }
.infra__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.infra__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.infra__canvas.is-off { display: none; }
.infra__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(244, 246, 249, .9) 0%, rgba(244, 246, 249, .35) 34%, transparent 54%), linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%); }
.infra__head { position: absolute; top: calc(var(--nav-h) + 40px); left: 0; right: 0; pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.infra__title { max-width: 14ch; margin-top: 1rem; }
.infra__intro { margin-top: 1rem; max-width: 34ch; color: var(--ink-2); font-size: var(--fs-sm); }
.infra.is-into .infra__head { opacity: 0; transform: translateY(-18px); }
/* labels pinned to the 3D model */
.infra__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.infra__lab { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .45s var(--ease); will-change: transform; }
.infra__lab::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--sapphire); box-shadow: 0 0 0 4px rgba(42, 91, 240, .14), 0 2px 6px rgba(13, 23, 40, .2); }
.infra__lab::after { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(42, 91, 240, .5); animation: labping 2.4s var(--ease) infinite; }
@keyframes labping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.infra__lab i { position: absolute; left: -.5px; bottom: 7px; width: 1px; height: 0; background: linear-gradient(0deg, rgba(176, 141, 87, .9), rgba(176, 141, 87, .25)); transition: height .5s var(--ease) .05s; }
.infra__lab em { position: absolute; left: 0; bottom: 40px; transform: translate(calc(-50% + var(--sh, 0px)), 8px); font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); padding: 6px 11px; border-radius: 999px; background: linear-gradient(180deg, #fff, #f6f8fb); border: 1px solid rgba(176, 141, 87, .5); white-space: nowrap; box-shadow: var(--bevel), 0 8px 20px -10px rgba(13, 23, 40, .35); transition: transform .55s var(--ease); }
.infra__lab.is-on { opacity: 1; }
.infra__lab.is-on i { height: 33px; }
.infra__lab.is-on em { transform: translate(calc(-50% + var(--sh, 0px)), 0); }
.infra__lab.is-below i { bottom: auto; top: 7px; background: linear-gradient(180deg, rgba(176, 141, 87, .9), rgba(176, 141, 87, .25)); }
.infra__lab.is-below em { bottom: auto; top: 40px; transform: translate(calc(-50% + var(--sh, 0px)), -8px); }
.infra__lab.is-below.is-on em { transform: translate(calc(-50% + var(--sh, 0px)), 0); }
/* route strip and legend */
.infra__hud { position: absolute; top: calc(var(--nav-h) + 26px); right: var(--gutter); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.infra__path { display: flex; align-items: center; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid var(--line); box-shadow: var(--bevel), var(--lift-1); }
.infra__path span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: color .4s, background .4s, box-shadow .4s; }
.infra__path span.is-lit { color: var(--ink); }
.infra__path span.is-cur { color: #fff; background: linear-gradient(180deg, #3a69f5, var(--sapphire-2)); box-shadow: 0 6px 16px -6px rgba(42, 91, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.infra__path i { position: relative; width: 16px; height: 1px; background: var(--line-2); overflow: hidden; flex: none; }
.infra__path i.is-lit { background: linear-gradient(90deg, var(--sapphire), var(--champ)); }
.infra__path i.is-lit::after { content: ""; position: absolute; top: -1px; left: -4px; width: 4px; height: 3px; border-radius: 2px; background: #fff; animation: pathrun 1.6s linear infinite; }
@keyframes pathrun { to { transform: translateX(24px); } }
.infra__legend { display: flex; gap: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.infra__legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sw-f, .sw-e, .sw-c, .sw-w { display: inline-block; flex: none; width: 16px; height: 3px; border-radius: 3px; }
.sw-f { background: #3c6dff; box-shadow: 0 0 6px rgba(60, 109, 255, .6); }
.sw-e { background: #14b37d; box-shadow: 0 0 6px rgba(20, 179, 125, .5); }
.sw-c { background: #d4a548; box-shadow: 0 0 6px rgba(212, 165, 72, .5); }
.sw-w { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 166, 255, .25) 30%, rgba(134, 166, 255, .65) 72%, rgba(42, 91, 240, .9)); }
/* stage panels */
.infra__steps { position: absolute; left: 0; right: 0; bottom: 9vh; }
.infra__panel { position: absolute; left: var(--gutter); bottom: 0; width: min(430px, calc(100% - var(--gutter) * 2)); padding: 1.5rem 1.6rem; opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.infra__panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.infra__panel .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--champ-ink); }
.infra__num { color: var(--sapphire); font-weight: 600; margin-right: .6rem; }
.infra__panel h3 { margin-top: .6rem; font-size: 1.5rem; }
.infra__panel p { margin-top: .5rem; color: var(--ink-2); font-size: var(--fs-sm); }
.infra__panel p.infra__look { display: flex; align-items: baseline; gap: .6rem; margin-top: .85rem; padding: .6rem .75rem; border-radius: 12px; background: rgba(42, 91, 240, .055); border: 1px solid rgba(42, 91, 240, .1); color: var(--ink); font-size: .84rem; line-height: 1.45; }
.infra__look b { transform: translateY(-3px); }
.infra__look .sw-w { transform: translateY(1px); }
.infra__panel .pills { margin-top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.infra__bar { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.infra__bar i { width: 2px; height: 40px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.infra__bar i b { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sapphire), var(--champ)); transform-origin: top; transform: scaleY(var(--k, 0)); }
/* static fallback (no WebGL / reduced motion) */
.infra.infra--static { height: auto; }
.infra--static .infra__sticky { position: relative; height: auto; padding-block: 8rem 4rem; }
.infra--static .infra__head { position: relative; top: 0; opacity: 1; transform: none; }
.infra--static .infra__hud { position: relative; top: 0; right: 0; max-width: var(--maxw); margin: 1.8rem auto 0; padding-inline: var(--gutter); align-items: flex-start; }
.infra--static .infra__path, .infra--static .infra__legend { flex-wrap: wrap; border-radius: 18px; }
.infra--static .infra__steps { position: relative; bottom: 0; margin-top: 2rem; }
.infra--static .infra__wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.infra--static .infra__panel { position: relative; left: 0; width: auto; opacity: 1; transform: none; }
.infra--static .infra__bar, .infra--static .infra__shade, .infra--static .infra__labels { display: none; }
@media (max-width: 1100px) { .infra__legend { display: none; } .infra.infra--static .infra__legend { display: flex; } }
@media (max-width: 760px) {
  .infra { height: 300vh; }
  .infra__shade { background: linear-gradient(180deg, var(--bg) 0%, rgba(244, 246, 249, .5) 14%, transparent 26%, transparent 50%, rgba(244, 246, 249, .94) 68%, var(--bg) 100%); }
  .infra__steps { bottom: 2.5vh; }
  .infra__bar { display: none; }
  .infra__head .h-2xl { font-size: 1.9rem; }
  .infra__hud { left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 14px); align-items: center; transition: opacity .5s; }
  .infra:not(.is-into) .infra__hud { opacity: 0; }
  .infra__path span { font-size: 9.5px; }
  .infra__path span:not(.is-cur) { font-size: 0; padding: 0; width: 7px; height: 7px; margin: 0 4px; background: var(--line-2); }
  .infra__path span.is-lit:not(.is-cur) { background: var(--sapphire); }
  .infra__path i { width: 12px; }
  .infra__panel { padding: 1.1rem 1.15rem; }
  .infra__panel h3 { font-size: 1.25rem; margin-top: .4rem; }
  .infra__panel p { display: none; }
  .infra__panel .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.15rem; padding-inline: 1.15rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.15rem, #000 calc(100% - 1.6rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 1.15rem, #000 calc(100% - 1.6rem), transparent); }
  .infra__panel .pills::-webkit-scrollbar { display: none; }
  .infra__panel .pill { flex: none; font-size: .8rem; padding: 5px 11px; }
  .infra__panel p.infra__look { display: flex; font-size: .8rem; margin-top: .6rem; padding: .5rem .6rem; }
  .infra__panel .pills { margin-top: .7rem; }
  .infra__lab em { font-size: 9.5px; padding: 5px 9px; bottom: 34px; }
  .infra__lab.is-below em { top: 34px; }
  .infra.is-into .infra__lab.is-on i { height: 27px; }
  .infra--static .infra__hud { align-items: flex-start; }
  .infra--static .infra__path span:not(.is-cur) { font-size: 9.5px; padding: 6px 10px; width: auto; height: auto; margin: 0; background: none; }
  .infra.infra--static .infra__hud { opacity: 1; }
  .infra--static .infra__panel p:not(.infra__look) { display: block; }
  .infra--static .infra__panel .pills { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why__cell { --gx: 50%; --gy: 50%; position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); min-height: 240px; display: flex; flex-direction: column; gap: .8rem; overflow: hidden; transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.why__cell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(176, 141, 87, .1), transparent 60%); opacity: 0; transition: opacity .4s; }
.why__cell:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.why__cell:hover::before { opacity: 1; }
.why__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--sapphire); background: linear-gradient(180deg, #fff, var(--bg-3)); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); margin-bottom: auto; position: relative; }
.why__icon svg { width: 22px; height: 22px; }
.why__cell h3 { font-size: 1.25rem; margin-top: 1.4rem; position: relative; }
.why__cell p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 38ch; position: relative; }
.why__cell .flag { position: absolute; top: 1.2rem; right: 1.2rem; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } .why__cell { min-height: 0; } }

/* ---------- use cases / projects ---------- */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .4s, transform .5s var(--ease); }
.use:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.use__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(500px 260px at 70% 20%, rgba(42, 91, 240, .12), transparent 70%), linear-gradient(180deg, #fff, var(--bg-3)); display: grid; place-items: center; color: var(--sapphire); }
.use__img svg { width: 56%; height: 76%; transition: transform 1s var(--ease); }
.use:hover .use__img svg { transform: scale(1.06) translateY(-4px); }
.use__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-100%); transition: transform 1.2s var(--ease); }
.use:hover .use__img::after { transform: translateX(100%); }
.use__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.use__ind { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--champ-ink); }
.use__body h3 { font-size: 1.25rem; }
.use__body p { color: var(--ink-2); font-size: var(--fs-sm); }
.use__eq { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .6rem; }
.use__eq span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.casegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); }
.case__img { min-height: 260px; background: var(--bg-3) center / cover; display: grid; place-items: center; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 1.5rem; display: grid; gap: .9rem; }
.case dl { display: grid; gap: .6rem; margin: 0; }
.case dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.case dd { margin: .1rem 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.template { border-style: dashed; border-color: rgba(154, 95, 18, .3); box-shadow: none; background: rgba(255, 255, 255, .6); }
.template .case__img { background: repeating-linear-gradient(135deg, rgba(13, 23, 40, .03) 0 10px, transparent 10px 20px), var(--bg); color: var(--ink-3); font-family: var(--f-mono); font-size: 12px; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; justify-items: start; background: rgba(255, 255, 255, .55); }
.empty h3 { font-size: 1.4rem; }
.empty p { color: var(--ink-2); max-width: 54ch; }
@media (max-width: 1024px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .casegrid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } .case { grid-template-columns: 1fr; } .case__img { min-height: 180px; } }

/* ---------- service journey: a signal line lights each stage in turn ---------- */
@property --ga { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.journey { --p: 0; --pad: clamp(1.4rem, 3vw, 2rem); --gap: 18px; position: relative; }
/* the line runs from the first number to the last, in its own row above the cards, behind the numbers */
.journey__rail { position: absolute; z-index: 0; top: 27px; height: 2px; margin-top: -1px; pointer-events: none; left: calc(var(--pad) + 24px); right: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n) - var(--pad) - 24px); }
.journey__track { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, rgba(176, 141, 87, .55), rgba(176, 141, 87, .4)); }
.journey__fill { position: absolute; inset: 0; border-radius: 2px; transform-origin: left center; transform: scaleX(var(--p)); background: linear-gradient(90deg, #c8a774, #2a5bf0 55%, #7d9bff); box-shadow: 0 0 14px rgba(42, 91, 240, .45); }
.journey__spark { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 110px; height: 4px; margin: -2px 0 0 -110px; border-radius: 4px; background: linear-gradient(90deg, rgba(125, 155, 255, 0), rgba(190, 206, 255, .95)); opacity: 0; }
.journey__spark::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(42, 91, 240, .35), 0 0 20px 5px rgba(42, 91, 240, .55); }
.journey__line { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); height: 76px; pointer-events: none; }
.jnode { position: relative; width: 48px; height: 48px; margin: 3px 0 0 var(--pad); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #ffffff, #eef1f6 72%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(13, 23, 40, .08), 0 0 0 1px rgba(176, 141, 87, .55), 0 10px 20px -8px rgba(28, 40, 72, .38); transition: box-shadow .7s var(--ease), transform .7s var(--ease); }
.jnode b { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 1.05rem; color: var(--champ-ink); transition: color .7s; }
.jnode::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 25px; margin-left: -.5px; background: linear-gradient(rgba(176, 141, 87, .55), rgba(176, 141, 87, 0)); transition: background .7s; }
.jnode.is-lit { transform: scale(1.06); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(13, 23, 40, .08), 0 0 0 1.5px var(--sapphire), 0 0 0 7px rgba(42, 91, 240, .1), 0 12px 24px -8px rgba(42, 91, 240, .45); }
.jnode.is-lit b { color: var(--sapphire); }
.jnode.is-lit::before { background: linear-gradient(rgba(42, 91, 240, .7), rgba(42, 91, 240, 0)); }
.jnode.is-lit::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(42, 91, 240, .45); animation: nodepulse 2.8s var(--ease) infinite; }
.journey.is-run:not(.is-done) .journey__spark { opacity: 1; }
.journey.is-done .journey__spark { animation: jspark 6s var(--ease-io) 1.2s infinite; }
@keyframes jspark { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 72% { left: 100%; opacity: 1; } 80%, 100% { left: 100%; opacity: 0; } }
@keyframes jsparkv { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 72% { top: 100%; opacity: 1; } 80%, 100% { top: 100%; opacity: 0; } }
.support { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap, 18px); }
.stage { --px: 0; --py: 0; --gx: 50%; --gy: 30%; --lift: 12px; position: relative; isolation: isolate; padding: var(--pad); border-radius: var(--r-lg); background: var(--porcelain); box-shadow: var(--bevel), var(--lift-1); opacity: .5;
  transform: perspective(1100px) rotateX(calc(var(--py) * -4deg)) rotateY(calc(var(--px) * 5deg)) translateY(var(--lift)); transition: transform .7s var(--ease), box-shadow .7s var(--ease), opacity .7s var(--ease); }
.stage.is-lit { --lift: 0px; opacity: 1; box-shadow: var(--bevel), var(--lift-2); }
.stage.is-hot { --lift: -6px; transition: transform .25s ease-out, box-shadow .6s var(--ease), opacity .6s; }
.stage > h3, .stage > .stage__n, .stage > .stage__items { position: relative; z-index: 2; }
.stage__glow { position: absolute; inset: 0; border-radius: inherit; padding: 1.3px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .9s;
  background: conic-gradient(from var(--ga), rgba(200, 167, 116, 0) 0deg, rgba(200, 167, 116, .95) 70deg, rgba(42, 91, 240, .9) 150deg, rgba(42, 91, 240, 0) 230deg, rgba(200, 167, 116, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.stage.is-lit .stage__glow { opacity: .6; animation: gspin 10s linear infinite; }
.stage.is-hot .stage__glow { opacity: 1; animation-duration: 3.2s; }
@keyframes gspin { to { --ga: 360deg; } }
.stage__glare { position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, .95), rgba(225, 233, 255, .45) 38%, rgba(255, 255, 255, 0) 66%); }
.stage.is-hot .stage__glare { opacity: 1; }
.stage__num { position: absolute; right: .8rem; bottom: .1rem; z-index: 0; pointer-events: none; user-select: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(4rem, 3rem + 3.2vw, 6.6rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 87, .26);
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px), 0); transition: transform .5s var(--ease), -webkit-text-stroke-color 1s; }
.stage.is-lit .stage__num { -webkit-text-stroke-color: rgba(42, 91, 240, .2); background: linear-gradient(180deg, rgba(42, 91, 240, .07), rgba(42, 91, 240, 0) 70%); -webkit-background-clip: text; background-clip: text; }
.stage__node { position: absolute; top: 1.2rem; left: -54px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #ffffff, #eef1f6 72%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(13, 23, 40, .08), 0 0 0 1px rgba(176, 141, 87, .55), 0 10px 20px -8px rgba(28, 40, 72, .38); transition: box-shadow .7s var(--ease), transform .7s var(--ease); }
.journey .stage__node { display: none; }   /* phone only: on wider screens the numbers sit on the line row */
.stage__node b { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 1.05rem; color: var(--champ-ink); transition: color .7s; }
.stage.is-lit .stage__node { transform: scale(1.06); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(13, 23, 40, .08), 0 0 0 1.5px var(--sapphire), 0 0 0 7px rgba(42, 91, 240, .1), 0 12px 24px -8px rgba(42, 91, 240, .45); }
.stage.is-lit .stage__node b { color: var(--sapphire); }
.stage.is-lit .stage__node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(42, 91, 240, .45); animation: nodepulse 2.8s var(--ease) infinite; }
@keyframes nodepulse { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.65); opacity: 0; } }
.stage__ico { position: absolute; top: calc(var(--pad) - .2rem); right: var(--pad); z-index: 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--champ-ink); background: linear-gradient(145deg, #ffffff, #edf0f5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(13, 23, 40, .06), 0 1px 1px rgba(13, 23, 40, .05), 0 14px 26px -12px rgba(28, 40, 72, .42); transform: translate3d(calc(var(--px) * 9px), calc(var(--py) * 7px), 0); transition: transform .5s var(--ease), color .8s; }
.stage__ico svg { width: 24px; height: 24px; }
.stage.is-lit .stage__ico { color: var(--sapphire); }
.stage.is-lit .stage__ico svg { animation: icofloat 5s ease-in-out infinite; }
@keyframes icofloat { 50% { transform: translateY(-3px); } }
.stage__n { margin-top: .2rem; padding-right: 64px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .7s; }
.stage.is-lit .stage__n { color: var(--champ-ink); }
.stage h3 { font-size: 1.4rem; margin: .45rem 0 1.1rem; padding-right: 64px; }
.stage__items { list-style: none; margin: 0; padding: 0; }
.stage__item { position: relative; padding: .95rem 0 .95rem 1.7rem; border-top: 1px solid var(--line); opacity: .35; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.3s + var(--k) * .16s); }
.stage__item::before { content: ""; position: absolute; left: 0; top: 1.33rem; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(176, 141, 87, .65); transition: background .5s, box-shadow .5s; transition-delay: inherit; }
.stage__item::after { content: ""; position: absolute; left: 4px; top: calc(1.33rem + 14px); bottom: calc(-1.33rem + 2px); width: 1px; background: linear-gradient(rgba(176, 141, 87, .5), rgba(176, 141, 87, .12)); }
.stage__item:last-child::after { display: none; }
.stage.is-lit .stage__item { opacity: 1; transform: none; }
.stage.is-lit .stage__item::before { background: var(--sapphire); box-shadow: 0 0 0 3px rgba(42, 91, 240, .16); }
.stage__item h4 { font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 600; letter-spacing: 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.stage__item p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: .3rem; }
@media (max-width: 960px) {
  .journey { padding-left: 52px; --gap: 22px; }
  .journey__line { display: none; }
  .support { grid-template-columns: minmax(0, 1fr); }
  .journey__rail { left: 22px; right: auto; top: calc(1.2rem + 24px); bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .journey__track { background: linear-gradient(180deg, rgba(176, 141, 87, .55), rgba(176, 141, 87, .35) 85%, rgba(176, 141, 87, 0)); }
  .journey__fill { transform-origin: center top; transform: scaleY(var(--p)); background: linear-gradient(180deg, #c8a774, #2a5bf0 55%, #7d9bff); }
  .journey__spark { left: 50%; top: calc(var(--p) * 100%); width: 4px; height: 80px; margin: -80px 0 0 -2px; background: linear-gradient(180deg, rgba(125, 155, 255, 0), rgba(190, 206, 255, .95)); }
  .journey__spark::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
  .journey.is-done .journey__spark { animation-name: jsparkv; }
  .journey .stage__node { display: grid; }
  .stage__node::before { content: ""; position: absolute; left: 100%; top: 50%; width: 6px; height: 1px; background: rgba(176, 141, 87, .55); }
  .stage__ico { width: 46px; height: 46px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .stage { opacity: 1; --lift: 0px; } .stage__item { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; border-radius: clamp(22px, 3vw, 40px); padding: clamp(2.4rem, 6vw, 5.5rem); border: 1px solid rgba(255, 255, 255, .9); background: radial-gradient(900px 420px at 88% 0%, rgba(42, 91, 240, .16), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(176, 141, 87, .2), transparent 60%), linear-gradient(135deg, #ffffff, #eef2f8); box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 2rem; align-items: center; }
.band > * { min-width: 0; }
.band__streaks { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.band__streaks i { position: absolute; height: 1px; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(42, 91, 240, .55), transparent); animation: streak 7s linear infinite; }
.band__streaks i:nth-child(1) { top: 22%; } .band__streaks i:nth-child(2) { top: 48%; animation-delay: 2.4s; width: 25%; background: linear-gradient(90deg, transparent, rgba(176, 141, 87, .7), transparent); } .band__streaks i:nth-child(3) { top: 78%; animation-delay: 4.6s; }
@keyframes streak { to { left: 110%; } }
.band h2 { font-size: var(--fs-3xl); max-width: 15ch; }
.band p:not(.eyebrow) { margin-top: 1.2rem; color: var(--ink-2); max-width: 50ch; font-size: var(--fs-md); }
.band .cta-row { margin-top: 2.2rem; }
.band__model { position: relative; aspect-ratio: 1; max-width: 360px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band__model { max-width: 220px; order: -1; } }

/* ---------- contact block, map, globe ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.contact__info { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.4rem; }
.cinfo { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; align-items: start; }
.cinfo__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--sapphire); background: linear-gradient(180deg, #fff, var(--bg-3)); box-shadow: inset 0 0 0 1px var(--line); }
.cinfo__ic svg { width: 18px; height: 18px; }
.cinfo__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cinfo__v { margin-top: .2rem; color: var(--ink); word-break: break-word; }
.copy { display: inline-flex; align-items: center; gap: .3rem; margin-left: .5rem; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); vertical-align: middle; transition: color .2s, border-color .2s; background: #fff; }
.copy:hover { color: var(--ink); border-color: var(--champ); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; font-size: var(--fs-sm); margin-top: .3rem; }
.hours .today { color: var(--sapphire); font-weight: 600; }
.hours dd, .hours dt { margin: 0; }
.hours dt { color: var(--ink-3); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.mapbox { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: linear-gradient(180deg, #fff, var(--bg-3)); box-shadow: var(--sh-1); }
.mapbox canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox__card { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-radius: var(--r-md); }
.mapbox__card .mono { color: var(--ink-3); font-size: 11px; }
.globebox { position: relative; width: 100%; height: 100%; min-height: 240px; }
.globebox canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__tag { position: absolute; left: 0; top: 0; pointer-events: none; transform: translate(-50%, -150%); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(176, 141, 87, .5); box-shadow: var(--sh-1); white-space: nowrap; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .mapbox { min-height: 340px; } }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: calc(var(--safe-bot) + 2rem); isolation: isolate; background: linear-gradient(180deg, var(--bg-3), #e4e9f0); }
.footer__net { position: absolute; inset: 0; z-index: -1; opacity: .7; width: 100%; height: 100%; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer h4 { font-family: var(--f-mono); font-stretch: 100%; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--champ-ink); margin-bottom: 1rem; }
.footer ul { display: grid; gap: .55rem; }
.footer ul a { color: var(--ink-2); font-size: var(--fs-sm); transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer__lead p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 36ch; margin-top: 1rem; }
.footer__word { margin-top: clamp(3rem, 7vw, 6rem); font-family: var(--f-display); font-stretch: 120%; font-weight: 300; font-size: clamp(2.2rem, 8.4vw, 9.6rem); line-height: .85; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 87, .55); white-space: nowrap; user-select: none; overflow: hidden; }
.footer__word span { background: linear-gradient(90deg, rgba(42, 91, 240, 0), rgba(42, 91, 240, .35), rgba(42, 91, 240, 0)); background-size: 40% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; animation: wordsweep 7s var(--ease-io) infinite; }
@keyframes wordsweep { 0% { background-position: -60% 0; } 60%, 100% { background-position: 160% 0; } }
.footer__bot { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.footer__bot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bot a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__lead { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; } }

/* ---------- inner page header ---------- */
.phead { position: relative; padding-top: calc(var(--nav-h) + clamp(4.5rem, 9vw, 7rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 520px at 82% 10%, rgba(42, 91, 240, .10), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(176, 141, 87, .1), transparent 60%), linear-gradient(180deg, rgba(250, 251, 252, .5), rgba(244, 246, 249, 0)); }
.phead__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; z-index: -1; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center; }
.phead__grid > * { min-width: 0; }
.phead__model { position: relative; height: clamp(260px, 30vw, 400px); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--champ); }
.phead h1 { font-size: var(--fs-3xl); font-stretch: 118%; font-weight: 700; letter-spacing: -.035em; max-width: 16ch; }
.phead .lede { margin-top: 1.4rem; }
@media (max-width: 860px) { .phead__grid { grid-template-columns: 1fr; gap: .5rem; } .phead__model { height: 240px; order: 2; } }

/* ---------- products ---------- */
.pfilter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2rem; }
.pfilter__chips { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.chipbtn { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); background: rgba(255, 255, 255, .7); transition: .25s; white-space: nowrap; }
.chipbtn:hover { color: var(--ink); border-color: var(--champ); }
.chipbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; margin-left: auto; min-width: min(280px, 100%); }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); padding: 0 1rem 0 2.6rem; font: inherit; font-size: 16px; box-shadow: var(--sh-1); }
.search input:focus { outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 4px rgba(42, 91, 240, .1); }
.search svg { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; color: var(--ink-3); }
@media (max-width: 760px) { .search { margin-left: 0; width: 100%; order: -1; } .pfilter__chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; } .pfilter__chips::-webkit-scrollbar { display: none; } }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .3s, box-shadow .5s; isolation: isolate; min-width: 0; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--gx) var(--gy), rgba(42, 91, 240, .07), transparent 60%); opacity: 0; transition: opacity .4s; }
.pcard:hover { border-color: rgba(176, 141, 87, .4); box-shadow: var(--sh-3); }
.pcard:hover::before { opacity: 1; }
.pcard__img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1.4rem; overflow: hidden; position: relative; background: radial-gradient(70% 60% at 50% 40%, #fff, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #fbfcfd, var(--bg-3)); }
.pcard__img svg, .pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img svg, .pcard:hover .pcard__img img { transform: scale(1.07) translateY(-4px); }
.pcard__img .flag { position: absolute; top: 1rem; left: 1rem; }
.pcard__3d { position: absolute; right: .9rem; top: .9rem; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--champ-ink); background: #fff; border: 1px solid rgba(176, 141, 87, .4); border-radius: 999px; padding: 2px 8px; }
.pcard__body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard__cat { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--champ-ink); }
.pcard h3 { font-size: 1.2rem; }
.pcard p { color: var(--ink-2); font-size: var(--fs-sm); }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: 12px; color: var(--ink-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d4932e; box-shadow: 0 0 0 3px rgba(212, 147, 46, .15); }
.status--in::before { background: var(--led); }
.pcard__foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.pcard__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.noresults { grid-column: 1 / -1; }
@media (max-width: 1024px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }

.pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 40px); }
.gallery .viewer { aspect-ratio: 1 / .86; }
.gallery__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.gallery__tabs button { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.gallery__tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery__photo { position: relative; aspect-ratio: 1 / .86; border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; background: #fff; cursor: zoom-in; }
.gallery__photo img { width: 86%; height: 86%; object-fit: contain; transition: transform .6s var(--ease); }
.gallery__photo.is-zoom img { transform: scale(1.6); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery__thumbs button { width: 80px; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 6px; overflow: hidden; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--sapphire); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__note { margin-top: .6rem; font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }
.pd__info > * + * { margin-top: 1.6rem; }
.pd__info h1 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.3rem); font-stretch: 115%; letter-spacing: -.03em; }
.pd__block h2 { font-family: var(--f-mono); font-stretch: 100%; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--champ-ink); margin-bottom: .8rem; }
.ticks { display: grid; gap: .55rem; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; color: var(--ink-2); }
.ticks svg { width: 16px; height: 16px; color: var(--sapphire); margin-top: 4px; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { text-align: left; padding: .75rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.table th { width: 42%; color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; padding-right: 1rem; }
@media (max-width: 960px) { .pd { grid-template-columns: 1fr; } .gallery { position: relative; top: 0; } }

/* ---------- forms ---------- */
.formwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 16px; align-items: start; }
.form { position: relative; padding: clamp(1.4rem, 3.5vw, 2.6rem); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field { position: relative; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 1.45rem 1rem .55rem; min-height: 58px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field label { position: absolute; left: 1rem; top: 1.1rem; color: var(--ink-3); font-size: .95rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 4px rgba(42, 91, 240, .1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-.62rem) scale(.76); color: var(--ink-2); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--danger); }
.field__err { display: block; font-size: 12px; color: var(--danger); margin-top: .35rem; padding-left: .2rem; }
.field__err:empty { display: none; }
.field__hint { display: block; font-size: 12px; color: var(--ink-3); margin-top: .35rem; padding-left: .2rem; }
.field__eye { position: absolute; right: 8px; top: 9px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.field__eye:hover { color: var(--ink); }
.field__eye svg { width: 18px; height: 18px; }
.field--pw input { padding-right: 3.2rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sapphire); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; }
.form__msg { font-size: var(--fs-sm); color: var(--danger); }
.aside { padding: 1.6rem; display: grid; gap: 1.2rem; }
.aside h3 { font-size: 1.15rem; }
@media (max-width: 960px) { .formwrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }
.sent { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.sent__svg { width: 120px; height: 120px; }
.sent__svg .ring { fill: none; stroke: var(--line-2); stroke-width: 2; }
.sent__svg .arc { fill: none; stroke: var(--sapphire); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: arc 1.1s var(--ease) .25s forwards; }
.sent__svg .tick { fill: none; stroke: var(--champ); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: arc .5s var(--ease) 1.15s forwards; }
.sent__svg .in { stroke: var(--sapphire); stroke-width: 1.5; stroke-dasharray: 4 6; animation: flowin 1s linear infinite; }
@keyframes arc { to { stroke-dashoffset: 0; } }
@keyframes flowin { to { stroke-dashoffset: -20; } }
.sent h3 { font-size: 1.6rem; }
.sent p { color: var(--ink-2); max-width: 46ch; }
.sent__ref { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.fallback { border: 1px dashed rgba(154, 95, 18, .35); border-radius: var(--r-md); padding: 1.2rem; display: grid; gap: .8rem; text-align: left; width: 100%; max-width: 560px; background: #fffdf8; }
.fallback pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); background: var(--bg); padding: .8rem; border-radius: 10px; max-height: 200px; overflow: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--f-display); font-stretch: 106%; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { min-width: 0; flex: 1; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: border-color .3s, background .3s; background: #fff; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 1.5px; background: var(--ink-2); }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { border-color: var(--champ); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 70ch; }
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.legal__toc a { color: var(--ink-3); transition: color .2s; }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 120px; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { color: var(--ink-2); margin-bottom: .9rem; }
.note { border: 1px solid rgba(154, 95, 18, .25); background: var(--amber-bg); border-radius: var(--r-md); padding: 1rem 1.2rem; color: #6d4a17; font-size: var(--fs-sm); margin-bottom: 2rem; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; } }

/* ---------- assistant ---------- */
.asst { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--safe-bot) + 16px); z-index: 90; }
.asst__launch { display: inline-flex; align-items: center; gap: .65rem; height: 54px; padding: 0 1.2rem 0 .5rem; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); transition: transform .4s var(--ease), box-shadow .3s; text-align: left; }
.asst__launch:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(176, 141, 87, .4), var(--sh-3); }
.asst__orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #3a5ea8, #0d1728 72%); position: relative; flex: none; }
.asst__orb svg { width: 18px; height: 18px; color: #fff; }
.asst__orb::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(176, 141, 87, .55); animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.asst__launch span { font-size: .9rem; font-weight: 600; }
.asst__launch small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; font-weight: 400; }
.asst__panel { position: absolute; right: 0; bottom: 66px; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 140px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; transform-origin: bottom right; transform: translateY(12px) scale(.96); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .45s; }
.asst.is-open .asst__panel { transform: none; opacity: 1; visibility: visible; }
.asst__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.asst__head h2 { font-size: 1rem; font-stretch: 108%; }
.asst__head p { font-size: 11.5px; color: var(--ink-3); }
.asst__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.asst__close:hover { background: var(--bg-3); color: var(--ink); }
.asst__close svg { width: 18px; height: 18px; }
.asst__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.msg { max-width: 88%; font-size: var(--fs-sm); line-height: 1.55; }
.msg--bot { align-self: flex-start; }
.msg--bot .msg__b { background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: .75rem .9rem; box-shadow: var(--sh-1); }
.msg--me { align-self: flex-end; }
.msg--me .msg__b { background: var(--ink); color: #fff; border-radius: 16px 4px 16px 16px; padding: .6rem .9rem; }
.msg__cards { display: grid; gap: .5rem; margin-top: .5rem; }
.mcard { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: .7rem; align-items: center; padding: .55rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s; text-align: left; width: 100%; }
.mcard:hover { border-color: var(--champ); }
.mcard__art { width: 54px; height: 44px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px; }
.mcard__art svg { width: 100%; height: 100%; }
.mcard b { display: block; font-size: 13px; }
.mcard small { color: var(--ink-3); font-size: 11.5px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.chips button { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; transition: .2s; }
.chips button:hover { border-color: var(--champ); color: var(--ink); }
.typing { display: inline-flex; gap: 4px; padding: .3rem .1rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typ 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.asst__form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.asst__form input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); padding: 0 1rem; font: inherit; font-size: 16px; }
.asst__form input:focus { outline: none; border-color: var(--sapphire); }
.asst__form button { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.asst__form button svg { width: 18px; height: 18px; }
.mini { display: grid; gap: .5rem; margin-top: .5rem; }
.mini input, .mini textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); padding: .6rem .8rem; font: inherit; font-size: 16px; }
.mini textarea { min-height: 70px; resize: vertical; }
@media (max-width: 560px) { .asst__launch { padding-right: .5rem; } .asst__launch .t { display: none; } .asst__panel { position: fixed; left: 8px; right: 8px; bottom: calc(var(--safe-bot) + 80px); width: auto; height: min(72vh, 580px); } }

.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bot) + 24px); z-index: 160; transform: translate(-50%, 20px); opacity: 0; padding: .8rem 1.2rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: var(--fs-sm); transition: .4s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--sh-2); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--bad { background: var(--danger); }

.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--nav-h); }
.nf__code { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(5rem, 18vw, 14rem); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--champ); position: relative; }
.nf__code::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px; background: linear-gradient(90deg, transparent, var(--sapphire) 40%, transparent 41%, transparent 60%, var(--sapphire) 61%, transparent); }

/* ---------- admin: sign in ---------- */
.login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 16px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.login__art { position: relative; min-height: 460px; }
.login__card { padding: clamp(1.6rem, 4vw, 2.6rem); display: flex; flex-direction: column; gap: 1.1rem; }
.login__card h1 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.login__card .lede { font-size: var(--fs-sm); }
.login__msg { font-size: var(--fs-sm); color: var(--danger); min-height: 1.2em; }
.login__msg.ok { color: var(--led); }
.login__foot { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1rem; }
.meter { height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; margin-top: .45rem; }
.meter i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s, background .3s; }
@media (max-width: 860px) { .login { grid-template-columns: 1fr; } .login__art { min-height: 220px; height: 220px; } }

/* ---------- admin ---------- */
.adm__top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.who { display: inline-flex; align-items: center; gap: .7rem; padding: 6px 6px 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.who b { color: var(--ink); }
.who .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e4d2b0, #b08d57); color: #2a1f0e; font-weight: 700; font-size: 12px; }
.adm { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: start; }
.adm__nav { position: sticky; top: calc(var(--nav-h) + 30px); padding: .8rem; display: grid; gap: 2px; }
.adm__nav button { text-align: left; padding: .6rem .8rem; border-radius: 10px; color: var(--ink-2); font-size: var(--fs-sm); display: flex; justify-content: space-between; gap: .5rem; }
.adm__nav button:hover { background: var(--bg); color: var(--ink); }
.adm__nav button[aria-current="true"] { background: var(--ink); color: #fff; }
.adm__nav button[aria-current="true"] small { color: var(--champ-2); }
.adm__nav small { font-family: var(--f-mono); color: var(--amber); }
.adm__main { padding: clamp(1rem, 3vw, 2rem); min-width: 0; }
.adm__bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.adm__state { font-size: var(--fs-sm); color: var(--ink-2); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.adm__list { display: grid; gap: .6rem; }
.arow { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.arow > summary { list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; }
.arow > summary::-webkit-details-marker { display: none; }
.arow > summary b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow > summary .sp { margin-left: auto; display: flex; gap: .4rem; align-items: center; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.arow__body { padding: 0 1rem 1rem; display: grid; gap: .8rem; }
.af { display: grid; gap: .3rem; }
.af label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.af input, .af textarea, .af select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: .6rem .75rem; }
.af textarea { min-height: 80px; resize: vertical; }
.af input:focus, .af textarea:focus, .af select:focus { outline: none; border-color: var(--sapphire); background: #fff; }
.af--row { display: flex; gap: .6rem; align-items: center; }
.af--row label { order: 2; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 14px; color: var(--ink-2); }
.af--row input { width: 18px; height: 18px; accent-color: var(--sapphire); }
.af2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.vbadge { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.vbadge--ok { color: var(--led); border-color: rgba(18, 161, 115, .35); background: #effaf5; }
.vbadge--no { color: var(--amber); border-color: rgba(154, 95, 18, .3); background: var(--amber-bg); }
.adm__src { font-size: 12px; color: var(--ink-3); }
.enq { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; gap: .4rem; font-size: var(--fs-sm); background: #fff; }
.enq__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.enq dl { display: grid; grid-template-columns: 110px 1fr; gap: .2rem .8rem; margin: .4rem 0 0; }
.enq dt { color: var(--ink-3); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.enq dd { margin: 0; color: var(--ink-2); word-break: break-word; }
.checklist { display: grid; gap: .4rem; font-size: var(--fs-sm); color: var(--ink-2); }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-x { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; display: inline-flex; align-items: center; gap: .35rem; }
.btn-x svg { width: 14px; height: 14px; }
.btn-x:hover { color: var(--ink); border-color: var(--sapphire); }
.btn-x--bad:hover { border-color: var(--danger); color: var(--danger); }
@media (max-width: 900px) { .adm { grid-template-columns: 1fr; } .adm__nav { position: relative; top: 0; grid-auto-flow: column; overflow-x: auto; } .adm__nav button { white-space: nowrap; } .af2 { grid-template-columns: 1fr; } .enq dl { grid-template-columns: 1fr; } }

/* ---------- atelier: fixed light-and-shade backdrop behind every page ---------- */
.atelier { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; --cx: 72%; --cy: 18%; --sy: 0;
  background: radial-gradient(130% 70% at 50% -12%, #ffffff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 52%, #e8ecf2 100%); }
.atelier__drift { position: absolute; inset: -22vh -12vw; transform: translate3d(0, calc(var(--sy) * -16vh), 0); }
.pool { position: absolute; border-radius: 50%; will-change: transform; }
.pool--a { width: 74vmax; height: 74vmax; right: -20vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(228, 207, 166, .62), rgba(228, 207, 166, .2) 56%, rgba(228, 207, 166, 0)); animation: drift-a 46s var(--ease-io) infinite alternate; }
.pool--b { width: 66vmax; height: 66vmax; left: -24vmax; top: 34vh; background: radial-gradient(closest-side, rgba(84, 124, 246, .17), rgba(84, 124, 246, .05) 56%, rgba(84, 124, 246, 0)); animation: drift-b 54s var(--ease-io) infinite alternate; }
.pool--c { width: 60vmax; height: 60vmax; left: 28vw; bottom: -28vmax; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); animation: drift-c 40s var(--ease-io) infinite alternate; }
.pool--d { width: 46vmax; height: 46vmax; right: 2vw; top: 62vh; background: radial-gradient(closest-side, rgba(28, 40, 72, .075), rgba(28, 40, 72, 0)); animation: drift-b 62s var(--ease-io) infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(-8vw, 10vh, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(10vw, -8vh, 0) scale(.92); } }
@keyframes drift-c { to { transform: translate3d(-12vw, -6vh, 0) scale(1.1); } }
.beam { position: absolute; left: -30vw; width: 160vw; transform: rotate(-14deg); will-change: transform; }
.beam--a { top: -8vh; height: 50vh; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75) 44%, rgba(255, 255, 255, 0) 54%, rgba(28, 40, 72, .04) 70%, rgba(28, 40, 72, 0)); animation: sweep 30s var(--ease-io) infinite alternate; }
.beam--b { top: 50vh; height: 32vh; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 249, 238, .62) 50%, rgba(255, 255, 255, 0) 64%, rgba(28, 40, 72, .03) 80%, rgba(28, 40, 72, 0)); animation: sweep 38s var(--ease-io) infinite alternate-reverse; }
@keyframes sweep { from { transform: rotate(-14deg) translate3d(-4vw, -3vh, 0); } to { transform: rotate(-10deg) translate3d(4vw, 5vh, 0); } }
.satin { position: absolute; inset: 0; opacity: .9; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035 .62' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .36 0 0 0 0 .46 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E"), repeating-linear-gradient(135deg, rgba(13, 23, 40, .022) 0 1px, transparent 1px 7px);
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, rgba(0, 0, 0, .18) 30%, #000 100%); mask-image: radial-gradient(ellipse 78% 70% at 50% 42%, rgba(0, 0, 0, .18) 30%, #000 100%); }
.spot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; background: radial-gradient(620px circle at var(--cx) var(--cy), rgba(255, 255, 255, .8), rgba(255, 255, 255, .26) 42%, rgba(255, 255, 255, 0) 70%); }
.atelier.has-spot .spot { opacity: 1; }
.vign { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 92% at 50% 38%, rgba(28, 40, 72, 0) 54%, rgba(28, 40, 72, .085) 100%); }
.atelier__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.atelier.is-quiet .pool { animation-play-state: paused; }
@media (max-width: 760px) { .beam { animation: none; } .pool { animation-duration: 90s; } .spot { display: none; } }

/* porcelain shading on the main surfaces */
.pcard, .why__cell, .use, .case, .panel, .ind__stage, .mapbox, .gallery__photo { background: var(--porcelain); border-color: rgba(255, 255, 255, .95); box-shadow: var(--bevel), var(--lift-1); }
.pcard:hover, .use:hover, .why__cell:hover { box-shadow: var(--bevel), var(--lift-2); }
.arow, .enq { background: var(--porcelain); border-color: rgba(255, 255, 255, .95); box-shadow: var(--bevel), 0 1px 1px rgba(13, 23, 40, .03), 0 10px 22px -16px rgba(28, 40, 72, .2); }
.phead h1, .sec-head h2 { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px rgba(28, 40, 72, .12); }
.footer { box-shadow: 0 -40px 80px -60px rgba(28, 40, 72, .28), inset 0 1px 0 rgba(255, 255, 255, .9); }

/* ---------- admin: email settings and access logs ---------- */
.card3d { position: relative; background: var(--porcelain); border-radius: 18px; padding: clamp(1rem, 2.4vw, 1.4rem); box-shadow: var(--bevel), var(--lift-1); display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; min-width: 0; }
.card3d > h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.02rem; font-stretch: 105%; letter-spacing: -.01em; }
.card3d > h3 svg { width: 18px; height: 18px; color: var(--champ-ink); flex: none; }
.ops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
.ops__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.ops__head h2 { font-size: 1.5rem; }
.ops__head p { margin-top: .4rem; max-width: 64ch; font-size: var(--fs-sm); }
.statechip { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.statechip svg { width: 14px; height: 14px; }
.statechip.is-ok { color: var(--led); border-color: rgba(18, 161, 115, .35); background: #effaf5; }
.statechip.is-off { color: var(--amber); border-color: rgba(154, 95, 18, .3); background: var(--amber-bg); }
.af3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.tgl { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .8rem; align-items: start; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl__ui { width: 42px; height: 24px; border-radius: 999px; background: linear-gradient(180deg, #dfe4ec, #eef1f5); box-shadow: inset 0 1px 3px rgba(13, 23, 40, .18), inset 0 0 0 1px rgba(13, 23, 40, .08); position: relative; transition: background .25s; margin-top: 1px; }
.tgl__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(180deg, #fff, #eef1f5); box-shadow: 0 1px 2px rgba(13, 23, 40, .25), 0 3px 8px -2px rgba(13, 23, 40, .25); transition: transform .3s var(--ease); }
.tgl input:checked + .tgl__ui { background: linear-gradient(180deg, #2350dc, #3d6cf5); box-shadow: inset 0 1px 3px rgba(13, 23, 40, .3); }
.tgl input:checked + .tgl__ui::after { transform: translateX(18px); }
.tgl input:focus-visible + .tgl__ui { outline: 2px solid var(--sapphire); outline-offset: 3px; }
.tgl input:disabled + .tgl__ui { opacity: .45; }
.tgl:has(input:disabled) { cursor: not-allowed; }
.tgl__t { display: grid; gap: .15rem; min-width: 0; }
.tgl__t b { font-weight: 600; font-size: 14.5px; }
.tgl__t small { color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }
.mini-check { display: inline-flex; align-items: center; gap: .45rem; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.mini-check input { width: 16px; height: 16px; accent-color: var(--sapphire); }
.adv summary { cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .3rem 0; }
.adv[open] summary { margin-bottom: .6rem; }
.ops__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; }
.testrow { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.testrow input { height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 .9rem; font: inherit; font-size: 15px; min-width: 0; width: min(260px, 100%); }
.result { border-radius: 14px; padding: .9rem 1rem; display: grid; gap: .4rem; font-size: var(--fs-sm); }
.result b { display: flex; gap: .45rem; align-items: center; }
.result svg { width: 16px; height: 16px; flex: none; }
.result.is-ok { background: #effaf5; border: 1px solid rgba(18, 161, 115, .3); color: #0b6b4c; }
.result.is-bad { background: #fdf1f0; border: 1px solid rgba(194, 65, 59, .3); color: #8e2a25; }
.result p { color: var(--ink-2); }
.result summary { cursor: pointer; color: var(--ink-2); font-size: 12.5px; }
.result pre { margin: .5rem 0 0; max-height: 240px; overflow: auto; font-family: var(--f-mono); font-size: 11.5px; background: rgba(255, 255, 255, .75); border-radius: 10px; padding: .7rem; color: var(--ink-2); white-space: pre-wrap; word-break: break-all; }
.af .field--pw .field__eye { top: 50%; transform: translateY(-50%); width: 36px; height: 36px; right: 4px; }
.af .field--pw input { padding-right: 2.8rem; }
.ack { display: grid; gap: .8rem; padding-left: 54px; }
.ack[hidden] { display: none; }
.seg { display: inline-flex; min-width: 0; gap: 3px; padding: 4px; border-radius: 999px; background: linear-gradient(180deg, #e7ebf1, #f3f5f8); box-shadow: inset 0 1px 2px rgba(13, 23, 40, .1), inset 0 0 0 1px rgba(13, 23, 40, .05); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { display: inline-flex; align-items: center; gap: .4rem; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: linear-gradient(180deg, #fff, #f7f8fa); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 23, 40, .12), 0 4px 10px -4px rgba(28, 40, 72, .22); }
.seg--sm button { padding: 6px 11px; font-size: 12.5px; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: center; padding: .7rem; border-radius: 16px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 #fff; }
.filters select, .dates input { height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 .8rem; font: inherit; font-size: 13.5px; color: var(--ink); min-width: 0; }
.dates { display: inline-flex; gap: .4rem; align-items: center; }
.dates[hidden] { display: none; }
.search--sm { margin-left: 0; min-width: 0; flex: 1 1 200px; max-width: 320px; }
.search--sm input { height: 36px; font-size: 14px; box-shadow: none; }
.search--sm svg { top: 9px; width: 17px; height: 17px; }
.filters__end { margin-left: auto; display: flex; gap: .4rem; }
.lg-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; transition: opacity .25s; min-width: 0; }
.lg-body.is-loading { opacity: .55; pointer-events: none; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; }
.kpi { background: var(--porcelain); border-radius: 16px; padding: .95rem 1rem; box-shadow: var(--bevel), var(--lift-1); display: grid; gap: .3rem; min-width: 0; }
.kpi__l { font-size: 12.5px; color: var(--ink-3); }
.kpi__v { font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vchart { margin: 0; }
.vchart figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.vchart figcaption h3 { font-size: 1rem; }
.vchart__plot { position: relative; min-height: 110px; }
.vchart__plot[hidden], .vchart__tbl[hidden] { display: none; }
.vchart__plot svg { display: block; overflow: visible; }
.vchart__plot svg:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 4px; border-radius: 6px; }
.vc__grid { stroke: #e6eaf0; stroke-width: 1; }
.vc__base { stroke: #cdd5df; stroke-width: 1; }
.vc__ax { fill: var(--ink-3); font-family: var(--f-mono); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.vc__bar { fill: var(--sapphire); transition: fill .15s; }
.vc__bar.is-on { fill: #1d44c4; }
.vc__hit { fill: transparent; }
.vc__tip { position: absolute; left: 0; top: 0; pointer-events: none; background: #fff; border-radius: 10px; padding: .45rem .65rem; box-shadow: 0 1px 2px rgba(13, 23, 40, .12), 0 10px 26px -8px rgba(28, 40, 72, .3); display: grid; gap: 1px; white-space: nowrap; z-index: 2; }
.vc__tip[hidden] { display: none; }
.vc__tip b { font-size: 13.5px; color: var(--ink); }
.vc__tip span { font-size: 12px; color: var(--ink-3); }
.vchart__tbl { max-height: 320px; overflow: auto; }
.vchart__tbl table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vchart__tbl th, .vchart__tbl td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.vchart__tbl td.num { font-variant-numeric: tabular-nums; }
.btn-x--sm { padding: 4px 10px; font-size: 12px; }
.btn-x[disabled] { opacity: .45; cursor: not-allowed; }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; align-items: start; }
.toplist h3 { font-size: .98rem; }
.toplist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.toplist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; font-size: 13.5px; }
.tl__k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.tl__n { font-variant-numeric: tabular-nums; color: var(--ink-2); text-align: right; white-space: nowrap; }
.tl__n small { color: var(--ink-3); font-size: 11.5px; margin-left: .3rem; }
.tl__m { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #e8eefc; overflow: hidden; display: block; }
.tl__m b { display: block; height: 100%; border-radius: 4px; background: var(--sapphire); }
.lt { padding: 0; overflow: hidden; gap: 0; }
.lt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.2rem .8rem; flex-wrap: wrap; }
.lt__head h3 { font-size: 1rem; }
.lt__table { display: grid; }
.lt__row { display: grid; grid-template-columns: 104px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr) 92px; gap: .3rem 1rem; padding: .7rem 1.2rem; border-top: 1px solid var(--line); font-size: 13px; align-items: center; cursor: pointer; transition: background .2s; }
.lt--act .lt__row { grid-template-columns: 124px minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.7fr); }
.lt__row:hover { background: rgba(42, 91, 240, .035); }
.lt__row:focus-visible { outline: 2px solid var(--sapphire); outline-offset: -2px; }
.lt__row--h, .lt__row--h:hover { cursor: default; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: rgba(244, 246, 249, .7); }
.lt__row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt__row .mono { font-size: 12px; }
.lt__p { color: var(--ink); }
.lt__d { color: var(--ink-2); }
.lt__det { display: none; grid-column: 1 / -1; grid-template-columns: 150px minmax(0, 1fr); gap: .25rem 1rem; margin: .4rem 0 .2rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(244, 246, 249, .85); box-shadow: inset 0 0 0 1px var(--line); cursor: text; }
.lt__row.is-open .lt__det { display: grid; }
.lt__row.is-open { background: rgba(42, 91, 240, .03); }
.lt__det dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.lt__det dd { margin: 0; color: var(--ink); word-break: break-word; user-select: text; }
.evt { display: inline-flex; align-items: center; gap: .35rem; font-style: normal; font-size: 11.5px; font-weight: 500; padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; line-height: 1.6; }
.evt b { font-weight: 600; }
.evt--ok { color: #0b6b4c; background: #effaf5; border-color: rgba(18, 161, 115, .3); }
.evt--info { color: var(--ink-2); background: #f3f5f8; border-color: var(--line-2); }
.evt--warn { color: #7a4a0c; background: var(--amber-bg); border-color: rgba(154, 95, 18, .3); }
.evt--bad { color: #8e2a25; background: #fdf1f0; border-color: rgba(194, 65, 59, .3); }
.evchips { display: flex; flex-wrap: wrap; gap: .4rem; }
.evchips .evt { cursor: pointer; padding: 5px 11px; font-size: 12.5px; }
.evchips .evt.is-on { box-shadow: 0 0 0 2px var(--sapphire); }
.pager { display: flex; justify-content: center; align-items: center; gap: .8rem; padding: .9rem; border-top: 1px solid var(--line); }
.lg-set > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.lg-set > summary::-webkit-details-marker { display: none; }
.lg-set > summary svg { width: 17px; height: 17px; color: var(--champ-ink); }
.empty__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--sapphire); background: var(--porcelain); box-shadow: var(--bevel), var(--lift-1); }
.empty__ic svg { width: 22px; height: 22px; }
.field--code input { font-family: var(--f-mono); font-size: 1.5rem; letter-spacing: .45em; text-align: center; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .lt__row, .lt--act .lt__row { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; padding: .75rem 1rem; }
  .lt__row--h { display: none; }
  .lt__row > span:nth-child(1) { grid-column: 2; grid-row: 1; text-align: right; color: var(--ink-3); }
  .lt__row > span:nth-child(2) { grid-column: 1; grid-row: 1; font-weight: 500; }
  .lt__row > span:nth-child(3) { grid-column: 1; color: var(--ink-2); }
  .lt__row > span:nth-child(4) { grid-column: 2; text-align: right; color: var(--ink-2); }
  .lt__row > span:nth-child(5) { display: none; }
  .lt__row > span:nth-child(6) { grid-column: 1 / -1; color: var(--ink-2); font-size: 12.5px; white-space: normal; }
  .lt__det { grid-template-columns: minmax(0, 1fr); }
  .lt__det dt { padding-top: .45rem; }
}
@media (max-width: 760px) { .af3 { grid-template-columns: minmax(0, 1fr); } .ack { padding-left: 0; } .ops__actions { flex-direction: column; align-items: stretch; } .testrow input { flex: 1; width: auto; } .testrow .btn-x { min-height: 40px; } }
@media (max-width: 560px) { .seg--sm { width: 100%; justify-content: space-between; } .seg--sm button { padding: 6px 8px; } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis .kpi:last-child { grid-column: 1 / -1; } .filters__end { margin-left: 0; width: 100%; } .filters__end .btn-x { flex: 1; justify-content: center; min-height: 40px; } .search--sm { max-width: none; flex-basis: 100%; } .dates { width: 100%; } .dates input { flex: 1; } .filters select { flex: 1; } }

.skel { background: linear-gradient(90deg, rgba(13, 23, 40, .04), rgba(13, 23, 40, .08), rgba(13, 23, 40, .04)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .cursor { display: none; }
}
