/* ==========================================================================
   Ace Consultants — design system
   Premium enterprise look: navy ink + coral accent (from the Ace logo),
   Inter type, generous whitespace, soft depth, subtle radii.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
}

:root {
  /* Brand */
  --ink: #20242f;          /* headings, dark surfaces (from logo navy) */
  --ink-soft: #2b3040;
  --navy-deep: #181b24;    /* footer */
  --body: #4c5364;         /* body text */
  --muted: #6e7482;        /* logo gray */
  --accent: #ff4255;       /* logo coral */
  --accent-strong: #e42d41;
  --accent-text: #d61f34;  /* darker coral for small text links (AA) */
  --accent-soft: #fff0f2;

  /* Surfaces */
  --bg: #f5f8fc;      /* Cool Cloud — light cool pastel page background */
  --bg-alt: #edf1f8;  /* one step deeper so alternating sections still read */
  --border: #e5e8ef;
  --border-strong: #d5d9e2;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(23, 28, 40, .06), 0 1px 3px rgba(23, 28, 40, .08);
  --shadow-md: 0 6px 18px rgba(23, 28, 40, .10), 0 2px 6px rgba(23, 28, 40, .06);
  --shadow-lg: 0 18px 44px rgba(23, 28, 40, .16);

  /* Shape & rhythm */
  --radius: 12px;
  --radius-lg: 18px;
  --container: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3, .h3 { font-size: 1.22rem; letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--body);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

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

.section { padding-block: var(--section); }
.section-alt { background: var(--bg-alt); }
.section-flush-top { padding-top: 0; }

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-head p:not(.eyebrow) { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  padding: .7rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 .97rem/1.4 var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(2px); }

.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 66, 85, .3);
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 4px 14px rgba(255, 66, 85, .38); }

.btn-secondary {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-alt); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(23, 28, 40, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.75rem;
}

.brand img { width: 154px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
}
.main-nav > ul > li > a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav > ul > li.is-active > a { color: var(--accent-text); }
.nav-caret { color: var(--muted); }
.dropdown-toggle { display: none; }

.dropdown {
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  translate: -50% 0;
  min-width: 15.5rem;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown::before { /* hover bridge */
  content: '';
  position: absolute;
  top: -.6rem;
  left: 0;
  right: 0;
  height: .6rem;
}
.dropdown a {
  display: block;
  padding: .6rem .85rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: .94rem;
}
.dropdown a:hover { background: var(--accent-soft); color: var(--accent-text); text-decoration: none; }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: .5rem;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-close { display: none; }

/* Mobile navigation */
@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-toggle-open { display: none; }
  body.nav-open .nav-toggle-close { display: inline-flex; }
  body.nav-open { overflow: hidden; }

  /* Drawer is positioned relative to the header (backdrop-filter makes the
     header the containing block, so fixed-to-viewport doesn't work here). */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 4.75rem);
    height: calc(100dvh - 4.75rem);
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2.5rem;
    background: #fff;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    display: none;
  }
  body.nav-open .main-nav { display: flex; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a {
    padding: 1rem .25rem;
    font-size: 1.05rem;
    width: 100%;
  }
  .nav-caret { display: none; }

  .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .has-dropdown > a { flex: 1; }
  .dropdown-toggle {
    display: inline-flex;
    border: 0;
    background: none;
    padding: .75rem;
    color: var(--muted);
    cursor: pointer;
    transition: transform .2s ease;
  }
  .has-dropdown.is-open .dropdown-toggle { transform: rotate(180deg); }

  .dropdown {
    position: static;
    translate: none;
    min-width: 0;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: var(--bg-alt);
    border-radius: 10px;
    margin: 0 0 1rem;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open:hover .dropdown,
  .has-dropdown.is-open:focus-within .dropdown { display: block; }

  .nav-cta { justify-content: center; margin-top: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(46rem 30rem at 88% -10%, rgba(255, 66, 85, .07), transparent 60%),
    linear-gradient(180deg, #ebf1fa 0%, var(--bg) 100%);  /* carries the Cool Cloud tint — no seam into the body */
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  /* was clamp(3.5rem, 7vw, 6rem) — trimmed the empty band above the eyebrow */
  padding-block: clamp(1.75rem, 4vw, 3.25rem);
}
.hero-copy .lead { margin-top: 1.1rem; max-width: 36rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.9rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust svg { color: var(--accent); flex: none; }

.hero-media { position: relative; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: auto -1.4rem -1.4rem auto;
  width: 9rem;
  height: 9rem;
  border: 3px solid var(--accent);
  border-radius: 14px;
  rotate: 45deg;
  opacity: .55;
}
.hero-media img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 56rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 34rem; }
  .hero-media::before { display: none; }
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(2.4rem, 4vw, 3.2rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { display: grid; gap: .3rem; }
.stat-value {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat-label { font-size: .92rem; color: rgba(255, 255, 255, .72); }

@media (max-width: 48rem) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 60rem) { .card-grid, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .card-grid, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f3c3c9;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  flex: none;
  margin-bottom: .5rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.card h3, .card .h3 { margin-bottom: .1rem; }
.card p { font-size: .95rem; color: var(--body); }

/* Consent banner */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 1rem;
  background: rgba(32, 36, 47, .97);
  color: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}
.consent-inner {
  max-width: 62rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.consent-inner p { margin: 0; font-size: .95rem; }
.consent-inner a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: .6rem; flex: none; }
@media (max-width: 40rem) {
  .consent-inner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Specialty cards targeted from a feature-card anchor */
.service-card[id] { scroll-margin-top: 6.5rem; }
.service-card:target { border-color: var(--accent-strong); box-shadow: var(--shadow-md); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: .6rem;
  font-weight: 650;
  font-size: .92rem;
  color: var(--accent-text);
}
.card-link svg { transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Split sections & checklists
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
/* A split section whose photo isn't on disk yet: the copy centres at a
   readable measure instead of stretching the full container width. */
.container-narrow > .split-copy { max-width: 48rem; margin-inline: auto; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.split-reverse .split-media { order: -1; }

@media (max-width: 56rem) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 34rem; }
}

.checklist {
  display: grid;
  gap: .95rem;
  margin: 1.4rem 0 1.7rem;
  padding: 0;
  list-style: none;
}
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg {
  flex: none;
  margin-top: .22rem;
  padding: .18rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.checklist strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Steps (how we work)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .95rem; }

@media (max-width: 56rem) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(36rem 22rem at 85% 120%, rgba(255, 66, 85, .22), transparent 65%),
    var(--ink);
  color: #fff;
  padding-block: clamp(3.2rem, 6vw, 4.5rem);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { max-width: 34rem; margin: 0; color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Inner page hero + breadcrumb
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(40rem 24rem at 92% -30%, rgba(255, 66, 85, .16), transparent 62%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff;
  /* was clamp(3.2rem, 6.5vw, 5.25rem) — shorter navy band on every inner page */
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
}
.page-hero h1 { color: #fff; margin-bottom: 0; max-width: 46rem; }
.page-hero .lead { margin: 1rem 0 0; max-width: 42rem; color: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   Hero trust ticker — slim scrolling strip under the navy hero. Replaces the
   old static highlight tiles that read as tappable buttons; the two identical
   .tick-set groups + translateX(-50%) give a seamless loop. Pauses on hover;
   holds still (and becomes swipe-scrollable) for reduced-motion visitors.
   -------------------------------------------------------------------------- */
.hero-ticker { background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; position: relative; }
.hero-ticker::before,
.hero-ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2; pointer-events: none; }
.hero-ticker::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.hero-ticker::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.hero-ticker-track { display: flex; width: max-content; animation: hero-ticker-scroll linear infinite; }
.hero-ticker:hover .hero-ticker-track { animation-play-state: paused; }
.tick-set { display: flex; flex: none; }
.tick { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.6rem; white-space: nowrap; font-size: .9rem; border-right: 1px solid #eef1f6; }
.tick-ic { color: var(--accent); display: inline-flex; align-items: center; }
.tick-ic svg { display: block; }
.tick-lab { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tick-val { font-weight: 700; color: var(--ink); }
@keyframes hero-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-ticker { overflow-x: auto; }
  .hero-ticker-track { animation: none; width: auto; }
  .hero-ticker-track .tick-set:nth-child(2) { display: none; }
  .hero-ticker::before, .hero-ticker::after { display: none; }
}
@media (max-width: 40rem) { .tick { padding: .6rem 1.1rem; font-size: .85rem; } }
/* Tighten the gap between the ticker and the first content section (the full
   --section top padding leaves too big a void right under the slim strip). */
.hero-ticker + .section { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }

.breadcrumb { margin-bottom: 1.2rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255, 255, 255, .85); }
.breadcrumb li + li::before { content: '/'; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: rgba(255, 255, 255, .65); }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Service highlights
   -------------------------------------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  transform: translateY(-50%);
  margin-bottom: calc(var(--section) * -0.55);
}
.highlight {
  display: grid;
  justify-items: center;
  gap: .15rem;
  padding: 1.4rem 1rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.highlight-icon { color: var(--accent-strong); margin-bottom: .3rem; }
.highlight-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.highlight p { font-weight: 700; color: var(--ink); font-size: 1.02rem; }

@media (max-width: 56rem) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
    margin-bottom: 0;
    padding-top: 1.25rem;
    gap: .75rem;
  }
  /* compact the tiles on phones so they don't fill the first screen and the
     service intro shows sooner */
  .highlight { padding: .8rem .7rem; }
  .highlight-icon { margin-bottom: .1rem; }
  .highlight p { font-size: .92rem; }
  /* the tiles sit right under the navy hero on phones — drop the big section
     band above/below them so the intro is not pushed a whole screen down */
  .section-highlights { padding-block: 1.1rem; }
}

/* --------------------------------------------------------------------------
   More-industries page — jump-list + anchored industry cards
   -------------------------------------------------------------------------- */
.jumplist {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.jumplist a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.jumplist a:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); text-decoration: none; }
.jumplist a svg { color: var(--accent-strong); }

.ind-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.ind-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 6rem;   /* clear the sticky header when jumped to */
}
.ind-card-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.ind-card-body h3 { margin: 0 0 .35rem; }
.ind-card-body p { margin: 0 0 .7rem; color: var(--body); }
.checklist-tight { margin: 0; gap: .5rem; }
.checklist-tight li { font-size: .92rem; }
/* "See the full … page" link on a more-industry card that also has a full page */
.ind-card-more { margin: .8rem 0 0; }
.ind-card-more a:hover svg { transform: translateX(3px); }
.ind-back { margin-top: 1.75rem; font-weight: 600; }

@media (max-width: 48rem) {
  .ind-list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.faq-layout .faq-group { grid-column: 1; }
.faq-aside { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 6.5rem; }

@media (max-width: 56rem) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .faq-group, .faq-aside { grid-column: 1; }
  .faq-aside { grid-row: auto; position: static; }
}

.faq-group { margin-bottom: 1.5rem; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: 1rem; }

.accordion { display: grid; gap: .8rem; }
.accordion-narrow { max-width: 46rem; margin-inline: auto; }
.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.accordion-item[open] { border-color: #f3c3c9; box-shadow: var(--shadow-md); }
.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-caret { flex: none; color: var(--muted); transition: transform .25s ease; }
.accordion-item[open] .accordion-caret { transform: rotate(180deg); color: var(--accent-strong); }
.accordion-body { padding: 0 1.3rem 1.2rem; font-size: .96rem; }

.aside-card {
  padding: 1.8rem 1.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.aside-card h2 { font-size: 1.2rem; }
.aside-card .btn { margin-top: .4rem; }
.aside-mail {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .93rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 56rem) { .contact-layout { grid-template-columns: 1fr; } }

.contact-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.contact-cards li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-cards .card-icon { width: 2.7rem; height: 2.7rem; margin: 0; }
.contact-cards strong { display: block; color: var(--ink); font-size: .85rem; }
.contact-cards a, .contact-cards span { font-size: .97rem; }

.contact-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-note svg { color: var(--accent); flex: none; }

.contact-form-wrap {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form { display: grid; gap: 1.15rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
@media (max-width: 40rem) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: grid; gap: .35rem; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-field label span[aria-hidden] { color: var(--accent-text); }
.form-field .optional { color: var(--muted); font-weight: 500; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .72rem .95rem;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 8.5rem; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 66, 85, .14);
}

.contact-form .btn { justify-self: start; }
.form-privacy { font-size: .84rem; color: var(--muted); margin: 0; }

.hp-field { position: absolute !important; left: -9999px !important; }

.form-errors {
  padding: 1rem 1.2rem;
  background: #fdeef0;
  border: 1px solid #f5b8c0;
  border-radius: 10px;
  color: #8f1626;
  font-size: .95rem;
}
.form-errors ul { margin: .3rem 0 0; }
.form-errors p { margin: 0; }

.form-success { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 1rem; }
.form-success svg { color: #12934c; margin-inline: auto; margin-bottom: 1rem; }
.form-success p { max-width: 30rem; margin-inline: auto; }
.form-success .btn { margin-top: 1.2rem; }
.success-countdown { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose-date {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.not-found .lead { max-width: 34rem; margin-inline: auto; }
.not-found .hero-actions { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2.5fr) minmax(0, 2.5fr) minmax(0, 3fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 60rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 172px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 20rem; }

.footer-social {
  display: flex;
  gap: .6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255, 66, 85, .16);
}

.footer-col h2 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: .28rem; color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.footer-legal a { color: rgba(255, 255, 255, .72); }
.footer-legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (JS adds .reveal-ready, then .in)
   -------------------------------------------------------------------------- */
.reveal-ready { opacity: 0; transform: translateY(18px); }
.reveal-ready.in {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
