/* ==========================================================================
   White Arcanum & Co. — Design System
   Palette derived from the firm crest (deep navy + antique gold on ivory)
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #0c1526;
  --navy-900: #101d33;
  --navy-800: #16223c;
  --navy-700: #223252;
  --navy-600: #34486e;
  --gold-700: #8c6f42;
  --gold-600: #a9895a;
  --gold-500: #bb9e6c;
  --gold-400: #cbb587;
  --gold-100: #f1e9d8;
  --ivory-100: #faf7f1;
  --ivory-200: #f4efe4;
  --ivory-300: #e9e2d2;
  --line: #e1d9c8;
  --ink: #1c1b18;
  --ink-soft: #4a473f;
  --ink-faint: #7c7869;
  --white: #ffffff;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1220px;
  --gutter: clamp(1.5rem, 4vw, 4.5rem);
  --section-pad: clamp(4rem, 9vw, 8rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }

html, body {
  background: var(--ivory-100);
  color: var(--ink);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-700); }

p { color: var(--ink-soft); font-weight: 300; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-pad) 0; }

.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold-600);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.eyebrow.on-dark { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--ivory-100);
  border-color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--white); }

.btn-gold {
  background: var(--gold-600);
  color: var(--white);
  border-color: var(--gold-600);
}
.btn-gold:hover { background: var(--navy-900); border-color: var(--navy-900); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--ivory-100); }

.btn-outline-light {
  background: transparent;
  color: var(--ivory-100);
  border-color: rgba(250, 247, 241, 0.45);
}
.btn-outline-light:hover { background: var(--ivory-100); color: var(--navy-900); border-color: var(--ivory-100); }

.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(250, 247, 241, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(250, 247, 241, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -20px rgba(12, 21, 38, 0.35);
}
/* backdrop-filter is intentionally scoped to .is-scrolled only: applying it to
   .is-open would make .site-header a new containing block for its fixed-position
   descendant (.main-nav in its mobile full-screen state), collapsing that panel
   to the header's own height instead of filling the viewport. */
.site-header.is-scrolled:not(.is-open) {
  backdrop-filter: blur(10px);
}
body.page-interior .site-header {
  background: rgba(250, 247, 241, 0.97);
  border-bottom: 1px solid var(--line);
}
body.page-interior .site-header:not(.is-open) {
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand img { height: 46px; width: 46px; object-fit: contain; transition: filter 0.3s; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  line-height: 1.1;
}
.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 0.15rem;
}

body:not(.page-interior) .site-header:not(.is-scrolled):not(.is-open) .brand-word,
body:not(.page-interior) .site-header:not(.is-scrolled):not(.is-open) .brand-word span {
  color: var(--ivory-100);
}
body:not(.page-interior) .site-header:not(.is-scrolled):not(.is-open) .nav-link {
  color: var(--ivory-200);
}
body:not(.page-interior) .site-header:not(.is-scrolled):not(.is-open) .header-cta {
  border-color: rgba(250, 247, 241, 0.5);
  color: var(--ivory-100);
}
body:not(.page-interior) .site-header:not(.is-scrolled):not(.is-open) .hamburger span {
  background: var(--ivory-100);
}

.main-nav { display: flex; align-items: center; gap: 2.6rem; }
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--gold-700); }

.header-actions { display: flex; align-items: center; gap: 1.6rem; }
.nav-cta-mobile { display: none; }
.header-cta {
  border: 1px solid var(--navy-800);
  color: var(--navy-900);
  padding: 0.65rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}
.header-cta:hover { background: var(--navy-900); color: var(--ivory-100); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 600;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--navy-900);
  transition: all 0.3s var(--ease);
}
.site-header.is-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .hamburger span:nth-child(2) { opacity: 0; }
.site-header.is-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 62%, var(--navy-700) 100%);
  color: var(--ivory-100);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(187, 158, 108, 0.16), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(187, 158, 108, 0.1), transparent 40%);
  pointer-events: none;
}
.hero-motif {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 780px);
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 9rem var(--gutter) 6rem;
  width: 100%;
}
.hero-content { max-width: 760px; }
.hero h1 { color: var(--ivory-100); margin-bottom: 1.6rem; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-lede {
  font-size: 1.15rem;
  color: var(--ivory-300);
  max-width: 560px;
  margin-bottom: 2.6rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 4.5rem; }

.hero-meta {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(250, 247, 241, 0.18);
}
.hero-meta-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-400);
  margin-bottom: 0.2rem;
}
.hero-meta-item .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-300);
}

.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory-300);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(250,247,241,0.35); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: "";
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold-400);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 70%);
  color: var(--ivory-100);
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 88% 20%, rgba(187,158,108,0.16), transparent 42%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--ivory-100); max-width: 760px; }
.page-hero .lede { color: var(--ivory-300); max-width: 620px; font-size: 1.08rem; margin-top: 1.2rem; }
.crumb {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.crumb a { color: var(--ivory-300); transition: color 0.2s; }
.crumb a:hover { color: var(--gold-400); }

/* ---------- Section headers ---------- */
.section-head { max-width: 700px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-top: 1.1rem; }

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--gold-600);
  margin: 0 0 2.5rem;
}
.divider .diamond { width: 6px; height: 6px; background: var(--gold-600); transform: rotate(45deg); }
.divider .bar { width: 60px; height: 1px; background: var(--line); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.6rem 2.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -35px rgba(16, 29, 51, 0.28);
  border-color: var(--gold-500);
}
.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.5rem;
  color: var(--gold-600);
}
.card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.card h3 { margin-bottom: 0.8rem; }
.card p { font-size: 0.94rem; margin-bottom: 1.2rem; }

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--ink-faint);
}
.status-tag.active { color: #4c6b4f; border-color: #c7d6c4; background: #f3f7f1; }
.status-tag.active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5c8a5f; }
.status-tag.initiated { color: var(--gold-700); border-color: var(--gold-400); background: var(--gold-100); }
.status-tag.initiated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-600); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy-900);
  color: var(--ivory-100);
  padding: 3.2rem 0;
}
.stats-strip .grid { gap: 1rem; }
.stat { text-align: center; padding: 0.5rem 1rem; border-left: 1px solid rgba(250,247,241,0.14); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-400); display: block; margin-bottom: 0.3rem; }
.stat .lbl { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-300); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-visual svg { width: 60%; height: 60%; opacity: 0.85; }
.split-visual::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(203, 181, 135, 0.35);
  pointer-events: none;
}

/* ---------- Pillars ---------- */
.pillar {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar .idx { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-500); }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.96rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 2.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -2.4rem; top: 4px;
  width: 11px; height: 11px;
  background: var(--ivory-100);
  border: 2px solid var(--gold-600);
  border-radius: 50%;
}
.timeline-item .yr {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.35rem;
}
.timeline-item p { max-width: 560px; }

/* ---------- Verticals list (services page) ---------- */
.vertical-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
.vertical-row:last-child { border-bottom: 1px solid var(--line); }
.vertical-row .vlabel { display: flex; align-items: flex-start; gap: 1.2rem; }
.vertical-row .vlabel .vnum { font-family: var(--font-display); color: var(--gold-500); font-size: 1.5rem; }
.vertical-row h3 { margin-bottom: 0.9rem; }
.vertical-row ul { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.vertical-row ul li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
}
.vertical-row ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

/* ---------- Mandate table ---------- */
.mandate-group { margin-bottom: 3rem; }
.mandate-group h4 { margin-bottom: 1.2rem; }
.mandate-table { width: 100%; border-collapse: collapse; }
.mandate-table tr { border-bottom: 1px solid var(--line); }
.mandate-table tr:first-child { border-top: 1px solid var(--line); }
.mandate-table td { padding: 1.05rem 0.5rem; font-size: 0.94rem; }
.mandate-table td.role { text-align: right; color: var(--ink-faint); font-size: 0.82rem; letter-spacing: 0.02em; }
.mandate-table td.name { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  color: var(--ivory-100);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(187,158,108,0.14), transparent 55%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--ivory-100); max-width: 640px; margin: 0 auto 1.2rem; }
.cta-band p { color: var(--ivory-300); max-width: 520px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Values grid ---------- */
.value-card { border-top: 2px solid var(--gold-600); padding-top: 1.5rem; }
.value-card h3 { margin-bottom: 0.7rem; }
.value-card p { font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.contact-info-item {
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.1rem;
}
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item svg { width: 20px; height: 20px; color: var(--gold-600); }
.contact-info-item h4 { color: var(--navy-900); margin-bottom: 0.35rem; text-transform: none; letter-spacing: 0; font-size: 1rem; font-family: var(--font-display); font-weight: 600; }
.contact-info-item p { font-size: 0.94rem; margin: 0; }
.contact-info-item .placeholder-tag {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 0.15rem 0.5rem;
}

.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0.1rem;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold-600); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.map-block {
  margin-top: 2.5rem;
  aspect-ratio: 16/7;
  background: var(--navy-900);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-block svg { width: 100%; height: 100%; opacity: 0.5; }
.map-block .map-label {
  position: absolute;
  color: var(--ivory-100);
  text-align: center;
  z-index: 2;
}
.map-block .map-label .eyebrow { justify-content: center; }
.map-block .map-label h3 { color: var(--ivory-100); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--ivory-300);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(250,247,241,0.1);
}
.footer-brand .brand { margin-bottom: 1.3rem; }
.footer-brand .brand-word, .footer-brand .brand-word span { color: var(--ivory-100); }
.footer-brand .brand-word span { color: var(--gold-400); }
.footer-brand p { color: var(--ivory-300); font-size: 0.9rem; max-width: 300px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(250,247,241,0.22);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--gold-600); border-color: var(--gold-600); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 { color: var(--gold-400); margin-bottom: 1.4rem; }
.footer-col ul { display: grid; gap: 0.85rem; }
.footer-col a { font-size: 0.88rem; color: var(--ivory-300); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  padding: 1.8rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.76rem;
  color: rgba(250,247,241,0.5);
}
.footer-bottom .legal-links { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-disclaimer {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(250,247,241,0.1);
  font-size: 0.76rem;
  color: rgba(250,247,241,0.45);
  line-height: 1.7;
}

/* ---------- Reveal animation ----------
   Content is visible by default (no-JS / JS-blocked safe).
   Only once the early head script confirms JS is running do we hide
   [data-reveal] elements and animate them back in on scroll. */
html.has-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.has-js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-visual { max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .header-cta { display: none; }
  .hamburger { display: flex; }
  .site-header.is-open .main-nav {
    display: flex;
    position: fixed;
    inset: 0 0 0 0;
    top: 78px;
    background: var(--ivory-100);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem var(--gutter);
    gap: 1.8rem;
    z-index: 400;
  }
  .site-header.is-open .nav-link { font-size: 1.1rem; color: var(--navy-900) !important; }
  .nav-cta-mobile { display: none; }
  .site-header.is-open .nav-cta-mobile {
    display: inline-flex;
    margin-top: 0.5rem;
    color: var(--navy-900) !important;
    border-color: var(--navy-900) !important;
  }
  .vertical-row { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 60px 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding-top: 7.5rem; }
  .page-hero { padding-top: 8.5rem; }
}
