/* ==========================================================================
   Ivy Recovery Group — styles.css
   Vanilla CSS. Design tokens first, then base, layout, components, pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand (extracted from logo) */
  --navy: #1C2B4A;
  --navy-deep: #14213A;
  --gold: #C9A445;
  --gold-dark: #A88735;
  --gold-text: #7F6524;            /* WCAG AA-safe gold for small text on light backgrounds */
  --gold-border: rgba(168, 135, 53, 0.25);
  --ivory: #F4EFE6;
  --white: #FFFFFF;
  --text: #1F2937;
  --muted: #5B6470;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* 8px spacing scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px; --s-14: 112px;

  --radius: 8px;
  --container: 1200px;
  --header-h: 88px;
  --header-h-compact: 68px;

  --shadow-sm: 0 1px 2px rgba(20, 33, 58, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(20, 33, 58, 0.18);
  --shadow-lg: 0 20px 40px -16px rgba(20, 33, 58, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 500ms;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 var(--s-2);
  font-weight: 600;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s-2); padding-left: 1.25rem; }
li { margin-bottom: var(--s-1); }
strong { font-weight: 600; color: var(--navy); }
small { font-size: 0.875rem; }
hr { border: 0; border-top: 1px solid var(--gold-border); margin: var(--s-6) 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--s-1) var(--s-2); border-bottom: 1px solid var(--gold-border); vertical-align: top; }
th { font-weight: 600; color: var(--navy); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; }
.table-wrap { overflow-x: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--navy); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: var(--s-2); z-index: 1000;
  background: var(--navy); color: var(--white); padding: var(--s-1) var(--s-2);
  border: 1px solid var(--gold); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: var(--s-2); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-3); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
@media (max-width: 920px) { .grid { grid-template-columns: minmax(0, 1fr); } .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: auto; } }

.section { padding: var(--s-12) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy strong { color: var(--white); }
.section--navy a { color: var(--white); }
.section--navy a:hover { color: var(--gold); }
.section--deep { background: var(--navy-deep); color: rgba(255,255,255,0.88); }
.section--deep h2, .section--deep h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: var(--s-8); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.section--navy .section-head p, .section--deep .section-head p { color: rgba(255,255,255,0.78); }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--navy .lead { color: rgba(255,255,255,0.82); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); }
.mb-0 { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s-8); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose p, .prose li { color: var(--text); }

/* Eyebrow: uppercase tracked label, echoing "RECOVERY GROUP" in the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: var(--s-2);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.section--navy .eyebrow, .section--deep .eyebrow, .hero .eyebrow, .pane--navy .eyebrow { color: var(--gold); }

/* Gold rule with centered diamond (mirrors the logo divider) */
.divider {
  display: flex; align-items: center; gap: var(--s-2);
  margin: var(--s-4) auto; width: min(100%, 320px);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.8; }
.divider span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.divider--left { margin-left: 0; }
.divider--wide { width: 100%; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em;
  padding: 0.8rem 1.5rem; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--gold); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-light:hover, .btn-light:focus-visible { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--gold);
}
.text-link:hover { color: var(--gold-dark); }
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.section--navy .text-link { color: var(--white); }
.section--navy .text-link:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--gold-border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}
.site-header.is-scrolled .container { min-height: var(--header-h-compact); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--gold-border); border-radius: var(--radius);
  width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: currentColor; margin: 3px 0; transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: var(--s-4); flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a {
  font-size: 0.9375rem; font-weight: 500; color: var(--navy); text-decoration: none;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--navy); }
.nav-ctas { display: flex; gap: var(--s-1); }

@media (max-width: 1120px) {
  .nav-list { gap: var(--s-2); }
  .nav-list a { font-size: 0.875rem; }
  .nav-ctas .btn { padding: 0.6rem 1rem; font-size: 0.8125rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s-3);
    background: var(--white); border-bottom: 1px solid var(--gold-border);
    padding: var(--s-3) var(--s-3) var(--s-4);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform-origin: top;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease), visibility 0s linear 300ms;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--gold-border); }
  .nav-list a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 0; }
  .nav-list a[aria-current="page"] { color: var(--gold-text); }
  .nav-ctas { flex-direction: column; }
  .nav-ctas .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: var(--s-14) 0 var(--s-12);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(201,164,69,0.14), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(201,164,69,0.08), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: var(--s-3); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: var(--s-5); font-size: 1.1875rem; color: rgba(255,255,255,0.84); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { width: min(100%, 340px); position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.35)); }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 18%; border: 1px solid rgba(201,164,69,0.3);
  transform: rotate(45deg); border-radius: 12px;
}
.hero--page { padding: var(--s-10) 0 var(--s-8); }
.hero--page .hero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.hero--page h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.hero--page .lead { margin-bottom: 0; }
.hero--page .lead + .btn-group { margin-top: var(--s-4); }
.hero--page .hero-art img { width: min(100%, 200px); }
.hero--page .hero-art::before { inset: 4% 26%; }
@media (max-width: 920px) {
  .hero { padding: var(--s-10) 0 var(--s-8); }
  .hero-grid, .hero--page .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
}

/* Trust strip */
.trust-strip { background: var(--ivory); border-bottom: 1px solid var(--gold-border); }
.trust-strip ul {
  list-style: none; margin: 0; padding: var(--s-2) 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-1) var(--s-3);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy);
}
.trust-strip li { display: inline-flex; align-items: center; gap: var(--s-1); margin: 0; }
.trust-strip li + li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); margin-right: var(--s-2); flex: none; }
.trust-strip svg { width: 16px; height: 16px; color: var(--gold-dark); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip .ph { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }

/* --------------------------------------------------------------------------
   7. Cards & grids
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card { min-width: 0;
  background: var(--white); border: 1px solid var(--gold-border); border-radius: var(--radius);
  padding: var(--s-4); position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(168,135,53,0.5); }
.card h3 { margin: 0; font-size: 1.375rem; }
.card p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.card .text-link { margin-top: auto; align-self: flex-start; font-size: 0.9rem; }
.card--navy { background: rgba(255,255,255,0.04); border-color: rgba(201,164,69,0.35); box-shadow: none; }
.card--navy h3 { color: var(--white); }
.card--navy p { color: rgba(255,255,255,0.78); }
.card--navy:hover { background: rgba(255,255,255,0.07); }

.icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-dark); border: 1px solid var(--gold-border); border-radius: var(--radius); background: var(--ivory);
  flex: none;
}
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card--navy .icon, .pane--navy .icon { background: rgba(255,255,255,0.05); color: var(--gold); border-color: rgba(201,164,69,0.4); }
.icon--inline { width: 40px; height: 40px; }
.icon--inline svg { width: 22px; height: 22px; }

/* Industries: compact tiles */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  background: var(--white); border: 1px solid var(--gold-border); border-radius: var(--radius);
  padding: var(--s-3) var(--s-2); text-align: center; text-decoration: none; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(168,135,53,0.5); color: var(--navy); }
.tile .icon { background: transparent; border: 0; width: 40px; height: 40px; }
.tile strong { font-size: 0.9375rem; line-height: 1.3; }

/* --------------------------------------------------------------------------
   8. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 1px; background: var(--gold); opacity: 0.7;
}
.step { position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); border: 1px solid var(--gold);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: var(--s-2);
  position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--ivory);
}
.section--navy .step-num, .section--deep .step-num { box-shadow: 0 0 0 8px var(--navy); background: var(--navy-deep); }
.section--white .step-num { box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 1.375rem; margin-bottom: var(--s-1); }
.step p { color: var(--muted); font-size: 0.9375rem; }
.section--navy .step p { color: rgba(255,255,255,0.78); }
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-3); }
  .step { padding-left: 72px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 64px; bottom: -24px; width: 1px; background: var(--gold); opacity: 0.6; }
}

/* --------------------------------------------------------------------------
   9. Two-column feature (Why Ivy), checklist
   -------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; }
.feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--reverse .feature-media { order: 2; }
.feature-media {
  position: relative; background: var(--navy); border-radius: var(--radius); padding: var(--s-8) var(--s-6);
  display: flex; align-items: center; justify-content: center; min-height: 380px; overflow: hidden;
}
.feature-media::before {
  content: ""; position: absolute; inset: 16px; border: 1px solid rgba(201,164,69,0.35); border-radius: 4px; pointer-events: none;
}
.feature-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 70% 30%, rgba(201,164,69,0.16), transparent 70%);
}
.feature-media img { width: min(70%, 240px); position: relative; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.35)); }
.feature-media .caption { position: absolute; bottom: var(--s-4); left: 0; right: 0; text-align: center; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; z-index: 1; }
@media (max-width: 920px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media { min-height: 260px; }
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-2); align-items: start; margin: 0; }
.checklist li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  border: 1px solid var(--gold); background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A88735' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 0.9375rem; }
.section--navy .checklist span, .section--deep .checklist span, .pane--navy .checklist span { color: rgba(255,255,255,0.78); }
.section--navy .checklist li::before, .pane--navy .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A445' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Compliance badge row */
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); }
.badge {
  border: 1px solid rgba(201,164,69,0.4); border-radius: var(--radius); padding: var(--s-2) var(--s-3);
  display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,0.04);
}
.badge strong { font-family: var(--font-display); font-size: 1.375rem; color: var(--gold); font-weight: 600; letter-spacing: 0.02em; }
.badge span { font-size: 0.8125rem; color: rgba(255,255,255,0.78); }

/* Stats (placeholders; counters animate when data-count is set) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-3); }
.stat { text-align: center; padding: var(--s-4) var(--s-3); border: 1px solid var(--gold-border); border-radius: var(--radius); background: var(--white); }
.stat .num { font-family: var(--font-display); font-size: 2.75rem; color: var(--navy); font-weight: 600; line-height: 1; }
.stat .ph-note { font-size: 0.75rem; color: var(--muted); display: block; margin-top: 6px; }
.stat .label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: var(--s-1); }

/* --------------------------------------------------------------------------
   10. Consumer reassurance module & notices
   -------------------------------------------------------------------------- */
.consumer-module { border: 1px solid var(--gold-border); border-radius: var(--radius); background: var(--white); overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.consumer-module > .pane { padding: var(--s-6); }
.consumer-module > .pane--navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.consumer-module > .pane--navy h2, .consumer-module > .pane--navy h3 { color: var(--white); }
.consumer-module > .pane--navy p { color: rgba(255,255,255,0.82); }
.consumer-module ol { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.consumer-module ol li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: var(--s-2); margin: 0; }
.consumer-module ol li::before {
  content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-dark); line-height: 1.3;
}
.consumer-module ol li strong { display: block; }
.consumer-module ol li span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 920px) { .consumer-module { grid-template-columns: 1fr; } .consumer-module > .pane { padding: var(--s-4); } }

.notice {
  border-left: 3px solid var(--gold); background: var(--ivory); padding: var(--s-3) var(--s-4); border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--s-4) 0;
}
.notice--navy { background: var(--navy); color: rgba(255,255,255,0.9); }
.notice--navy strong, .notice--navy a, .notice--navy h3 { color: var(--white); }
.notice h3, .notice h4 { margin-bottom: var(--s-1); }
.notice p:last-child { margin-bottom: 0; }
.placeholder {
  display: inline; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125em;
  background: #FFF6D6; color: #6B4F00; border: 1px dashed #C9A445; border-radius: 4px; padding: 1px 6px;
}
.section--navy .placeholder, .section--deep .placeholder, .pane--navy .placeholder, .site-footer .placeholder, .hero .placeholder, .notice--navy .placeholder { background: rgba(201,164,69,0.15); color: #F1DFA6; }

/* Accordion (consumers page FAQ) */
.accordion { border-top: 1px solid var(--gold-border); }
.accordion details { border-bottom: 1px solid var(--gold-border); }
.accordion summary {
  cursor: pointer; list-style: none; padding: var(--s-2) 0; font-weight: 600; color: var(--navy); font-size: 1.0625rem;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-2);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-dark); line-height: 1; transition: transform 300ms var(--ease); flex: none; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .accordion-body { padding: 0 0 var(--s-3); color: var(--text); max-width: 760px; }

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; background: var(--navy); color: var(--white); padding: var(--s-10) 0; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-band h2 { color: var(--white); max-width: 720px; margin: 0 auto var(--s-2); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto var(--s-4); }
.cta-band .divider { margin-top: 0; }
.cta-band .eyebrow { color: var(--gold); justify-content: center; }
.cta-band .sub { margin-top: var(--s-3); font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.cta-band .sub a { color: var(--white); text-decoration-color: var(--gold); }

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 1px solid rgba(31,41,55,0.3); border-radius: var(--radius); padding: 0.7rem 0.9rem; width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,69,0.25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B42318; }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field .error { font-size: 0.8125rem; color: #B42318; display: none; }
.field[data-invalid] .error { display: block; }
.form-status { display: none; padding: var(--s-2) var(--s-3); border-radius: var(--radius); font-size: 0.9375rem; }
.form-status.is-success { display: block; background: #EAF5EC; color: #1E4D2B; border: 1px solid #9CCFAA; }
.form-status.is-error { display: block; background: #FDEEEC; color: #7A1F16; border: 1px solid #F0B4AD; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8125rem; color: var(--muted); }

.contact-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 920px) { .contact-panels { grid-template-columns: 1fr; } }
.contact-panel { background: var(--white); border: 1px solid var(--gold-border); border-radius: var(--radius); padding: var(--s-5); }
.contact-panel .icon { margin-bottom: var(--s-2); }
.contact-panel h2 { font-size: 1.875rem; }
.contact-panel > p { color: var(--muted); }
@media (max-width: 560px) { .contact-panel { padding: var(--s-3); } }
.email-line { display: inline-flex; align-items: center; gap: var(--s-1); font-weight: 600; font-size: 1.0625rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); word-break: break-all; }
.email-line svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); font-size: 0.9375rem; }
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-top { padding: var(--s-10) 0 var(--s-8); display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--s-6); }
.footer-brand img { height: 64px; width: auto; margin-bottom: var(--s-3); }
.footer-brand p { max-width: 340px; }
.footer-brand .email-line { color: var(--white); border-bottom-color: var(--gold); font-size: 0.9375rem; }
.footer-brand .email-line svg { color: var(--gold); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-legal { border-top: 1px solid rgba(201,164,69,0.3); padding: var(--s-4) 0; }
.footer-legal p { font-size: 0.8125rem; color: rgba(255,255,255,0.72); max-width: 900px; line-height: 1.6; }
.footer-legal p strong { color: rgba(255,255,255,0.95); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--s-3) 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: 0.8125rem; color: rgba(255,255,255,0.6); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
.footer-bottom li { margin: 0; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } }

/* --------------------------------------------------------------------------
   14. Page-specific
   -------------------------------------------------------------------------- */
/* Sub-nav (anchor links) */
.subnav { position: sticky; top: var(--header-h-compact); z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--gold-border); }
.subnav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: var(--s-1) var(--s-3); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

/* Detail rows (services/industries anchors) */
.detail { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); padding: var(--s-6) 0; border-bottom: 1px solid var(--gold-border); scroll-margin-top: 140px; }
.detail:last-child { border-bottom: 0; }
.detail h3 { margin-bottom: var(--s-1); }
.detail p { color: var(--text); }
.detail .meta { color: var(--muted); font-size: 0.9375rem; }
.detail .icon { width: 56px; height: 56px; }
.detail .btn-group { margin-top: var(--s-2); }
@media (max-width: 560px) { .detail { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-meta { font-size: 0.875rem; color: var(--muted); margin-bottom: var(--s-6); }
.toc { background: var(--ivory); border: 1px solid var(--gold-border); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-6); }
.toc h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 var(--s-1); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: var(--s-4); }
.toc li { margin-bottom: 4px; font-size: 0.9375rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.prose h2[id], .prose h3[id] { scroll-margin-top: 120px; }

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.error-page .container { max-width: 720px; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold); line-height: 1; font-weight: 600; }

/* Values grid (About) */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 1024px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { padding: var(--s-4); border-top: 2px solid var(--gold); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.375rem; }
.value p { color: var(--muted); font-size: 0.9375rem; }

/* Rights cards (consumers) */
.rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 720px) { .rights { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   15. Motion — reveal on scroll, reduced motion
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }
.js .reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: 640ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .card:hover, .tile:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav-ctas, .cta-band, .skip-link, .subnav { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 24px 0; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Placeholder tokens inside large display numbers stay small and legible */
.stat .num .placeholder { font-size: 0.875rem; font-weight: 500; vertical-align: middle; }
.tile .placeholder, .trust-strip .placeholder { font-size: 0.6875rem; }
.card > * { min-width: 0; }
.feature > *, .consumer-module > *, .contact-panels > * { min-width: 0; }

/* Narrow screens: let long button labels wrap instead of widening the layout */
.hero-grid > *, .grid > * { min-width: 0; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1 1 auto; }
}
a[href^="mailto:"], .email-line { overflow-wrap: anywhere; }
@media (max-width: 480px) { .btn { overflow-wrap: anywhere; } }
a, strong, .accordion-body, .notice p { overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; }
