/* ════════════════════════════════════════════════════════
   ELEVATE — ivory / black / gold luxury edition
   Light theme. Alternating section bands. Chapter labels.
   ════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --ivory:      #F6F1E8;   /* primary warm bg */
  --paper:      #FFFFFF;   /* alt bg */
  --bone:       #ECE5D5;   /* deeper warm */
  --night:      #0A0A0A;   /* dramatic strip */
  --night-2:    #16140F;

  /* Ink */
  --ink:        #0F0F10;
  --ink-2:      #2A2826;
  --muted:      #6B6760;
  --muted-2:    #8E887E;
  --line:       rgba(15, 15, 16, 0.10);
  --line-2:     rgba(15, 15, 16, 0.18);
  --line-dark:  rgba(255, 255, 255, 0.12);

  /* Gold */
  --gold-1:     #E5C66A;   /* highlight */
  --gold-2:     #B8860B;   /* core — logo gold */
  --gold-3:     #8B6914;   /* deep — for text on ivory */
  --gold-4:     #5C4810;

  --grad-gold:  linear-gradient(135deg, #E5C66A 0%, #B8860B 55%, #5C4810 100%);
  --grad-ink:   linear-gradient(180deg, #0F0F10 0%, #2A2826 100%);

  --serif:      'Fraunces', 'Times New Roman', serif;
  --sans:       'Space Grotesk', system-ui, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, monospace;

  --maxw:       1440px;
  --pad-x:      clamp(20px, 5vw, 80px);

  --ease:       cubic-bezier(.16,.84,.36,1);
  --ease-out:   cubic-bezier(.22,1,.36,1);

  --cur-x: 50vw;
  --cur-y: 50vh;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; }

::selection { background: var(--gold-2); color: #fff; }

/* ════════════════════════════════════════════════════════
   AMBIENT GRAIN (subtle on light)
   ════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.ambient { display: none; } /* kill the old dark orbs */

/* ════════════════════════════════════════════════════════
   CURSOR (dark on light)
   ════════════════════════════════════════════════════════ */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot {
  width: 8px; height: 8px;
  background: var(--gold-2);
  box-shadow: 0 0 8px rgba(229,198,106,.85), 0 0 0 1px rgba(255,255,255,.25);
  transform: translate(calc(var(--cur-x) - 50%), calc(var(--cur-y) - 50%));
}
.cursor__ring {
  width: 30px; height: 30px;
  border: 1px solid rgba(184, 134, 11, .55);
  transform: translate(calc(var(--cur-rx, var(--cur-x)) - 50%), calc(var(--cur-ry, var(--cur-y)) - 50%));
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 58px; height: 58px;
  border-color: var(--gold-1);
  background: rgba(229, 198, 106, .14);
}
@media (hover: none) { .cursor { display:none; } body, button { cursor: auto; } }

/* ════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ════════════════════════════════════════════════════════ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-3));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  z-index: 999;
}

/* ════════════════════════════════════════════════════════
   LOADER (kept dark for the reveal)
   ════════════════════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0;
  background: var(--night);
  z-index: 10000;
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; place-items: center; gap: 18px; }
.loader__mark { width: 78px; height: 78px; }
.loader__ring {
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: ringFill 1.4s var(--ease) forwards;
  transform-origin: center; transform: rotate(-90deg);
}
@keyframes ringFill { to { stroke-dashoffset: 0; } }
.loader__txt {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase;
  color: #B8B0A0;
}
.loader__dots::after {
  content: '';
  animation: dots 1.4s steps(4, end) infinite;
}
@keyframes dots { 0% { content:''; } 25% { content:'.'; } 50% { content:'..'; } 75% { content:'...'; } }

/* ════════════════════════════════════════════════════════
   NAV (light, ink text)
   ════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(246, 241, 232, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 4px 18px rgba(184,134,11,.18);
}
.nav__mark img { width: 100%; height: 100%; object-fit: cover; }
.nav__wordmark { display: grid; line-height: 1; }
.nav__word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--ink);
}
.nav__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--gold-3);
  margin-top: 4px;
}
.nav__links {
  justify-self: center;
  display: flex; gap: 30px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__links a {
  display: inline-flex; gap: 8px; align-items: baseline;
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold-3);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold-2);
  transition: right .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
@media (max-width: 880px) { .nav__links { display: none; } }

/* ════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
  isolation: isolate;
}
.btn svg { width: 16px; height: 16px; }
.btn--lg { padding: 16px 28px; font-size: 14px; }

/* Magnetic buttons: bypass the transform transition so JS rAF follow is instant */
[data-magnetic] {
  transition-property: background, color, box-shadow, border-color;
}

.btn--gold {
  color: var(--ink);
  background: var(--grad-gold);
  border-color: var(--gold-2);
  box-shadow: 0 10px 30px -12px rgba(184,134,11,.55);
  overflow: hidden;
}
/* Diagonal shimmer that sweeps across on hover — replaces the old slide-up overlay */
.btn--gold::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -40%;
  width: 50%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.btn--gold:hover {
  color: var(--ink);
  background: linear-gradient(135deg, #FBE08C 0%, #D4A523 55%, #7C6420 100%);
  border-color: var(--gold-1);
  box-shadow: 0 22px 48px -12px rgba(184,134,11,.70);
}
.btn--gold:hover::before { transform: translateX(360%) skewX(-12deg); }

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* On dark sections */
.section--night .btn--ghost,
.guarantee .btn--ghost {
  color: var(--ivory); border-color: rgba(255,255,255,.25);
}
.section--night .btn--ghost:hover,
.guarantee .btn--ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.section--night .btn--gold,
.guarantee .btn--gold {
  color: var(--ink);
  background: var(--grad-gold);
  border-color: var(--gold-2);
}
.section--night .btn--gold:hover,
.guarantee .btn--gold:hover { box-shadow: 0 22px 50px -10px rgba(229,198,106,.7); }

/* ════════════════════════════════════════════════════════
   LAYOUT  +  SECTION BANDS  +  CHAPTER LABELS
   ════════════════════════════════════════════════════════ */
main { position: relative; z-index: 2; }
section {
  padding: clamp(90px, 12vw, 180px) var(--pad-x);
  position: relative;
  background: var(--ivory);
}
/* Alternating band */
.section--alt { background: var(--paper); }

/* Hairline gold divider between every section */
section + section { border-top: 1px solid var(--line); }

/* Chapter watermarks + side labels removed per design direction.
   The data-chapter / data-chapter-name attributes remain in the HTML for
   admin/sitemap purposes, but render nothing. */
section[data-chapter]::before,
section[data-chapter-name]::after { content: none; display: none; }

section > * { position: relative; z-index: 2; }

.section__head { max-width: 1100px; margin: 0 auto clamp(48px, 7vw, 100px); padding-top: clamp(24px, 4vw, 48px); }
.section__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-3);
  display: inline-block;
  margin-bottom: 22px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
}
.section__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 640px;
  margin-top: 28px;
  line-height: 1.65;
}

.hero__title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: -.03em;
}
.hero__title-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: clamp(140px, 20vh, 220px);
  display: grid;
  align-content: start;
  gap: clamp(28px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(229,198,106,.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(184,134,11,.08), transparent 60%),
    var(--ivory);
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .8;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 90%);
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: start;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.hero__chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(184,134,11,.6);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184,134,11,.7); }
  70%  { box-shadow: 0 0 0 14px rgba(184,134,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,134,11,0); }
}
/* Two-column hero: text left, floating logo right */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.hero__content { display: grid; gap: clamp(22px, 2.5vw, 34px); align-content: start; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(40px, 8vw, 72px); }
  .hero__visual { order: -1; justify-self: center; }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
.hero__title .line.is-in > span { transform: translateY(0); opacity: 1; }
.hero__title .line.is-in:nth-child(2) > span { transition-delay: .12s; }

.hero__sub {
  max-width: 620px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  margin: 0;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(20px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__stats > div { display: grid; gap: 8px; }
.hero__stats strong {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.hero__stats em {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-3); font-size: .55em; margin-left: 4px;
}
.hero__stats span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); max-width: 220px;
}
@media (max-width: 720px) { .hero__stats { grid-template-columns: 1fr; } }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: grid; place-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll span {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold-2), transparent);
  background-size: 100% 200%;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

/* ════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════ */
.marquee {
  padding: 24px 0;
  border-block: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}
.marquee[data-chapter]::before,
.marquee[data-chapter]::after { display: none; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--ivory);
  animation: scroll 38s linear infinite;
  will-change: transform;
}
.marquee__track span:nth-child(even) { color: var(--gold-1); font-style: normal; font-size: .6em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════
   MANIFESTO + PILLARS
   ════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pillars--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .pillars--three { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: clamp(28px, 4vw, 56px);
  background: var(--ivory);
  transition: background .5s var(--ease);
  position: relative;
}
.section--alt .pillar { background: var(--paper); }
.pillar:hover { background: var(--bone); }
.section--alt .pillar:hover { background: var(--ivory); }
.pillar__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold-3);
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -.02em;
  margin: 18px 0 14px;
  color: var(--ink);
}
.pillar p { color: var(--ink-2); max-width: 46ch; margin: 0; }

/* ════════════════════════════════════════════════════════
   SERVICES CARDS
   ════════════════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  transition: transform .4s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card__border {
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(from var(--a, 0deg),
      rgba(184,134,11, 0),
      rgba(184,134,11, .9) 20%,
      rgba(92,72,16, 0) 35%,
      rgba(184,134,11, 0) 60%,
      rgba(229,198,106, .7) 80%,
      rgba(184,134,11, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
  animation: spinBorder 6s linear infinite;
}
@keyframes spinBorder { to { --a: 360deg; } }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card:hover .card__border { opacity: 1; }
.card__inner {
  padding: clamp(28px, 2.6vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: inherit;
  min-height: 300px;
  display: grid; align-content: space-between;
  position: relative; z-index: 1;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.section--alt .card__inner { background: var(--ivory); }
.card:hover .card__inner {
  border-color: rgba(184,134,11,.35);
  box-shadow: 0 18px 50px -20px rgba(15,15,16,.18);
}
.card__inner header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--gold-3);
}
.card__ico {
  width: 24px; height: 24px;
  color: var(--ink-2);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card__ico { color: var(--gold-2); transform: rotate(-6deg) scale(1.05); }
.card__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.card__d { color: var(--ink-2); margin: 0 0 24px; font-size: 15px; line-height: 1.6; }
.card__more {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-3);
  display: inline-flex; gap: 8px;
}
.card__more em { font-style: normal; transition: transform .4s var(--ease); }
.card:hover .card__more em { transform: translateX(6px); }

/* ════════════════════════════════════════════════════════
   PROCESS / TIMELINE
   ════════════════════════════════════════════════════════ */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 0;
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: clamp(40px, 6vw, 80px);
  margin-left: clamp(20px, 4vw, 60px);
}
.timeline::before {
  content: ''; position: absolute; left: -1px; top: 0;
  width: 1px; height: var(--fill, 0%);
  background: linear-gradient(to bottom, var(--gold-1), var(--gold-3));
  transition: height 1.2s var(--ease);
}
.timeline__item {
  position: relative;
  padding: clamp(30px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: calc(-1 * clamp(40px, 6vw, 80px) - 5px);
  top: calc(clamp(30px, 4vw, 56px) + 10px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-2);
  box-shadow: 0 0 0 4px var(--paper), 0 0 14px rgba(184,134,11,.3);
}
.timeline__day {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .3em;
  color: var(--gold-3);
  text-transform: uppercase;
}
.timeline__item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.02em;
  margin: 12px 0 14px;
  color: var(--ink);
}
.timeline__item p { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ════════════════════════════════════════════════════════
   STATS + QUOTES
   ════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: clamp(30px, 4vw, 56px);
  background: var(--ivory);
}
.section--alt .stat { background: var(--paper); }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat em {
  font-style: italic; color: var(--gold-3);
  font-size: .55em; margin-left: 4px;
}
.stat > span {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 28ch;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  margin: 0;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  position: relative;
}
.section--alt .quote { background: var(--ivory); }
.quote::before {
  content: '"';
  position: absolute; top: 8px; left: 18px;
  font-family: var(--serif); font-size: 84px; line-height: 1;
  color: var(--gold-2); opacity: .45;
}
.quote blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}
.quote figcaption {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.quote figcaption span { color: var(--gold-3); }
.quote figcaption em { font-style: normal; }

/* ════════════════════════════════════════════════════════
   GUARANTEE (DARK DRAMATIC STRIP)
   ════════════════════════════════════════════════════════ */
.guarantee {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(184,134,11,.22), transparent 70%),
    var(--night);
  color: var(--ivory);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.guarantee[data-chapter-name]::after { color: var(--gold-1); }
.guarantee .section__eyebrow { color: var(--gold-1); }
.guarantee__inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; gap: 28px; justify-items: center;
}
.guarantee__line {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ivory);
  margin: 0;
  max-width: 22ch;
  font-weight: 400;
}
.guarantee .hero__title-gold { font-weight: 500; }

/* ════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } }

.contact__left { padding-top: clamp(24px, 4vw, 48px); }
.contact__left .section__title { font-size: clamp(40px, 5vw, 72px); }
.contact__bullets {
  margin-top: 28px;
  list-style: none; padding: 0;
  display: grid; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}
.contact__bullets i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  margin-right: 12px;
  vertical-align: middle;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(15,15,16,.15);
}
.contact__form::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg), transparent, rgba(184,134,11,.35) 25%, transparent 50%);
  z-index: 0;
  filter: blur(20px);
  opacity: .55;
  animation: spinBorder 12s linear infinite;
  pointer-events: none;
}
.contact__form > * { position: relative; z-index: 1; }
.contact__form label {
  display: grid; gap: 8px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.contact__form .contact__full { grid-column: 1 / -1; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  letter-spacing: normal; text-transform: none;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: var(--paper);
}
.contact__form select option { background: var(--paper); color: var(--ink); }
.contact__form textarea { resize: vertical; min-height: 96px; font-family: var(--sans); }
.contact__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .35);
  color: #b91c1c;
  font-size: 13px;
  font-family: var(--sans);
  letter-spacing: 0; text-transform: none;
}
.contact__submit { grid-column: 1 / -1; justify-self: start; }
.contact__submit[disabled] { opacity: .55; pointer-events: none; }

/* Form leaving animation */
.contact__form {
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.contact__form.is-leaving { opacity: 0; transform: translateY(-12px) scale(.985); pointer-events: none; }

/* Force the [hidden] attribute to actually hide these — our display:grid
   rules above otherwise win over the browser's [hidden]{display:none}. */
.contact__form[hidden],
.contact__thanks[hidden] { display: none !important; }

/* ── THANK-YOU PANEL ──────────────────────────────────── */
.contact__thanks {
  padding: clamp(40px, 4vw, 64px) clamp(28px, 3vw, 44px);
  border: 1px solid rgba(184,134,11,.35);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(229,198,106,.18), transparent 70%),
    var(--paper);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  box-shadow: 0 30px 80px -40px rgba(15,15,16,.18), 0 0 0 1px rgba(229,198,106,.12);
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.contact__thanks.is-in { opacity: 1; transform: none; }

/* Animated check */
.contact__thanks-mark {
  width: 96px; height: 96px;
  display: block;
}
.contact__thanks-ring {
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: thxRing 1s var(--ease-out) .15s forwards;
  transform-origin: center;
  transform: rotate(-90deg);
}
.contact__thanks-check {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: thxCheck .55s var(--ease-out) .9s forwards;
}
@keyframes thxRing  { to { stroke-dashoffset: 0; } }
@keyframes thxCheck { to { stroke-dashoffset: 0; } }

.contact__thanks-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 8px 0 0;
  color: var(--ink);
  display: grid; gap: 6px;
}
.contact__thanks-title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact__thanks-msg {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}
.contact__thanks-msg strong { color: var(--ink); font-weight: 600; }

.contact__thanks-meta {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.contact__thanks-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(184,134,11,.6);
  animation: pulse 2s var(--ease) infinite;
}

/* ════════════════════════════════════════════════════════
   FOOTER (deep ink for contrast)
   ════════════════════════════════════════════════════════ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid #000;
  padding: clamp(60px, 8vw, 100px) var(--pad-x) 40px;
  background: var(--night);
  color: var(--ivory);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img {
  width: 80px; height: 80px;
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line-dark);
}
.footer__brand p { color: #C8C2B5; max-width: 28ch; }
.footer__col h4,
.footer__signal h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin: 6px 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: #C8C2B5; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__form { display: flex; gap: 8px; }
.footer__form input {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  color: var(--ivory);
  font-family: var(--sans); font-size: 13px;
}
.footer__form input:focus { outline: none; border-color: var(--gold-2); }
.footer__form button {
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--gold-1);
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.footer__form button:hover { background: var(--gold-2); color: var(--ink); }

.footer__bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .15em;
  color: var(--muted-2);
}
.footer__pulse { display: inline-flex; align-items: center; gap: 8px; }
.footer__pulse i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: pulse 2s var(--ease) infinite;
}

/* ════════════════════════════════════════════════════════
   REVEAL
   ════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

[data-reveal-line] {
  display: block;
  overflow: hidden;
  line-height: 1;
}
[data-reveal-line] > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out);
}
[data-reveal-line].is-in > span { transform: translateY(0); opacity: 1; }
[data-reveal-line].is-in > span:nth-child(2) { transition-delay: .08s; }
[data-reveal-line].is-in > span:nth-child(3) { transition-delay: .16s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-line] > span, .hero__title .line > span { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════
   MORE GOLD — accents pass
   ════════════════════════════════════════════════════════ */

/* Ambient gold haze across the body */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%,  rgba(229,198,106,.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(184,134,11,.10),  transparent 70%);
}

/* Brand wordmark — gold "7" */
.nav__seven {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  padding-left: 2px;
}
.nav__word { letter-spacing: .18em; }

/* Section eyebrow: now a gold pill instead of plain text */
.section__eyebrow {
  padding: 6px 14px;
  border: 1px solid rgba(184,134,11,.35);
  background: linear-gradient(180deg, rgba(229,198,106,.12), rgba(229,198,106,.02));
  border-radius: 999px;
  color: var(--gold-3);
}

/* Section title — gold descender underline */
.section__head .section__title::after {
  content: '';
  display: block;
  width: 88px; height: 2px;
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--grad-gold);
  border-radius: 2px;
}

/* HERO — italicize + gold-tint extra words */
.hero__title-soft {
  font-weight: 400;
  background: linear-gradient(180deg, var(--ink) 0%, #4A4640 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Pillars — gold left rail + bigger gold numerals */
.pillar { border-left: 2px solid transparent; transition: border-color .4s var(--ease), background .5s var(--ease); }
.pillar:hover { border-left-color: var(--gold-2); }
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}

/* Cards — top gold accent that lights up on hover */
.card__inner {
  border-top: 1px solid rgba(184,134,11,.18);
}
.card:hover .card__inner { border-top-color: var(--gold-2); }
.card__num {
  color: var(--gold-2);
  font-weight: 500;
}
.card__ico { color: var(--gold-3); }
.card__t::first-letter,
.section__title::first-letter { color: var(--gold-3); }

/* Make the marquee gold on black instead of ivory */
.marquee__track { color: var(--gold-1); }
.marquee__track span:nth-child(even) { color: var(--gold-2); opacity: .7; }

/* Timeline — gold dot ring + gold "day" pill */
.timeline__dot {
  background: var(--grad-gold);
  border-color: var(--gold-2);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(184,134,11,.4), 0 0 22px rgba(184,134,11,.45);
}
.section--alt .timeline__dot { box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px rgba(184,134,11,.4), 0 0 22px rgba(184,134,11,.45); }
.timeline__day {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(184,134,11,.10);
  border: 1px solid rgba(184,134,11,.30);
  border-radius: 999px;
  color: var(--gold-3);
}

/* Stats — gold gradient numbers */
.stat strong {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat em { color: var(--gold-3); }

/* Hero stat numbers — partial gold pop */
.hero__stats strong {
  background: linear-gradient(180deg, var(--ink) 0%, var(--gold-3) 110%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__stats em { color: var(--gold-2); }

/* Quote — gold left rule */
.quote { border-left: 2px solid var(--gold-2); }

/* Contact form — gold labels + gold accent on focus + gold submit treatment */
.contact__form label { color: var(--gold-3); }
.contact__form input,
.contact__form select,
.contact__form textarea {
  border-color: rgba(184,134,11,.25);
}

/* Footer — gold links + gold rule above bottom row */
.footer__col a:hover { color: var(--gold-1); }
.footer__brand p { border-left: 2px solid var(--gold-2); padding-left: 14px; }
.footer__bottom { border-top: 1px solid rgba(229,198,106,.18); margin-top: 18px; }

/* Dark section labels stay gold-bright */
.section--night .section__eyebrow,
.guarantee .section__eyebrow { color: var(--gold-1); border-color: rgba(229,198,106,.45); background: linear-gradient(180deg, rgba(229,198,106,.18), rgba(229,198,106,.02)); }

/* ════════════════════════════════════════════════════════
   HERO — FLOATING LOGO VISUAL (right column)
   ════════════════════════════════════════════════════════ */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: clamp(320px, 42vw, 560px);
  justify-self: center;
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* Gold halo ring rotating slowly behind the logo */
.hero__logo-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(229,198,106, 0)   0deg,
      rgba(229,198,106, .65) 70deg,
      rgba(184,134,11,  .35) 140deg,
      rgba(229,198,106, 0)   220deg,
      rgba(229,198,106, .55) 320deg,
      rgba(229,198,106, 0)   360deg);
  filter: blur(28px);
  opacity: .9;
  z-index: -1;
  animation: heroRingSpin 22s linear infinite;
}
@keyframes heroRingSpin { to { transform: rotate(360deg); } }

/* The logo card itself — rounded square that holds the black artwork */
.hero__logo-wrap {
  position: relative;
  width: 88%;
  height: 88%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(229,198,106, .35);
  box-shadow:
    0 30px 80px -20px rgba(15, 15, 16, .55),
    0 0 0 1px rgba(229,198,106, .12),
    inset 0 0 0 1px rgba(229,198,106, .15);
  animation: heroFloat 7s ease-in-out infinite;
  will-change: transform;
  transform-style: preserve-3d;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50%      { transform: translateY(-22px) rotate(.5deg); }
}

.hero__logo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Diagonal shine sweep */
.hero__logo-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 230, 150, .25) 48%,
    rgba(255, 255, 255, .35) 52%,
    transparent 65%);
  transform: translateX(-110%);
  animation: heroShine 6s var(--ease) infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes heroShine {
  0%   { transform: translateX(-110%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Soft floor shadow that pulses with the float */
.hero__logo-shadow {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: 70%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(15,15,16,.45), transparent 70%);
  filter: blur(14px);
  z-index: -2;
  animation: heroShadow 7s ease-in-out infinite;
}
@keyframes heroShadow {
  0%, 100% { transform: translateX(-50%) scaleX(1)   scaleY(1);   opacity: .55; }
  50%      { transform: translateX(-50%) scaleX(.78) scaleY(.7);  opacity: .3;  }
}

/* Subtle parallax tilt driven by JS (data-hero-visual) */
.hero__visual {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}

/* Small screens: kill the heavy effects */
@media (max-width: 540px) {
  .hero__visual { max-width: 280px; }
  .hero__logo-wrap { animation-duration: 9s; border-radius: 22px; }
}

/* ════════════════════════════════════════════════════════
   HERO — TRUSTED BY / COLLABORATORS
   ════════════════════════════════════════════════════════ */
.hero__collab {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 720px) {
  .hero__collab { grid-template-columns: 1fr; }
}
.hero__collab-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-3);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero__collab-label::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold-2);
}
.hero__collab-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.hero__collab-item {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: .02em;
  color: var(--ink-2);
  opacity: .75;
  transition: opacity .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  position: relative;
  padding-right: clamp(20px, 3vw, 44px);
}
.hero__collab-item:not(:last-child)::after {
  content: '◆';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: 6px;
  color: var(--gold-2);
  opacity: .55;
}
.hero__collab-item:hover {
  color: var(--gold-3);
  opacity: 1;
  transform: translateY(-2px);
}
.hero__collab-item img {
  max-height: 32px;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(.85);
  opacity: .8;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.hero__collab-item:hover img { filter: none; opacity: 1; }

