/* =============================================================
   Excelsior Consultancy · shared stylesheet
   Same design language as Algo by Excelsior: black canvas, antique
   gold (#C9A45E) accent, Funnel Display + Hanken Grotesk + JetBrains
   Mono typography, restrained editorial tone, equity-curve signature
   line.
   ============================================================= */

:root {
  /* ─── Palette ─── */
  --gold:        #C9A45E;
  --gold-soft:   #B89244;
  --gold-deep:   #8E7227;
  --ink:         #F5EFE3;
  --ink-soft:    #D7CFC0;
  --ink-muted:   #8E867A;
  --ink-faint:   #5E574E;
  --bg:          #0A0500;
  --bg-elev:     rgba(255, 255, 255, 0.018);
  --bg-elev-hi:  rgba(255, 255, 255, 0.032);
  --hairline:    rgba(245, 239, 227, 0.08);
  --hairline-hi: rgba(245, 239, 227, 0.18);
  --hairline-gold: rgba(201, 164, 94, 0.32);
  --positive:    #34D399;
  --negative:    #F87171;

  /* ─── Type ─── */
  --font-display: 'Funnel Display', ui-serif, Georgia, serif;
  --font-body:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* ─── Geometry ─── */
  --radius:       18px;
  --radius-pill:  999px;
  --transition:   220ms cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-elev:  0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Solid fallback so the page never flashes white if the WebGL
     background is slow to initialise or JS is disabled. */
  background: #0A0500;
}
body {
  /* Body is transparent so the Unicorn Studio aura behind it shows
     through. The radial gold-glow and linear gradient still live as
     overlays in body::before for additional depth. */
  background: transparent;
  position: relative;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Brand colour wash on top of the aura · soft radial gold glow at
   the top, dark vignette at the edges. Sits between the aura
   background and the page content (z-index: -1 above the aura). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 164, 94, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 5, 0, 0.55) 0%, rgba(10, 5, 0, 0.7) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── Layout primitives ─── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
}
.section-divider {
  border-top: 1px solid var(--hairline);
}

/* ─── Type scale ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 3.8vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0; }
.lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}
.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--hairline-gold);
  vertical-align: middle;
  margin-left: 0.85rem;
  transform: translateY(-2px);
}
.muted { color: var(--ink-muted); }
.gold  { color: var(--gold); }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(10, 5, 0, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 280ms ease-out;
}
.nav.scrolled {
  border-bottom-color: var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.55rem;
  padding-left: 0.65rem;
  border-left: 1px solid var(--hairline-gold);
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-cta {
  flex-shrink: 0;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline-hi);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0A0500;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 164, 94, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-hi);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-light {
  background: var(--ink);
  color: #0A0500;
  border-color: var(--ink);
}
.btn-light:hover {
  background: #fff;
  border-color: #fff;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-text { max-width: 36rem; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-gold);
  background: rgba(201, 164, 94, 0.04);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero h1 .line { display: block; }
.hero h1 .line-stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 38rem;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.hero-summary {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  max-width: 30rem;
}
.hero-summary .v {
  color: var(--ink);
  font-weight: 700;
}
.hero-summary .v.pos { color: var(--positive); }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 16, 8, 0.65), rgba(8, 6, 3, 0.85)),
    radial-gradient(ellipse at 70% 30%, rgba(201, 164, 94, 0.08), transparent 60%);
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.hero-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-visual-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-visual-live .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.hero-svg {
  flex: 1;
  width: 100%;
  min-height: 0;
}
.hero-svg .grid { stroke: var(--hairline); stroke-width: 1; }
.hero-svg .axis {
  fill: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.hero-svg .equity {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-svg .end-dot { fill: var(--gold); }

/* ─── Section heads ─── */
.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  margin-top: 0.55rem;
  max-width: 22ch;
}
.section-head .lead {
  margin-top: 1rem;
  max-width: 55ch;
}

/* ─── Pillars / service cards ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.pillar {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.012);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pillar:hover {
  border-color: var(--hairline-gold);
  background: rgba(201, 164, 94, 0.03);
  transform: translateY(-2px);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  flex: 1;
}
.pillar-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.pillar:hover .pillar-link { gap: 0.65rem; }

/* ─── Audience split ─── */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.audience-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.012);
  position: relative;
  overflow: hidden;
}
.audience-card .label { color: var(--gold); }
.audience-card h3 { margin-bottom: 0.85rem; }
.audience-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.audience-card .audience-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.18rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.75rem;
  margin-right: 0.35rem;
}

/* ─── Quote / pull row ─── */
.quote {
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}
.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
}

/* ─── Stats strip ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.012);
}
.stat-k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}
.stat-v {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ─── Final CTA ─── */
.final-cta {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.final-cta-card {
  position: relative;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 164, 94, 0.06) 0%, rgba(201, 164, 94, 0.015) 50%, transparent 100%),
    rgba(255, 255, 255, 0.012);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.final-cta-card h2 {
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.final-cta-card .lead {
  margin: 0 auto 2rem;
}
.final-cta-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}
.final-cta-line svg { width: 100%; height: 100%; }
.final-cta-line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 2.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.footer-meta .sep { color: var(--ink-faint); }
.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--hairline);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 900px;
}

/* ─── Page header (sub-pages) ─── */
.page-header {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}
.page-header h1 { max-width: 22ch; }
.page-header .lead { margin-top: 1.25rem; }

/* ─── Service detail blocks ─── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline);
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail-meta { position: sticky; top: 6rem; align-self: start; }
.service-detail-meta .label { color: var(--gold); }
.service-detail-meta h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.service-detail-meta p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.service-detail-body h3 { margin-bottom: 0.75rem; }
.service-detail-body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.service-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.service-list li:last-child { border-bottom: 0; }
.service-list .check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--positive);
}

/* ─── About page ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.012);
}
.about-card .label { color: var(--gold); }
.about-card h3 { margin-bottom: 0.65rem; font-size: 1.125rem; }
.about-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.principles {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.principles li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
}
.principles li:last-child { border-bottom: 1px solid var(--hairline); }
.principles .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.principles h3 { margin-bottom: 0.4rem; font-size: 1.0625rem; }
.principles p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.input, .textarea, .select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--hairline-gold);
  background: rgba(0, 0, 0, 0.55);
}
.textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-meta { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-meta-block {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.5rem 1.65rem;
  background: rgba(255, 255, 255, 0.012);
}
.contact-meta-block .label { color: var(--gold); margin-bottom: 0.65rem; }
.contact-meta-block h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contact-meta-block p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.contact-meta-block a { color: var(--gold); }
.contact-meta-block a:hover { color: var(--ink); }
.form-error {
  color: var(--negative);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  min-height: 1em;
}
.form-success {
  color: var(--positive);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  min-height: 1em;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 5 / 4; min-height: 280px; }
  .audience { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-detail-meta { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 5, 0, 0.95);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 1.5rem;
    gap: 1rem;
    align-items: flex-start;
  }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .pillar { padding: 1.5rem 1.4rem; }
  .audience-card { padding: 1.5rem; }
}

/* =============================================================
   CONSULTANCY PATTERNS
   Editorial layouts: capability hero, practice cards, methodology
   timeline, sector grid, engagement types. Different rhythm from
   the product-page patterns above; more text-led, more breathing
   room, less data-vis.
   ============================================================= */

/* Capability hero · typographic only, no chart */
.cap-hero {
  padding-top: clamp(5rem, 11vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.cap-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 2rem;
}
.cap-hero h1 em {
  font-style: normal;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.cap-hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-top: 2rem;
}
.cap-hero-body .lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38rem;
}
.cap-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 1px solid var(--hairline-gold);
  padding-left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.cap-hero-meta .meta-k { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.625rem; }
.cap-hero-meta .meta-v { color: var(--ink); font-size: 0.875rem; }

/* Practice areas · editorial cards (heavier on text, sector-tagged) */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.practice-card {
  padding: 2rem 1.85rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
  position: relative;
  transition: var(--transition);
}
.practice-card:hover {
  border-color: var(--hairline-gold);
  background: rgba(201, 164, 94, 0.025);
}
.practice-card .pc-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.practice-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}
.practice-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.practice-card .pc-deliverables {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.practice-card .pc-deliverables li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding-left: 1rem;
  position: relative;
}
.practice-card .pc-deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 1px;
  background: var(--gold);
}
.practice-card .pc-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.practice-card .pc-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
}

/* Methodology · numbered phases, horizontal flow on desktop */
.method-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 1rem;
}
.method-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--hairline);
  position: relative;
}
.method-step:last-child { border-right: 0; }
.method-step .step-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.method-step h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.005em;
}
.method-step p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Sectors · tag grid */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.sector-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 0.55rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.012);
  transition: var(--transition);
}
.sector-tag:hover {
  border-color: var(--hairline-gold);
  color: var(--gold);
  background: rgba(201, 164, 94, 0.04);
}
.sector-tag .sector-bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.6rem;
  transform: translateY(-2px);
}

/* Engagement types · three-column */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.engage-card {
  padding: 1.85rem 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
  display: flex;
  flex-direction: column;
}
.engage-card.featured {
  border-color: var(--hairline-gold);
  background:
    linear-gradient(180deg, rgba(201, 164, 94, 0.045) 0%, rgba(201, 164, 94, 0.01) 100%),
    rgba(255, 255, 255, 0.018);
}
.engage-card .ek {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.engage-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
}
.engage-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  flex: 1;
}
.engage-card .em {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px dashed var(--hairline);
}

/* Pull quote · editorial */
.pull-quote {
  padding-block: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--hairline);
}
.pull-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.pull-quote .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}
.pull-quote cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
}

/* Capabilities list (alternate to pillars · text-led, no card chrome) */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 2rem;
}
.cap-list-item {
  background: #050402;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cap-list-item .k {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.cap-list-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.015em;
}
.cap-list-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Long-form body section (about pages, methodology) */
.longform {
  max-width: 720px;
}
.longform p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.longform p strong {
  color: var(--ink);
  font-weight: 600;
}
.longform h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}

/* Section heads · centered variant */
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center h2 { margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .label { margin-inline: auto; display: block; text-align: center; }

/* Responsive overrides for consultancy patterns */
@media (max-width: 900px) {
  .cap-hero-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .cap-hero-meta { border-left: 0; border-top: 1px solid var(--hairline-gold); padding-left: 0; padding-top: 1.25rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .method-row { grid-template-columns: 1fr; }
  .method-step { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .method-step:last-child { border-bottom: 0; }
  .engage-grid { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .practice-card { padding: 1.65rem 1.5rem; }
  .engage-card { padding: 1.5rem 1.4rem; }
  .cap-list-item { padding: 2rem 1.5rem; }
}

/* =============================================================
   QLOUD-STYLE COMPONENTS
   Roomy spacing, hero with right-side visual, pain-point list,
   solution sub-sections, icon-led service cards, big stat blocks,
   why-us, testimonials, CTA with bullets.
   ============================================================= */

/* Hero · left text + right visual */
.q-hero {
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.q-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.q-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-gold);
  background: rgba(201, 164, 94, 0.06);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.q-hero-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 164, 94, 0.6);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 94, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(201, 164, 94, 0); }
}
.q-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}
.q-hero h1 .accent {
  color: var(--gold);
  font-style: normal;
}
.q-hero .lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}
.q-hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Hero right-side visual · abstract composition with brand mark
   centred inside concentric glow rings and a dot-grid back layer */
.q-hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.q-hero-orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.q-hero-orb::before {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 94, 0.14) 0%, rgba(201, 164, 94, 0.04) 40%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* =============================================================
   PRODUCT SHOWCASE · flagship product section on the home page
   Two-column glass card · left text/features/CTA, right brand
   panel with the loader logo + verified KPI block. Heavier border
   + warmer gold wash than ordinary section cards so it reads as
   the most important block on the page.
   ============================================================= */
.product-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-top: 1rem;
  border: 1px solid var(--hairline-gold);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(201, 164, 94, 0.07) 0%, rgba(201, 164, 94, 0.015) 60%, transparent 100%),
    rgba(255, 255, 255, 0.012);
  overflow: hidden;
}
.product-showcase-text {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
}
.product-showcase-text > p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 42ch;
}
.product-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.product-features li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-body);
}
.product-features li:last-child { border-bottom: 0; }
.product-features .pf-name {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
}
.product-features .pf-meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.product-features .pf-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  margin-bottom: 1.75rem;
  background: rgba(0, 0, 0, 0.25);
}
.ps-stat {
  padding: 1rem 0.85rem;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.ps-stat:last-child { border-right: 0; }
.ps-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.ps-v {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.product-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.product-cta-meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Right-side preview panel · brand mark with a stylized chart and
   verified-tier badge. The visual cue is "this is the product." */
.product-showcase-visual {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201, 164, 94, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(10, 5, 0, 0.4), rgba(10, 5, 0, 0.6));
  border-left: 1px solid var(--hairline);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.product-showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink-faint) 1px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.15;
  pointer-events: none;
}
.product-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 14px rgba(201, 164, 94, 0.35));
}
.product-name-block {
  text-align: center;
  position: relative;
  z-index: 1;
}
.product-name-block .product-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(201, 164, 94, 0.08);
  border: 1px solid var(--hairline-gold);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.product-name-block .product-tier::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.product-name-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.product-name-block p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 28ch;
  margin: 0 auto;
}
.product-curve {
  width: 100%;
  max-width: 260px;
  height: 80px;
  position: relative;
  z-index: 1;
}
.product-curve path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase-visual { border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (max-width: 480px) {
  .product-features li { grid-template-columns: 1fr; gap: 0.25rem; }
  .product-features .pf-price { justify-self: start; }
  .product-stats { grid-template-columns: 1fr; }
  .ps-stat { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .ps-stat:last-child { border-bottom: 0; }
}

/* =============================================================
   MARKET ANALYSIS PANEL · hero visual
   A glass card mocked to look like a live ops view of the firm's
   trading system: header with live pulse + UTC clock, equity-curve
   chart with entry markers, three market tickers, three verifiable
   KPI stats. All numbers are the firm's published, audit-available
   figures, not invented marketing data.
   ============================================================= */
.market-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  background:
    linear-gradient(180deg, rgba(20, 16, 8, 0.85), rgba(8, 6, 3, 0.92)),
    radial-gradient(ellipse at 70% 30%, rgba(201, 164, 94, 0.06), transparent 60%);
  border: 1px solid var(--hairline-gold);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: var(--font-mono);
}
.market-panel > * + * { border-top: 1px solid var(--hairline); }

/* Header · "Strategy analysis · LIVE" + UTC clock */
.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
}
.mp-head-l {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mp-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--positive);
}
.mp-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: mpPulse 2.2s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}
@keyframes mpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.mp-time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* Chart · equity curve + entry markers + pulsing now-dot */
.mp-chart {
  padding: 0.75rem 1.1rem 1rem;
  position: relative;
}
.mp-chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mp-chart-meta .v {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.005em;
}
.mp-chart-svg {
  width: 100%;
  height: 130px;
  display: block;
}
.mp-chart-svg .mp-grid {
  stroke: var(--hairline);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}
.mp-chart-svg .mp-curve {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: mpCurveDraw 2.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.4s forwards;
}
@keyframes mpCurveDraw {
  to { stroke-dashoffset: 0; }
}
.mp-chart-svg .mp-fill {
  fill: url(#mpGradient);
  opacity: 0;
  animation: mpFillFade 800ms ease-out 2.4s forwards;
}
@keyframes mpFillFade {
  to { opacity: 1; }
}
.mp-chart-svg .mp-marker {
  fill: var(--gold);
  opacity: 0;
  animation: mpMarkerIn 400ms ease-out forwards;
}
.mp-chart-svg .mp-marker.m1 { animation-delay: 1.0s; }
.mp-chart-svg .mp-marker.m2 { animation-delay: 1.6s; }
.mp-chart-svg .mp-marker.m3 { animation-delay: 2.2s; }
@keyframes mpMarkerIn {
  to { opacity: 1; }
}
.mp-chart-svg .mp-now {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201, 164, 94, 0.7));
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation:
    mpNowIn 400ms ease-out 2.4s forwards,
    mpNowPulse 2.4s cubic-bezier(0.4, 0, 0.4, 1) 2.8s infinite;
}
@keyframes mpNowIn {
  to { opacity: 1; }
}
@keyframes mpNowPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(201, 164, 94, 0.5)); }
  50%      { filter: drop-shadow(0 0 12px rgba(201, 164, 94, 0.95)); }
}
.mp-chart-svg .mp-now-halo {
  fill: var(--gold);
  fill-opacity: 0.2;
  transform-origin: center;
  transform-box: fill-box;
  animation: mpHaloPulse 2.4s cubic-bezier(0.4, 0, 0.4, 1) 2.8s infinite;
}
@keyframes mpHaloPulse {
  0%, 100% { transform: scale(0.6); opacity: 1; }
  50%      { transform: scale(2.2); opacity: 0; }
}

/* Tickers · 3 markets across */
.mp-tickers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}
.mp-ticker {
  padding: 0.85rem 0.95rem;
  border-right: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.mp-ticker:last-child { border-right: 0; }
.mp-sym {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
}
.mp-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.mp-val.up   { color: var(--positive); }
.mp-val.down { color: var(--negative); }
.mp-val.flat { color: var(--ink-muted); }
.mp-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
}
.mp-arrow.up   { color: var(--positive); }
.mp-arrow.down { color: var(--negative); }
.mp-arrow.flat { color: var(--ink-muted); }

/* KPI strip · 3 verifiable stats */
.mp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
}
.mp-kpi {
  padding: 0.95rem 0.95rem;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.mp-kpi:last-child { border-right: 0; }
.mp-kpi-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.mp-kpi-v {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* Footnote · "verified · audit-available" */
.mp-foot {
  padding: 0.65rem 1.1rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}

@media (max-width: 480px) {
  .mp-head { padding: 0.85rem 1rem; }
  .mp-kpi-v { font-size: 1rem; }
  .mp-sym { font-size: 0.625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-curve, .mp-marker, .mp-now, .mp-now-halo, .mp-fill, .mp-live::before {
    animation: none !important;
  }
  .mp-curve { stroke-dashoffset: 0; }
  .mp-marker, .mp-now, .mp-fill { opacity: 1; }
}

/* Globe · dotted hemisphere with arcs from London to global hubs */
.globe-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.globe-svg .globe-ring {
  fill: none;
  stroke: var(--hairline-gold);
  stroke-width: 1;
  opacity: 0.4;
}
.globe-svg .globe-dots circle { fill: var(--gold); }
.globe-svg .globe-arcs .arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0.75;
  animation: arcDraw 2.8s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
}
.globe-svg .globe-arcs .arc:nth-child(1) { animation-delay: 0.3s; }
.globe-svg .globe-arcs .arc:nth-child(2) { animation-delay: 0.5s; }
.globe-svg .globe-arcs .arc:nth-child(3) { animation-delay: 0.7s; }
.globe-svg .globe-arcs .arc:nth-child(4) { animation-delay: 0.9s; }
.globe-svg .globe-arcs .arc:nth-child(5) { animation-delay: 1.1s; }
.globe-svg .globe-arcs .arc:nth-child(6) { animation-delay: 1.3s; }
@keyframes arcDraw {
  to { stroke-dashoffset: 0; }
}
.globe-svg .globe-cities .dot {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201, 164, 94, 0.55));
}
.globe-svg .globe-cities .halo {
  fill: var(--gold);
  fill-opacity: 0.18;
  transform-origin: center;
  transform-box: fill-box;
  animation: cityPulse 2.6s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}
.globe-svg .globe-cities .origin .dot {
  fill: var(--ink);
  stroke: var(--gold);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(201, 164, 94, 0.85));
}
.globe-svg .globe-cities .origin .halo {
  fill: var(--gold);
  fill-opacity: 0.28;
}
.globe-svg .globe-cities .city:nth-child(2) .halo { animation-delay: 0.25s; }
.globe-svg .globe-cities .city:nth-child(3) .halo { animation-delay: 0.5s;  }
.globe-svg .globe-cities .city:nth-child(4) .halo { animation-delay: 0.75s; }
.globe-svg .globe-cities .city:nth-child(5) .halo { animation-delay: 1s;    }
.globe-svg .globe-cities .city:nth-child(6) .halo { animation-delay: 1.25s; }
.globe-svg .globe-cities .city:nth-child(7) .halo { animation-delay: 1.5s;  }
@keyframes cityPulse {
  0%, 100% { transform: scale(0.6); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0; }
}
.globe-svg .globe-cities text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--ink-soft);
  opacity: 0;
  animation: cityLabelIn 600ms ease-out forwards;
}
.globe-svg .globe-cities g:nth-child(1) text { animation-delay: 0.2s; }
.globe-svg .globe-cities g:nth-child(2) text { animation-delay: 0.6s; }
.globe-svg .globe-cities g:nth-child(3) text { animation-delay: 0.8s; }
.globe-svg .globe-cities g:nth-child(4) text { animation-delay: 1.0s; }
.globe-svg .globe-cities g:nth-child(5) text { animation-delay: 1.2s; }
.globe-svg .globe-cities g:nth-child(6) text { animation-delay: 1.4s; }
.globe-svg .globe-cities g:nth-child(7) text { animation-delay: 1.6s; }
@keyframes cityLabelIn {
  to { opacity: 0.75; }
}

/* Reduced motion: no draw or pulse animations */
@media (prefers-reduced-motion: reduce) {
  .globe-svg .globe-arcs .arc { stroke-dashoffset: 0; animation: none; }
  .globe-svg .globe-cities .halo { animation: none; opacity: 0.4; }
  .globe-svg .globe-cities text { opacity: 0.75; animation: none; }
}
.q-hero-tags {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 3;
}
.q-hero-tags.tl { top: 8%; left: 0; }
.q-hero-tags.br { bottom: 8%; right: 0; align-items: flex-end; }
.q-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 5, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.q-hero-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Pain points · 4-item text list */
.q-pain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.q-pain-item {
  padding: 2rem 1.85rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
  transition: var(--transition);
}
.q-pain-item:hover {
  border-color: var(--hairline-hi);
  background: rgba(255, 255, 255, 0.025);
}
.q-pain-item .pn {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--negative);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.q-pain-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.005em;
}
.q-pain-item p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Solution · 3 sub-sections, evenly split */
.q-solution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.q-solution-item h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.005em;
  color: var(--gold);
}
.q-solution-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.q-solution-item .num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

/* Services · 4-card grid with icons */
.q-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.q-service {
  padding: 2.25rem 2rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.q-service:hover {
  border-color: var(--hairline-gold);
  background: rgba(201, 164, 94, 0.025);
  transform: translateY(-2px);
}
.q-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 164, 94, 0.08);
  border: 1px solid var(--hairline-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.q-service-icon svg { width: 22px; height: 22px; }
.q-service h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.005em;
}
.q-service p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.5rem;
}
.q-service-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.q-service:hover .q-service-link { gap: 0.65rem; }

/* Process · 3-step (or N-step) timeline */
.q-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  position: relative;
}
.q-process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-gold), transparent);
  z-index: 0;
}
.q-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.q-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--hairline-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.q-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.005em;
}
.q-step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0 auto;
}

/* Big stat blocks · proof & validation */
.q-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.q-stat {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.q-stat:last-child { border-right: 0; }
.q-stat-v {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.q-stat-k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
  display: block;
}
.q-stat-d {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Why us · 4-item comparison */
.q-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1rem;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.q-why-item {
  background: #050402;
  padding: 2rem 1.85rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.q-why-item .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 164, 94, 0.1);
  border: 1px solid var(--hairline-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.q-why-item .check svg { width: 14px; height: 14px; }
.q-why-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.005em;
}
.q-why-item p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Testimonials · horizontal scroll rail
   Cards sit in a row, swipe-able on touch, click-and-drag on
   desktop. Scroll-snap aligns each card to the left so navigation
   feels deliberate. The rail breaks out of the container to give
   cards room to scroll past the visible edges. */
.q-testimonials-wrap {
  position: relative;
  margin-top: 1rem;
}
.q-testimonials {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 1.5rem;
  cursor: grab;
}
.q-testimonials::-webkit-scrollbar { display: none; }
.q-testimonials.dragging { cursor: grabbing; scroll-behavior: auto; }
.q-testimonials.dragging .q-testimonial { pointer-events: none; }

.q-testimonial {
  flex: 0 0 clamp(280px, 32vw, 400px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 2.25rem 2rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--transition);
}
.q-testimonial:hover { border-color: var(--hairline-gold); }

/* Edge fades · soft gradients on the left and right tell the user
   there's more to scroll. Sit above the cards but below pointer
   events so they don't block dragging. */
.q-testimonials-wrap::before,
.q-testimonials-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 220ms ease-out;
}
.q-testimonials-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 5, 0, 0.85), transparent);
  opacity: 0;
}
.q-testimonials-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(10, 5, 0, 0.85), transparent);
}
.q-testimonials-wrap.scrolled-start::before { opacity: 1; }
.q-testimonials-wrap.scrolled-end::after { opacity: 0; }

/* Hint row below the rail · arrow buttons + small "swipe" caption */
.q-testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.q-test-arrows {
  display: inline-flex;
  gap: 0.5rem;
}
.q-test-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.q-test-arrow:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.q-test-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.q-test-arrow svg { width: 14px; height: 14px; }
.q-test-hint {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 480px) {
  .q-testimonial { flex: 0 0 82vw; }
  .q-testimonials-wrap::before,
  .q-testimonials-wrap::after { width: 30px; }
  .q-test-arrow { width: 34px; height: 34px; }
}
.q-testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  flex: 1;
}
.q-testimonial-quote::before {
  content: '"';
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  margin-right: 0.2rem;
  line-height: 0;
}
.q-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.q-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 164, 94, 0.1);
  border: 1px solid var(--hairline-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.q-testimonial-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 600;
  display: block;
}
.q-testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* Contact CTA · headline + 3 bullets + button */
.q-cta-final {
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
}
.q-cta-final-card {
  border: 1px solid var(--hairline-gold);
  border-radius: 20px;
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(201, 164, 94, 0.06) 0%, transparent 60%),
    rgba(255, 255, 255, 0.012);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.q-cta-final-text h2 {
  margin-bottom: 1rem;
  max-width: 18ch;
}
.q-cta-final-text .lead {
  color: var(--ink-soft);
  margin-bottom: 0;
}
.q-cta-final-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.q-cta-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.q-cta-bullet .b-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 164, 94, 0.12);
  border: 1px solid var(--hairline-gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.q-cta-bullet .b-icon svg { width: 12px; height: 12px; }
.q-cta-bullet .b-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.q-cta-final-text .btn { margin-top: 1.75rem; }

/* Responsive */
@media (max-width: 900px) {
  .q-hero-grid { grid-template-columns: 1fr; }
  .q-hero-visual { max-width: 360px; margin: 0 auto; }
  .q-pain { grid-template-columns: 1fr; }
  .q-solution { grid-template-columns: 1fr; gap: 1.75rem; }
  .q-services { grid-template-columns: 1fr; }
  .q-process { grid-template-columns: 1fr; gap: 2rem; }
  .q-process::before { display: none; }
  .q-stats { grid-template-columns: repeat(2, 1fr); }
  .q-stat { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .q-stat:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .q-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .q-why { grid-template-columns: 1fr; }
  .q-testimonials { grid-template-columns: 1fr; }
  .q-cta-final-card { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .q-stats { grid-template-columns: 1fr; }
  .q-stat { border-right: 0 !important; }
  .q-pain-item { padding: 1.5rem 1.4rem; }
  .q-service { padding: 1.85rem 1.65rem; }
  .q-testimonial { padding: 1.75rem 1.65rem; }
}

/* =============================================================
   UNICORN STUDIO AURA · animated WebGL background
   The component renders a generative canvas behind everything. We
   tint its output with a sepia-led filter so any colours it ships
   in read in the brand's black + antique-gold palette. The dark
   scrim in body::before sits on top to keep page content legible.
   ============================================================= */
.aura-background-component {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.aura-background-component [data-us-project] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Push everything the aura renders toward brand gold tones.
     Tune these knobs if the result reads too warm or too dim:
       - sepia()      0..1   how much to sepia-tone the output
       - saturate()   0..2   how vivid the result should read
       - hue-rotate()        nudge dominant hue (negative = warmer)
       - brightness() 0..1   how dim the result becomes
       - contrast()   1+     how punchy the lights/darks are */
  filter:
    sepia(0.95)
    saturate(1.45)
    hue-rotate(-6deg)
    brightness(0.55)
    contrast(1.08);
}
/* On reduced-motion, kill the aura entirely · plain dark bg only. */
@media (prefers-reduced-motion: reduce) {
  .aura-background-component { display: none; }
}

/* =============================================================
   STARTUP / INTRO LOGO · liquid-metal-style reveal
   Recreated natively (SVG filter + animated gradients) to match
   the look of the Framer LiquidMetal component without the React
   dependency. Plays once per session.
   ============================================================= */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 164, 94, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #000000 0%, #050402 50%, #0A0500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  will-change: opacity;
  animation: introOverlayOut 700ms cubic-bezier(0.4, 0, 0.6, 1) 2600ms forwards;
}
.intro-overlay.done { display: none; }
body.intro-active { overflow: hidden; }

/* Logo container · scales up + fades in with a slight overshoot */
.intro-logo {
  width: clamp(160px, 26vw, 320px);
  height: clamp(160px, 26vw, 320px);
  opacity: 0;
  transform: scale(0.6);
  will-change: opacity, transform;
  animation: introLogoIn 1100ms cubic-bezier(0.2, 0.85, 0.25, 1) 200ms forwards;
}
@keyframes introLogoIn {
  0%   { opacity: 0; transform: scale(0.55); }
  60%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes introOverlayOut {
  to { opacity: 0; visibility: hidden; }
}

/* Liquid-metal sheen · sweeps across the logo as it settles */
.intro-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 245, 219, 0.18) 48%,
    rgba(201, 164, 94, 0.35) 52%,
    transparent 70%
  );
  mix-blend-mode: screen;
  opacity: 0;
  animation: introSheen 1600ms cubic-bezier(0.4, 0, 0.4, 1) 400ms forwards;
  border-radius: 50%;
}
@keyframes introSheen {
  0%   { opacity: 0; transform: translateX(-30%); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(30%); }
}

/* Brand wordmark under the logo · slides up after the mark lands */
.intro-wordmark {
  position: absolute;
  bottom: 18%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  animation: introWordmarkIn 700ms cubic-bezier(0.2, 0.85, 0.25, 1) 1400ms forwards;
}
.intro-wordmark .gold { color: var(--gold); }
@keyframes introWordmarkIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Skip hint · bottom of overlay */
.intro-skip {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  animation: introSkipIn 600ms ease-out 1800ms forwards;
  pointer-events: none;
}
@keyframes introSkipIn {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { animation: none; opacity: 0; visibility: hidden; }
  .intro-logo, .intro-sheen, .intro-wordmark, .intro-skip { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
