/* NAVORYNTH public website — "Swiss night" design system: deep navy, warm gold, Manrope display + Inter text.
   Tokens follow the NAVORYNTH UI/UX pack (styles/tokens.css). No external requests. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
:root {
  /* Pack tokens */
  --nv-navy-950: #030A16; --nv-navy-900: #071225; --nv-navy-850: #0B172B; --nv-navy-800: #102039; --nv-navy-700: #182B45;
  --nv-gold-300: #F7DCA4; --nv-gold-400: #EBC789; --nv-gold-500: #D5A85F; --nv-gold-600: #B98843;
  --nv-text-primary: #F6F7FB; --nv-text-secondary: #C3CCDC; --nv-text-muted: #8F9EB4;
  --nv-border-c: #344258; --nv-blue-glow: #477AB8;
  --nv-shadow-gold: 0 0 26px rgba(235,199,137,.25);
  --nv-glass: rgba(7,18,37,.72);
  /* Names the customer portal (account.css) already uses */
  --ink: var(--nv-navy-950);
  --navy: var(--nv-navy-900);
  --navy-2: var(--nv-navy-850);
  --navy-3: var(--nv-navy-800);
  --line: rgba(195, 204, 220, .1);
  --line-2: rgba(195, 204, 220, .18);
  --line-gold: rgba(235, 199, 137, .22);
  --text: var(--nv-text-primary);
  --text-2: var(--nv-text-secondary);
  --muted: var(--nv-text-muted);
  --gold: var(--nv-gold-400);
  --gold-2: var(--nv-gold-300);
  --gold-deep: var(--nv-gold-600);
  --ok: #6fd3a5;
  --bad: #f08a8a;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --serif: var(--display);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold-grad: linear-gradient(110deg, var(--nv-gold-300), var(--nv-gold-400) 45%, var(--nv-gold-500));
  --radius: 18px;
  --wrap: 1280px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nv-navy-950); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold); color: var(--nv-navy-950); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--gold); color: var(--nv-navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }
.ic { flex: none; display: inline-block; vertical-align: middle; }

/* Ambient background: deep navy with a quiet gold and blue rim light and a faint grid */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(1000px 640px at 88% -12%, rgba(235, 199, 137, .10), transparent 60%),
  radial-gradient(900px 760px at -12% 26%, rgba(71, 122, 184, .16), transparent 62%),
  radial-gradient(800px 560px at 55% 112%, rgba(235, 199, 137, .06), transparent 60%),
  var(--nv-navy-950); }
.ambient::after { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%); }

/* Reading progress */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-bar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: var(--gold-grad); box-shadow: 0 0 12px rgba(235,199,137,.6); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s, border-color .35s, backdrop-filter .35s, transform .35s var(--ease); border-bottom: 1px solid transparent; }
.header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,22,.75), transparent); pointer-events: none; transition: opacity .35s; z-index: -1; }
.header.scrolled { background: rgba(7, 18, 37, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: var(--line-gold); }
.header.scrolled::before { opacity: 0; }
.header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; text-decoration: none; flex: none; }
.logo-mark { width: 38px; height: 38px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(235,199,137,.35)); transition: transform .5s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { display: inline-flex; flex-direction: column; }
.logo-text > span, .logo > span { font-family: var(--display); font-weight: 600; letter-spacing: .3em; font-size: 17px; }
.logo .gold { color: var(--gold); letter-spacing: 0; }
.logo small { font-size: 8.5px; letter-spacing: .34em; color: var(--muted); margin-top: 7px; font-weight: 600; }
.nav { position: relative; display: flex; gap: 2px; margin-inline: auto; }
.nav a { position: relative; z-index: 1; text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: color .25s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active { color: var(--gold-2); }
.nav-glow { position: absolute; z-index: 0; top: 0; height: 100%; left: 0; width: 0; border-radius: 999px; background: rgba(235,199,137,.08); border: 1px solid rgba(235,199,137,.18); opacity: 0; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .3s; pointer-events: none; }
.nav-glow.on { opacity: 1; }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.icon-btn:hover { color: var(--gold-2); border-color: var(--line-gold); background: rgba(235,199,137,.06); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); border: 1px solid transparent; transition: color .2s, border-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); border-color: var(--line-gold); }
.lang summary .chev { transition: transform .25s; }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: 6px; min-width: 190px; background: rgba(11,23,43,.96); backdrop-filter: blur(16px); border: 1px solid var(--line-gold); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.8); animation: pop .22s var(--ease-out); }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-size: 14px; color: var(--text-2); }
.lang li a:hover, .lang li a[aria-current] { background: rgba(235,199,137,.08); color: var(--text); }
.lang li a small { color: var(--muted); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 17px; height: 1.6px; background: var(--text); position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5.5px; } .menu-toggle span::after { top: 5.5px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .25s, border-color .25s; white-space: nowrap; }
.btn .arr { transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn.primary { background: var(--gold-grad); color: #08111D; box-shadow: var(--nv-shadow-gold), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(235,199,137,.42), 0 14px 30px -14px rgba(213,168,95,.8); }
.btn.primary:hover::after { transform: translateX(120%); }
.btn.ghost { border-color: rgba(195,204,220,.28); color: var(--text); background: rgba(7,18,37,.35); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn.outline-gold { border-color: rgba(235,199,137,.6); color: var(--gold-2); background: rgba(235,199,137,.04); box-shadow: inset 0 0 18px rgba(235,199,137,.08); }
.btn.outline-gold:hover { background: var(--gold-grad); color: #08111D; border-color: transparent; box-shadow: var(--nv-shadow-gold); }
.btn.small { height: 44px; padding: 0 20px; font-size: 14px; }
.btn.full { width: 100%; }
.btn.play { padding-inline-end: 6px; gap: 16px; }
.btn.play .play-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(235,199,137,.55); color: var(--gold-2); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.btn.play:hover .play-dot { background: var(--gold-grad); color: #08111D; transform: rotate(-45deg); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(195,204,220,.25); background: rgba(7,18,37,.6); color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: all .25s var(--ease-out); }
.round-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-2); transform: scale(1.06); }
.round-btn.gold { background: var(--gold-grad); color: #08111D; border-color: transparent; box-shadow: var(--nv-shadow-gold); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Type helpers ---------- */
.overline, .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; }
.eyebrow { color: var(--gold); }
.overline::before, .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.06; letter-spacing: -.025em; margin: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-family: var(--display); font-weight: 700; color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 150px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: 68% 50%; transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px + var(--sy, 0) * 90px), 0) scale(1.04); transition: transform .9s var(--ease-out); animation: heroIn 2.2s var(--ease-out) both; will-change: transform; }
@keyframes heroIn { from { opacity: 0; filter: blur(8px) brightness(.6); scale: 1.08; } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(3,10,22,.94) 0%, rgba(3,10,22,.78) 30%, rgba(3,10,22,.25) 62%, rgba(3,10,22,.15) 100%),
  linear-gradient(0deg, var(--nv-navy-950) 0%, rgba(3,10,22,.4) 24%, transparent 46%),
  linear-gradient(180deg, rgba(3,10,22,.55), transparent 22%); }
.hero-inner { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.hero-copy { max-width: 720px; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; margin: 0; }
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; animation: wordIn 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 85ms + 250ms); }
.hero-title .gold .w { background: linear-gradient(100deg, var(--nv-gold-300) 0%, var(--nv-gold-400) 30%, #fff3d8 45%, var(--nv-gold-500) 60%, var(--nv-gold-400) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordIn 1s var(--ease-out) both, shimmer 7s ease-in-out 1.8s infinite; animation-delay: calc(var(--i, 0) * 85ms + 250ms), 1.8s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(10px); } }
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
[data-hero-in] { animation: fadeUp 1s var(--ease-out) both; }
.hero .overline { animation-delay: .1s; color: var(--text-2); letter-spacing: .38em; }
.hero .lead { animation-delay: .75s; }
.hero .actions { animation-delay: .9s; }
.hero .hero-tags { animation-delay: 1.05s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--text-2); max-width: 520px; margin: 28px 0 38px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 44px 0 0; color: var(--text-2); font-size: 14px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .ic { color: var(--gold); width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: rgba(235,199,137,.12); }

/* Section rail (right side) */
.rail { position: absolute; right: 30px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 4px; padding-inline-end: 16px; animation: fadeUp 1s var(--ease-out) 1.2s both; }
.rail::before { content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(195,204,220,.25); }
.rail::after { content: ""; position: absolute; right: 0; top: 10px; width: 1px; height: calc((100% - 20px) * var(--rp, 0)); background: var(--gold-grad); box-shadow: 0 0 10px rgba(235,199,137,.7); transition: height .3s; }
.rail a { position: relative; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; min-height: 36px; padding: 4px 8px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; border-radius: 8px; }
.rail a::before { content: ""; position: absolute; right: -20px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); background: var(--nv-navy-950); transition: all .3s; }
.rail-label { opacity: 0; transform: translateX(6px); padding: 3px 9px; border-radius: 999px; background: rgba(3,10,22,.7); backdrop-filter: blur(6px); border: 1px solid var(--line-gold); transition: all .3s var(--ease-out); white-space: nowrap; text-transform: uppercase; font-size: 11px; }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label, .rail a.active .rail-label { opacity: 1; transform: none; }
.rail a:hover, .rail a.active { color: var(--gold-2); }
.rail a.active::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px var(--gold); }

.scroll-hint { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Glass surfaces ---------- */
.glass { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(6px); }
.glass-strong { background: linear-gradient(160deg, rgba(16,32,57,.72), rgba(7,18,37,.82)); border: 1px solid var(--line-gold); border-radius: 26px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); }
[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(235,199,137,.12), transparent 45%); }
[data-spotlight]:hover::before { opacity: 1; }

/* ---------- Feature ribbon ---------- */
.ribbon-wrap { position: relative; z-index: 3; margin-top: -84px; }
.ribbon { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 22px; }
.ribbon li { position: relative; min-width: 0; }
.ribbon li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--line-2), transparent); }
.ribbon a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; text-decoration: none; transition: background .3s; }
.ribbon a:hover { background: rgba(235,199,137,.06); }
.rb-icon { color: var(--gold); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: radial-gradient(circle at 30% 20%, rgba(235,199,137,.16), rgba(235,199,137,.03)); border: 1px solid rgba(235,199,137,.18); transition: transform .45s var(--ease-out), box-shadow .3s; }
.ribbon a:hover .rb-icon { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 0 24px rgba(235,199,137,.25); }
.rb-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-text b { font-family: var(--display); font-weight: 700; font-size: 15.5px; }
.rb-text small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.06; letter-spacing: -.025em; margin: 0; }
.section-head p:not(.overline) { color: var(--text-2); font-size: 1.08rem; margin: 0; max-width: 480px; }

/* ---------- Services ---------- */
.services-section { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 72px); }
.svc-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.7fr); gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.svc-panel::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(71,122,184,.22), transparent 65%); pointer-events: none; }
.svc-intro { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.svc-intro .display { font-size: clamp(2.1rem, 3.6vw, 3.3rem); }
.svc-sub { color: var(--text-2); font-size: 1.06rem; margin: 22px 0 30px; max-width: 380px; }
.svc-points { list-style: none; padding: 0; margin: auto 0 0; padding-top: 34px; display: grid; gap: 12px; color: var(--text-2); font-size: 14px; }
.svc-points li { display: flex; align-items: center; gap: 12px; }
.svc-points .ic { color: var(--gold); }
.svc-carousel { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.svc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 12px; margin: -6px -2px -12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-track:focus-visible { outline-offset: 6px; }
.svc-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, var(--nv-navy-850), var(--nv-navy-900)); border: 1px solid rgba(52,66,88,.9); overflow: hidden; transition: transform .45s var(--ease-out), border-color .35s, box-shadow .45s; }
.svc-card:hover, .svc-card:focus-within { transform: translateY(-5px); border-color: rgba(235,199,137,.55); box-shadow: 0 0 0 1px rgba(235,199,137,.12), 0 30px 60px -30px rgba(0,0,0,.9), 0 0 40px -10px rgba(235,199,137,.22); }
.svc-art { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 80% 0%, rgba(71,122,184,.22), transparent 60%), linear-gradient(160deg, #0d1c33, #050d1b); border-bottom: 1px solid var(--line); overflow: hidden; }
.svc-art .art { width: 100%; height: 100%; display: block; }
.svc-body { padding: 22px 22px 8px; position: relative; z-index: 2; }
.svc-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--gold); background: rgba(235,199,137,.08); border: 1px solid rgba(235,199,137,.2); margin-top: -42px; margin-bottom: 14px; backdrop-filter: blur(6px); position: relative; }
.svc-body h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.svc-body p { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.svc-foot { margin-top: auto; padding: 18px 22px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.svc-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text); }
.svc-link .circle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(235,199,137,.55); color: var(--gold-2); transition: all .35s var(--ease-out); }
.svc-link:hover .circle, .svc-card:hover .svc-link .circle { background: var(--gold-grad); color: #08111D; border-color: transparent; transform: translateX(3px); }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.svc-num { position: absolute; z-index: 2; top: 14px; right: 14px; font-family: var(--display); font-size: 12.5px; font-weight: 700; color: var(--text-2); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(3,10,22,.55); backdrop-filter: blur(6px); transition: color .3s, border-color .3s; }
.svc-card:hover .svc-num { color: var(--gold-2); border-color: rgba(235,199,137,.5); }
.svc-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.svc-dots { display: flex; gap: 8px; margin-inline-end: auto; }
.svc-dots i { width: 22px; height: 3px; border-radius: 3px; background: var(--line-2); transition: all .35s var(--ease-out); }
.svc-dots i.on { width: 40px; background: var(--gold-grad); }

/* Service illustrations */
.art .art-glow { transform-origin: 250px 40px; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }
.art * { transition: transform .8s var(--ease-out), opacity .6s; transform-box: fill-box; }
.svc-card:hover .art-1 .a-hero, .svc-card:focus-within .art-1 .a-hero { transform: translate(6px, -4px) scale(1.04); }
.svc-card:hover .art-1 .c1 { transform: translateY(-8px); }
.svc-card:hover .art-1 .c2 { transform: translateY(6px); }
.svc-card:hover .art-1 .a-swatches circle:nth-child(odd) { transform: scale(1.3); }
.art-1 .a-cursor { animation: cursor 5s var(--ease) infinite; }
@keyframes cursor { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(60px, -26px); } 60% { transform: translate(84px, 38px); } }
.art-2 .a-caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.art-2 .a-code rect { transform-origin: left center; }
.svc-card:hover .art-2 .a-code rect { animation: type .9s var(--ease-out) both; }
.svc-card:hover .art-2 .a-code rect:nth-child(2n) { animation-delay: .12s; }
.svc-card:hover .art-2 .a-code rect:nth-child(3n) { animation-delay: .24s; }
@keyframes type { from { transform: scaleX(0); } }
.svc-card:hover .art-2 .a-brackets { transform: scale(1.12) rotate(-4deg); }
.art-3 .a-badge { transform-origin: center; animation: badge 2.6s var(--ease-out) infinite; }
@keyframes badge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
.svc-card:hover .art-3 .p0 { transform: translateY(6px) rotate(-3deg); }
.svc-card:hover .art-3 .p1 { transform: translateY(-10px) scale(1.04); }
.svc-card:hover .art-3 .p2 { transform: translateY(6px) rotate(3deg); }
.art-4 .a-gauge { stroke-dasharray: 100; stroke-dashoffset: 30; transition: stroke-dashoffset 1.4s var(--ease-out); }
.art-4 .a-needle { transform-origin: 50% 100%; transform: rotate(-30deg); transition: transform 1.4s var(--ease-out); }
.art-4 .a-curve { stroke-dasharray: 100; stroke-dashoffset: 60; transition: stroke-dashoffset 1.4s var(--ease-out); }
.svc-card:hover .art-4 .a-gauge, .svc-card.in-view .art-4 .a-gauge { stroke-dashoffset: 4; }
.svc-card:hover .art-4 .a-needle, .svc-card.in-view .art-4 .a-needle { transform: rotate(84deg); }
.svc-card:hover .art-4 .a-curve, .svc-card.in-view .art-4 .a-curve { stroke-dashoffset: 0; }
.art-4 .a-dot { animation: breathe 2.4s ease-in-out infinite; transform-origin: center; }

/* ---------- Work / portfolio ---------- */
.work-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7,18,37,.4); color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; }
.filters button:hover { color: var(--text); border-color: var(--text-2); }
.filters button[aria-pressed="true"] { background: var(--gold-grad); border-color: transparent; color: #08111D; box-shadow: var(--nv-shadow-gold); }
.search { position: relative; width: min(100%, 320px); }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7,18,37,.5); padding: 0 18px 0 46px; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(235,199,137,.1); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
/* Portfolio carousel: four cards in view, 3D fold at the edges (driven by --fold / --sc from site.js) */
.work-carousel { position: relative; }
.work-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 26px 4px 34px; margin: -26px -4px -34px; perspective: 1800px; outline: none; cursor: grab; }
.work-track::-webkit-scrollbar { display: none; }
.work-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.work-track.dragging .project { transition: none; }
.work-track:focus-visible { box-shadow: 0 0 0 2px var(--gold); border-radius: 18px; }
.project { position: relative; overflow: hidden; display: flex; flex-direction: column; scroll-snap-align: start; border-radius: var(--radius); background: linear-gradient(180deg, var(--nv-navy-850), var(--nv-navy-900)); border-color: rgba(52,66,88,.9); transform-origin: 50% 50%;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--fold, 0deg))) scale(var(--sc, 1)) translateY(var(--lift, 0px)); opacity: var(--op, 1);
  transition: transform .55s var(--ease-out), opacity .45s, border-color .4s, box-shadow .4s; }
.project[hidden] { display: none; }
.project:hover { --lift: -8px; border-color: rgba(235,199,137,.5); box-shadow: 0 50px 80px -40px rgba(0,0,0,.95), 0 0 50px -14px rgba(235,199,137,.3); }
.work-carousel.pending .project { opacity: 0; transform: perspective(1200px) translateX(60px) rotateY(-22deg) scale(.94); }
.work-carousel.ready .project { transition-delay: calc(min(var(--i, 0), 6) * 80ms); }
.work-carousel.settled .project { transition-delay: 0s; }
.p-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, rgba(71,122,184,.25), transparent 60%), linear-gradient(135deg, var(--nv-navy-800), var(--nv-navy-950)); border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; text-align: left; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .5s; filter: saturate(.92) brightness(.95); }
.project:hover .p-media img { transform: scale(1.08); filter: saturate(1.06) brightness(1.03); }
.p-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,10,22,.75)); pointer-events: none; }
.p-media .p-count { position: absolute; z-index: 2; right: 14px; bottom: 14px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(3,10,22,.65); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.p-media .p-view { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -40%) scale(.85); opacity: 0; transition: all .4s var(--ease-out); width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #08111D; font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: .14em; box-shadow: var(--nv-shadow-gold); }
.project:hover .p-view, .p-media:focus-visible .p-view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.p-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 7vw, 6.5rem); color: transparent; background: linear-gradient(160deg, rgba(247,220,164,.8), rgba(185,136,67,.25)); -webkit-background-clip: text; background-clip: text; letter-spacing: -.04em; transition: transform 1s var(--ease-out); }
.p-media:has(.p-placeholder)::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at 72% 30%, rgba(235,199,137,.22), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.project:hover .p-placeholder { transform: scale(1.06) translateY(-4px); }
/* Concept artwork (no project data yet): glowing orb, orbit ring and industry motif in the card's own palette */
.p-art { cursor: default; background: radial-gradient(90% 80% at 70% 15%, color-mix(in srgb, var(--pa) 38%, transparent), transparent 62%), linear-gradient(150deg, color-mix(in srgb, var(--pb) 70%, #182B45), #050B16); }
.p-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px); mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); }
.p-orb { position: absolute; width: 46%; aspect-ratio: 1; left: 27%; top: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--pa) 70%, #fff), var(--pa) 45%, color-mix(in srgb, var(--pa) 30%, #000) 100%); box-shadow: 0 0 60px color-mix(in srgb, var(--pa) 55%, transparent), inset -14px -18px 40px rgba(0,0,0,.35); opacity: .9; transition: transform 1s var(--ease-out); }
.p-ring { position: absolute; width: 78%; aspect-ratio: 2.6; left: 11%; top: 30%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--pa) 70%, #fff 0%); opacity: .55; transform: rotate(-14deg); animation: ringSpin 14s linear infinite; }
.p-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff, 0 0 24px var(--pa); top: -4px; left: 50%; }
.p-motif { position: absolute; left: 50%; top: 43%; translate: -50% -50%; color: #fff; opacity: .92; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); transition: transform 1s var(--ease-out); }
.project:hover .p-orb { transform: scale(1.08) translate(4px, -4px); }
.project:hover .p-motif { transform: translateY(-6px) scale(1.06); }
@keyframes ringSpin { to { transform: rotate(346deg); } }
.p-glare { position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.11), transparent 45%); opacity: 0; transition: opacity .4s; }
.project:hover .p-glare { opacity: 1; }
.p-body { padding: 22px 22px 24px; display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; flex: 1; position: relative; z-index: 2; }
.p-body h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.p-body p { margin: 0; color: var(--text-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-cat { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 9px; display: block; }
.p-link { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(235,199,137,.45); color: var(--gold-2); display: grid; place-items: center; text-decoration: none; transition: all .3s var(--ease-out); }
.p-link:hover { background: var(--gold-grad); color: #08111D; border-color: transparent; transform: rotate(45deg); }
.concept { position: absolute; z-index: 3; left: 14px; top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; background: rgba(3,10,22,.72); border: 1px solid rgba(235,199,137,.4); color: var(--gold-2); backdrop-filter: blur(6px); }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; }
.work-nav { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.work-progress { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; position: relative; overflow: hidden; }
.work-progress i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: 0 50%; transform: translateX(var(--wp-x, 0%)) scaleX(var(--wp, .25)); background: var(--gold-grad); box-shadow: 0 0 12px rgba(235,199,137,.7); transition: transform .35s var(--ease-out); }
.work-count { font-family: var(--display); font-size: 14px; color: var(--muted); letter-spacing: .08em; min-width: 64px; text-align: center; }
.work-count b { color: var(--gold-2); font-size: 18px; }
.work-carousel.static .work-nav, .work-carousel.static .work-hint { display: none; }
.work-hint { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1240px) { .work-track { grid-auto-columns: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 960px) { .work-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 680px) { .work-track { grid-auto-columns: 82%; gap: 16px; } .work-nav { gap: 12px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3, 8, 16, .95); backdrop-filter: blur(10px); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; }
.lb-title { font-family: var(--display); font-weight: 700; } .lb-title small { color: var(--muted); font-weight: 600; margin-inline-start: 10px; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 84px; min-height: 0; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -30px #000; transition: transform .3s var(--ease); cursor: zoom-in; user-select: none; }
.lb-stage img.zoomed { transform: scale(1.9); cursor: zoom-out; }
.lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 16px 24px 22px; overflow-x: auto; }
.lb-thumbs button { flex: none; width: 74px; height: 50px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .55; background: var(--navy-2); transition: all .2s; }
.lb-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Experience lab (3D) ---------- */
.lab-section { overflow: clip; }
.lab3d { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 34px; align-items: start; }
.lab-panel { padding: 14px; display: flex; flex-direction: column; gap: 14px; border-radius: 26px; }
.lab-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 18px; background: rgba(3,10,22,.55); border: 1px solid var(--line); }
.lab-tabs [role="tab"] { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 9px; min-height: 64px; border: 0; background: none; color: var(--muted); border-radius: 14px; cursor: pointer; transition: color .3s; font: inherit; }
.lab-tabs [role="tab"]:hover { color: var(--text); }
.lab-tabs [role="tab"][aria-selected="true"] { color: var(--gold-2); }
.lab-tabs [role="tab"]:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lt-text { display: flex; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; }
.lt-text b { font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lt-text small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lab-tabs-glow { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 14px; background: linear-gradient(180deg, rgba(235,199,137,.16), rgba(235,199,137,.05)); border: 1px solid rgba(235,199,137,.45); box-shadow: 0 10px 30px -12px rgba(235,199,137,.45), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.lab-panes { display: grid; }
.lab-pane { grid-area: 1 / 1; min-width: 0; }
.lab-pane.is-off { visibility: hidden; pointer-events: none; }
.lab-pane.is-off .opt { opacity: 0; transform: translateY(14px) rotateX(-20deg); transition-delay: 0s; }
.opt-grid { display: grid; gap: 10px; perspective: 900px; }
.opt-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { --rx: 0deg; --ry: 0deg; position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 11px 12px; text-align: left; font: inherit; color: var(--text-2); border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(24,43,69,.55), rgba(7,18,37,.65)); cursor: pointer; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0); transition: transform .45s var(--ease-out), opacity .45s var(--ease-out), border-color .3s, box-shadow .3s, color .3s, background .3s; transition-delay: calc(var(--i, 0) * 28ms); }
.opt:hover { color: var(--text); border-color: rgba(195,204,220,.35); box-shadow: 0 18px 30px -18px rgba(0,0,0,.9); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(14px); transition-delay: 0s; }
.opt[aria-pressed="true"] { color: var(--text); border-color: rgba(235,199,137,.7); background: linear-gradient(160deg, rgba(235,199,137,.16), rgba(16,32,57,.75)); box-shadow: 0 18px 36px -18px rgba(235,199,137,.55), inset 0 1px 0 rgba(255,255,255,.08); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(22px); }
.opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt-name { font-size: 13.5px; font-weight: 650; line-height: 1.25; }
.opt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-txt small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.opt-check { position: absolute; right: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #08111D; opacity: 0; transform: scale(.4) translateZ(10px); transition: all .35s var(--ease-out); }
.opt[aria-pressed="true"] .opt-check { opacity: 1; transform: scale(1) translateZ(10px); }
/* Industry cards */
.opt-kind { flex-direction: column; justify-content: center; gap: 8px; min-height: 92px; text-align: center; padding: 14px 8px 12px; }
.opt-kind .opt-name { font-size: 12.5px; }
.opt-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--gold-2); background: radial-gradient(circle at 30% 20%, rgba(235,199,137,.22), rgba(3,10,22,.4)); border: 1px solid rgba(235,199,137,.25); transform: translateZ(18px); transition: transform .45s var(--ease-out), box-shadow .3s; }
.opt-kind[aria-pressed="true"] .opt-ic { box-shadow: 0 0 22px rgba(235,199,137,.45); transform: translateZ(28px) scale(1.06); }
/* Style cards: live type sample */
.opt-sample { flex: none; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; line-height: 1; background: #0B172B; color: var(--text); border: 1px solid var(--line-2); transform: translateZ(18px); }
.s-modern { font-family: var(--display); font-weight: 800; background: #0B172B; color: var(--text); }
.s-elegant { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; background: #1a1612; color: #F3E3C3; }
.s-minimal { font-family: var(--sans); font-weight: 300; background: #F5F3EF; color: #15171c; border-radius: 4px; }
.s-bold { font-family: var(--display); font-weight: 800; font-size: 26px; background: var(--gold-grad); color: #08111D; }
.s-swiss { font-family: var(--sans); font-weight: 800; letter-spacing: -.06em; background: #EEEDE9; color: #111; border-radius: 0; box-shadow: inset 0 -10px 0 #E5484D; }
.s-organic { font-family: "Playfair Display", Georgia, serif; font-weight: 500; background: #EFE7DA; color: #2d2a24; border-radius: 26px 26px 26px 8px; }
.s-future { font-family: var(--display); font-weight: 300; letter-spacing: .12em; background: #05070d; color: #9FE8FF; border-color: rgba(112,191,255,.45); text-shadow: 0 0 10px rgba(112,191,255,.9); }
/* Layout cards: mini wireframes */
.wire { flex: none; width: 64px; height: 46px; border-radius: 8px; padding: 5px; display: grid; gap: 3px; background: rgba(3,10,22,.6); border: 1px solid var(--line-2); transform: translateZ(18px); }
.wire i { border-radius: 2px; background: rgba(195,204,220,.28); }
.opt[aria-pressed="true"] .wire i:first-child, .opt:hover .wire i:first-child { background: var(--gold); }
.w-split { grid-template: 1fr 1fr / 1.4fr 1fr; } .w-split i:nth-child(1) { grid-row: 1 / 3; } .w-split i:nth-child(4) { display: none; }
.w-center { grid-template: 1fr 1fr 1fr / 1fr; padding-inline: 14px; } .w-center i:nth-child(4) { display: none; } .w-center i:nth-child(2) { margin-inline: 6px; } .w-center i:nth-child(3) { margin-inline: 12px; }
.w-image { grid-template: 1fr / 1fr 1fr; } .w-image i:nth-child(n+3) { display: none; } .w-image i:nth-child(2) { background: rgba(195,204,220,.5); }
.w-full { grid-template: 1fr / 1fr; padding: 3px; } .w-full i:nth-child(n+2) { display: none; } .w-full i:first-child { background: linear-gradient(180deg, rgba(195,204,220,.25), rgba(235,199,137,.9)); }
.wire.w-full + .opt-name { } .opt[aria-pressed="true"] .w-full i:first-child { background: linear-gradient(180deg, rgba(195,204,220,.3), var(--gold)); }
.w-bento { grid-template: 1fr 1fr / 1.3fr 1fr 1fr; } .w-bento i:nth-child(1) { grid-row: 1 / 3; } .w-bento i:nth-child(4) { grid-column: 2 / 4; }
.w-magazine { grid-template: 1.2fr 1fr / repeat(3, 1fr); } .w-magazine i:nth-child(1) { grid-column: 1 / 4; }
.w-sidebar { grid-template: 1fr 1fr / .45fr 1fr 1fr; } .w-sidebar i:nth-child(1) { grid-row: 1 / 3; } .w-sidebar i:nth-child(2) { grid-column: 2 / 4; }
.w-cards { grid-template: .8fr 1fr / repeat(3, 1fr); } .w-cards i:nth-child(1) { grid-column: 1 / 4; margin-inline: 10px; }
.w-diagonal { grid-template: 1fr / 1fr 1fr; } .w-diagonal i:nth-child(1) { clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%); } .w-diagonal i:nth-child(n+3) { display: none; }
.w-showcase { grid-template: 1.6fr .6fr / 1fr; place-items: center; } .w-showcase i:nth-child(1) { width: 26px; height: 26px; border-radius: 50%; } .w-showcase i:nth-child(2) { width: 34px; height: 5px; } .w-showcase i:nth-child(n+3) { display: none; }
/* Palette cards */
.pal-strip { flex: none; display: flex; width: 62px; height: 46px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); transform: translateZ(18px); box-shadow: 0 10px 20px -12px var(--a); }
.pal-strip i { flex: 1; transition: flex .4s var(--ease-out); }
.pal-strip i:nth-child(1) { background: var(--b); } .pal-strip i:nth-child(2) { background: var(--c); } .pal-strip i:nth-child(3) { background: var(--a); flex: 1.6; } .pal-strip i:nth-child(4) { background: var(--d); }
.opt-pal:hover .pal-strip i:nth-child(3), .opt-pal[aria-pressed="true"] .pal-strip i:nth-child(3) { flex: 2.6; }
.opt-pal[aria-pressed="true"] { border-color: var(--a); box-shadow: 0 18px 36px -18px var(--a); }
.opt-pal .opt-check { background: var(--a); }
.lab-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 4px 4px 2px; }
.lab-foot .btn.primary { flex: 1; justify-content: center; }
.dice { display: inline-grid; transition: transform .6s var(--ease-out); }
[data-lab-random].rolling .dice { transform: rotate(540deg) scale(1.15); }
/* Stage: browser + floating spec cards in real 3D */
.lab-stage { position: sticky; top: calc(var(--header-h) + 24px); perspective: 1700px; padding: 26px 18px 0; }
.stage-3d { --sx: -7deg; --sy: 4deg; position: relative; transform-style: preserve-3d; transform: rotateY(var(--sx)) rotateX(var(--sy)); transition: transform .8s var(--ease-out); }
.stage-3d.live { transition: transform .25s linear; }
.stage-shadow { position: absolute; inset: 8% 6% -6%; border-radius: 40px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, #D7AD69) 45%, transparent), transparent); filter: blur(40px); transform: translateZ(-90px); opacity: .55; transition: background .6s; pointer-events: none; }
.lab3d .browser { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--nv-navy-950); box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); display: block; }
.browser-bar .dots i:first-child { background: #F26D6D; } .browser-bar .dots i:nth-child(2) { background: #F2C14E; } .browser-bar .dots i:nth-child(3) { background: #5FD38D; }
.browser-bar .url { flex: 1; text-align: center; background: rgba(255,255,255,.05); border-radius: 8px; padding: 5px 10px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(11,23,43,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 50px -24px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.1); color: var(--text); pointer-events: none; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }
.float-card small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.fc-kind { top: -20px; right: 7%; transform: translateZ(70px); animation-delay: -2s; }
.fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #D7AD69) 22%, transparent); color: var(--accent, #EBC789); border: 1px solid color-mix(in srgb, var(--accent, #D7AD69) 50%, transparent); }
.fc-type { left: -30px; bottom: -30px; transform: translateZ(110px); animation-delay: -4s; }
.fc-aa { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; line-height: 1; border-radius: 10px; border: 1px solid var(--line-2); }
.fc-pal { right: -24px; bottom: -36px; transform: translateZ(140px); }
.fc-dots { display: flex; }
.fc-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(11,23,43,.9); margin-inline-start: -7px; transition: background .5s; }
.fc-dots i:first-child { margin: 0; }
@keyframes bob { 50% { translate: 0 -8px; } }
.lab-hint { font-size: 12.5px; color: var(--muted); margin: 64px 0 0; text-align: center; }
/* The preview itself — palette vars come from site.js: --accent, --base, --surface, --soft */
.preview { --accent: #D7AD69; --base: #0B1426; --surface: #13223B; --soft: #F3E3C3; --ink: #F2F4F8; --radius-pv: 14px;
  position: relative; height: clamp(360px, 36vw, 470px); display: flex; flex-direction: column; padding: 20px 28px; overflow: hidden; color: var(--ink); font-family: var(--sans);
  background: radial-gradient(70% 80% at 85% 10%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(160deg, var(--surface), var(--base)); transition: background .6s, color .6s; }
.pv-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: .22em; font-weight: 700; }
.pv-top b { color: var(--accent); font-size: 12px; }
.pv-nav { display: flex; gap: 14px; margin-inline-start: auto; } .pv-nav i { width: 30px; height: 5px; border-radius: 3px; background: currentColor; opacity: .3; }
.pv-menu { opacity: .85; }
.pv-frame { position: relative; flex: 1; display: flex; gap: 18px; min-height: 0; padding-block: 16px; }
.pv-side { display: none; flex-direction: column; gap: 10px; width: 22%; padding: 14px 12px; border-radius: var(--radius-pv); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.pv-side b { height: 30px; border-radius: 8px; background: var(--accent); opacity: .9; } .pv-side i { height: 6px; border-radius: 3px; background: currentColor; opacity: .25; } .pv-side i:nth-child(3) { width: 70%; } .pv-side i:nth-child(5) { width: 55%; }
.pv-grid { position: relative; flex: 1; min-width: 0; display: grid; gap: 14px; grid-template: "text image" 1fr "cards cards" auto / 1.15fr .85fr; }
.pv-text { grid-area: text; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; min-width: 0; }
.pv-text small { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; opacity: .75; }
.pv-text h4 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.1vw, 2.75rem); line-height: 1.02; letter-spacing: -.015em; }
.pv-line { width: 56px; height: 2px; background: var(--accent); }
.pv-btn { padding: 11px 20px; border-radius: 999px; background: var(--accent); color: color-mix(in srgb, var(--base) 90%, #000); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 24px -10px var(--accent); }
.pv-image { grid-area: image; position: relative; overflow: hidden; border-radius: var(--radius-pv); display: grid; place-items: center; color: color-mix(in srgb, var(--soft) 92%, #fff);
  background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--accent) 80%, #fff 0%), transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--accent) 55%, var(--surface)), var(--base)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pv-orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 0 0 40px rgba(255,255,255,.03); }
.pv-motif { position: relative; display: grid; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.pv-motif .ic { width: clamp(56px, 7vw, 96px); height: auto; }
.pv-cards { grid-area: cards; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-cards span { display: grid; grid-template: 34px auto auto / 1fr; gap: 6px; padding: 10px; border-radius: calc(var(--radius-pv) - 4px); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.pv-cards i { border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, transparent), color-mix(in srgb, var(--soft) 30%, transparent)); }
.pv-cards b { height: 6px; width: 80%; border-radius: 3px; background: currentColor; opacity: .5; } .pv-cards em { height: 5px; width: 55%; border-radius: 3px; background: currentColor; opacity: .25; }
.pv-bottom { position: relative; z-index: 3; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; opacity: .6; font-weight: 700; }
.preview.swap .pv-grid, .preview.swap .pv-side { animation: pvIn .65s var(--ease-out); }
@keyframes pvIn { from { opacity: 0; transform: perspective(900px) translateZ(-60px) rotateX(8deg); } }
/* Layouts */
.preview[data-layout="split"] .pv-grid { grid-template: "text image" 1fr "cards cards" auto / 1.4fr .6fr; } .preview[data-layout="split"] .pv-image { background: none; box-shadow: none; } .preview[data-layout="split"] .pv-image .pv-motif { opacity: .2; }
.preview[data-layout="center"] .pv-grid { grid-template: "text" 1fr / 1fr; } .preview[data-layout="center"] .pv-text { align-items: center; text-align: center; } .preview[data-layout="center"] .pv-image { position: absolute; inset: 0; z-index: 0; background: radial-gradient(40% 55% at 50% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); box-shadow: none; } .preview[data-layout="center"] .pv-motif { opacity: .1; } .preview[data-layout="center"] .pv-motif .ic { width: 240px; } .preview[data-layout="center"] .pv-cards { display: none; }
.preview[data-layout="image"] .pv-grid { grid-template: "text image" 1fr / 1fr 1fr; } .preview[data-layout="image"] .pv-cards { display: none; }
.preview[data-layout="full"] .pv-grid { grid-template: "text" 1fr / 1fr; } .preview[data-layout="full"] .pv-image { position: absolute; inset: -60px -28px -40px; z-index: 0; border-radius: 0; } .preview[data-layout="full"] .pv-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--base) 92%, transparent) 25%, transparent 80%); } .preview[data-layout="full"] .pv-motif { margin-inline-start: 45%; } .preview[data-layout="full"] .pv-motif .ic { width: 170px; } .preview[data-layout="full"] .pv-text { justify-content: flex-end; } .preview[data-layout="full"] .pv-cards { display: none; }
.preview[data-layout="bento"] .pv-grid { grid-template: "text text image" 1.25fr "c1 c2 image" 1fr / 1fr 1fr 1fr; } .preview[data-layout="bento"] .pv-text { padding: 16px 18px; border-radius: var(--radius-pv); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); } .preview[data-layout="bento"] .pv-text h4 { font-size: clamp(1.2rem, 2.2vw, 1.9rem); } .preview[data-layout="bento"] .pv-cards { display: contents; } .preview[data-layout="bento"] .pv-cards span:nth-child(1) { grid-area: c1; } .preview[data-layout="bento"] .pv-cards span:nth-child(2) { grid-area: c2; } .preview[data-layout="bento"] .pv-cards span:nth-child(3) { display: none; } .preview[data-layout="bento"] .pv-cards span { grid-template-rows: 1fr auto auto; }
.preview[data-layout="magazine"] .pv-grid { grid-template: "text text" auto "image cards" 1fr / .9fr 1.1fr; } .preview[data-layout="magazine"] .pv-text { flex-direction: row; flex-wrap: wrap; align-items: flex-end; column-gap: 20px; } .preview[data-layout="magazine"] .pv-text small { width: 100%; } .preview[data-layout="magazine"] .pv-text h4 { font-size: clamp(1.7rem, 3.6vw, 3.1rem); } .preview[data-layout="magazine"] .pv-line { display: none; } .preview[data-layout="magazine"] .pv-cards { grid-template-columns: 1fr 1fr; } .preview[data-layout="magazine"] .pv-cards span:nth-child(3) { display: none; } .preview[data-layout="magazine"] .pv-cards span { grid-template-rows: 1fr auto auto; }
.preview[data-layout="sidebar"] .pv-side { display: flex; } .preview[data-layout="sidebar"] .pv-nav { display: none; } .preview[data-layout="sidebar"] .pv-grid { grid-template: "text image" 1fr "cards cards" auto / 1fr .8fr; } .preview[data-layout="sidebar"] .pv-cards span:nth-child(3) { display: none; } .preview[data-layout="sidebar"] .pv-cards { grid-template-columns: 1fr 1fr; } .preview[data-layout="sidebar"] .pv-text h4 { font-size: clamp(1.3rem, 2.4vw, 2.1rem); }
.preview[data-layout="cards"] .pv-grid { grid-template: "text" auto "cards" 1fr / 1fr; } .preview[data-layout="cards"] .pv-text { align-items: center; text-align: center; gap: 10px; } .preview[data-layout="cards"] .pv-text h4 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); } .preview[data-layout="cards"] .pv-line, .preview[data-layout="cards"] .pv-image { display: none; } .preview[data-layout="cards"] .pv-cards span { grid-template-rows: 1fr auto auto; }
.preview[data-layout="diagonal"] .pv-grid { grid-template: "image text" 1fr / 1fr 1fr; } .preview[data-layout="diagonal"] .pv-image { margin: -16px 0 -16px -28px; border-radius: 0; clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); } .preview[data-layout="diagonal"] .pv-cards { display: none; }
.preview[data-layout="showcase"] .pv-grid { grid-template: "image" 1fr "text" auto / 1fr; } .preview[data-layout="showcase"] .pv-image { width: min(46%, 220px); aspect-ratio: 1; justify-self: center; border-radius: 50%; box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 12%, transparent), 0 30px 60px -20px var(--accent); } .preview[data-layout="showcase"] .pv-text { align-items: center; text-align: center; gap: 8px; } .preview[data-layout="showcase"] .pv-text h4 { font-size: clamp(1.1rem, 2vw, 1.7rem); } .preview[data-layout="showcase"] .pv-text h4 br { display: none; } .preview[data-layout="showcase"] .pv-line, .preview[data-layout="showcase"] .pv-cards { display: none; } .preview[data-layout="showcase"] .pv-motif .ic { width: 64px; }
/* Styles */
.preview[data-style="elegant"] { --radius-pv: 2px; background: radial-gradient(60% 70% at 15% 90%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--base) 70%, #1a1612), #0d0b09); }
.preview[data-style="elegant"] .pv-text h4 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.01em; }
.preview[data-style="elegant"] .pv-btn { border-radius: 0; background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
.preview[data-style="minimal"] { --ink: #15171c; --radius-pv: 0px; background: #F5F3EF; }
.preview[data-style="minimal"] .pv-text h4 { font-family: var(--sans); font-weight: 300; text-transform: none; letter-spacing: -.03em; }
.preview[data-style="minimal"] .pv-btn { background: #15171c; color: #fff; border-radius: 0; box-shadow: none; }
.preview[data-style="minimal"] .pv-top b { color: #15171c; }
.preview[data-style="minimal"] .pv-image { background: color-mix(in srgb, var(--accent) 22%, #ece9e2); color: #15171c; box-shadow: none; } .preview[data-style="minimal"] .pv-orb { border-color: rgba(0,0,0,.2); box-shadow: none; }
.preview[data-style="bold"] { --radius-pv: 22px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, var(--base)) 55%, var(--base)); }
.preview[data-style="bold"] .pv-text h4 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); letter-spacing: -.035em; }
.preview[data-style="bold"] .pv-top b { color: var(--ink); }
.preview[data-style="bold"] .pv-btn { background: var(--ink); color: var(--base); }
.preview[data-style="bold"] .pv-image { background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(0,0,0,.25)); }
.preview[data-style="swiss"] { --ink: #111; --radius-pv: 0px; background: linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 12.5% 100%, #EEEDE9; }
.preview[data-style="swiss"] .pv-text h4 { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.055em; line-height: .95; }
.preview[data-style="swiss"] .pv-line { height: 10px; width: 80px; }
.preview[data-style="swiss"] .pv-btn { border-radius: 0; background: #111; color: #fff; box-shadow: none; }
.preview[data-style="swiss"] .pv-top b { color: #111; } .preview[data-style="swiss"] .pv-image { background: var(--accent); color: #111; box-shadow: none; } .preview[data-style="swiss"] .pv-orb { border-color: rgba(0,0,0,.35); box-shadow: none; }
.preview[data-style="organic"] { --ink: color-mix(in srgb, var(--base) 85%, #000); --radius-pv: 30px; background: radial-gradient(50% 60% at 90% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), color-mix(in srgb, var(--soft) 55%, #f7f3ec); }
.preview[data-style="organic"] .pv-text h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; text-transform: none; letter-spacing: -.02em; }
.preview[data-style="organic"] .pv-top b { color: var(--ink); } .preview[data-style="organic"] .pv-line { border-radius: 2px; width: 40px; }
.preview[data-style="organic"] .pv-image { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--soft))); color: #fff; box-shadow: none; animation: blob 12s ease-in-out infinite alternate; }
.preview[data-style="organic"][data-layout="full"] .pv-image, .preview[data-style="organic"][data-layout="diagonal"] .pv-image, .preview[data-style="organic"][data-layout="center"] .pv-image { animation: none; border-radius: 0; }
.preview[data-style="organic"][data-layout="center"] .pv-image { background: radial-gradient(40% 55% at 50% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.preview[data-style="organic"][data-layout="full"] .pv-image::after { background: linear-gradient(90deg, color-mix(in srgb, var(--soft) 85%, #f7f3ec) 25%, transparent 80%); }
@keyframes blob { to { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; } }
.preview[data-style="future"] { --ink: #EAF6FF; --radius-pv: 12px; background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 28px 100%, radial-gradient(60% 70% at 80% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), #04060c; }
.preview[data-style="future"] .pv-text h4 { font-weight: 300; letter-spacing: .06em; text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent); }
.preview[data-style="future"] .pv-text small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); opacity: 1; }
.preview[data-style="future"] .pv-btn { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: 0 0 20px -4px var(--accent), inset 0 0 12px -4px var(--accent); }
.preview[data-style="future"] .pv-image, .preview[data-style="future"] .pv-cards span, .preview[data-style="future"] .pv-side { background: color-mix(in srgb, var(--accent) 8%, rgba(255,255,255,.03)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 30px -10px var(--accent), inset 0 0 30px -18px var(--accent); backdrop-filter: blur(6px); }
.preview[data-style="future"] .pv-motif { color: var(--accent); filter: drop-shadow(0 0 14px var(--accent)); }
/* Layouts that put the motif behind the text keep it subtle in every style */
.preview[data-layout="center"][data-style] .pv-image { background: radial-gradient(40% 55% at 50% 50%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); box-shadow: none; border-radius: 0; animation: none; }
.preview[data-layout="split"][data-style] .pv-image { background: none; box-shadow: none; animation: none; }
.preview[data-layout="split"][data-style] .pv-orb { border-color: color-mix(in srgb, var(--ink) 18%, transparent); box-shadow: none; }
.preview[data-layout="split"][data-style] .pv-motif { color: var(--accent); opacity: .35; }
.preview[data-layout="magazine"] .pv-text { justify-content: flex-start; }
@media (max-width: 1240px) { .lab3d { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; } }
@media (max-width: 1100px) {
  .lab3d { grid-template-columns: 1fr; }
  .lab-stage { position: relative; top: 0; order: -1; padding-inline: 8px; }
  .preview { height: clamp(320px, 56vw, 460px); }
}
@media (max-width: 680px) {
  .lab-stage { padding: 18px 0 0; }
  .stage-3d { --sx: 0deg; --sy: 0deg; }
  .float-card { display: none; }
  .preview { padding: 14px 16px; height: 330px; }
  .pv-nav { display: none; }
  .pv-cards span { padding: 7px; }
  .opt-kind { min-height: 84px; padding: 12px 4px 10px; gap: 6px; } .opt-kind .opt-name { font-size: 11.5px; } .opt-ic { width: 36px; height: 36px; }
  .lt-text b { white-space: normal; text-align: center; font-size: 11px; line-height: 1.2; }
  .lab-panel { padding: 10px; }
  [data-group="style"] { grid-template-columns: 1fr; }
  .opt-pal { gap: 9px; padding: 9px; } .pal-strip { width: 44px; height: 40px; } .opt-pal small { display: none; }
  .opt-layout { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lab-tabs [role="tab"] { min-height: 58px; }
  .lt-text small { display: none; }
  .lab-foot { flex-direction: column-reverse; align-items: stretch; }
  .lab-foot .btn.primary { flex: none; }
  .lab-hint { margin-top: 14px; }
}

/* ---------- Process (3D cards) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; perspective: 1400px; }
.steps-line { position: absolute; top: 47px; left: 6%; right: 6%; height: 1px; background: var(--line-2); }
.steps-line i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--gold-grad); box-shadow: 0 0 12px rgba(235,199,137,.7); transition: transform .2s linear; }
.step { position: relative; overflow: hidden; padding: 32px 26px 30px; text-align: left; min-height: 260px; border-radius: 22px; background: linear-gradient(165deg, rgba(24,43,69,.7), rgba(7,18,37,.92) 60%); border-color: rgba(52,66,88,.9); transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s, opacity .5s var(--ease-out); }
.step.reveal { transform: perspective(1100px) rotateX(18deg) translateY(30px); transition-delay: calc(var(--i, 0) * 110ms); }
.step.reveal.visible { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.step:hover { --lift: -8px; border-color: rgba(235,199,137,.5); box-shadow: 0 40px 70px -36px rgba(0,0,0,.95), 0 0 46px -16px rgba(235,199,137,.35); }
.step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 80%) var(--my, 0%), rgba(235,199,137,.13), transparent 45%); opacity: .6; transition: opacity .4s; pointer-events: none; }
.step:hover::before { opacity: 1; }
.step-ghost { position: absolute; right: -6px; bottom: -34px; font-family: var(--display); font-weight: 800; font-size: 150px; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(235,199,137,.18); transition: transform .7s var(--ease-out), -webkit-text-stroke-color .4s; pointer-events: none; }
.step:hover .step-ghost { transform: translate(-8px, -10px); -webkit-text-stroke-color: rgba(235,199,137,.4); }
.step .s-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--nv-navy-950); border: 1px solid var(--gold); display: grid; place-items: center; margin-bottom: 24px; position: relative; z-index: 1; }
.step .s-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.step.lit .s-dot { box-shadow: 0 0 0 6px rgba(235,199,137,.08), 0 0 24px rgba(235,199,137,.45); }
.step .num { position: relative; font-size: 13px; display: block; margin-bottom: 8px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.step h3 { position: relative; margin: 0 0 10px; font-size: 1.22rem; font-weight: 700; }
.step p { position: relative; margin: 0; color: var(--text-2); font-size: .95rem; }
.step-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.07) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1s var(--ease-out); }
.step:hover .step-glare { transform: translateX(120%); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.contact-copy h2 { margin: 0 0 22px; }
.contact-copy p { color: var(--text-2); font-size: 1.1rem; max-width: 440px; }
.contact-mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.8rem); color: var(--gold-2); text-decoration: none; border-bottom: 1px solid rgba(235,199,137,.35); padding-bottom: 6px; transition: border-color .2s, color .2s; word-break: break-word; }
.contact-mail:hover { color: var(--gold); border-color: var(--gold); }
.contact-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; color: var(--text-2); font-size: 14.5px; }
.contact-points li { display: flex; gap: 12px; align-items: center; }
.contact-points li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(235,199,137,.12); color: var(--gold); font-size: 12px; font-weight: 800; flex: none; }
.form { padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label.f { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 16px; }
.form label.f .req { color: var(--gold); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(3, 10, 22, .5); padding: 12px 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; font-size: 15px; }
.form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { background: var(--navy-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(235,199,137,.12); }
.form .invalid { border-color: var(--bad) !important; }
.form .err { color: var(--bad); font-size: 12.5px; font-weight: 600; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); margin: 4px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.consent a { color: var(--gold-2); }
.lab-chip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-2); }
.lab-chip b { color: var(--text-2); }
.lab-chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; vertical-align: -1px; }
.notice { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.notice.ok { background: rgba(111, 211, 165, .12); color: var(--ok); border: 1px solid rgba(111, 211, 165, .3); }
.notice.bad { background: rgba(240, 138, 138, .1); color: var(--bad); border: 1px solid rgba(240, 138, 138, .3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.start-card .start-title { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; margin: 6px 0 16px; }
.start-steps { margin: 0 0 24px; padding-inline-start: 20px; display: grid; gap: 10px; color: var(--text-2); }
.start-steps li::marker { color: var(--gold); font-weight: 800; }
.start-alt { text-align: center; color: var(--text-2); font-size: 14px; margin: 16px 0 0; }
.start-alt a { color: var(--gold-2); }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line-gold); padding: 72px 0 36px; margin-top: 40px; overflow: hidden; background: linear-gradient(180deg, rgba(7,18,37,.5), var(--nv-navy-950)); }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(640px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 22px rgba(235,199,137,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 24px; max-width: 320px; }
.footer nav { display: flex; flex-direction: column; gap: 11px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; width: fit-content; transition: color .2s, transform .25s var(--ease-out); display: inline-flex; align-items: center; gap: 8px; }
.footer nav a:hover, .footer nav a[aria-current] { color: var(--gold-2); }
.footer nav a:hover { transform: translateX(3px); }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 15.5vw, 15rem); line-height: .8; letter-spacing: -.02em; text-align: center; margin: 56px 0 -.06em; color: transparent; background: linear-gradient(180deg, rgba(235,199,137,.13), rgba(71,122,184,.04) 70%, transparent); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Quick search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 250; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(3,8,16,.6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.palette.open { opacity: 1; }
.palette-box { width: min(640px, 100%); border-radius: 20px; background: rgba(11,23,43,.97); border: 1px solid var(--line-gold); box-shadow: 0 50px 120px -40px #000, 0 0 60px -30px rgba(235,199,137,.35); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .3s var(--ease-out); }
.palette.open .palette-box { transform: none; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--gold); }
.palette-input input { flex: 1; height: 62px; background: transparent; border: 0; outline: none; color: var(--text); font-size: 17px; }
.palette-input input::-webkit-search-cancel-button { display: none; }
kbd { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 7px; }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 440px); overflow-y: auto; }
.palette-list .grp { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; font-weight: 600; }
.palette-list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; text-decoration: none; color: var(--text-2); }
.palette-list a small { color: var(--muted); margin-inline-start: auto; font-size: 12.5px; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-list a .ic { color: var(--gold); opacity: .7; }
.palette-list a[aria-selected="true"] { background: rgba(235,199,137,.1); color: var(--text); box-shadow: inset 2px 0 0 var(--gold); }
.palette-list mark { background: none; color: var(--gold-2); font-weight: 700; }
.palette-empty { color: var(--muted); text-align: center; padding: 28px 0; margin: 0; }
.palette-keys { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* ---------- Legal & error pages ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; padding: 150px 0 80px; }
.legal { max-width: 840px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); }
.legal h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 28px; line-height: 1.1; }
.legal h2 { font-size: 1.05rem; letter-spacing: .02em; color: var(--gold-2); margin: 32px 0 8px; }
.legal p { color: var(--text-2); margin: 0 0 10px; }
.legal a:not(.btn) { color: var(--gold-2); }
.legal address { font-style: normal; color: var(--text-2); white-space: pre-line; }
.error-page { text-align: center; max-width: 620px; margin: 0 auto; }
.error-page .code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 10px 0 12px; }
.error-page p { color: var(--text-2); margin-bottom: 30px; }

/* ---------- Reveal on scroll (fade + 12px, once) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .acc-link { display: none; } }
@media (max-width: 1240px) {
  .nav a { padding: 9px 11px; font-size: 14px; }

}
@media (max-width: 1180px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 10px 24px 24px; margin: 0; background: rgba(7,18,37,.98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-gold); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease-out); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  body.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .header.menu-shown, body.menu-open .header { background: rgba(7,18,37,.98); border-color: var(--line-gold); }
  .nav a { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; font-family: var(--display); font-weight: 600; }
  .nav-glow { display: none; }
  .nav-mobile-only { display: block; color: var(--gold-2) !important; }
  .nav-actions { margin-inline-start: auto; }
  .cta-link { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1100px) {
  .rail { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-intro { align-items: flex-start; }
  .svc-points { margin-top: 0; }
  .svc-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-line { display: none; }
  .ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon li:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .contact { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .wrap { width: calc(100% - 32px); }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text > span { font-size: 14.5px; letter-spacing: .24em; }
  .logo small { font-size: 7.5px; letter-spacing: .28em; }
  .lang summary { padding: 0 8px; }
  .lang summary .chev, .lang summary > .ic:first-child { display: none; }
  .icon-btn, .lang summary, .menu-toggle { width: 44px; height: 44px; }
  .lang summary { width: auto; min-width: 44px; justify-content: center; }
  .hero { padding: calc(var(--header-h) + 36px) 0 130px; align-items: flex-end; }
  .hero-img { object-position: 72% 50%; }
  .hero-shade { background: linear-gradient(0deg, var(--nv-navy-950) 8%, rgba(3,10,22,.82) 45%, rgba(3,10,22,.35) 80%, rgba(3,10,22,.6)); }
  .hero-title { font-size: clamp(2.25rem, 10.5vw, 3rem); }
  .actions .btn { width: 100%; }
  .btn.play { justify-content: space-between; padding-inline-start: 24px; }
  .hero-tags { gap: 10px 18px; margin-top: 30px; font-size: 13px; }
  .scroll-hint { display: none; }
  .ribbon-wrap { margin-top: -70px; }
  .ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; }
  .ribbon li::before { display: none; }
  .ribbon a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-width: 0; } .rb-text { max-width: 100%; }
  .rb-icon { width: 46px; height: 46px; }
  .rb-text b { font-size: 14px; }
  .svc-panel { padding: 22px 18px; border-radius: 22px; }
  .svc-track { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
  .svc-nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lb-stage { padding: 0 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .work-tools { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { width: calc(100% - 32px); }
  .palette { padding-top: 8vh; }
}
@media (hover: none) {
  .project, .step, .opt { --rx: 0deg !important; --ry: 0deg !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-img { transform: scale(1.04); }
  .art-4 .a-gauge { stroke-dashoffset: 4; } .art-4 .a-needle { transform: rotate(84deg); } .art-4 .a-curve { stroke-dashoffset: 0; }
}
@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .nav-actions { gap: 4px; }
  .logo-text small { display: none; }
  .lang summary { padding-inline: 8px; }
}
