/* Walker Intelligence Group: shared styles for every page (homepage included). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f4f0;
  --ink:       #0e0f11;   /* header, hero, footer */
  --ink-2:     #17191c;
  --text:      #1a1b1e;
  --text-2:    #4d5057;
  --muted:     #6c6f76;
  --line:      #e3e1db;
  --gold:      #c39a4e;   /* bars, buttons (dark text on top) */
  --gold-ink:  #85672e;   /* gold text on white */
  --gold-lt:   #dcbd7e;   /* gold text on dark */
  --on-dark:   rgba(255,255,255,0.78);
  --sans:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif:     'Cormorant Garamond', Georgia, serif;   /* wordmark only */
  --display:   'Source Serif 4', Georgia, serif;       /* headings */
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --max:       1240px;
  --radius:    12px;
  --shadow:    0 1px 2px rgba(14,15,17,0.04), 0 10px 28px -14px rgba(14,15,17,0.16);
  --shadow-up: 0 2px 4px rgba(14,15,17,0.05), 0 18px 40px -16px rgba(14,15,17,0.24);
  --header-h:  68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  padding: 0.9rem 1.7rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { color: var(--ink); background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(195,154,78,0.8); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: #fff; box-shadow: none; }
.on-dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-lg { font-size: 1.05rem; padding: 1rem 2rem; }
.btn-sm { font-size: 0.92rem; padding: 0.6rem 1.25rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
}
.text-link::after { content: '\2192'; transition: transform 0.2s; }
.text-link:hover { color: var(--text); }
.text-link:hover::after { transform: translateX(3px); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { text-decoration: none; color: #fff; flex-shrink: 0; line-height: 1; }
.brand:hover { color: #fff; }
.brand-main {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.brand-main span { color: var(--gold-lt); }

.primary-nav { flex: 1; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: var(--header-h);
  padding: 0 0.85rem;
  font: 500 0.95rem/1 var(--sans);
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-trigger[aria-expanded="true"] { color: #fff; border-bottom-color: var(--gold); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.header-phone { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.header-phone:hover { color: var(--gold-lt); }

/* Services mega menu */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: var(--text);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 48px -24px rgba(14,15,17,0.35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
}
.nav-trigger[aria-expanded="true"] + .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.18s, transform 0.18s;
}
.mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: 2.5rem;
}
.mega-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.6rem; }
.mega-title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.25; margin-bottom: 1.1rem; }
.mega-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.mega-grid a {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.mega-grid a:hover { background: var(--bg-alt); border-color: var(--line); }
.mega-grid strong { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.2rem; }
.mega-grid a:hover strong { color: var(--gold-ink); }
.mega-grid span { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--text-2); }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--text);
  overflow-y: auto;
  padding: 1.25rem var(--gutter) 2.5rem;
  border-top: 3px solid var(--gold);
}
.mobile-menu[hidden] { display: none; }
.mobile-label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin: 1rem 0 0.25rem; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.mobile-menu li a::after { content: '\203A'; color: var(--gold-ink); font-size: 1.4rem; line-height: 1; }
.mobile-menu li a:hover { color: var(--gold-ink); }
.mobile-cta { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.mobile-cta .btn { width: 100%; }
.mobile-contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1.25rem; font-weight: 500; }
.mobile-contact a { color: var(--text); text-decoration: none; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
}
@media (max-width: 400px) {
  .brand-main { font-size: 1.15rem; }
}

/* ── HERO (dark band) ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}
.hero::before {           /* gold dot field, a nod to Deloitte's dotted hero graphic */
  content: '';
  position: absolute;
  top: -10%;
  right: -12%;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220,189,126,0.55) 1.4px, transparent 1.9px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0 22%, #000 23% 26%, rgba(0,0,0,0.35) 36%, transparent 64%);
          mask-image: radial-gradient(circle at 50% 50%, transparent 0 22%, #000 23% 26%, rgba(0,0,0,0.35) 36%, transparent 64%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 4%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,154,78,0.16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.4vw, 4.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 17ch;
  margin-bottom: 1.5rem;
}
.hero h1 em, h2 em { font-style: normal; color: var(--gold-ink); }
.hero h1 em, .on-dark h2 em, .cta-band h2 em { color: var(--gold-lt); }
.hero .lede { color: var(--on-dark); }
.hero a:not(.btn) { color: var(--gold-lt); }
.hero a:not(.btn):hover { color: #fff; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.hero .eyebrow, .on-dark .eyebrow, .cta-band .eyebrow { color: var(--gold-lt); }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 58ch;
  margin-bottom: 2.2rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.cta-note { font-size: 0.92rem; color: var(--muted); }
.hero .cta-note { color: rgba(255,255,255,0.6); }

.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.8rem; }
.crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.hero .crumbs a:hover { color: var(--gold-lt); }
.crumbs .sep { margin: 0 0.5rem; color: rgba(255,255,255,0.35); }

/* ── SECTIONS ── */
section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
main section:has(> .wrap > .grid), section.alt { background: var(--bg-alt); }
main section.plain, main section.plain:has(> .wrap > .grid) { background: var(--bg); }
main > section + section:not(.alt):not(.cta-band):not(:has(> .wrap > .grid)) { border-top: 1px solid var(--line); }
.on-dark { background: var(--ink); color: #fff; }

h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  max-width: 26ch;
}
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.5rem; letter-spacing: -0.005em; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head .lede { margin-bottom: 0; }

.prose p { font-size: 1.1rem; color: var(--text-2); max-width: 70ch; margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.hero .prose p, .hero.prose p { color: var(--on-dark); }
.prose strong { color: var(--text); font-weight: 600; }

/* ── CARDS ── */
/* Balanced rows: 3 across, but 2 and 4 cards go 2 across, and 5 cards go 3 + 2 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}
.grid:has(> :last-child:nth-child(2)),
.grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid:has(> :last-child:nth-child(1)) { grid-template-columns: minmax(0, 560px); }
.grid:has(> :last-child:nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid:has(> :last-child:nth-child(5)) > * { grid-column: span 2; }
.grid:has(> :last-child:nth-child(5)) > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  .grid, .grid:has(> :last-child:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid:has(> :last-child:nth-child(5)) > *, .grid:has(> :last-child:nth-child(5)) > :nth-child(n+4) { grid-column: auto; }
  .grid:has(> :last-child:nth-child(3)),
  .grid:has(> :last-child:nth-child(5)) { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid, .grid:has(> *) { grid-template-columns: 1fr; }
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.card p { color: var(--text-2); font-size: 1rem; }
.card .num { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.8rem; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
a.card:hover, button.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); color: var(--text); }
a.card:hover::before, button.card:hover::before, button.card:focus-visible::before { transform: scaleX(1); }
a.card:hover h3 { color: var(--gold-ink); }
.card .more { margin-top: auto; padding-top: 1.2rem; font-size: 0.95rem; font-weight: 600; color: var(--gold-ink); }
.card .more::after { content: ' \2192'; }
button.card { font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; width: 100%; }

.checks { list-style: none; display: grid; gap: 0.85rem; margin-top: 1.4rem; max-width: 72ch; }
.checks li, .prose ul li { position: relative; padding-left: 2rem; font-size: 1.05rem; color: var(--text-2); }
.checks li::before, .prose ul li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.38em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--gold);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.hero .checks li { color: var(--on-dark); }

.faq { margin-top: 1.5rem; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.faq summary:hover { color: var(--gold-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-ink); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; background: var(--gold); color: var(--ink); }
.faq details p { color: var(--text-2); font-size: 1.03rem; padding-bottom: 1.4rem; max-width: 70ch; }

/* ── CTA BAND ── */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -60%;
  width: min(60vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220,189,126,0.45) 1.3px, transparent 1.8px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 62%);
          mask-image: radial-gradient(circle, #000 10%, transparent 62%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band .lede { color: var(--on-dark); margin-bottom: 2rem; }

/* ── FORM ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid h3 { margin-top: 0.5rem; }
.form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.form label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form .field { margin-bottom: 1.1rem; }
.form input, .form textarea, .form select {
  width: 100%;
  background: #fff;
  border: 1px solid #cfccc4;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,154,78,0.25); }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; margin-top: 0.4rem; }
.form-done { font-size: 1.15rem; color: var(--text); background: #fff; border-radius: var(--radius); padding: 2rem; border-top: 3px solid var(--gold); }
.contact-lines { display: grid; gap: 0.35rem; margin: 0.5rem 0 2rem; }
.contact-lines a { font-size: 1.2rem; font-weight: 600; color: #fff; text-decoration: none; }
.contact-lines a:hover { color: var(--gold-lt); }

.placeholder { background: rgba(195,154,78,0.18); padding: 0 0.2em; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); border-top: 1px solid rgba(255,255,255,0.1); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, 0.7fr); gap: 2.5rem 3rem; }
.footer-connect h4 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; color: #fff; letter-spacing: -0.01em; margin-bottom: 1.1rem; text-transform: none; }
.footer-connect ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-connect a { color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 400; }
.footer-connect a:hover { color: var(--gold-lt); }
.footer-grid nav h4 { font-size: 1.05rem; font-weight: 500; color: #fff; margin-bottom: 0.9rem; }
.footer-grid nav ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid nav ul.footer-two-col { grid-template-columns: repeat(2, max-content); column-gap: 2.5rem; }
.footer-grid nav a { color: rgba(255,255,255,0.68); text-decoration: none; font-size: 0.93rem; }
.footer-grid nav a:hover { color: var(--gold-lt); }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: 0.03em; }
.footer-name span { color: var(--gold-lt); }
.footer-base a:not(.footer-name) { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-base a:not(.footer-name):hover { color: var(--gold-lt); }
.footer-base .sep { margin: 0 0.6rem; color: rgba(255,255,255,0.3); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-connect { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .mega-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav ul.footer-two-col { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .card { padding: 1.6rem 1.35rem; }
  .hero::before { right: -45%; top: -20%; width: 120vw; opacity: 0.6; }
}

/* ── INSIGHTS (articles) ── */
.hero h1.article-title { font-size: clamp(2.2rem, 4.8vw, 3.7rem); max-width: 22ch; }
.byline { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.article-body h2 { margin-top: 2.8rem; max-width: 34ch; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.article-body h2:first-child { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 0.7rem; margin: 0 0 1.4rem; max-width: 70ch; }
.author-box { border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.author-box p a { text-decoration: none; font-weight: 600; }

/* ── HOMEPAGE ── */
.home-hero { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 9vw, 8rem); }
.home-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); max-width: 16ch; }
.home-hero .lede { max-width: 60ch; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.2rem; }
.step .num { font-family: var(--display); font-size: 2.6rem; font-weight: 400; letter-spacing: -0.02em; text-transform: none; color: var(--gold-ink); margin-bottom: 0.6rem; line-height: 1; }
.step h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.step .sub { font-size: 0.95rem; color: var(--muted); }
.step .more::after { content: ' +'; }

.about-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stats { display: grid; gap: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--display); font-size: 1.85rem; font-weight: 600; line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.stat span { font-size: 0.95rem; color: var(--text-2); }
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 1.6rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
}

/* ── MODAL (homepage steps) ── */
.modal-overlay { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1.25rem; pointer-events: none; }
.modal-overlay.open { pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,15,17,0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.modal-overlay.open .modal-backdrop { opacity: 1; }
.modal {
  position: relative;
  display: none;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  color: var(--text);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(.16,1,.3,1);
}
.modal.active { display: block; }
.modal-overlay.open .modal.active { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: none; border-radius: 50%; color: var(--text-2); cursor: pointer; }
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal-num { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.7rem; }
.modal-title { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; line-height: 1.2; margin-bottom: 0.3rem; padding-right: 2rem; }
.modal-sub { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4rem; }
.modal-desc { font-size: 1.05rem; color: var(--text-2); padding-top: 1.3rem; border-top: 1px solid var(--line); margin-bottom: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── MOTION ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.65,.3,1), transform 0.7s cubic-bezier(.2,.65,.3,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
/* Cards keep their own hover lift once revealed */
.card.reveal.in { transition: opacity 0.7s cubic-bezier(.2,.65,.3,1) var(--delay, 0ms), transform 0.2s, box-shadow 0.2s; }

.site-header { transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,0.45); }

.hero::before { transform: translateY(var(--drift, 0px)); will-change: transform; }

/* Hero content eases in once on page load */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .wrap > * { animation: rise 0.8s cubic-bezier(.2,.65,.3,1) both; }
/* The headline is the page's largest element (Google's LCP); keep it visible from the first paint */
@keyframes lift { from { transform: translateY(14px); } to { transform: none; } }
.hero .wrap > h1 { animation-name: lift; }
.hero .wrap > :nth-child(2) { animation-delay: 0.08s; }
.hero .wrap > :nth-child(3) { animation-delay: 0.16s; }
.hero .wrap > :nth-child(4) { animation-delay: 0.24s; }
.hero .wrap > :nth-child(n+5) { animation-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero .wrap > * { animation: none; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
