:root {
  --bg: #0c120d;
  --bg-soft: #111a13;
  --ink: #f2efe6;
  --ink-dim: rgba(242, 239, 230, 0.62);
  --brass: #b48a4a;
  --brass-soft: rgba(180, 138, 74, 0.35);
  --leaf: #79a77f;
  --hairline: rgba(242, 239, 230, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px 28px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(5, 9, 6, 0.82) 0%, rgba(5, 9, 6, 0.45) 60%, transparent 100%);
  text-shadow: 0 1px 8px rgba(5, 9, 6, 0.9);
}
.nav-brand { font-weight: 600; color: #f0c87e; }
.nav-brand .amp { color: #ffffff; font-family: var(--serif); font-style: italic; }
.nav-mid { color: rgba(255, 255, 255, 0.85); font-size: 12px; }
.nav-cta {
  color: #0c120d;
  text-decoration: none;
  background: #f0c87e;
  border: 1px solid #f0c87e;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-shadow: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav-cta:hover { background: #ffffff; border-color: #ffffff; }

/* ---------- Scrub sections ---------- */
.scrub { position: relative; height: 520vh; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.scrub canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(5, 9, 6, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 9, 6, 0.5) 0%, transparent 22%, transparent 72%, rgba(5, 9, 6, 0.66) 100%);
}

/* ---------- Overlay copy ---------- */
.overlay { position: absolute; inset: 0; z-index: 10; text-align: center; }
.reveal-line {
  /* engine overwrites transform with translateY() each frame, so center
     with grid instead of translate(-50%, -50%) */
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 4vw;
  opacity: 0;
  will-change: opacity, transform;
}
.reveal-line h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.9rem, 8.5vw, 7.2rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow:
    0 2px 10px rgba(5, 9, 6, 0.85),
    0 6px 50px rgba(5, 9, 6, 0.9);
}
.reveal-line .kicker {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #f0c87e;
  margin-bottom: 20px;
  text-shadow:
    0 1px 6px rgba(5, 9, 6, 0.9),
    0 3px 24px rgba(5, 9, 6, 0.95);
}
.amp-lg { color: #f0c87e; font-style: italic; }

/* ---------- Progress + hint ---------- */
.progress {
  position: absolute;
  left: 32px; right: 32px; bottom: 44px;
  height: 1px;
  background: rgba(242, 239, 230, 0.14);
  z-index: 12;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--leaf), var(--brass));
}
.scroll-hint {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--ink-dim);
  animation: bob 2s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Shared section typography ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--brass);
  margin-bottom: 26px;
}
section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
section h2 em { color: var(--leaf); font-style: italic; }
.lede {
  margin-top: 28px;
  max-width: 640px;
  color: var(--ink-dim);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* ---------- Intro ---------- */
.intro { padding: 160px 0 140px; background: var(--bg); }

/* ---------- Services ---------- */
.services { padding: 140px 0; background: var(--bg-soft); border-top: 1px solid var(--hairline); }
.cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.card {
  background: var(--bg-soft);
  padding: 40px 32px 48px;
  transition: background 0.4s;
}
.card:hover { background: #16221a; }
.card-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 1rem;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 18px 0 14px;
}
.card p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.75; }

/* ---------- Process ---------- */
.process { padding: 150px 0; }
.steps {
  margin-top: 64px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 40px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--brass-soft);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 1.1rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 20px 0 12px;
}
.step p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.75; }

/* ---------- Stats ---------- */
.stats {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--ink);
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Quote ---------- */
.quote { padding: 170px 0; text-align: center; }
.quote blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.5;
  max-width: 880px;
  margin: 0 auto;
  color: var(--ink);
}
.quote-attr { margin-top: 34px; font-size: 13px; letter-spacing: 0.18em; color: var(--brass); }

/* ---------- CTA ---------- */
.cta {
  padding: 160px 0 140px;
  text-align: center;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(121, 167, 127, 0.1), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--hairline);
}
.cta .lede { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-block;
  margin-top: 44px;
  padding: 18px 44px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--brass); color: #0c120d; }
.cta-phone { margin-top: 26px; font-size: 13px; color: var(--ink-dim); letter-spacing: 0.08em; }
.cta-phone a { color: var(--ink); text-decoration: none; }
.cta-phone a:hover { color: #f0c87e; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 36px 32px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { padding: 16px 18px; font-size: 10px; letter-spacing: 0.16em; }
  .nav-mid { display: none; }
  .container { padding: 0 22px; }
  .intro, .services, .process, .quote, .cta { padding-top: 100px; padding-bottom: 100px; }
  .progress { left: 18px; right: 18px; }
}
