/* Steel Access Doors: brushed steel, deep graphite, amber accent. */

:root {
  --bg: #0a0d11;
  --bg-2: #0f141a;
  --panel: #131a22;
  --panel-2: #18212b;
  --line: rgba(190, 205, 220, 0.12);
  --line-2: rgba(190, 205, 220, 0.2);
  --text: #eef2f6;
  --muted: #9aa7b4;
  --amber: #efa21f;
  --amber-2: #ffc35a;
  --amber-ink: #1a1204;
  --air: #8fdcff;
  --steel: linear-gradient(135deg, #f4f6f8 0%, #aeb6bf 38%, #e7eaee 52%, #8c96a1 78%, #d9dde2 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open, body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #c9d3dc; max-width: 58ch; }
.lead-sm { font-size: 17px; color: #d5dde5; }

/* ---------- buttons & chips ---------- */

.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--body); border: 1px solid var(--b);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-amber {
  background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: var(--amber-ink); border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(239, 162, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-amber:hover { box-shadow: 0 16px 40px -12px rgba(239, 162, 31, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-2); }
.btn-wa { background: #1faa55; color: #fff; border-color: transparent; }
.btn .i { width: 18px; height: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font: 500 12.5px/1.2 var(--body); color: #cdd6df; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.chip .i { width: 14px; height: 14px; }
.chip-amber { color: var(--amber-2); border-color: rgba(239, 162, 31, 0.35); background: rgba(239, 162, 31, 0.08); }
.chip-glass { background: rgba(10, 13, 17, 0.45); backdrop-filter: blur(12px); border-color: rgba(239, 162, 31, 0.4); color: #f6e6c6; padding: 8px 14px; font-size: 13px; }
.chip-glass .i { color: var(--amber); }
.chip-glass .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #c9d3dc;
  background: rgba(255, 255, 255, 0.03); transition: 0.2s;
}
.chip-btn span { color: var(--muted); margin-left: 4px; font-size: 12px; }
.chip-btn:hover { border-color: var(--amber); color: #fff; }
.chip-btn.active { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.chip-btn.active span { color: rgba(26, 18, 4, 0.7); }

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); transition: 0.2s;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.icon-btn.sm { width: 38px; height: 38px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 600; font-size: 14px; }

/* ---------- loader ---------- */

.loader {
  position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); transition: opacity 0.6s 0.35s, visibility 0.6s 0.35s;
}
.loader p { font: 600 12px/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin: 0; }
.loader-door { width: 74px; height: 104px; display: flex; perspective: 300px; border: 3px solid #39424d; border-radius: 4px; padding: 2px; box-shadow: 0 0 40px rgba(239, 162, 31, 0.25); background: radial-gradient(circle at 50% 50%, #d9f2ff, #7ec9ee 60%, #1e3a4d); }
.loader-door span { flex: 1; background: var(--steel); transition: transform 0.9s var(--ease); }
.loader-door span:first-child { transform-origin: left center; }
.loader-door span:last-child { transform-origin: right center; }
.loader.done .loader-door span:first-child { transform: rotateY(-100deg); }
.loader.done .loader-door span:last-child { transform: rotateY(100deg); }
.loader.done { opacity: 0; visibility: hidden; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; padding: 14px 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.site-header.scrolled, body:not([data-page='home']) .site-header {
  background: rgba(10, 13, 17, 0.78); backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); padding: 8px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: var(--steel); color: #1a1f25; box-shadow: inset 0 1px 0 #fff, 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.brand-mark b { font: 800 17px/1 var(--display); letter-spacing: -0.04em; }
.brand-mark img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; background: #fff; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; font: 700 16px/1.1 var(--display); letter-spacing: -0.01em; }
.brand-text small { font: 500 11px/1.4 var(--body); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-item > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #cfd8e1;
  transition: 0.2s; position: relative;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a.active { color: var(--amber-2); }
.nav a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.nav-item { position: relative; }
.nav-item .i { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .i, .nav-item:focus-within .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(920px, 90vw); padding: 24px;
  background: rgba(15, 20, 26, 0.96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px) rotateX(-8deg); transform-origin: top center;
  transition: 0.25s var(--ease);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col a { font-size: 13.5px; color: #b9c4cf; padding: 5px 0; }
.mega-col a:hover { color: var(--amber-2); }
.mega-head { display: flex; align-items: center; gap: 8px; font: 600 13px/1.3 var(--display) !important; color: #fff !important; padding-bottom: 8px !important; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-head .i { color: var(--amber); }
.mega-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--amber); font-weight: 600; font-size: 14px; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.header-mail:hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: 0.3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .header-mail { display: none; } }
@media (max-width: 980px) {
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 90px var(--gutter) 40px; background: rgba(8, 11, 14, 0.98); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path 0.5s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
  .nav > a, .nav-item > a { font: 600 24px/1.2 var(--display); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav-item .i { display: none; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 14px 0 6px; backdrop-filter: none; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .mega-grid { grid-template-columns: 1fr; } .brand-text small { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; height: 280vh; }
.hero.static, .hero.no-gl { height: auto; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero.static .hero-sticky, .hero.no-gl .hero-sticky { position: relative; min-height: 640px; }
.hero-canvas { position: absolute; inset: 0; }
.hero-canvas .gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.hero.gl-ready .gl { opacity: 1; }
.hero-fallback {
  position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: flex-end; gap: 6px; padding: 0 8vw 0 0; perspective: 900px; transition: opacity 1s;
  background: radial-gradient(600px 500px at 72% 55%, rgba(143, 220, 255, 0.28), transparent 70%), linear-gradient(180deg, #0c1116, #0a0d11);
}
/* CSS-only doorway shown until (or instead of) WebGL */
.hero-fallback span { width: min(15vw, 190px); height: min(62vh, 520px); background: var(--steel); opacity: 0.85; border: 1px solid #56606b; box-shadow: var(--shadow); }
.hero-fallback span:first-child { transform-origin: left center; transform: rotateY(28deg); }
.hero-fallback span:last-child { transform-origin: right center; transform: rotateY(-28deg); }
@media (max-width: 760px) { .hero-fallback { justify-content: center; padding: 0; align-items: center; opacity: 0.35; } }
.hero.gl-ready .hero-fallback { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 13, 17, 0.88) 0%, rgba(10, 13, 17, 0.55) 38%, rgba(10, 13, 17, 0) 65%), linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-content {
  --p: 0;
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding-top: 60px;
  opacity: calc(1 - var(--p) * 4); transform: translate3d(0, calc(var(--p) * -140px), 0) scale(calc(1 - var(--p) * 0.3)); transform-origin: left center;
}
.hero-content h1 { margin: 18px 0 10px; }
.hero-content h1 .eyebrow { display: flex; }
.h1-main { display: block; font-size: clamp(46px, 8vw, 108px); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; }
.h1-main em {
  font-style: normal; background: linear-gradient(100deg, #fff 0%, #aeb6bf 30%, #fff 50%, #8d97a2 70%, #e9edf1 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }
.hero-content .lead { margin: 6px 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-inside {
  --p: 0;
  position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; padding: 0 var(--gutter); pointer-events: none;
  opacity: calc((var(--p) - 0.6) * 4); transform: translateY(calc((1 - var(--p)) * 40px));
}
.hero-inside > div { display: inline-block; padding: 22px 32px 24px; border-radius: 24px; background: rgba(10, 13, 17, 0.62); backdrop-filter: blur(14px); border: 1px solid rgba(143, 220, 255, 0.25); box-shadow: var(--shadow); }
.hero-inside h2 { font-size: clamp(26px, 4.4vw, 56px); font-weight: 800; margin: 0; }
.hero-inside .eyebrow { color: var(--air); }
.hero.static .hero-inside, .hero.no-gl .hero-inside { display: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue span { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.6s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero.static .scroll-cue, .hero.no-gl .scroll-cue { display: none; }

@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(0deg, rgba(10, 13, 17, 0.96) 0%, rgba(10, 13, 17, 0.7) 45%, rgba(10, 13, 17, 0.1) 80%); }
  .hero-content { justify-content: flex-end; padding-bottom: 56px; }
  .scroll-cue { display: none; }
}

/* ---------- marquee ---------- */

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 600 clamp(18px, 2.2vw, 26px)/1 var(--display); color: #56626e; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ''; width: 8px; height: 8px; background: var(--amber); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-dark { background: radial-gradient(1200px 500px at 80% 0%, rgba(239, 162, 31, 0.07), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.numbered { list-style: none; counter-reset: n; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.numbered li {
  counter-increment: n; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent); border: 1px solid var(--line);
}
.numbered li::before { content: counter(n, decimal-leading-zero); font: 700 13px/1.6 var(--display); color: var(--amber); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px) rotateX(8deg); transform-origin: top center; transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-tilt][data-reveal].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt].tilting { transition: transform 0.08s linear, opacity 0.8s; }

.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), transparent 45%);
}
.tilting .glare { opacity: 1; }

/* media with fallback */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #1b232c, #0f141a); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.media-fallback { display: none; }
.media.noimg img { display: none; }
.media.noimg .media-fallback {
  display: grid; place-items: center; position: absolute; inset: 0; padding: 16px; text-align: center;
  font: 600 15px/1.3 var(--display); color: #8b97a3;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 6px), linear-gradient(135deg, #1e2831, #10161c);
}

/* image stack */
.stack { position: relative; aspect-ratio: 1 / 1.02; transform-style: preserve-3d; border-radius: var(--radius); }
.stack .media { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.stack-back { inset: 0 18% 22% 0; transform: translateZ(-40px); filter: saturate(0.8) brightness(0.8); }
.stack-front { inset: 26% 0 0 22%; transform: translateZ(40px); }
.stack-badge {
  position: absolute; left: 4%; bottom: 6%; transform: translateZ(80px); padding: 16px 20px; border-radius: 16px;
  background: rgba(15, 20, 26, 0.8); backdrop-filter: blur(16px); border: 1px solid rgba(239, 162, 31, 0.35); display: flex; align-items: baseline; gap: 6px;
  box-shadow: var(--shadow);
}
.stack-badge b { font: 800 40px/1 var(--display); color: var(--amber); }
.stack-badge span { font-size: 13px; color: #cdd6df; max-width: 9ch; line-height: 1.2; }

/* stats */
.stats { padding: 0; margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 36px 28px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font: 800 clamp(44px, 5.6vw, 72px)/1 var(--display); letter-spacing: -0.04em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }

/* cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why, .value, .ccard {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d;
}
.why h3, .value h3, .ccard h3 { font-size: 21px; }
.why p, .value p { color: var(--muted); margin: 0; }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: var(--amber-ink);
  background: linear-gradient(180deg, var(--amber-2), var(--amber)); box-shadow: 0 12px 24px -10px rgba(239, 162, 31, 0.7); transform: translateZ(40px);
}
.why-icon .i { width: 26px; height: 26px; }
.why-num { position: absolute; right: 20px; top: 14px; font: 800 64px/1 var(--display); color: rgba(255, 255, 255, 0.04); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ring carousel */
.ring-nav { display: flex; gap: 10px; }
.ring-stage { height: 470px; perspective: 1600px; display: grid; place-items: center; overflow: hidden; margin: 0 calc(var(--gutter) * -1); cursor: grab; touch-action: pan-y; user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { position: relative; width: 300px; height: 400px; transform-style: preserve-3d; }
.ring-item {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; backface-visibility: hidden; transition: filter 0.5s, opacity 0.5s; filter: brightness(0.45) saturate(0.6);
  box-shadow: var(--shadow);
}
.ring-item.front { filter: none; border-color: rgba(239, 162, 31, 0.5); }
.ring-item .media { flex: 1; min-height: 0; background: #fff; }
.ring-item .media img { object-fit: contain; }
.ring-body { padding: 18px 20px 20px; }
.ring-body h3 { font-size: 18px; margin-bottom: 6px; }
.ring-body p { font-size: 13.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ring-caption { text-align: center; font: 600 15px/1 var(--display); color: var(--amber-2); min-height: 1em; margin: 8px 0 0; }
@media (max-width: 600px) { .ring { width: 230px; height: 330px; } .ring-stage { height: 380px; } }

/* showroom */
.showroom { border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(900px 400px at 30% 100%, rgba(143, 220, 255, 0.08), transparent 60%), linear-gradient(180deg, #121a22, #0c1117); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; }
.tab:hover { color: var(--text); }
.tab.active { background: rgba(239, 162, 31, 0.14); color: var(--amber-2); }
.showroom-body { display: grid; grid-template-columns: 1fr 320px; min-height: 520px; }
.showroom-info { padding: 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.showroom-info h3 { font-size: 26px; margin-top: 12px; }
.showroom-info p { color: var(--muted); }
@media (max-width: 900px) { .showroom-body { grid-template-columns: 1fr; } .showroom-info { border-left: 0; border-top: 1px solid var(--line); padding: 24px; } }

.viewer { position: relative; width: 100%; height: 100%; min-height: 420px; cursor: grab; }
.viewer:active { cursor: grabbing; }
.viewer .gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viewer-lg { min-height: 520px; }
.viewer.loading::before, .viewer:not(.ready):not(.no-gl)::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 50%;
  border: 3px solid var(--line-2); border-top-color: var(--amber); animation: spin 0.9s linear infinite;
}
.viewer.no-gl::after { content: '3D preview is not available on this device'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .viewer, .viewer-lg { min-height: 360px; } }

/* page hero */
.page-hero { position: relative; padding: 150px 0 60px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(900px 400px at 85% 0%, rgba(239, 162, 31, 0.12), transparent 60%), var(--bg-2); }
.page-hero-grid {
  position: absolute; inset: -40% -10% 0; pointer-events: none;
  background-image: linear-gradient(rgba(239, 162, 31, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 162, 31, 0.16) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(600px) rotateX(62deg) translateY(10%); transform-origin: bottom;
  mask-image: linear-gradient(0deg, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 75%);
  animation: gridmove 8s linear infinite;
}
@keyframes gridmove { to { background-position: 0 56px; } }
@media (prefers-reduced-motion: reduce) { .page-hero-grid { animation: none; } }
.page-hero .wrap { position: relative; }
.page-title { font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--amber-2); }
.crumbs [aria-current] { color: var(--text); }

/* values / flip */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }
.flip { perspective: 1400px; height: 300px; width: 100%; text-align: left; display: block; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; border-radius: 24px; padding: 36px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line-2); overflow: hidden; }
.flip-front { background: radial-gradient(500px 300px at 100% 0%, rgba(239, 162, 31, 0.2), transparent 60%), linear-gradient(160deg, var(--panel-2), var(--panel)); }
.flip-front .why-icon { margin-bottom: auto; }
.flip-title { font: 800 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -0.04em; }
.flip-hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.flip-back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--amber-2), var(--amber)); color: var(--amber-ink); justify-content: center; }
.flip-back .eyebrow { color: var(--amber-ink); }
.flip-text { font: 600 clamp(19px, 2vw, 24px)/1.4 var(--display); }

/* products */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--muted); min-width: min(280px, 100%); }
.search input { background: none; border: 0; color: var(--text); font: inherit; outline: none; width: 100%; }
.search:focus-within { border-color: var(--amber); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transform-style: preserve-3d; }
.pcard-media { aspect-ratio: 4 / 3.2; background: #fff; }
.pcard:hover .media img { transform: scale(1.06); }
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.pcard-body h3 { font-size: 19px; margin: 4px 0 0; }
.pcard-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; flex: 1; }
.pcard:hover { border-color: rgba(239, 162, 31, 0.45); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* product page */
.product-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .product-top { grid-template-columns: 1fr; } }
.product-copy .chip { margin-bottom: 18px; }
.product-copy p { color: #c3cdd7; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 22px 0 26px; }
.specs div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.specs dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font: 600 15px/1.3 var(--display); }
.viewer-card { position: sticky; top: 90px; border-radius: 24px; border: 1px solid var(--line-2); overflow: hidden; background: radial-gradient(700px 360px at 50% 110%, rgba(143, 220, 255, 0.1), transparent 60%), linear-gradient(180deg, #121a22, #0b1016); box-shadow: var(--shadow); }
@media (max-width: 960px) { .viewer-card { position: relative; top: 0; } }
.viewer-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); }
.viewer-wrap { position: relative; height: clamp(360px, 48vw, 540px); }
.viewer-wrap .viewer { position: absolute; inset: 0; min-height: 0; }
.viewer-photo { position: absolute; inset: 0; background: #fff; }
.viewer-photo .media { width: 100%; height: 100%; background: #fff; }
.viewer-photo img { object-fit: contain; }
.viewer-tools { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 8px; }
.viewer-tools .icon-btn { background: rgba(10, 13, 17, 0.6); backdrop-filter: blur(8px); }
.viewer-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 13, 17, 0.6); backdrop-filter: blur(8px); font-size: 13px; color: #cdd6df; white-space: nowrap; pointer-events: none; }
.door-styles { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }

.variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.variant { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-rows: 220px auto; transform-style: preserve-3d; }
.variant .media { background: #fff; }
.variant .media img { object-fit: contain; }
.variant > div:not(.media) { padding: 20px 22px 24px; }
.variant h3 { font-size: 19px; }
.variant p { color: var(--muted); font-size: 14.5px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); position: relative; overflow: hidden; }
.feature::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--amber), transparent); transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease); }
.feature:hover::after { transform: scaleX(1); }
.feature-num { font: 700 13px/1 var(--display); color: var(--amber); }
.feature h3 { font-size: 17px; margin: 12px 0 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* enquiry & forms */
.enquiry { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; } }
.form-card, .map-card { padding: clamp(22px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(170deg, var(--panel-2), var(--panel)); }
.contact-mini { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.contact-mini li { display: flex; align-items: center; gap: 12px; }
.contact-mini .i { color: var(--amber); }
.contact-mini a:hover { color: var(--amber-2); }
.form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field 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% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select option { background: var(--panel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(239, 162, 31, 0.15); }
.field .invalid { border-color: #ff6b6b; }
.form-error { color: #ff8a8a; font-size: 14px; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard { display: flex; flex-direction: column; gap: 6px; }
.ccard a { color: #d5dde5; }
.ccard a:hover { color: var(--amber-2); }
.ccard p { color: #d5dde5; margin: 0 0 6px; }
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 3.4; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform 0.6s var(--ease); box-shadow: var(--shadow); }
.map-frame:hover { transform: none; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* CTA */
.cta-band {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 48px);
  border-radius: 28px; border: 1px solid rgba(239, 162, 31, 0.35); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(239, 162, 31, 0.25), transparent 60%), linear-gradient(160deg, #1a222b, #10161c);
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* gallery */
.gallery-filter { margin-bottom: 28px; }
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry .gitem { break-inside: avoid; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-grid .gitem .media { aspect-ratio: 1; }
.gitem { position: relative; display: block; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gitem .media { background: #fff; min-height: 160px; }
.gitem img { height: auto; }
.gallery-grid .gitem img { height: 100%; }
.gitem:hover img { transform: scale(1.05); }
.gcap { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(10, 13, 17, 0.75); backdrop-filter: blur(8px); font-size: 13px; text-align: left; opacity: 0; transform: translateY(8px); transition: 0.3s var(--ease); }
.gitem:hover .gcap, .gitem:focus-visible .gcap { opacity: 1; transform: none; }
@media (hover: none) { .gcap { opacity: 1; transform: none; } }

/* modals */
dialog { color: var(--text); }
.modal { border: 0; padding: var(--gutter); background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.modal::backdrop, .lightbox::backdrop { background: rgba(5, 7, 9, 0.72); backdrop-filter: blur(8px); }
.modal[open] { display: grid; place-items: center; }
.modal-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px);
  border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(170deg, #1a222b, #10161c); box-shadow: var(--shadow);
  animation: pop 0.5s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: perspective(900px) rotateX(14deg) translateY(30px) scale(0.96); } }
.modal-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); z-index: 2; background: rgba(10, 13, 17, 0.6); }
.modal-x:hover { color: var(--amber); border-color: var(--amber); }
.announce { text-align: center; }
.announce h2 { font-size: clamp(24px, 3vw, 32px); }
.announce .btn { margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(239, 162, 31, 0.1); border: 1px solid rgba(239, 162, 31, 0.3); font-size: 13.5px; }
.ticks .i, .badge-line .i { color: var(--amber); }
.badge-line { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--display); color: var(--amber-2); }
.seal { width: 132px; height: 132px; margin: 4px auto 22px; perspective: 600px; }
.seal-inner {
  width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: conic-gradient(from 0deg, #ffd27a, #efa21f, #b8730a, #efa21f, #ffd27a, #efa21f, #b8730a, #ffd27a);
  color: var(--amber-ink); box-shadow: 0 0 0 6px rgba(239, 162, 31, 0.15), 0 20px 50px -10px rgba(239, 162, 31, 0.6), inset 0 0 0 8px rgba(255, 255, 255, 0.25);
  animation: seal 6s var(--ease) infinite;
}
.seal-inner b { font: 800 26px/1 var(--display); letter-spacing: 0.02em; }
.seal-inner span { font: 600 11px/1.4 var(--body); letter-spacing: 0.2em; text-transform: uppercase; }
.seal-i { width: 26px; height: 26px; margin-bottom: 4px; }
@keyframes seal { 0%, 100% { transform: rotateY(-18deg) rotateX(6deg); } 50% { transform: rotateY(18deg) rotateX(-6deg); } }
@media (prefers-reduced-motion: reduce) { .seal-inner { animation: none; } .modal-card { animation: none; } }

.lightbox { border: 0; padding: 0; background: transparent; width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; }
.lb-figure { margin: 0; justify-self: center; max-width: min(1000px, 100%); animation: pop 0.45s var(--ease); }
.lb-figure.from-right { animation: slideR 0.45s var(--ease); }
.lb-figure.from-left { animation: slideL 0.45s var(--ease); }
@keyframes slideR { from { opacity: 0; transform: perspective(1200px) translateX(60px) rotateY(-18deg); } }
@keyframes slideL { from { opacity: 0; transform: perspective(1200px) translateX(-60px) rotateY(18deg); } }
.lb-figure .media { border-radius: 16px; background: #fff; max-height: 78vh; }
.lb-figure img { max-height: 78vh; width: auto; margin: 0 auto; object-fit: contain; }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 0; font-size: 14px; }
.lb-figure figcaption span { color: var(--muted); }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(10, 13, 17, 0.6); }
.lb-nav:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 640px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 60px 12px 20px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: end; }
  .lb-next { grid-row: 2; justify-self: start; }
}

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); padding: 14px 20px; border-radius: 14px; background: #1d2630; border: 1px solid rgba(239, 162, 31, 0.4); box-shadow: var(--shadow); font-size: 14px; max-width: calc(100vw - 32px); transition: transform 0.4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* floating actions */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; gap: 12px; }
.fab-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease); }
.fab-btn:hover { transform: translateY(-3px) scale(1.05); }
.fab-btn svg { width: 26px; height: 26px; }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa svg { fill: currentColor; }
.fab-call { background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: var(--amber-ink); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #080b0e; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.8fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about { margin: 18px 0; font-size: 14.5px; max-width: 36ch; }
.site-footer h4 { font-size: 15px; margin-bottom: 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; color: #b8c3ce; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .i { color: var(--amber); margin-top: 4px; }
.footer-list a:hover { color: var(--amber-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px var(--gutter) 90px; margin-top: 56px; border-top: 1px solid var(--line); font-size: 13px; color: #8391a0; }

/* page transition */
.page-enter { animation: pageIn 0.7s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: perspective(1400px) translateY(24px) rotateX(4deg); } }
