/* ---------- Self-hosted premium fonts (variable, latin) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ============================================
   HIGHBROW VR — STYLESHEET v2 ("Holographic")
   Premium dark · volumetric light · glass · grain
   Type: Clash Display + Switzer (Fontshare)
   ============================================ */

:root {
  /* Surfaces — deep, cool undertone */
  --bg:    #07090d;
  --bg-1:  #0b0e14;
  --bg-2:  #10141c;
  --bg-3:  #161c26;

  /* Glass + hairlines (light-based, not flat fills) */
  --glass:        rgba(255,255,255,0.022);
  --glass-2:      rgba(255,255,255,0.04);
  --hair:         rgba(255,255,255,0.08);
  --hair-strong:  rgba(255,255,255,0.15);
  --edge-light:   rgba(255,255,255,0.10);

  /* Text */
  --tx:   #f5f8fb;
  --tx-2: #aab6c2;
  --tx-3: #67727e;

  /* Accent — jewel green + holographic spectrum */
  --acc:    #00e6a0;
  --acc-2:  #2fd2e2;
  --acc-3:  #8a93ff;
  --acc-deep: #06b07e;
  --glow:   rgba(0,230,160,0.22);
  --glow-soft: rgba(0,230,160,0.12);
  --holo:   linear-gradient(115deg, #00e6a0 0%, #2fd2e2 45%, #8a93ff 100%);
  --holo-dim: linear-gradient(115deg, rgba(0,230,160,0.16), rgba(47,210,226,0.12), rgba(138,147,255,0.14));

  /* Type */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --f-mono:    'Hanken Grotesk', system-ui, sans-serif; /* labels: letterspaced caps */

  --s1:8px; --s2:16px; --s3:24px; --s4:32px; --s5:40px; --s6:48px; --s8:64px; --s10:80px; --s12:112px;

  --t-fast: 160ms ease;
  --t: 320ms cubic-bezier(0.22,0.61,0.36,1);
  --t-slow: 720ms cubic-bezier(0.16,1,0.3,1);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1440px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--tx-2);
  line-height: 1.62;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Film grain — premium texture overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--s12) 0; position: relative; }
.section-sm { padding: var(--s8) 0; position: relative; }
@media (max-width: 768px){ .section{ padding: var(--s10) 0; } .wrap{ padding: 0 20px; } }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--f-display); color: var(--tx); line-height: 1.04; font-weight: 450; letter-spacing: -0.012em; font-optical-sizing: auto; }
h1 { font-size: clamp(3rem, 6.8vw, 5.6rem); font-weight: 430; letter-spacing: -0.022em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 440; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 480; }
h4 { font-size: 1.25rem; font-weight: 540; letter-spacing: -0.005em; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--acc);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content:""; width: 22px; height: 6px; border-radius: 3px;
  background: var(--holo);
  box-shadow: 0 0 14px var(--glow);
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--tx-2); max-width: 60ch; line-height: 1.6; }
.accent { color: var(--acc); }
.holo {
  background: var(--holo);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; font-family: var(--f-body); font-weight: 600; font-size: 0.96rem;
  border-radius: 100px;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn-primary {
  position: relative; color: #032018;
  background: linear-gradient(180deg, #14f0ab, #00d090);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 30px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 18px 44px -12px var(--glow); }
.btn-ghost {
  color: var(--tx);
  background: var(--glass-2);
  border: 1px solid var(--hair);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--hair-strong); transform: translateY(-2px); background: rgba(255,255,255,0.06); }
.btn .arr { transition: transform var(--t); }
.btn:hover .arr { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; letter-spacing: 0.01em; color: var(--acc); font-weight: 600;
  transition: gap var(--t), color var(--t);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Atmospheric backgrounds (replaces grid) ---------- */
.atmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.atmos::before, .atmos::after {
  content:""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.5;
}
.atmos::before {
  width: 560px; height: 560px; top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(0,230,160,0.30), transparent 62%);
  animation: float-a 18s ease-in-out infinite;
}
.atmos::after {
  width: 480px; height: 480px; top: 40px; left: -160px;
  background: radial-gradient(circle, rgba(138,147,255,0.20), transparent 60%);
  animation: float-b 22s ease-in-out infinite;
}
@keyframes float-a { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-40px,40px) scale(1.1);} }
@keyframes float-b { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,-30px) scale(1.08);} }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,13,0.55);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color var(--t), background var(--t);
}
.nav.scrolled { border-color: var(--hair); background: rgba(7,9,13,0.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--f-body); font-weight: 700; font-size: 1.24rem; color: var(--tx); letter-spacing: -0.02em; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--holo); display: grid; place-items: center;
  color: #04130d; font-weight: 700; font-size: 1rem; font-family: var(--f-body);
  box-shadow: 0 0 22px -4px var(--glow), 0 1px 0 rgba(255,255,255,0.4) inset;
}
.logo .mark span { transform: translateY(-1px); }
.logo .mark-img { height: 31px; width: auto; display: block; filter: drop-shadow(0 0 16px rgba(0,230,160,0.4)); }
.logo .logo-text { display: inline-flex; align-items: center; }
.footer-logo-link { gap: 0; }
.footer-logo { height: 48px; width: auto; display: block; opacity: 0.96; }
.nav-links { display: flex; align-items: center; gap: var(--s5); }
.nav-links a { font-size: 0.94rem; color: var(--tx-2); font-weight: 500; transition: color var(--t); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--tx); }
.nav-links a.active::after { content:""; position: absolute; left:0; bottom:-7px; width:100%; height:2px; background: var(--holo); border-radius:2px; }
.nav-cta { display: flex; align-items: center; gap: var(--s3); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--hair); background: var(--glass-2); }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--tx); margin: 3px auto; transition: var(--t); border-radius: 2px; transform-origin: center; }
.menu-btn.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 0; z-index: 99; background: rgba(7,9,13,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: var(--s5) 24px; transform: translateX(100%); transition: transform var(--t);
  display: flex; flex-direction: column; gap: var(--s2);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--f-display); font-size: 1.6rem; color: var(--tx); padding: var(--s2) 0; border-bottom: 1px solid var(--hair); }
.mobile-menu .btn { margin-top: var(--s3); justify-content: center; }
@media (max-width: 940px){ .nav-links, .nav-cta .btn { display: none; } .menu-btn { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 130px) 0 var(--s12); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s8); align-items: center; }
.hero h1 { margin-bottom: var(--s4); }
.hero .lead { margin-bottom: var(--s5); }
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s6); }
.hero-trust { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--tx-3); text-transform: uppercase; font-weight: 600; }
@media (max-width: 920px){ .hero-inner { grid-template-columns: 1fr; gap: var(--s6); } }

/* Signature: holographic light portal (replaces wireframe spatial) */
.spatial {
  position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--hair);
  box-shadow: 0 1px 0 var(--edge-light) inset, 0 40px 90px -40px rgba(0,0,0,0.8);
  overflow: hidden; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* aurora light field (was floor) */
.spatial-floor {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,230,160,0.55), transparent 45%),
    radial-gradient(circle at 72% 60%, rgba(138,147,255,0.45), transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(47,210,226,0.40), transparent 50%);
  filter: blur(34px); opacity: 0.7;
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(4%,-3%) scale(1.12); }
  100% { transform: translate(-3%,3%) scale(1.05); }
}
/* concentric soft rings + core */
.spatial-core { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: 150px; height: 150px; }
.spatial-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); opacity: 0; animation: ring 4.2s ease-out infinite; }
.spatial-ring:nth-child(2){ animation-delay: 1.4s; } .spatial-ring:nth-child(3){ animation-delay: 2.8s; }
@keyframes ring { 0%{ transform: scale(0.4); opacity: 0.6;} 100%{ transform: scale(1.9); opacity: 0;} }
.spatial-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 26px 8px rgba(0,230,160,0.9), 0 0 60px 18px var(--glow);
}
/* glass viewport frame highlight */
.spatial::before {
  content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.6;
}
.spatial-badge {
  position: absolute; bottom: var(--s3); left: var(--s3); right: var(--s3); z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; letter-spacing: 0.18em; color: var(--tx-2); text-transform: uppercase; font-weight: 600;
  padding-top: var(--s2); border-top: 1px solid var(--hair);
}
.spatial-badge .live { color: var(--acc); display: inline-flex; align-items: center; gap: 7px; }
.spatial-badge .live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: blink 1.6s infinite; }
@keyframes blink { 50%{ opacity: 0.25; } }

/* ---------- Section header ---------- */
.sec-head { max-width: 64ch; margin-bottom: var(--s8); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: var(--s3); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.pillar {
  position: relative; padding: var(--s6); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--hair);
  box-shadow: 0 1px 0 var(--edge-light) inset;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.pillar::after { content:""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, var(--glow-soft), transparent 55%); opacity: 0; transition: opacity var(--t); }
.pillar:hover { transform: translateY(-6px); border-color: var(--hair-strong); box-shadow: 0 1px 0 var(--edge-light) inset, 0 30px 60px -30px rgba(0,0,0,0.7), 0 0 40px -16px var(--glow); }
.pillar:hover::after { opacity: 1; }
.pillar > * { position: relative; z-index: 1; }
.pillar .tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acc); margin-bottom: var(--s3); font-weight: 600; }
.pillar h3 { margin-bottom: var(--s2); }
.pillar p { margin-bottom: var(--s4); }
.pillar ul { margin-bottom: var(--s5); }
.pillar li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 0.94rem; color: var(--tx-2); border-bottom: 1px solid var(--hair); }
.pillar li:last-child { border-bottom: none; }
.pillar li::before { content:""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--holo); flex-shrink: 0; box-shadow: 0 0 8px var(--glow); }
@media (max-width: 768px){ .pillars { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden;
}
.stat { background: var(--bg-1); padding: var(--s6) var(--s4); text-align: center; transition: background var(--t); }
.stat:hover { background: var(--bg-2); }
.stat .num { font-family: var(--f-display); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 600; color: var(--tx); letter-spacing: -0.03em; line-height: 1; }
.stat .num .suffix { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); margin-top: 12px; font-weight: 600; }
@media (max-width: 768px){ .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Grids / cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
@media (max-width: 900px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--glass); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: var(--s5);
  box-shadow: 0 1px 0 var(--edge-light) inset;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}
.card:hover { transform: translateY(-6px); border-color: var(--hair-strong); background: var(--glass-2); box-shadow: 0 1px 0 var(--edge-light) inset, 0 26px 50px -28px rgba(0,0,0,0.7), 0 0 34px -18px var(--glow); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s4);
  background: var(--holo-dim); border: 1px solid var(--hair); color: var(--acc);
}
.card h4 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; }

/* Feature case card */
.case {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--edge-light) inset;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.case:hover { transform: translateY(-6px); border-color: var(--hair-strong); box-shadow: 0 1px 0 var(--edge-light) inset, 0 30px 60px -30px rgba(0,0,0,0.75), 0 0 40px -18px var(--glow); }
.case-visual { height: 200px; position: relative; overflow: hidden; border-bottom: 1px solid var(--hair); background: var(--bg-2); }
/* aurora visual (was mesh grid) */
.case-visual .mesh {
  position: absolute; inset: -30%;
  background:
    radial-gradient(circle at 35% 40%, rgba(0,230,160,0.45), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(138,147,255,0.4), transparent 48%),
    radial-gradient(circle at 55% 80%, rgba(47,210,226,0.35), transparent 50%);
  filter: blur(30px); opacity: 0.55; transition: opacity var(--t), transform var(--t);
}
.case:hover .mesh { opacity: 0.8; transform: scale(1.06); }
.case-visual .cat { position: absolute; top: var(--s3); left: var(--s3); z-index: 2; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx); font-weight: 600; background: rgba(7,9,13,0.5); padding: 6px 12px; border-radius: 100px; border: 1px solid var(--hair); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.case-visual .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0.92; z-index: 1; }
.case-visual .glyph svg { filter: drop-shadow(0 0 16px rgba(0,230,160,0.5)); }
.case-body { padding: var(--s5); flex: 1; display: flex; flex-direction: column; }
.case-body h4 { margin-bottom: 8px; }
.case-body .meta { font-size: 0.7rem; color: var(--tx-3); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s2); font-weight: 600; }
.case-body p { font-size: 0.92rem; margin-bottom: var(--s3); }
.case-body .impact { font-size: 0.82rem; color: var(--acc); margin-bottom: var(--s3); font-weight: 600; }
.case-body .link-arrow { margin-top: auto; }

/* ---------- Tech chips ---------- */
.strip { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  font-size: 0.85rem; letter-spacing: 0.01em; color: var(--tx-2); font-weight: 500;
  padding: 11px 20px; border: 1px solid var(--hair); border-radius: 100px; background: var(--glass);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.chip:hover { border-color: var(--hair-strong); color: var(--tx); background: var(--glass-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s3); position: relative; counter-reset: stepcount; }
.step {
  position: relative; z-index: 1; padding: var(--s5); padding-top: calc(var(--s5) + 4px);
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--edge-light) inset; overflow: hidden; counter-increment: stepcount;
  transition: transform 0.45s var(--t), border-color var(--t), box-shadow var(--t);
}
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--holo); opacity: 0.5; transition: opacity var(--t); z-index: 2; }
.step::after { content: counter(stepcount, decimal-leading-zero); position: absolute; right: 12px; bottom: -16px; font-family: var(--f-display); font-weight: 500; font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--hair-strong); opacity: 0.5; pointer-events: none; z-index: 0; }
.step > * { position: relative; z-index: 1; }
.step:hover { transform: translateY(-6px); border-color: rgba(0,230,160,0.28); box-shadow: 0 1px 0 var(--edge-light) inset, 0 26px 55px -32px rgba(0,0,0,0.85); }
.step:hover::before { opacity: 1; }
.step:hover::after { -webkit-text-stroke-color: rgba(0,230,160,0.4); opacity: 0.75; }
.step .n { font-size: 0.72rem; color: var(--acc); letter-spacing: 0.16em; margin-bottom: var(--s3); font-weight: 600; text-transform: uppercase; }
.step h4 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: 0.88rem; }
.step .dur { display: inline-block; margin-top: var(--s4); font-size: 0.74rem; color: var(--tx-2); letter-spacing: 0.04em; padding: 4px 12px; border: 1px solid var(--hair); border-radius: 100px; transition: border-color var(--t), color var(--t); }
.step:hover .dur { border-color: rgba(0,230,160,0.35); color: var(--tx); }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }

/* ---------- Split + panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split.flip .split-media { order: -1; }
.panel {
  background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: var(--s6);
  box-shadow: 0 1px 0 var(--edge-light) inset;
}
.panel .row { display: flex; justify-content: space-between; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--hair); font-size: 0.92rem; }
.panel .row:last-child { border-bottom: none; }
.panel .row span:first-child { color: var(--tx-2); }
.panel .row span:last-child { color: var(--tx); font-weight: 600; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: var(--s5); } .split.flip .split-media { order: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) 0; text-align: left; color: var(--tx); font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; }
.faq-q .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--hair); display: grid; place-items: center; position: relative; transition: border-color var(--t), background var(--t); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position: absolute; background: var(--acc); border-radius: 2px; }
.faq-q .pm::before { width: 11px; height: 1.5px; }
.faq-q .pm::after { width: 1.5px; height: 11px; transition: transform var(--t), opacity var(--t); }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .pm { border-color: var(--acc); background: var(--glow-soft); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding-bottom: var(--s4); font-size: 0.96rem; color: var(--tx-2); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--hair); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  box-shadow: 0 1px 0 var(--edge-light) inset;
  padding: var(--s12) var(--s6);
}
.cta-band::before { content:""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--glow-soft), transparent 60%); }
.cta-band::after { content:""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(138,147,255,0.16), transparent 60%); filter: blur(50px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: var(--s3); }
.cta-band p { max-width: 56ch; margin: 0 auto var(--s5); }
.cta-actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair); padding: var(--s10) 0 var(--s6); margin-top: var(--s12); position: relative; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s5); margin-bottom: var(--s8); }
.footer h5 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-3); margin-bottom: var(--s3); font-weight: 600; }
.footer-col a { display: block; font-size: 0.93rem; color: var(--tx-2); padding: 7px 0; transition: color var(--t); }
.footer-col a:hover { color: var(--acc); }
.footer-brand p { font-size: 0.93rem; margin-top: var(--s3); max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s5); border-top: 1px solid var(--hair); font-size: 0.84rem; color: var(--tx-3); flex-wrap: wrap; gap: var(--s2); }
.footer-bottom .mono { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; padding: var(--s12) 0 var(--s8); overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero h1 { margin-bottom: var(--s4); }

/* ---------- Filter tabs ---------- */
.tabs { display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s8); }
.tab { font-size: 0.86rem; letter-spacing: 0.02em; font-weight: 500; padding: 11px 22px; border-radius: 100px; border: 1px solid var(--hair); color: var(--tx-2); background: var(--glass); transition: all var(--t); }
.tab:hover { border-color: var(--hair-strong); color: var(--tx); }
.tab.active { background: var(--holo); border-color: transparent; color: #04130d; font-weight: 600; box-shadow: 0 0 24px -8px var(--glow); }

/* ---------- Forms ---------- */
.form { background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: 0 1px 0 var(--edge-light) inset; }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 10px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; font-family: var(--f-body); font-size: 0.96rem;
  background: rgba(0,0,0,0.25); border: 1px solid var(--hair); border-radius: var(--radius); color: var(--tx);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: var(--tx-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--acc); background: rgba(0,0,0,0.4); box-shadow: 0 0 0 3px var(--glow-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (max-width: 560px){ .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--hair); border-radius: var(--radius); background: rgba(0,0,0,0.2); cursor: pointer; transition: border-color var(--t), background var(--t); font-size: 0.92rem; color: var(--tx-2); }
.choice:hover { border-color: var(--hair-strong); }
.choice input { width: auto; accent-color: var(--acc); }
.choice.selected { border-color: var(--acc); background: var(--glow-soft); color: var(--tx); }
.form-note { font-size: 0.84rem; color: var(--tx-3); margin-top: var(--s3); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.currency-toggle { display: inline-flex; gap: 6px; }
.currency-toggle button { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--hair); background: var(--glass); color: var(--tx-3); transition: all var(--t); }
.currency-toggle button.active { background: var(--holo); border-color: transparent; color: #04130d; }
.form-success { display: none; text-align: center; padding: var(--s8) var(--s4); }
.form-success.show { display: block; }
.form-success .check { width: 68px; height: 68px; margin: 0 auto var(--s4); border-radius: 50%; background: var(--holo-dim); border: 1px solid var(--hair); display: grid; place-items: center; color: var(--acc); }

/* ---------- Contact info ---------- */
.info-card { background: var(--glass); border: 1px solid var(--hair); border-radius: var(--radius); padding: var(--s4); margin-bottom: var(--s3); box-shadow: 0 1px 0 var(--edge-light) inset; }
.info-card .k { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 8px; font-weight: 600; }
.info-card .v { color: var(--tx); font-size: 1.02rem; }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow), transform var(--t-slow); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--s2); } .mt-2 { margin-top: var(--s4); } .mt-3 { margin-top: var(--s6); }
.mono { font-family: var(--f-body); }
.center { text-align: center; }
.divider { height: 1px; background: var(--hair); margin: var(--s8) 0; }

/* ============================================
   INTERACTION LAYER (Awwwards-flavored, gated)
   ============================================ */

/* ---- Preloader (homepage) ---- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.9s cubic-bezier(0.76,0,0.24,1);
}
.preloader.done { transform: translateY(-100%); }
.pre-inner { text-align: center; width: min(80vw, 560px); }
.pre-vr { margin: 0 auto; width: min(70vw, 260px); }
.pre-vr svg { display: block; width: 100%; height: auto; overflow: visible; }
.pre-vr-body { fill: none; stroke: var(--hair-strong); stroke-width: 2; }
.pre-vr-fill { opacity: 0.85; transition: width 0.15s linear; }
.pre-vr-strap { fill: none; stroke: var(--hair-strong); stroke-width: 2; }
.pre-vr-lens { fill: var(--bg); stroke: var(--hair-strong); stroke-width: 2; transition: stroke 0.3s ease, filter 0.3s ease; }
.pre-vr-bridge { fill: var(--bg-1); stroke: var(--hair-strong); stroke-width: 2; }
.preloader.done .pre-vr-lens { stroke: var(--acc); filter: drop-shadow(0 0 10px var(--glow)); }
.pre-label { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--tx-3); font-weight: 600; margin-top: var(--s4); }
.pre-bar { margin-top: var(--s4); height: 2px; width: 100%; background: var(--hair); border-radius: 2px; overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 0%; background: var(--holo); box-shadow: 0 0 16px var(--glow); transition: width 0.2s linear; }

/* ---- Editorial hero line reveal ---- */
.lines .line { display: block; overflow: hidden; }
.lines .line > span { display: block; transform: translateY(108%); transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.lines.in .line > span { transform: translateY(0); }
.lines.in .line:nth-child(2) > span { transition-delay: 0.08s; }
.lines.in .line:nth-child(3) > span { transition-delay: 0.16s; }

/* ---- Cursor light (desktop, injected) ---- */
.cursor-light {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 460px; height: 460px; border-radius: 50%; margin: -230px 0 0 -230px;
  background: radial-gradient(circle, rgba(0,230,160,0.10), rgba(138,147,255,0.06) 40%, transparent 65%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.4s ease;
  will-change: transform;
}
.cursor-on .cursor-light { opacity: 1; }

/* ---- Marquee ---- */
.marquee { position: relative; overflow: hidden; padding: var(--s5) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.marquee-track { display: flex; width: max-content; gap: var(--s6); animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--f-display); font-optical-sizing: auto; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 430; color: var(--tx-2); display: inline-flex; align-items: center; gap: var(--s6); white-space: nowrap; }
.marquee-item::after { content: "✦"; color: var(--acc); font-size: 0.7em; }
.marquee-item .ital { font-style: italic; color: var(--tx); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Animated link underline (nav + footer + inline) ---- */
.nav-links a, .footer-col a { background-image: linear-gradient(var(--acc), var(--acc)); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--t), color var(--t); padding-bottom: 2px; }
.nav-links a:hover, .footer-col a:hover { background-size: 100% 1px; }
.nav-links a.active { background-image: none; }

/* ---- Magnetic wrapper ---- */
.magnetic { display: inline-flex; will-change: transform; }

/* ---- Reduced-motion: disable all of the above ---- */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  .lines .line > span { transform: none !important; }
  .marquee-track { animation: none !important; }
  .cursor-light { display: none !important; }
}

/* ============================================
   IMAGERY (renders integrated into dark theme)
   ============================================ */
.case-visual img, .media-frame img, .gallery .shot img { filter: saturate(1.04) contrast(1.02); }

/* Photo inside case-visual */
.case-visual.photo { background: var(--bg-2); }
.case-visual.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.case:hover .case-visual.photo img { transform: scale(1.05); }
.case-visual.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,13,0.55) 0%, transparent 28%, transparent 58%, rgba(7,9,13,0.6) 100%);
}
.case-visual.photo .cat { z-index: 2; }

/* Featured media frame */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair); box-shadow: 0 1px 0 var(--edge-light) inset, 0 40px 80px -44px rgba(0,0,0,0.9); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(7,9,13,0.55)); }
.media-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1px; border-radius: inherit; background: linear-gradient(150deg, rgba(255,255,255,0.35), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.5; }
.media-frame .frame-cap { position: absolute; left: var(--s5); bottom: var(--s4); z-index: 3; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.media-frame .frame-cap::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.gallery .shot { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); box-shadow: 0 1px 0 var(--edge-light) inset; }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--t); }
.gallery .shot:hover img { transform: scale(1.07); }
.gallery .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,13,0.75)); }
.gallery .shot .lbl { position: absolute; left: 16px; bottom: 13px; z-index: 2; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx); font-weight: 600; }
@media (max-width: 760px){ .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .gallery { grid-template-columns: 1fr; } }

/* ---- 404 ---- */
.notfound-visual { max-width: 420px; margin: 0 auto; padding: var(--s6); border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--hair); box-shadow: 0 1px 0 var(--edge-light) inset; position: relative; overflow: hidden; }
.nf-vr { display: block; width: 100%; height: auto; overflow: visible; }
.nf-vr-body { fill: none; stroke: var(--hair-strong); stroke-width: 2; }
.nf-vr-strap { fill: none; stroke: var(--hair-strong); stroke-width: 2; }
.nf-vr-bridge { fill: var(--bg-1); stroke: var(--hair-strong); stroke-width: 2; }
.nf-vr-lens { fill: var(--bg-2); stroke: var(--acc); stroke-width: 2; animation: nf-flicker 2.6s ease-in-out infinite; }
.nf-vr-lens:nth-of-type(4) { animation-delay: 0.4s; }
.nf-vr-glitch line { stroke: var(--acc-2); stroke-width: 1; }
.nf-vr-glitch { opacity: 0.3; animation: nf-glitch 2.4s steps(2) infinite; }
@keyframes nf-flicker { 0%,100%{ opacity: 1; } 45%{ opacity: 1; } 48%{ opacity: 0.15; } 52%{ opacity: 1; } 76%{ opacity: 0.3; } 80%{ opacity: 1; } }
@keyframes nf-glitch { 0%,100%{ opacity: 0.1; transform: translateX(0); } 20%{ opacity: 0.5; transform: translateX(3px); } 40%{ opacity: 0.15; transform: translateX(-2px); } 60%{ opacity: 0.4; transform: translateX(2px); } 80%{ opacity: 0.1; transform: translateX(0); } }
.nf-badge { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--hair); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-2); font-weight: 600; }
.nf-lost { color: var(--acc-3); display: inline-flex; align-items: center; gap: 7px; }
.nf-lost::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-3); box-shadow: 0 0 10px var(--acc-3); animation: blink 1.6s infinite; }
@media (prefers-reduced-motion: reduce) {
  .nf-vr-lens, .nf-vr-glitch, .nf-lost::before { animation: none !important; }
}

/* ---- Hero viewport showing a real render ---- */
.spatial-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: 0; filter: saturate(1.05) contrast(1.02); animation: heroZoom 20s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.001); } to { transform: scale(1.08); } }
.spatial.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(7,9,13,0.12), transparent 22%, transparent 58%, rgba(7,9,13,0.72)); }
.spatial.has-img .spatial-badge { z-index: 3; }
.spatial.has-img::before { z-index: 2; } /* keep rim highlight above image */
@media (prefers-reduced-motion: reduce){ .spatial-img { animation: none !important; } }

/* Hero video: no ken-burns zoom (the footage already moves) */
video.spatial-img { animation: none; background: var(--bg-2); }
