/* ============================================================
   SOUTH TWIN CONSULTING — v4
   Tone: Warm editorial. Open. Inviting. Not a bank.
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Light palette — cream-forward */
  --bg:         #FAFAF7;
  --bg-warm:    #F4F1EB;
  --bg-rule:    #E8E3D9;

  /* Navy — used as accent, not dominant background */
  --navy:       #1D2145;
  --navy-light: #2B3260;

  /* Gold */
  --gold:       #A8874A;
  --gold-light: #C4A46B;
  --gold-pale:  #F5EDD8;

  /* Text */
  --text:       #1A1A18;
  --text-mid:   #4A4844;
  --text-soft:  #7A776F;
  --text-faint: #A8A59E;

  /* Rules */
  --rule:       #DEDAD2;
  --rule-soft:  rgba(180,174,160,0.35);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Lato', -apple-system, system-ui, sans-serif;

  --max:    1080px;
  --px:     2.75rem;
  --nav-h:  66px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
p + p { margin-top: 1.25em; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
body.hero-page { padding-top: 0; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.section-label {
  font-family: var(--sans);
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(26,26,24,0.07); }

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--px);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-island { height: 36px; width: auto; color: var(--navy); flex-shrink: 0; }
.nav-island path { vector-effect: non-scaling-stroke; }
.nav-wordmark { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--navy); line-height: 1.2; }
.nav-wordmark span { display: block; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--navy); flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.8rem 2rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--bg-warm); border-color: var(--bg-warm); }

.text-link {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 5rem var(--px) 3rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-island { height: 26px; width: auto; color: rgba(255,255,255,0.7); }
.footer-island path { vector-effect: non-scaling-stroke; }
.footer-wordmark { font-family: var(--serif); font-size: 0.92rem; font-weight: 400; color: rgba(255,255,255,0.7); line-height: 1.25; }
.footer-wordmark span { display: block; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: 2rem auto 0; display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.22); }

/* ── IMAGE PLACEHOLDER ───────────────────────────────────── */
/* Replace .img-placeholder with a real <img> tag when photos are ready */
.img-placeholder {
  background: var(--bg-warm);
  border: 1.5px dashed var(--bg-rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 0.75rem; font-family: var(--sans);
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}

/* ── WATERMARK ───────────────────────────────────────────── */
.watermark { position: absolute; pointer-events: none; }
.wm-light { color: var(--navy); opacity: 0.04; }
.wm-dark  { color: #fff; opacity: 0.05; }

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero — light, spacious, type-driven */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background: var(--bg);
  display: flex; align-items: center;
}

/* Warm gradient accent top-right */
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(168,135,74,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 60% 80%, rgba(29,33,69,0.04) 0%, transparent 55%);
  pointer-events: none;
}

/* Hero image zone — right side */
.hero-image {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 42%;
  overflow: hidden;
}
.hero-image img,
.hero-image .img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-image .img-placeholder { font-size: 0.7rem; }

/* Fade from content to image */
.hero-image::before {
  content: '';
  position: absolute; inset: 0; left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 35%);
  z-index: 2; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 5;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
  max-width: 58%;
}

.hero-eyebrow { display: block; margin-bottom: 1.75rem; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 300; line-height: 1.07;
  color: var(--navy);
  max-width: 680px;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem; line-height: 1.82;
  color: var(--text-mid);
  max-width: 480px; margin-bottom: 2.75rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: var(--px);
  display: flex; align-items: center; gap: 0.85rem; z-index: 5;
}
.hero-scroll span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.hero-scroll-line { width: 40px; height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ── FEATURES ────────────────────────────────────────────── */
.features {
  background: var(--bg-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.features-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--px);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.feat { padding: 3.75rem 3rem 3.75rem 0; border-right: 1px solid var(--rule); }
.feat:nth-child(2) { padding-left: 3rem; }
.feat:last-child { border-right: none; padding-left: 3rem; padding-right: 0; }
.feat-num { font-family: var(--serif); font-size: 0.85rem; font-style: italic; font-weight: 300; color: var(--gold-light); margin-bottom: 1rem; }
.feat h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: var(--navy); margin-bottom: 0.85rem; }
.feat p { font-size: 0.9rem; line-height: 1.82; color: var(--text-mid); }

/* ── WHY TIMING ──────────────────────────────────────────── */
.why {
  padding: 7.5rem var(--px) 4rem;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start;
}
.why-left { padding-top: 0.3rem; }
.why-left .section-label { margin-bottom: 1.5rem; display: block; }
.why-left h2 { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 300; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
.why-right p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }
.why-right .cta-row { margin-top: 2.25rem; }

/* ── IMAGE BREAK (between why and CTA) ──────────────────── */
/* .img-break removed — merged into .cta-band as photo background */
.img-break { display: none; }

/* ── CLOSING CTA ─────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy);
  background-image: url('rocks.jpg');
  background-size: cover;
  background-position: center 40%;
  padding: 3.5rem var(--px);
  text-align: center;
}
/* Multi-layer overlay: dark enough for text, preserves texture */
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,16,38,0.82) 0%, rgba(13,16,38,0.65) 60%, rgba(13,16,38,0.75) 100%);
  z-index: 1;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band .section-label { color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; display: block; }
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300; font-style: italic; color: #fff;
  margin-bottom: 2.5rem; letter-spacing: -0.01em;
  max-width: 680px; margin-left: auto; margin-right: auto; line-height: 1.18;
}

/* ============================================================
   SHARED PAGE HEADER — dark navy
   ============================================================ */
.pg-header {
  background: var(--navy);
  padding: 5.5rem var(--px) 4.5rem;
  position: relative; overflow: hidden;
}
.pg-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(168,135,74,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(13,16,38,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.pg-header::after {
  content: ''; position: absolute; bottom: 0; left: var(--px); right: var(--px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(168,135,74,0.12) 100%);
  opacity: 0.4;
}
.pg-header .wm-dark {
  right: -2%; bottom: -10%;
  width: clamp(160px, 22vw, 340px); height: auto;
}
.pg-header-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.pg-header .section-label { margin-bottom: 1.25rem; display: block; color: var(--gold-light); }
.pg-header h1 { font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 300; line-height: 1.12; color: #fff; max-width: 640px; margin-bottom: 1.25rem; letter-spacing: -0.015em; }
.pg-header p { font-size: 1rem; line-height: 1.78; color: rgba(255,255,255,0.6); max-width: 540px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-body { padding: 5.5rem var(--px) 5rem; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 6rem; border-bottom: 1px solid var(--rule); }
.about-sticky .section-label { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about-text p { font-size: 1rem; line-height: 1.88; color: var(--text-mid); }

.principals { padding: 5.5rem var(--px); max-width: var(--max); margin: 0 auto; }
.principals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }

.principal-headshot { width: 96px; height: 96px; object-fit: cover; object-position: center top; border-radius: 50%; float: left; margin: 0 1.25rem 0.5rem 0; display: block; shape-outside: circle(); }

.principal-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.principal h2 { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; color: var(--navy); margin-bottom: 0.15rem; }
.principal-email { display: block; font-size: 0.82rem; color: var(--text-soft); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); transition: color 0.18s; }
.principal-email:hover { color: var(--navy); }
.principal p { font-size: 0.94rem; line-height: 1.88; color: var(--text-mid); }
.principal .principal-bio { overflow: hidden; } /* clearfix for floated photo */

/* ============================================================
   SERVICES PAGE — ACCORDION
   ============================================================ */
/* ============================================================
   SERVICES PAGE — STATIC (no accordion)
   ============================================================ */

/* Service blocks — alternating tint for visual separation */
.svc-list { }

.svc-block {
  padding: 5rem var(--px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.svc-block:nth-child(odd)  { background: var(--bg); }
.svc-block:nth-child(even) { background: var(--bg-warm); }
/* Gold top rule on each service — clear visual chapter break */
.svc-block::before {
  content: ''; position: absolute; top: 0; left: var(--px);
  width: 48px; height: 2px; background: var(--gold);
}

.svc-block-inner { max-width: var(--max); margin: 0 auto; }

/* Service header row */
.svc-header {
  display: grid; grid-template-columns: 5fr 7fr; gap: 4rem;
  padding-bottom: 3rem; margin-bottom: 0;
  border-bottom: none;
}

.svc-header-left { padding-top: 0.25rem; }
.svc-num { font-family: var(--serif); font-size: 1.1rem; font-style: italic; font-weight: 300; color: var(--gold-light); display: block; margin-bottom: 0.75rem; }
.svc-header h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 300; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }

.svc-header-right p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }

/* ── Service 01 body text — full width, no indent ── */
.svc-body { margin-bottom: 2rem; }
.svc-body p { font-size: 1rem; line-height: 1.88; color: var(--text-mid); }
.svc-body p + p { margin-top: 1.1em; }

/* Pull quote — larger, more commanding */
.svc-pullquote {
  margin: 3rem 0;
  padding: 0 0 0 2.5rem;
  border-left: 3px solid var(--gold);
}
.svc-pullquote p {
  font-family: var(--serif);
  font-size: 1.45rem; font-style: italic; font-weight: 300;
  line-height: 1.55; color: var(--navy);
  letter-spacing: -0.015em;
}

/* CTA inline — sits between paragraphs */
.svc-inline-cta { margin-top: 2rem; }

/* Bottom predecessor note */
.svc-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
}
.svc-predecessor {
  font-family: var(--serif); font-style: italic;
  font-size: 0.96rem; color: var(--text-soft); line-height: 1.78;
}

/* ── Card grids (Services 02 & 03) ──
   Gap trick: grid gap = 1px, container background = border color.
   Every cell gets the same background. Equal-size cells, no nth-child border logic. */
.svc-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 2rem;
  border: 1px solid var(--rule);
}
.svc-sub-card {
  padding: 2.25rem 2.5rem;
  background: var(--bg);
  position: relative;
  transition: background 0.18s;
}
/* Odd-background service blocks need odd card color */
.svc-block:nth-child(even) .svc-sub-card { background: var(--bg-warm); }
.svc-sub-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: transparent; transition: background 0.2s;
}
.svc-sub-card:hover { background: var(--gold-pale) !important; }
.svc-sub-card:hover::before { background: var(--gold); }
.svc-sub-card h4 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.6rem; line-height: 1.25;
}
.svc-sub-card p { font-size: 0.88rem; line-height: 1.78; color: var(--text-mid); }

/* 3-column grid — Service 03 */
.svc-sub-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 1000px) {
  .svc-header { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .svc-sub-grid,
  .svc-sub-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-block { padding: 3.5rem var(--px); }
  .svc-sub-grid,
  .svc-sub-grid.cols-3 { grid-template-columns: 1fr; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-body { padding: 6rem var(--px) 7rem; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 7rem; }
.contact-left .section-label { display: block; margin-bottom: 1.25rem; }
.contact-email-lbl { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.7rem; }
.contact-email { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--navy); display: inline-block; position: relative; transition: color 0.2s; }
.contact-email::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px; background: var(--gold); }
.contact-email:hover { color: var(--navy-light); }
.contact-right h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--navy); margin-bottom: 1.25rem; }
.contact-right p { font-size: 0.97rem; line-height: 1.88; color: var(--text-mid); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  :root { --px: 2rem; }
  .hero-image { width: 38%; }
  .hero-content { max-width: 62%; }
  .features-inner { grid-template-columns: 1fr; }
  .feat { border-right: none; border-bottom: 1px solid var(--rule); padding: 2.5rem 0; }
  .feat:nth-child(2), .feat:last-child { padding-left: 0; }
  .feat:last-child { border-bottom: none; padding-right: 0; }
  .why { grid-template-columns: 1fr; gap: 3rem; padding: 5rem var(--px); }
  .about-body { grid-template-columns: 1fr; gap: 3rem; }
  .principals-grid { grid-template-columns: 1fr; gap: 4rem; }
  .svc-sub-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact-body { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 3rem) var(--px) 4rem; display: block; }
  .hero-image { display: none; }
  .hero-content { max-width: 100%; padding: 0; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
}

@media (max-width: 640px) {
  :root { --px: 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); padding: 1.75rem var(--px); gap: 1.25rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); z-index: 299; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .pg-header h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .svc-trigger { padding: 2.25rem var(--px); }
  .img-break { height: 200px; }
  .watermark { display: none; }
}

/* ============================================================
   VIDEO HERO — overrides for video background version
   ============================================================ */

/* Hero needs dark text-readable overlay since video is light */
.hero.video-hero,
.hero {
  background: var(--navy);   /* fallback if video hasn't loaded */
  min-height: 100svh;
}

/* The video itself — full cover, absolutely positioned behind content */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%; /* favor the water over the sky */
  z-index: 0;
}

/* Gradient overlay — lighter at sky, darker at bottom so text pops
   We darken from the left/bottom where the text lives */
.hero-overlay {
  position: absolute;
  inset: 0; z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(13, 16, 38, 0.72) 0%,
      rgba(13, 16, 38, 0.45) 50%,
      rgba(13, 16, 38, 0.18) 100%
    ),
    linear-gradient(
      to top,
      rgba(13, 16, 38, 0.5) 0%,
      transparent 45%
    );
}

/* Content sits above video + overlay */
.hero-content { z-index: 5; }
.hero-scroll { z-index: 5; }

/* Text becomes white since background is dark from overlay */
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold-light); }
.hero-sub { color: rgba(255,255,255,0.82); }
.hero .eyebrow { color: var(--gold-light); }
.hero-scroll span { color: rgba(255,255,255,0.4); }
.hero-scroll-line { background: rgba(255,255,255,0.25); }

/* Buttons on dark video background */
.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--bg-warm);
  border-color: var(--bg-warm);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-width: 1.5px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* Watermark stays visible on dark overlay */
.hero .wm-dark { opacity: 0.06; }

/* Disable the old right-panel image slot (video replaces it) */
.hero-image { display: none; }
.hero-content { max-width: 640px; }

/* Mobile: reduce overlay darkness slightly since content stacks */
@media (max-width: 720px) {
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(13,16,38,0.55) 0%,
        rgba(13,16,38,0.65) 100%
      );
  }
  .hero-content { max-width: 100%; padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}

/* Reduced motion — pause video, show poster */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: var(--navy); }
  .hero-overlay { background: rgba(13,16,38,0.55); }
}
