:root {
  --navy: #132034;
  --navy-deep: #0e1828;
  --cream: #efe8dc;
  --text: #f3f2f2;
  --text-body: #d6dae2;
  --muted: #aab2c0;
  --gold: #d9bd86;
  --tile-text: #1d1f1e;
  --pad-x: clamp(24px, 6vw, 88px);

  --font-display: "Young Serif", serif;
  --font-sans: "Bricolage Grotesque", sans-serif;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Lora", serif;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; background: var(--navy); color: var(--text); text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--pad-x);
  border-bottom: 1px solid rgba(243,242,242,0.14);
}
.nav-logo { height: 28px; width: auto; display: block; }
.nav-email {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  text-decoration: none; border: 1px solid var(--gold);
  padding: 8px 16px; border-radius: 4px;
  transition: background 160ms ease;
}
.nav-email:hover { color: var(--text); background: rgba(217,189,134,0.12); }

/* Hero */
.hero {
  padding: clamp(64px, 10vw, 128px) var(--pad-x) clamp(56px, 7vw, 88px);
  display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px);
}
.hero-top { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { flex: 1 1 min(100%, 380px); display: flex; flex-direction: column; gap: 32px; }
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(min(64px, 14vw), 9vw, 128px); line-height: 0.95; letter-spacing: -0.01em; margin: 0;
}
.hero-copy p {
  font-family: var(--font-sans); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65;
  margin: 0; max-width: 44ch; color: var(--text-body);
}
.hero-chart { flex: 1.2 1 min(100%, 460px); min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-chart svg { width: 100%; height: auto; display: block; }
.hero-chart figcaption {
  font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--muted);
  margin: 0; padding-left: 60px; max-width: 52ch;
}
.curve .hit { fill: none; stroke: transparent; stroke-width: 22; pointer-events: stroke; }
.curve .line {
  fill: none; stroke: #8a94a6; stroke-width: 2.5; stroke-dasharray: 1 7; stroke-linecap: round;
  pointer-events: none; transition: stroke 160ms ease, stroke-width 160ms ease;
}
#curves.has-hover .curve .line { stroke: rgba(170,178,192,0.28); }
#curves.has-hover .curve.is-on .line { stroke: var(--gold); stroke-width: 3.5; }

.clients {
  display: flex; flex-direction: column; gap: 20px;
  border-top: 1px solid rgba(243,242,242,0.22); padding-top: 28px;
}
.eyebrow {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
}
.clients-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.vbar { width: 1px; height: 28px; background: rgba(243,242,242,0.3); }

/* Sectors */
.sectors {
  background: var(--navy-deep);
  padding: clamp(64px, 9vw, 112px) var(--pad-x);
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px);
}
.sectors-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(28px, 4vw, 56px); }
.sectors-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.01em;
  color: var(--cream); margin: 0;
}
.sectors-divider { width: 1px; align-self: stretch; min-height: 64px; background: rgba(239,232,220,0.3); }
.sectors-head p {
  flex: 1 1 320px; font-family: var(--font-sans); font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.4; color: var(--cream); margin: 0; max-width: 34ch;
}
.sectors-panel {
  background: var(--cream);
  padding: clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) clamp(20px, 2vw, 28px);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 2.2vw, 30px) clamp(16px, 1.8vw, 26px);
}
.tile { margin: 0; position: relative; aspect-ratio: 1 / 1; }
.tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  outline: 1px solid rgba(20,24,30,0.55); outline-offset: -1px;
}
.tile figcaption {
  position: absolute; left: -12px; bottom: -1px; max-width: 72%;
  background: var(--cream); padding: 12px 22px 0 12px; margin: 0;
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(14px, 1.15vw, 17px); line-height: 1.3; color: var(--tile-text);
}

/* Testimonials (hidden for now) */
.testimonials {
  padding: clamp(64px, 9vw, 112px) var(--pad-x);
  display: flex; flex-direction: column; gap: 56px;
}
.testimonials[hidden] { display: none; }
.testimonials figure { margin: 0; display: flex; flex-direction: column; }
.testimonials blockquote { font-family: var(--font-heading); font-weight: 400; margin: 0; }
.testimonials figcaption { font-family: var(--font-body); color: var(--muted); margin: 0; }
.quote-lead { gap: 24px; max-width: 960px; }
.quote-lead blockquote { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; text-indent: -0.34em; }
.quote-lead figcaption { font-size: 15px; }
.quote-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px;
  border-top: 1px solid rgba(243,242,242,0.14); padding-top: 48px;
}
.quote-grid figure { gap: 16px; }
.quote-grid blockquote { font-size: 23px; line-height: 1.4; }
.quote-grid figcaption { font-size: 14px; }

/* Footer */
.footer {
  border-top: 1px solid rgba(243,242,242,0.22);
  padding: clamp(56px, 8vw, 96px) var(--pad-x) 40px;
  display: flex; flex-direction: column; gap: 20px;
  margin-top: auto;
}
.footer-email {
  font-family: var(--font-heading); font-size: clamp(32px, 4vw, 52px);
  color: var(--text); text-decoration-color: var(--gold);
  overflow-wrap: anywhere;
}
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 32px;
}

@media (max-width: 480px) {
  .nav { gap: 16px; }
  .nav-logo { height: 22px; }
  .nav-email { font-size: 13px; padding: 6px 10px; }
  .hero-chart figcaption { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
