:root {
  --ink: #15171b;
  --ink-2: #1b1e24;
  --ink-soft: #2a2e35;
  --gold: #d9b15c;
  --gold-deep: #c2974a;
  --gold-soft: #e8cf9c;
  --warm: #9a958a;
  --paper: #f5f3ee;
  --paper-2: #ebe7dd;
  --white: #ffffff;
  --line-dark: rgba(217, 177, 92, 0.18);
  --line-light: rgba(21, 23, 27, 0.12);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--ink);
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------- layout helpers ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 64px); }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--light { color: var(--gold); }

/* ---------------- scroll progress ---------------- */
.scrollbar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scrollbar__fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.08s linear;
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 64px);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav--solid {
  padding: 13px clamp(22px, 5vw, 64px);
  background: rgba(20, 22, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
}
.nav__logo { height: 60px; width: auto; transition: height 0.4s var(--ease); }
.nav--solid .nav__logo { height: 48px; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links a {
  font-size: 13.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.72);
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink) !important; background: var(--gold);
  padding: 10px 20px !important; border-radius: 100px;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold-soft); }
.nav__burger { display: none; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink); color: var(--white); overflow: hidden;
}
#flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(217,177,92,0.10), transparent 55%),
    linear-gradient(180deg, rgba(16,18,22,0.55) 0%, rgba(16,18,22,0.15) 32%, rgba(16,18,22,0.35) 72%, var(--ink) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease) 0.2s forwards; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 11vw, 168px); line-height: 0.92;
  letter-spacing: -0.02em; margin: 26px 0 0;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .word { display: inline-block; transform: translateY(102%); }
.hero h1 .word.go { animation: wordUp 1.1s var(--ease) forwards; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__sub {
  margin-top: 32px; max-width: 540px; font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6; color: rgba(255,255,255,0.74);
  opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease) 1s forwards;
}
.hero__actions {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease) 1.18s forwards;
}
.btn {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, transform 0.2s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--gold:hover svg { transform: translateX(4px); }
.btn--ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); }
.btn--dark:hover svg { transform: translateX(4px); }

.hero__cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.5);
  opacity: 0; animation: rise 1s var(--ease) 1.5s forwards;
}
.hero__cue span { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes cue { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* ---------------- section shell ---------------- */
.section { position: relative; padding: clamp(90px, 13vh, 170px) 0; }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper-2 { background: var(--paper-2); color: var(--ink); }
.bg-ink { background: var(--ink); color: var(--white); }

.sec-head { max-width: 860px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; margin-top: 22px;
  text-wrap: balance;
}
.sec-head h2 em { font-style: italic; color: var(--gold-deep); }
.bg-ink .sec-head h2 em { color: var(--gold); }
.lead {
  font-size: clamp(17px, 2vw, 22px); line-height: 1.62; max-width: 660px;
  color: var(--ink); margin-top: 28px;
}

/* ---- reveal base ---- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-in { transform: none; }

/* ---------------- positioning / manifesto ---------------- */
.manifesto { display: grid; grid-template-columns: 1fr; gap: 0; }
.manifesto p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 4vw, 50px); line-height: 1.18; letter-spacing: -0.015em;
  text-wrap: balance; max-width: 16ch;
}
.manifesto .body {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: #4a4d53;
  max-width: 540px; margin-top: 8px;
}
.manifesto-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.manifesto .punch em { font-style: italic; color: var(--gold-deep); }

/* ---------------- what we do ---------------- */
.offers { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-light); }
.offer {
  display: grid; grid-template-columns: 84px 1fr 1.05fr; gap: clamp(24px, 5vw, 80px);
  padding: clamp(40px, 6vw, 76px) 0; border-bottom: 1px solid var(--line-light);
  position: relative; align-items: start;
}
.offer__num {
  font-family: var(--serif); font-size: 22px; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.offer h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance;
}
.offer__body { font-size: 16.5px; line-height: 1.72; color: #4a4d53; }
.offer__body .accent { display: block; margin-top: 18px; color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 18px; }
.offer::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.9s var(--ease);
}
.offer.is-in::after { width: 100%; }

/* ---------------- why ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(44px, 6vw, 80px); background: var(--line-dark); border: 1px solid var(--line-dark); }
.why-cell {
  background: var(--ink); padding: clamp(34px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 18px; min-height: 280px;
  position: relative; overflow: hidden; transition: background 0.5s var(--ease);
}
.why-cell:hover { background: var(--ink-2); }
.why-cell__idx { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
.why-cell h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin-top: auto;
}
.why-cell h3 em { font-style: italic; color: var(--gold); }
.why-cell p { font-size: 15.5px; line-height: 1.66; color: rgba(255,255,255,0.66); }
.why-cell__glow {
  position: absolute; width: 220px; height: 220px; right: -60px; top: -60px;
  background: radial-gradient(circle, rgba(217,177,92,0.18), transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.why-cell:hover .why-cell__glow { opacity: 1; }

/* ---------------- approach timeline ---------------- */
.steps { margin-top: clamp(48px, 6vw, 90px); position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-light); }
.steps__line::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); transition: width 1.6s var(--ease);
}
.steps.is-in .steps__line::after { width: 100%; }
.steps__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px); }
.step { position: relative; padding-top: 42px; }
.step__dot {
  position: absolute; top: 7px; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--gold-deep);
}
.step.is-in .step__dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(217,177,92,0.18); transition: background .4s, box-shadow .4s; }
.step__k { font-family: var(--serif); font-size: 14px; color: var(--gold-deep); letter-spacing: 0.18em; text-transform: uppercase; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.4vw, 30px); margin: 14px 0 12px; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.62; color: #4a4d53; }

/* ---------------- closing CTA ---------------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 40%, rgba(217,177,92,0.14), transparent 65%);
}
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(40px, 7vw, 104px); line-height: 0.98; text-wrap: balance; max-width: 16ch;
}
.cta h2 em { font-style: italic; color: var(--gold); }
.cta p { margin-top: 30px; max-width: 560px; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; color: rgba(255,255,255,0.7); }
.cta__mail {
  margin-top: 44px; display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); color: #fff;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 10px; transition: color 0.4s, border-color 0.4s;
}
.cta__mail:hover { color: var(--gold); border-color: var(--gold); }
.cta__mail svg { width: 26px; height: 26px; }

/* ---------------- footer ---------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: clamp(56px, 7vw, 96px) 0 40px; border-top: 1px solid var(--line-dark); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer__logo { height: 52px; width: auto; }
.footer__tag { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 19px; color: rgba(255,255,255,0.8); max-width: 30ch; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer__col h4 { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; font-size: 15px; line-height: 2; color: rgba(255,255,255,0.62); transition: color 0.3s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 84px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.42);
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  /* center the logo, keep burger on the right */
  .nav { justify-content: flex-end; }
  .nav > a[aria-label] {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px);
    background: rgba(18,20,24,0.96); backdrop-filter: blur(18px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px; transform: translateX(100%); transition: transform 0.45s var(--ease);
    border-left: 1px solid var(--line-dark);
  }
  .nav--open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 19px; color: #fff; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; width: 30px; height: 22px; justify-content: center;
    background: none; border: none; cursor: pointer; z-index: 101;
  }
  .nav__burger span { height: 1.6px; width: 100%; background: #fff; transition: transform 0.35s var(--ease), opacity 0.3s; }
  .nav--open .nav__burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

  .manifesto-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .offer { grid-template-columns: 1fr; gap: 18px; }
  .offer__num { font-size: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-cell { min-height: 220px; }
  .steps__line { display: none; }
  .steps__row { grid-template-columns: 1fr; gap: 40px; }
  .step { padding-top: 0; padding-left: 30px; }
  .step__dot { top: 4px; }
}
