/* EVOLVE by Darwin — 2026-04-24 luxury redesign
   Pure black + gold. Editorial. Content-first.
   Inspired by high-end watchmakers and editorial fashion covers.
   Fonts: Cormorant Garamond (display), Montserrat (kickers), Inter (body). */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --bg: #000000;
  --bg-alt: #0A0A0A;
  --bg-card: #0F0F0F;

  --gold: #C9A961;
  --gold-bright: #E6C68D;
  --gold-deep: #8B6A33;
  --gold-line: #2A1F10;

  --text: #F0D9A8;
  --text-soft: #D9B678;
  --text-muted: #8B6A33;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --pad-section: clamp(80px, 10vw, 160px);
  --pad-wrap: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --max-narrow: 780px;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .24s ease; }

/* ── Typography ───────────────────────────────── */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  background: linear-gradient(180deg, #FBE9C4 0%, #E6C68D 45%, #C9A961 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E6C68D;
  text-shadow: 0 1px 24px rgba(201,169,97,0.18);
}

h1 .gold, h2 .gold, h3 .gold {
  background: linear-gradient(180deg, #F4D88F 0%, #C9A961 50%, #8B6A33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.02;
  font-weight: 500;
}

h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.08;
  font-weight: 500;
}

h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

p { color: var(--text); font-size: clamp(16px, 1.1vw, 18px); font-weight: 400; }
p + p { margin-top: 14px; }

.lead {
  color: var(--gold-bright);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}

.sec-head p { color: var(--text); font-size: clamp(17px, 1.2vw, 19px); font-weight: 400; }

.gold { color: var(--gold); font-style: italic; }

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.sec-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

/* ── Layout ───────────────────────────────── */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-wrap); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--pad-wrap); }

section { padding: var(--pad-section) 0; }
section.alt { background: var(--bg-alt); }

.sec-head { text-align: center; max-width: 780px; margin: 0 auto 80px; }
.sec-head .sec-kicker { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 24px; }
.sec-head p { color: var(--text-soft); }

/* ── Navigation ───────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--gold-line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad-wrap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(201,169,97,0.55)) brightness(1.18) saturate(1.15);
  transition: filter .35s ease, transform .35s ease;
}
.nav-logo:hover img {
  filter: drop-shadow(0 2px 22px rgba(230,198,141,0.75)) brightness(1.28) saturate(1.2);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .28s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-bright) !important;
  padding: 11px 22px !important;
  letter-spacing: 0.22em !important;
  transition: all .3s ease !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 6px 0;
  transition: all .24s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--gold-line);
    flex-direction: column;
    gap: 0;
    padding: 24px var(--pad-wrap) 32px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--gold-line); }
  .nav-links a.nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 1px solid var(--gold);
  }
}

/* ── Hero ───────────────────────────────── */

.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201,169,97,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-logo-mark {
  display: block;
  margin: 0 auto 56px;
  width: clamp(320px, 44vw, 540px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(201,169,97,0.45)) drop-shadow(0 0 80px rgba(230,198,141,0.35)) brightness(1.22) saturate(1.2);
  animation: logo-pulse 4.5s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 6px 24px rgba(201,169,97,0.45)) drop-shadow(0 0 80px rgba(230,198,141,0.35)) brightness(1.22) saturate(1.2); }
  50%      { filter: drop-shadow(0 6px 30px rgba(230,198,141,0.6))  drop-shadow(0 0 100px rgba(230,198,141,0.5))  brightness(1.32) saturate(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-mark { animation: none; }
}

.hero h1 { max-width: 900px; margin: 0 auto 28px; }
.hero .lead { max-width: 620px; margin: 0 auto 44px; }

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page-level hero (non-home pages) */
.page-hero {
  padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 100px);
  text-align: center;
  border-bottom: 1px solid var(--gold-line);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201,169,97,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; margin: 0 auto 24px; }
.page-hero .lead { max-width: 620px; margin: 0 auto 36px; }

/* ── Buttons ───────────────────────────────── */

.btn, a.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover, a.btn:hover {
  background: var(--gold);
  color: var(--bg);
  letter-spacing: 0.32em;
}

.btn.ghost, a.btn.ghost {
  border-color: var(--gold-line);
  color: var(--text-soft);
}
.btn.ghost:hover, a.btn.ghost:hover {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-bright);
}

/* ── Two-column section ───────────────────────────────── */

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 820px) {
  .twocol { grid-template-columns: 1fr; }
}

/* ── Vertical cards (sport grid) ───────────────────────────────── */

.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}

.vcard {
  background: var(--bg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  transition: background .4s ease, transform .4s ease;
  position: relative;
}

.vcard:hover {
  background: var(--bg-alt);
}

.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .4s ease;
}
.vcard:hover::after { border-color: var(--gold); }

.vcard-icon {
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.9;
}

.vcard h3 { color: var(--gold-bright); margin-bottom: 6px; }
.vcard p { color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.vcard .more {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vcard .more::after {
  content: '→';
  font-family: var(--body);
  transition: transform .28s ease;
}
.vcard:hover .more::after { transform: translateX(6px); }

/* ── Feature blocks ───────────────────────────────── */

.fblocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.fblock {
  padding: 36px 0;
  border-top: 1px solid var(--gold-line);
}

.fblock .num {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.fblock h3 { color: var(--gold-bright); margin-bottom: 12px; font-size: clamp(20px, 1.8vw, 26px); }
.fblock p { font-size: 15px; line-height: 1.7; }

/* ── The method steps ───────────────────────────────── */

.mgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}
@media (max-width: 720px) { .mgrid { grid-template-columns: 1fr; } }

.mstep { padding: 56px 40px; background: var(--bg); }
.mstep .num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.7;
}
.mstep h3 { margin-bottom: 12px; font-size: 24px; }
.mstep p { font-size: 15px; color: var(--text-soft); }

/* ── Lists / text blocks ───────────────────────────────── */

ul {
  list-style: none;
  padding: 0;
}
ul li {
  padding: 16px 0;
  border-top: 1px solid var(--gold-line);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}
ul li:first-child { border-top: none; }
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
ul li strong { color: var(--gold-bright); font-weight: 500; }

.copy-long p { max-width: 680px; margin-bottom: 20px; }
.copy-long p strong { color: var(--gold-bright); font-weight: 500; }

/* ── CTA band ───────────────────────────────── */

.ctaband {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.ctaband h2 { margin-bottom: 20px; }
.ctaband p { margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

.center { text-align: center; }

/* ── Forms (intake, protocol, contact) ───────────────────────────────── */

form { max-width: 720px; margin: 0 auto; }
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 28px; }

label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

input, textarea, select {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
  font-family: var(--body);
  font-size: 15px;
  border-radius: 0;
  transition: border-color .24s ease, background .24s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-card);
}

textarea { min-height: 140px; resize: vertical; }

input::placeholder, textarea::placeholder { color: var(--text-muted); font-style: italic; }

/* ── Form sectioning (used by /intake and /protocol) ─────────────── */

.fieldset {
  border: 1px solid var(--gold-line);
  padding: 32px 28px 26px;
  margin-bottom: 28px;
  background: var(--bg-alt);
}
.fieldset legend {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 12px;
  margin-left: -12px;
}
.fieldset.hidden { display: none; }

.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field label { margin-bottom: 8px; }
.field .req { color: var(--gold-bright); margin-left: 4px; font-weight: 700; }
.field .hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}
.field .err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #c46060;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.field.show-err .err { display: block; }
.field.show-err input,
.field.show-err select,
.field.show-err textarea {
  border-color: #c46060;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.row > .field { margin-bottom: 0; }
@media (max-width: 600px) {
  .row { grid-template-columns: 1fr; gap: 22px; }
}

/* honeypot — visually hidden, screen-reader-friendly */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  left: -9999px;
  top: -9999px;
}

/* checkbox + radio groups */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 18px;
  margin-top: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft);
  cursor: pointer;
  padding: 8px 0;
  margin: 0;
}
.check input[type="checkbox"],
.check input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* progress dots used in /protocol */
.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.steps .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-line);
  transition: background .24s ease;
}
.steps .dot.active { background: var(--gold); }

/* ── FAQ / details ───────────────────────────────── */

details {
  border-top: 1px solid var(--gold-line);
  padding: 28px 0;
}
details:last-of-type { border-bottom: 1px solid var(--gold-line); }

details summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--gold-bright);
  list-style: none;
  position: relative;
  padding-right: 40px;
}
details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform .3s ease;
}
details[open] summary::after { content: '−'; }

details p { margin-top: 16px; color: var(--text-soft); }

/* ── Footer ───────────────────────────────── */

footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--gold-line);
  margin-top: 60px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-logo { grid-column: 1 / -1; }
}

.foot-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 16px rgba(201,169,97,0.45)) brightness(1.18) saturate(1.15);
}
.foot-logo p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.foot-col h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.foot-col ul { list-style: none; }
.foot-col ul li {
  padding: 6px 0;
  border: none;
  padding-left: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.foot-col ul li::before { display: none; }
.foot-col ul li a { color: var(--text-soft); transition: color .24s ease; }
.foot-col ul li a:hover { color: var(--gold-bright); }

.foot-bottom {
  border-top: 1px solid var(--gold-line);
  padding-top: 30px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--text-muted);
}

/* ── Utility + legacy overrides ───────────────────────────────── */

.img-wrap { display: none; }
.hero-portrait { display: none; }
.hero-grid { display: block !important; }
.metrics, .method { padding: var(--pad-section) 0; }
.chip-dot, .chip-label { display: none; }

/* Ensure legacy classes from old design render cleanly */
.verticals, .page-hero { background: var(--bg); }

/* Selection */
::selection { background: var(--gold); color: var(--bg); }
