/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg:         #09111f;
  --bg2:        #0d1929;
  --surface:    #111e30;
  --surface2:   #162540;
  --border:     #1e3354;
  --border2:    #254066;
  --gold:       #c49a3c;
  --gold-light: #ddb95a;
  --gold-dim:   #7d6224;
  --text:       #ddd8cc;
  --text-sec:   #8a9fb8;
  --text-muted: #506070;
  --white:      #f0ece3;
  --danger:     #c04040;

  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Karla', system-ui, sans-serif;

  --radius:  4px;
  --radius2: 8px;
  --shadow:  0 4px 32px rgba(0,0,0,.45);
  --shadow2: 0 2px 12px rgba(0,0,0,.35);

  --max: 1160px;
  --gap: 2.5rem;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.02em; }
/* Line 1 must never wrap on desktop — it fits within the container at Cormorant Garamond's
   narrow metrics. white-space: normal is restored for mobile via the 900 px breakpoint. */
.headline-line-1 { display: block; white-space: nowrap; }
/* Line 2 wraps naturally; break point is forced with .hl2-part spans (see HTML). */
.headline-line-2 { display: block; white-space: normal; }
/* Desktop: each .hl2-part span becomes its own block line for a controlled 2-line split.
   Mobile: inline so the text reflows freely. */
.hl2-part { display: block; }
@media (max-width: 900px) {
  .headline-line-1 { white-space: normal; }
  .hl2-part { display: inline; }
}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 400; }
h4 { font-size: 1.25rem; }
p  { color: var(--text); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utility ────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.gold       { color: var(--gold-light); }
.muted      { color: var(--text-sec); }
.eyebrow {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  line-height: 1.6;     /* explicit — prevents cap-height clipping from tight inherited metrics */
  padding-top: 0.2em;   /* breathing room above uppercase caps; guards against overflow:hidden crop */
}
.divider {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}
.hidden { display: none !important; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,154,60,.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--white);
  background: rgba(196,154,60,.07);
}

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
/* Background + blur on ::before so the element itself does NOT create a
   backdrop-filter stacking context that clips overflowing child content
   (nav-logo text that extends beyond the 68 px line when the tagline wraps). */
#navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,17,31,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.5); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 78px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav-logo, a.nav-logo {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  cursor: pointer;
  flex-shrink: 0;   /* prevent logo from being squashed by flex siblings */
  min-width: 180px; /* enough for primary text + 2-line tagline */
}
.nav-logo-primary {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.1;
}
.nav-logo-tagline {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  line-height: 1.6;     /* explicit — prevents cap-height clipping in fixed-height navbar */
  padding-top: 0.1em;   /* micro breathing room above caps */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-link {
  padding: .55rem .85rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-sec);
  border-radius: var(--radius);
  transition: color .2s;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-link.open svg { transform: rotate(180deg); }
.nav-cta {
  padding: .55rem 1.4rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .2s;
  margin-left: .5rem;
}
.nav-cta:hover { background: var(--gold-light); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  padding: .5rem 0;
  z-index: 200;
}
.dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-item {
  display: block;
  padding: .65rem 1.25rem;
  font-size: .82rem;
  color: var(--text-sec);
  transition: all .15s;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--ff-body);
  font-weight: 400;
  letter-spacing: .04em;
}
.dropdown-item:hover { color: var(--white); background: var(--surface2); padding-left: 1.5rem; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 9rem 0 7rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(196,154,60,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 85% 80%, rgba(26,55,100,.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .15;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 1050px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2rem;
  transition: border-color .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.card-icon {
  width: 44px; height: 44px;
  background: rgba(196,154,60,.1);
  border: 1px solid rgba(196,154,60,.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
  font-size: 1.1rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.card p  { font-size: .9rem; color: var(--text-sec); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.25rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap .2s, color .2s;
  font-family: var(--ff-body);
}
.card-link:hover { color: var(--gold-light); gap: .7rem; }

/* ── Grid layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ── Section headers ──────────────────────────────────────────── */
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center .divider { margin-left: auto; margin-right: auto; }

/* ── Why We section ───────────────────────────────────────────── */
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
}
.why-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  min-width: 2.5rem;
}
.why-item h4 { font-size: 1rem; margin-bottom: .3rem; }
.why-item p  { font-size: .88rem; color: var(--text-sec); margin: 0; }

/* ── Who We Serve section ─────────────────────────────────────── */
.serve-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.serve-card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.serve-card ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; flex: 1; }
.serve-card ul li {
  font-size: .88rem;
  color: var(--text-sec);
  padding-left: 1.1rem;
  position: relative;
}
.serve-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(196,154,60,.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta-banner p  { max-width: 520px; margin: 0 auto 2rem; color: var(--text-sec); }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Interior hero (service pages) ───────────────────────────── */
.page-hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(196,154,60,.05) 0%, transparent 60%),
    linear-gradient(180deg, rgba(196,154,60,.03) 0%, transparent 100%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .1;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p  { font-size: 1.05rem; color: var(--text-sec); margin-top: 1rem; max-width: 580px; }

/* ── Content sections ─────────────────────────────────────────── */
.alt-bg { background: var(--bg2); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse .two-col-text { order: 2; }
.two-col.reverse .two-col-vis  { order: 1; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-sec);
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  display: block;
  min-width: 16px;
  height: 16px;
  background: rgba(196,154,60,.15);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  margin-top: .2rem;
  position: relative;
  flex-shrink: 0;
}
.feature-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%23c49a3c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Accent box ───────────────────────────────────────────────── */
.accent-box {
  background: rgba(196,154,60,.05);
  border: 1px solid rgba(196,154,60,.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius2) var(--radius2) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.accent-box h4 { font-size: 1rem; margin-bottom: .4rem; color: var(--gold-light); }
.accent-box p  { font-size: .88rem; color: var(--text-sec); margin: 0; }

/* ── Deliverables grid ────────────────────────────────────────── */
.deliv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.deliv-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-size: .88rem;
  color: var(--text-sec);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.deliv-item::before {
  content: '';
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: .45rem;
  flex-shrink: 0;
}

/* ── About-specific ───────────────────────────────────────────── */
.about-lead {
  font-family: var(--ff-head);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--surface);
}
.stat-box .stat-num {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-box .stat-label {
  font-size: .82rem;
  color: var(--text-sec);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Consultation note ───────────────────────────────────────── */
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; }

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: .88rem;
  color: var(--text-sec);
  margin-top: .75rem;
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h5 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li button, .footer-col ul li a {
  font-size: .87rem;
  color: var(--text-sec);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: color .15s;
  text-align: left;
  padding: 0;
}
.footer-col ul li button:hover, .footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Hamburger button ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--gold-dim); }
.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-sec);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--white); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--white); }

/* ── Mobile menu drawer ───────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  bottom: 0;
  background: rgba(9,17,31,.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 3rem;
  flex-direction: column;
  gap: .25rem;
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: flex; }

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-sec);
  background: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--ff-body);
  width: 100%;
  text-align: left;
  transition: color .2s, background .2s;
}
.mob-link:hover { color: var(--white); background: var(--surface); }
.mob-link svg { width: 12px; height: 12px; transition: transform .25s; flex-shrink: 0; }
.mob-link.open svg { transform: rotate(180deg); }

.mob-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1.25rem 1rem .4rem;
}
.mob-submenu {
  display: none;
  flex-direction: column;
  gap: .1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  margin: .2rem 1rem .4rem;
}
.mob-submenu.open { display: flex; }
.mob-submenu button {
  display: block;
  padding: .7rem .75rem;
  font-size: .85rem;
  color: var(--text-sec);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  text-align: left;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  width: 100%;
}
.mob-submenu button:hover { color: var(--white); background: var(--surface); }

.mob-divider {
  height: 1px;
  background: var(--border);
  margin: .75rem 0;
}
.mob-cta-wrap { padding: 1.25rem 0 .5rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .two-col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .deliv-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta  { display: none; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}



/* ── Footer contact links ─────────────────────────────────────── */
.footer-contact-link {
  font-size: .87rem;
  color: var(--text-sec);
  text-decoration: none;
  transition: color .15s;
}
.footer-contact-link:hover { color: var(--white); }

/* ── Anchor reset for navigation & button elements ───────── */
a.nav-link, a.dropdown-item, a.mob-link, a.card-link,
a.btn, a.nav-cta, a.nav-logo, .footer-col ul li a,
.footer-bottom a { text-decoration: none; }

a.nav-logo {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex-shrink: 0;
  min-width: 180px;
}

a.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--text-sec); }
/* ═══════════════════════════════════════════════════════════════════
   SITE REBUILD — April 2026 additions
   ═══════════════════════════════════════════════════════════════════ */

/* ── Nav spacing — 7 flat items, readable at desktop widths ─────── */
.nav-link {
  padding: .55rem .7rem !important;
  font-size: .75rem !important;
  letter-spacing: .065em !important;
  white-space: nowrap;
}
.nav-cta {
  font-size: .74rem !important;
  padding: .5rem 1.1rem !important;
  margin-left: .35rem !important;
  white-space: nowrap;
}

/* Switch to hamburger before nav becomes unreadable */
@media (max-width: 1200px) {
  .nav-links { display: none !important; }
  .nav-cta   { display: none !important; }
  .hamburger { display: flex !important; }
}
@media (min-width: 1201px) {
  .hamburger { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* ── Trust strip ─────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}
.trust-strip span {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--ff-body);
}
.trust-strip span::before {
  content: '·';
  margin-right: 1.5rem;
  color: var(--gold-dim);
}
.trust-strip span:first-child::before { display: none; }

/* ── Two-entry-points clarifier ──────────────────────────────────── */
.clarifier-line {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(196,154,60,.04);
  border: 1px solid rgba(196,154,60,.15);
  border-radius: var(--radius2);
  font-size: .9rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── Executive Risk Scan featured section ────────────────────────── */
.scan-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.scan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 100% 50%, rgba(196,154,60,.06) 0%, transparent 65%);
  pointer-events: none;
}
.scan-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,154,60,.3);
  border-radius: 2rem;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
  background: rgba(196,154,60,.06);
}
.scan-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.5rem 0 2rem;
}
.scan-bullets li {
  font-size: .9rem;
  color: var(--text-sec);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.scan-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Who this is for / not for ───────────────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 2rem;
}
.fit-col {
  padding: 2rem;
  border-radius: var(--radius2);
}
.fit-col.yes {
  background: rgba(196,154,60,.04);
  border: 1px solid rgba(196,154,60,.18);
}
.fit-col.no {
  background: rgba(80,96,112,.06);
  border: 1px solid var(--border);
}
.fit-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.fit-col.yes h4 { color: var(--gold); }
.fit-col.no  h4 { color: var(--text-muted); }
.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.fit-list li {
  font-size: .88rem;
  color: var(--text-sec);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.55;
}
.fit-col.yes .fit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: .8rem;
}
.fit-col.no .fit-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-size: .8rem;
}
@media (max-width: 768px) {
  .fit-grid { grid-template-columns: 1fr; }
}


/* ── Resource lead magnet block ─────────────────────────────────── */
.resource-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 3rem;
}
.resource-block-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}
.resource-block h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.resource-block p  { color: var(--text-sec); font-size: .92rem; max-width: 480px; margin: 0; }
@media (max-width: 768px) {
  .resource-block { grid-template-columns: 1fr; }
}

/* ── Contact form ────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--ff-body);
  font-size: .92rem;
  color: var(--white);
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(196,154,60,.08);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a9fb8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px;
  cursor: pointer;
}
.form-select option { background: var(--surface); color: var(--text); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Scope option cards ──────────────────────────────────────────── */
.scope-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2rem;
}
.scope-card .scope-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: .6rem;
}
.scope-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }

/* ── Homepage Executive Brief cards ───────────────────────────────── */
.brief-card {
  display: flex;
  flex-direction: column;
}
.brief-card h3 {
  margin-bottom: .6rem;
}
.brief-card p {
  flex: 1 1 auto;
  margin-bottom: 1.5rem;
}
.brief-card .brief-card-btn {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
  display: inline-flex;
  font-size: .72rem;
  padding: .7rem 1rem;
}
@media (max-width: 960px) {
  .brief-card .brief-card-btn {
    font-size: .7rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FLAGSHIP REBUILD — April 2026 additions
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero: flagship two-column layout ─────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-support {
  font-size: .92rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.25rem;
  max-width: 560px;
  line-height: 1.65;
}
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-visual-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-top: .2em;
}
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { padding: 2rem 1.5rem; }
}

/* ── Four-step process visual ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}
.step-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step-item h4 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--white);
}
.step-item p {
  font-size: .88rem;
  color: var(--text-sec);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ── Process / proof visibility section ───────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.proof-card h4 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: .02em;
}
.proof-card p {
  font-size: .92rem;
  color: var(--text-sec);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Mockup exception report panel */
.report-mockup {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--ff-body);
}
.report-mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.report-mockup-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: var(--white);
}
.report-mockup-date {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .82rem;
}
.report-row:last-child { border-bottom: none; }
.report-row-label {
  color: var(--text-sec);
}
.report-row-flag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 2rem;
  white-space: nowrap;
}
.flag-hold   { color: var(--gold);    background: rgba(196,154,60,.1); border: 1px solid rgba(196,154,60,.3); }
.flag-clear  { color: var(--text-sec); background: rgba(138,159,184,.07); border: 1px solid var(--border); }
.flag-return { color: #d4a542; background: rgba(196,154,60,.06); border: 1px solid rgba(196,154,60,.25); }

/* ── Secondary-offer block (homepage section 7) ───────────────────── */
.secondary-offer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  border-radius: var(--radius2);
  padding: 2.5rem 3rem;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.secondary-offer-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: .6rem;
  display: block;
}
.secondary-offer h3 {
  font-size: 1.45rem;
  margin-bottom: .5rem;
}
.secondary-offer p {
  font-size: .92rem;
  color: var(--text-sec);
  margin: 0;
  max-width: 600px;
}
@media (max-width: 900px) {
  .secondary-offer {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

/* ── About-snapshot / final-cta helpers ───────────────────────────── */
.snapshot-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .snapshot-block { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Campaign landing page helpers ────────────────────────────────── */
.campaign-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,154,60,.06);
  border: 1px solid rgba(196,154,60,.25);
  border-radius: 2rem;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
}

/* ── Contact MailerLite placeholder notice ────────────────────────── */
.ml-placeholder {
  background: var(--surface2);
  border: 1px dashed var(--gold-dim);
  border-radius: var(--radius2);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-sec);
}
.ml-placeholder .ml-placeholder-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.ml-placeholder p {
  font-size: .92rem;
  color: var(--text-sec);
  margin: 0;
}
.ml-placeholder code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: .85rem;
  color: var(--gold-light);
  background: rgba(196,154,60,.06);
  padding: .12rem .45rem;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════
   v7 additions — Polish & CTA upgrade (April 17 2026 developer brief)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero rhythm adjustments ───────────────────────────────────────────
   Brief §1: 32–48px between CTA row and supporting text below.
   Prior .hero-support margin-top was 1.25rem (20px). Now 2.5rem (40px). */
.hero-support { margin-top: 2.5rem; }
@media (max-width: 960px) { .hero-support { margin-top: 1.75rem; } }

/* Brief §1: 20–28px between section intro text and CTA button. */
.hero-btns { margin-top: 1.5rem; }

/* ── Step items — stronger visual separation (brief §4) ───────────────
   Prior padding 1.75rem 1.5rem and gap 1.5rem — tightened visually.
   Now: more padding, larger gap, gold top accent on each card,
   and consistent internal rhythm between number → title → description. */
.steps-grid { gap: 2rem; margin-top: 3rem; }
.step-item {
  padding: 2.25rem 1.75rem;
  border-top: 2px solid var(--gold-dim);
  transition: border-color .2s, transform .2s;
}
.step-item:hover { border-top-color: var(--gold); transform: translateY(-2px); }
.step-num { margin-bottom: 1.25rem; font-size: 2.4rem; }
.step-item h4 { margin-bottom: .75rem; }
@media (max-width: 1024px) { .steps-grid { gap: 1.75rem; } }
@media (max-width: 600px)  { .steps-grid { gap: 1.5rem; } }

/* ── Secondary-offer block — cleaner, more breathing room (brief §5)
   Label removed in HTML; remaining elements get more vertical rhythm.  */
.secondary-offer { padding: 3rem 3.25rem; gap: 3rem; }
.secondary-offer h3 { margin-bottom: 1rem; font-size: 1.55rem; }
.secondary-offer p  { line-height: 1.75; max-width: 640px; }
@media (max-width: 900px) {
  .secondary-offer { padding: 2.25rem; gap: 1.75rem; }
}

/* ── Brief CTA module (brief §2, §8, §9) ───────────────────────────────
   Two-column presentation with text on one side and an SVG brief-cover
   mockup on the other. Used:
     - Homepage hero right-column (stacked internally — cover above text
       because the outer hero column is already narrow)
     - Pre-Payment Review page top (text-left / cover-right, horizontal)
     - Risk Assessment page top (text-left / cover-right, horizontal)  */
.brief-cta {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius2);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.brief-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.brief-cta-text .eyebrow { margin-bottom: 1rem; }
.brief-cta-text h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}
.brief-cta-text p {
  font-size: .98rem;
  line-height: 1.75;
  color: var(--text-sec);
  margin-bottom: 1.75rem;
  max-width: 540px;
}
.brief-cta-text .btn { align-self: flex-start; }
.brief-cta-cover { display: flex; justify-content: center; align-items: center; }
.brief-cta-cover svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  box-shadow: 0 10px 32px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.35);
  border-radius: 3px;
}
.brief-cta-fineprint {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: .02em;
}

/* Vertical (stacked) variant — used in narrow columns (homepage hero) */
.brief-cta.stacked { padding: 1.75rem; }
.brief-cta.stacked .brief-cta-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  text-align: left;
}
.brief-cta.stacked .brief-cta-cover { order: -1; }
.brief-cta.stacked .brief-cta-cover svg { max-width: 220px; }
.brief-cta.stacked .brief-cta-text h3 { font-size: 1.35rem; }
.brief-cta.stacked .brief-cta-text p  { font-size: .92rem; margin-bottom: 1.5rem; }
.brief-cta.stacked .brief-cta-text .btn { width: 100%; justify-content: center; }

/* Horizontal collapse to single column on tablet/mobile */
@media (max-width: 900px) {
  .brief-cta { padding: 2rem; }
  .brief-cta-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .brief-cta-cover svg { max-width: 240px; }
}

/* ── Redesigned Sample Exception Report (brief §7) ─────────────────────
   Premium report-preview component with header, metrics row, status
   pills, structured rows, and a leadership-themes side panel.         */
.exception-report {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: var(--shadow2);
  font-family: var(--ff-body);
}
.exc-head {
  background: linear-gradient(180deg, #132035 0%, #0e1a2b 100%);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.exc-title-block { min-width: 0; }
.exc-eyebrow {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .35rem;
}
.exc-title {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}
.exc-meta {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}
.exc-meta strong { color: var(--gold-light); font-weight: 600; }

.exc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.exc-metric {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.exc-metric:last-child { border-right: none; }
.exc-metric-label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.exc-metric-value {
  font-family: var(--ff-head);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.01em;
}
.exc-metric-value.good   { color: var(--text-sec); }
.exc-metric-value.warn   { color: var(--gold-light); }
.exc-metric-value.alert  { color: var(--gold); }

.exc-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}
.exc-table { padding: 1.25rem 1.5rem; }
.exc-table-label,
.exc-themes-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.exc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .83rem;
  align-items: center;
}
.exc-row:last-child { border-bottom: none; }
.exc-row-type {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 54px;
}
.exc-row-desc { color: var(--text-sec); line-height: 1.5; }
.exc-pill {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 2rem;
  white-space: nowrap;
}
.exc-pill.hold    { color: var(--gold);       background: rgba(196,154,60,.12); border: 1px solid rgba(196,154,60,.35); }
.exc-pill.return  { color: #d4a542;           background: rgba(196,154,60,.06); border: 1px solid rgba(196,154,60,.25); }
.exc-pill.clear   { color: var(--text-sec);   background: rgba(138,159,184,.07); border: 1px solid var(--border); }

.exc-themes {
  background: rgba(22, 37, 64, .35);
  padding: 1.25rem 1.5rem;
  border-left: 1px solid var(--border);
}
.exc-theme {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .5rem 0;
  font-size: .8rem;
  color: var(--text-sec);
  line-height: 1.5;
}
.exc-theme::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.exc-foot {
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .02em;
  background: rgba(9, 17, 31, .5);
}
.exc-foot .illus { color: var(--gold-dim); font-style: italic; }

@media (max-width: 820px) {
  .exc-metrics { grid-template-columns: repeat(2, 1fr); }
  .exc-metric:nth-child(2) { border-right: none; }
  .exc-metric:nth-child(1),
  .exc-metric:nth-child(2) { border-bottom: 1px solid var(--border); }
  .exc-body { grid-template-columns: 1fr; }
  .exc-themes { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .exc-head { flex-direction: column; align-items: flex-start; }
  .exc-meta { text-align: left; white-space: normal; }
  .exc-row { grid-template-columns: 1fr auto; }
  .exc-row-type { grid-column: 1 / -1; }
}

/* ── About page — authority statement block ──────────────────────────── */
.authority-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius2);
  padding: 2.5rem 2.75rem;
  margin-top: 2.5rem;
  max-width: 820px;
  box-shadow: var(--shadow2);
}
.authority-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .85rem;
}
.authority-headline {
  font-family: var(--ff-head);
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.authority-block p {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--text-sec);
  margin: 0;
}
.authority-credential {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .4rem .9rem;
  border: 1px solid var(--border2);
  border-radius: 2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gold-light);
  background: rgba(196,154,60,.05);
}
@media (max-width: 700px) {
  .authority-block { padding: 2rem; }
}

/* ── Narrow-viewport h1 sizing (fixes v6 mobile overflow carry-forward) ─
   Prior h1 clamp(2.4rem, 5vw, 4rem) produced 2.4rem / ~38.4px at 390px,
   which forces "Stop bad payments before" past the 326px content width.
   overflow-x:hidden on body was masking the clipping silently.          */
@media (max-width: 500px) {
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
}

/* ── Mobile overflow fixes (continues v6 carry-forward spot-check) ────
   Grid default of `1fr` == `minmax(auto, 1fr)`; children's min-content
   can push the column past the viewport. Force minmax(0, 1fr) on the
   one-column mobile override so content is forced to wrap at the
   actual column width instead of overflowing silently under body
   overflow-x:hidden. Also let long primary CTA text wrap on narrow
   screens.                                                            */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-content { max-width: 100%; min-width: 0; }
  .hero-content h1 { word-wrap: break-word; overflow-wrap: break-word; }
}
@media (max-width: 500px) {
  .btn { white-space: normal; text-align: center; line-height: 1.35; padding: .8rem 1.5rem; }
  .brief-cta-text { min-width: 0; }
  .brief-cta-text h3,
  .brief-cta-text p { overflow-wrap: break-word; word-wrap: break-word; }
}
