/* Lykio Studio — black & gold theme */
/* Self-hosted fonts (Cinzel & Inter, SIL Open Font License) */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/cinzel-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --black: #070707;
  --bg: #0a0a0a;
  --bg-2: #111010;
  --card: #141312;
  --line: rgba(212, 175, 55, .16);
  --line-strong: rgba(212, 175, 55, .4);
  --text: #f4efe2;
  --muted: #a39d8f;
  --gold: #d4af37;
  --gold-light: #f5d77a;
  --gold-pale: #fff1b8;
  --gold-dark: #9c7420;
  --grad-gold: linear-gradient(135deg, #fff1b8 0%, #f2cf6b 30%, #d4af37 55%, #a97c1f 100%);
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-pale); }
::selection { background: var(--gold); color: var(--black); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .03em;
  transition: transform .2s, box-shadow .3s, background .3s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: #1a1405; box-shadow: 0 8px 30px rgba(212, 175, 55, .25); }
.btn-gold:hover { color: #000; box-shadow: 0 12px 40px rgba(212, 175, 55, .45); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
}
.btn-gold:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 55, .06); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 8, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(212, 175, 55, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .22em; }
.brand-text small { font-size: .58rem; letter-spacing: .42em; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 500; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.nav .nav-cta { padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--gold-light); }
.nav .nav-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--gold); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(900px 600px at 72% 45%, rgba(212, 175, 55, .13), transparent 65%),
    radial-gradient(700px 500px at 10% 100%, rgba(156, 116, 32, .10), transparent 70%),
    var(--black);
  overflow: hidden;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%);
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); margin-bottom: 24px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.halo {
  position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 215, 122, .22), rgba(212, 175, 55, .05) 45%, transparent 68%);
  animation: breathe 6s ease-in-out infinite;
}
.halo::before, .halo::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .18);
}
.halo::after { inset: 26%; border-style: dashed; border-color: rgba(212, 175, 55, .14); animation: spin 60s linear infinite; }
.hero-logo {
  position: relative; width: min(340px, 70%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(212, 175, 55, .25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1px solid var(--line-strong); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold); border-radius: 2px; animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #0d0c0a, #15120b, #0d0c0a);
  overflow: hidden; padding: 18px 0;
}
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.marquee .keep-case { text-transform: none; }
.marquee i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-dark { background: linear-gradient(180deg, var(--bg-2), var(--black)); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 18px; }
.sub { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: linear-gradient(180deg, #171511, var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card::before { /* gold top edge */
  content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; transition: opacity .35s;
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(212, 175, 55, .08); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 26px;
  display: grid; place-items: center;
  background: rgba(212, 175, 55, .08); border: 1px solid var(--line-strong);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card:has(.chips) { display: flex; flex-direction: column; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chips span {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px;
  color: var(--gold-light); background: rgba(212, 175, 55, .08); border: 1px solid var(--line);
}

/* Classified project cards */
.classified { padding: 0; overflow: hidden; }
.classified-art {
  aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(212, 175, 55, .05) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 50%, #221c0e, #0c0b09 70%);
  border-bottom: 1px solid var(--line);
}
.classified-art span {
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: blur(1.5px); opacity: .85; transition: filter .4s;
}
.classified:hover .classified-art span { filter: blur(0); }
.classified-art::after {
  content: "CLASSIFIED"; position: absolute; top: 18px; right: -34px;
  transform: rotate(35deg); padding: 4px 40px;
  font-size: .62rem; font-weight: 700; letter-spacing: .3em;
  background: var(--gold); color: var(--black);
}
.classified-body { padding: 24px 28px 28px; }
.codename { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: .9rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 175, 55, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
.forge-note { text-align: center; color: var(--muted); margin-top: 48px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value { padding: 40px 28px 10px 0; border-right: 1px solid var(--line); padding-left: 28px; }
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; }
.value .num { font-family: var(--font-display); font-size: 2.6rem; display: block; margin-bottom: 14px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .96rem; }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, .15));
}
.process li { position: relative; padding-top: 44px; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 19px; height: 19px; transform: rotate(45deg);
  background: var(--black); border: 1px solid var(--gold);
}
.step-dot::after { content: ""; position: absolute; inset: 4px; background: var(--gold); }
.process h3 { font-size: 1.25rem; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: .96rem; }

/* Contact */
.contact-box {
  text-align: center; padding: 80px 32px; border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212, 175, 55, .16), transparent 70%),
    linear-gradient(180deg, #15120b, #0b0a08);
  position: relative; overflow: hidden;
}
.contact-box .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.contact-box .sub { max-width: 520px; margin: 0 auto 36px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; background: var(--black); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }
.copy { width: 100%; color: #8f897c; font-size: .85rem; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .05); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal / simple pages ---------- */
.page { padding: calc(var(--header-h) + 40px) 0 100px; min-height: 100vh; background: radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, .08), transparent 70%), var(--black); }
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; color: var(--gold-light); }
.legal h3 { font-size: 1.05rem; margin: 26px 0 10px; color: var(--text); }
.legal p, .legal li { color: #d6d0c2; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .muted { color: var(--muted); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(212, 175, 55, .4); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(600px 400px at 50% 40%, rgba(212, 175, 55, .14), transparent 70%), var(--black); }
.notfound img { width: 90px; margin: 0 auto 28px; animation: float 6s ease-in-out infinite; }
.notfound h1 { font-size: clamp(5rem, 18vw, 9rem); line-height: 1; }
.notfound p { color: var(--muted); margin: 12px 0 34px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards.three { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(3) { padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process::before { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(5, 5, 5, .97); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a { font-size: 1.3rem; font-family: var(--font-display); }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav.nav-simple { position: static; flex-direction: row; background: none; opacity: 1; pointer-events: auto; }
  .nav.nav-simple a { font-family: var(--font-body); font-size: .85rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero-art { order: -1; }
  .hero-logo { width: 170px; }
  .halo { width: 300px; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .scroll-hint { display: none; }
  .section { padding: 84px 0; }
  .cards.three, .values, .process { grid-template-columns: 1fr; }
  .value, .value:first-child, .value:nth-child(3) { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .value:first-child { border-top: 0; }
  .contact-box { padding: 56px 20px; }
  .btn-lg { padding: 16px 24px; font-size: .95rem; }
}


/* =========================================================
   Motion layer
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, #a97c1f, #f5d77a, #d4af37);
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 10px rgba(245, 215, 122, .6);
}

/* Cursor spotlight */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px; z-index: 0;
  pointer-events: none; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(212, 175, 55, .075), transparent 60%);
  transition: opacity .4s;
  will-change: transform;
}
main, .site-footer { position: relative; z-index: 1; }

/* Gold shimmer on gradient text */
.gold-text {
  background-image: linear-gradient(110deg, #a97c1f 0%, #d4af37 20%, #f2cf6b 35%, #fff6d6 45%, #f2cf6b 55%, #d4af37 70%, #a97c1f 100%);
  background-size: 250% 100%;
  animation: goldShimmer 7s ease-in-out infinite;
}
@keyframes goldShimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Hero headline: word-by-word rise */
.hero h1.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1.split .word > span {
  display: inline-block; transform: translateY(105%);
  animation: wordUp 1s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero h1.split .gold-text { animation: none; background: none; }
.hero h1.split .gold-text .word > span {
  background-image: linear-gradient(110deg, #a97c1f 0%, #d4af37 20%, #f2cf6b 35%, #fff6d6 45%, #f2cf6b 55%, #d4af37 70%, #a97c1f 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordUp 1s cubic-bezier(.2, .8, .2, 1) forwards, goldShimmer 7s ease-in-out 1.2s infinite;
}
@keyframes wordUp { to { transform: none; } }

/* Hero logo parallax + light rays */
.hero-art { translate: calc(var(--px, 0) * -24px) calc(var(--py, 0) * -18px); transition: translate .3s ease-out, transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.hero-logo { animation: float 6s ease-in-out infinite, logoIn 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; scale: .9; filter: blur(8px); } }
.halo .ray {
  position: absolute; inset: -10%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 20%, rgba(245, 215, 122, .10) 25%, transparent 32%, transparent 60%, rgba(245, 215, 122, .07) 66%, transparent 72%);
  animation: spin 24s linear infinite;
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

/* Cards: 3D tilt + light that follows the cursor */
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%; --lift: 0px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s, opacity .8s ease;
}
.card.reveal, .card.reveal.visible { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
.card.reveal:not(.visible) { --lift: 28px; }
.card:hover { --lift: -6px; transition: transform .15s ease-out, border-color .35s, box-shadow .35s; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(245, 215, 122, .10), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::after { opacity: 1; }
.card-icon { transition: transform .4s, background .4s, box-shadow .4s; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: rgba(212, 175, 55, .16); box-shadow: 0 0 24px rgba(212, 175, 55, .25); }

/* Animated aurora behind dark sections */
.section-dark { overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(212, 175, 55, .10), transparent 70%),
    radial-gradient(35% 30% at 80% 70%, rgba(169, 124, 31, .10), transparent 70%),
    radial-gradient(30% 25% at 60% 20%, rgba(245, 215, 122, .06), transparent 70%);
  filter: blur(20px);
  animation: aurora 22s ease-in-out infinite alternate;
}
.section-dark > .wrap { position: relative; z-index: 1; }
@keyframes aurora {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(4%, -3%) rotate(8deg) scale(1.08); }
  100% { transform: translate(-4%, 3%) rotate(-6deg) scale(1); }
}

/* Classified cards: scanline + glitching "?" */
.classified-art { overflow: hidden; }
.classified-art::before {
  content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%;
  background: linear-gradient(180deg, transparent, rgba(245, 215, 122, .10), transparent);
  animation: scan 3.6s linear infinite;
}
.classified:nth-child(2) .classified-art::before { animation-delay: -1.2s; }
.classified:nth-child(3) .classified-art::before { animation-delay: -2.4s; }
@keyframes scan { to { top: 100%; } }
.classified-art span { animation: glitch 5s steps(1) infinite; }
.classified:nth-child(2) .classified-art span { animation-delay: -1.7s; }
.classified:nth-child(3) .classified-art span { animation-delay: -3.3s; }
@keyframes glitch {
  0%, 91%, 100% { transform: none; text-shadow: none; }
  92% { transform: translate(-3px, 1px) skewX(8deg); text-shadow: 3px 0 rgba(255, 241, 184, .5); }
  94% { transform: translate(3px, -1px); text-shadow: -3px 0 rgba(169, 124, 31, .7); }
  96% { transform: translate(-1px, 0) skewX(-6deg); }
}

/* Values: gold underline sweeps in */
.value { position: relative; }
.value::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .2s;
}
.value.visible::before { width: 70%; }

/* Process: line draws across, dots light up in sequence */
.process::before { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.6, 0, .2, 1); }
.process.visible::before { transform: scaleX(1); }
.process .step-dot { transition: box-shadow .6s, background .6s; }
.process li.visible .step-dot { box-shadow: 0 0 18px rgba(212, 175, 55, .6); }

/* Contact box: rotating gold border + drifting dot grid */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.contact-box { border-color: transparent; isolation: isolate; }
.contact-box::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--angle), rgba(212, 175, 55, .15), #f5d77a 10%, rgba(212, 175, 55, .15) 22%, rgba(212, 175, 55, .15) 50%, #d4af37 60%, rgba(212, 175, 55, .15) 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderSpin 8s linear infinite;
}
@keyframes borderSpin { to { --angle: 360deg; } }
.contact-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(212, 175, 55, .18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  animation: dotsDrift 30s linear infinite;
}
@keyframes dotsDrift { to { background-position: 220px 110px; } }

/* Marquee: fade edges, pause on hover */
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Eyebrow line grows in */
.section-head.reveal .eyebrow::before { width: 0; transition: width .9s cubic-bezier(.2, .8, .2, 1) .3s; }
.section-head.reveal.visible .eyebrow::before { width: 28px; }

/* Buttons: smooth magnetic return */
.btn { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background .3s, color .2s; }

@media (prefers-reduced-motion: reduce) {
  /* Keep slow ambient effects (background, shimmer, glow); remove large or sudden motion */
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card.reveal:not(.visible) { --lift: 0px; }
  .hero-logo { animation: float 8s ease-in-out infinite, logoIn 1.2s ease both; }
  @keyframes logoIn { from { opacity: 0; } }
  .halo, .scroll-hint span { animation: none; }
  .classified-art span { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .process::before { transform: none; transition: none; }
  .section-head.reveal .eyebrow::before { width: 28px; transition: none; }
  .value::before { width: 70%; transition: none; }
  .cursor-glow { display: none; }
}
