/* =========================================================
   Antra Advisory Group: site styles
   Brand palette (matches the logo): deep navy #081B2E, white and yellow #FFE11A.
   Navy carries the header, footer, headings and dark sections; white the content;
   yellow is the accent (buttons, links on navy, the bar motif). The navy-50/100
   tints are only for quiet panels, borders and tracks on white.
   ========================================================= */

:root {
  --navy-950: #081B2E; /* brand navy: logo background, header, footer */
  --navy-900: #0E2943;
  --navy-800: #173B5F;
  --navy-100: #DDE3EA;
  --navy-50:  #F4F6F9;

  --yellow-500: #EBCD00;
  --yellow-400: #FFE11A; /* brand yellow */
  --yellow-100: #FFF5B8;
  --yellow-50:  #FFFBE0;

  --ink: #081B2E;
  --text: #33445A;
  --muted: #5B6B80;
  --line: #E0E5EC;
  --white: #FFFFFF;
  --error: #B42318;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 41, 67, .06), 0 2px 8px rgba(14, 41, 67, .05);
  --shadow: 0 2px 4px rgba(14, 41, 67, .04), 0 12px 32px rgba(14, 41, 67, .09);
  --shadow-lg: 0 4px 8px rgba(14, 41, 67, .05), 0 24px 60px rgba(14, 41, 67, .14);

  /* Motion: one confident, decelerating curve for entrances; a quicker one for hover/press feedback */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.2, .7, .2, 1);

  --header-h: 76px;
  --section-y: clamp(72px, 10vw, 128px);
  --gutter: 20px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1em; }
a { color: var(--navy-950); text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Placeholders: highlighted so they're easy to spot before launch.
   Once all placeholders are replaced, these rules can stay; nothing will use them. */
.placeholder {
  background: var(--yellow-100);
  color: #6B4E00;
  border-radius: 4px;
  padding: 0 .3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.placeholder-block {
  background: var(--yellow-50);
  border: 1.5px dashed var(--yellow-500);
  color: #6B4E00;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: .95rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }

.btn-primary {
  background: var(--yellow-400);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(235, 205, 0, .3);
}
.btn-primary:hover { background: var(--yellow-400); color: var(--navy-950); box-shadow: 0 10px 28px rgba(235, 205, 0, .45); }
/* A light sheen passes across the primary button on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px auto -2px -60%;
  z-index: -1;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(0) skewX(-18deg);
  transition: transform .7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(420%) skewX(-18deg); }

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

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

.btn-lg { min-height: 58px; padding: 16px 32px; font-size: 1.0625rem; }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: .9375rem; box-shadow: none; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
/* The logo always sits on deep navy (header and footer): white "AA" mark (images/aa-logo-white.svg),
   white "ANTRA" and yellow "ADVISORY GROUP", as in the brand reference */
.logo-mark {
  display: block;
  flex: none;
  width: auto;
  height: 40px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}
.logo-tag {
  margin-top: 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow-400);
}

/* ---------- Header (deep navy on every page) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(8, 27, 46, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 8px 24px rgba(8, 27, 46, .25); }

/* Reading progress: the yellow bar from the Antra mark, stretched across the header */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 3px;
  background: var(--yellow-400);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav ul { list-style: none; }
.site-nav a:not(.btn) {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-weight: 600;
  font-size: .975rem;
}
.site-nav a:not(.btn):hover,
.site-nav a.is-active { color: var(--yellow-400); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, background-color .25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 1079.98px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 40px rgba(8, 27, 46, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { display: grid; margin-bottom: 18px; }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 1.0625rem;
  }
  .site-nav .btn { width: 100%; min-height: 50px; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 32px; }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav ul a { position: relative; }
  .site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 3px;
    border-radius: 3px;
    background: var(--yellow-400);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .35s var(--ease-out);
  }
  .site-nav ul a:hover::after,
  .site-nav ul a.is-active::after { transform: scaleX(1); transform-origin: left center; }
}

/* ---------- Shared section styles ---------- */
.section { padding-block: var(--section-y); }
.section-soft { background: var(--navy-50); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 3px;
  background: var(--yellow-400);
}
.eyebrow-light { color: var(--navy-100); }
.eyebrow-light::before,
.service-cta .eyebrow::before { background: var(--yellow-400); }

.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--text); }

.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  font-size: .975rem;
  line-height: 1.55;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--yellow-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081B2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero (dark, full screen, animated) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 88px));
  background: radial-gradient(120% 90% at 0% 0%, #173B5F 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, .84);
}

/* Optional background video (see the comment in index.html) sits under the glows */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-video ~ .hero-bg {
  background: linear-gradient(90deg, rgba(8, 27, 46, .88) 0%, rgba(8, 27, 46, .6) 60%, rgba(8, 27, 46, .35) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
/* Two slow glows: a lighter navy top left and a faint yellow warmth bottom right */
.glow-blue {
  width: 62vw; height: 62vw; max-width: 860px; max-height: 860px;
  left: -18vw; top: -24vw;
  background: #24507E;
  opacity: .45;
  animation: drift-a 18s ease-in-out infinite alternate;
}
.glow-teal {
  width: 52vw; height: 52vw; max-width: 720px; max-height: 720px;
  right: -12vw; bottom: -26vw;
  background: var(--yellow-400);
  opacity: .06;
  animation: drift-b 22s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(16vw, 12vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-14vw, -14vh) scale(1.1); } }

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 25%, transparent 75%);
}

.hero-inner {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 48px;
}
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.6fr .9fr; align-items: center; gap: 56px; }
}

.hero-copy { will-change: transform, opacity; }

/* Headline: each line rises out of its own mask, then the full stop of "business." extends into the
   yellow bar from the Antra mark, the visual idea of an extension of your business */
.hero-title {
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(2.6rem, min(6.6vw, 9.6vh), 5.9rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.045em;
}
.hero-line {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.hero-line > span:first-child {
  display: block;
  animation: line-up 1.1s var(--ease-out) both;
}
.hero-line:nth-child(2) > span:first-child { animation-delay: .1s; }
.hero-line:nth-child(3) > span:first-child { animation-delay: .2s; }
@keyframes line-up {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
.hero-extend {
  flex: 1;
  min-width: .5em;
  max-width: 3.2em;
  height: .13em;
  margin: 0 0 .21em .14em;
  background: var(--yellow-400);
  box-shadow: 0 0 22px rgba(255, 225, 26, .45);
  transform-origin: left center;
  animation: bar-in 1.1s cubic-bezier(.7, 0, .2, 1) .95s both;
}

.hero-lead {
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
  animation: rise .9s var(--ease-out) .45s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 4vh, 36px);
  animation: rise .9s var(--ease-out) .6s both;
}
@media (max-width: 539.98px) {
  .hero-actions .btn { width: 100%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Soft light that follows the pointer across the hero (desktop only, set in script.js) */
.hero-spot {
  position: absolute;
  left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 26, .13) 0%, rgba(255, 255, 255, .05) 40%, transparent 70%);
  opacity: 0;
  transition: opacity .6s;
}
.hero.is-pointer .hero-spot { opacity: 1; }

/* Animated "AA" mark beside the headline. Layers: .hero-visual (scroll parallax),
   .hero-tilt (pointer tilt), .hero-mark (idle float), so each transform has one owner. */
.hero-visual { position: relative; display: grid; place-items: center; will-change: transform; }
.hero-tilt {
  width: 100%;
  display: grid;
  place-items: center;
  transition: transform .8s var(--ease-out);
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 26, .22) 0%, rgba(255, 255, 255, .06) 45%, transparent 70%);
  animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.12); opacity: .7; } }

.hero-mark {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
  stroke: none;
  overflow: visible;
  animation: float 7s ease-in-out 1.6s infinite alternate;
}
@keyframes float { to { transform: translateY(-14px); } }
.mark-a path { fill: var(--white); }
/* The two A's arrive from opposite sides, then the yellow bar locks them together */
.mark-a { animation: mark-in-left 1.1s var(--ease-out) .25s both; }
.mark-a2 { animation-name: mark-in-right; animation-delay: .35s; }
@keyframes mark-in-left  { from { opacity: 0; transform: translate(-36px, 24px); } to { opacity: 1; transform: none; } }
@keyframes mark-in-right { from { opacity: 0; transform: translate(36px, 24px); }  to { opacity: 1; transform: none; } }
.mark-bar {
  fill: var(--yellow-400);
  transform-box: fill-box;
  transform-origin: left center;
  filter: drop-shadow(0 0 18px rgba(255, 225, 26, .55));
  animation: bar-in .9s cubic-bezier(.7, 0, .2, 1) .85s both;
}
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 999.98px) {
  .hero-visual {
    position: absolute;
    z-index: -1;
    top: 4%;
    right: -22%;
    width: 78%;
    opacity: .16;
  }
}

/* Outcomes along the bottom of the hero: a yellow line draws across and each outcome lights up as
   it passes, reading left to right as "what working with Antra does for you" */
.hero-outcomes {
  --line-delay: 1.25s;
  --line-dur: 1.6s;
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: clamp(32px, 5vh, 80px);
  padding: 26px 0 clamp(24px, 3.5vh, 48px);
}
.hero-outcomes::before,
.hero-outcomes::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: rgba(255, 255, 255, .14);
}
.hero-outcomes::after {
  height: 3px;
  top: -.5px;
  background: var(--yellow-400);
  box-shadow: 0 0 14px rgba(255, 225, 26, .5);
  transform-origin: left center;
  animation: bar-in var(--line-dur) cubic-bezier(.65, 0, .35, 1) var(--line-delay) both;
}
.hero-outcomes li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 22px;
  animation: rise .8s var(--ease-out) both;
  animation-delay: calc(var(--line-delay) + var(--n) * .3s);
}
.hero-outcomes li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 4px rgba(255, 225, 26, .18);
}
.hero-outcomes strong {
  color: var(--white);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.3;
}
.hero-outcomes span {
  font-size: .9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .66);
}
@media (min-width: 900px) {
  .hero-outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

/* Header sits transparently over the dark hero until the page scrolls */
.has-hero .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.has-hero.nav-open .site-header { background: var(--navy-950); }

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-visual::before, .hero-mark { animation: none !important; }
  .hero-spot { display: none; }
}


/* ---------- How we work: scroll-lit statement ----------
   script.js splits the text into words that brighten as the statement scrolls through the viewport,
   and each key phrase gets the yellow Antra bar drawn beneath it. Without JS it simply shows in full. */
.statement { padding-block: clamp(96px, 14vw, 176px) clamp(80px, 11vw, 140px); background: var(--white); }
.statement-text {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(1.75rem, 1rem + 2.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.statement-text mark {
  color: inherit;
  background: linear-gradient(var(--yellow-400), var(--yellow-400)) left 88% / 100% .3em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .9s var(--ease-out);
}
.statement-text.is-split .w { opacity: .14; transition: opacity .35s linear; }
.statement-text.is-split .w.is-lit { opacity: 1; }
.statement-text.is-split mark:not(.is-lit) { background-size: 0 .3em; }

/* ---------- Services: the claim lifecycle ----------
   Desktop: the heading and a vertical stage rail stay pinned while the five service cards scroll past.
   Mobile: the rail becomes a row of stage chips pinned under the header. */
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.services-layout > *, .lifecycle { min-width: 0; }
.services-list { display: grid; gap: 20px; }
.services-list .service-card { scroll-margin-top: calc(var(--header-h) + 76px); }

.lifecycle { position: relative; }
.lifecycle ol { position: relative; list-style: none; }
.lifecycle a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color .3s, background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.lifecycle a:hover { color: var(--ink); }
.lc-num { font-size: .8rem; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.lifecycle-track { position: absolute; background: var(--navy-100); border-radius: 4px; overflow: hidden; }
.lifecycle-fill { position: absolute; inset: 0; background: var(--yellow-500); }

@media (min-width: 1000px) {
  .services-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .services-aside { position: sticky; top: calc(var(--header-h) + 40px); }
  .services-list .service-card { scroll-margin-top: calc(var(--header-h) + 40px); }

  .lifecycle ol { display: grid; gap: 2px; padding-left: 34px; }
  .lifecycle-track { left: 7px; top: 22px; bottom: 22px; width: 4px; }
  .lifecycle-fill { transform: scaleY(0); transform-origin: top center; }
  .lifecycle a { padding: 10px 0; font-size: 1.125rem; }
  .lifecycle a::before {
    content: "";
    position: absolute;
    left: -34px; top: 50%;
    width: 18px; height: 18px;
    margin-top: -9px;
    border-radius: 50%;
    background: var(--navy-50);
    border: 3px solid var(--navy-100);
    transition: background-color .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease-out);
  }
  .lifecycle .is-done a::before { background: var(--yellow-400); border-color: var(--yellow-500); }
  .lifecycle .is-current a { color: var(--ink); transform: translateX(6px); }
  .lifecycle .is-current a::before {
    background: var(--yellow-400);
    border-color: var(--navy-900);
    box-shadow: 0 0 0 6px rgba(255, 225, 26, .35);
    transform: scale(1.1);
  }
}
/* Short laptop screens: let the aside scroll normally rather than be cut off */
@media (min-width: 1000px) and (max-height: 739.98px) {
  .services-aside { position: static; }
}

@media (max-width: 999.98px) {
  .services-aside { display: contents; }
  .lifecycle {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    margin: 0 calc(-1 * var(--gutter)) 20px;
    padding: 10px 0 0;
    background: rgba(244, 246, 249, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .lifecycle ol {
    display: flex;
    gap: 8px;
    padding: 0 var(--gutter) 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .lifecycle ol::-webkit-scrollbar { display: none; }
  .lifecycle a {
    min-height: 40px;
    align-items: center;
    padding: 8px 15px;
    white-space: nowrap;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .9rem;
    gap: 8px;
  }
  .lifecycle .is-current a { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
  .lifecycle .is-current .lc-num { color: var(--yellow-400); }
  .lifecycle-track { left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; }
  .lifecycle-fill { transform: scaleX(0); transform-origin: left center; }
}

.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.service-stage { font-size: .85rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* The card in focus gets the yellow bar down its left edge */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--yellow-400);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .6s var(--ease-out);
}
.service-card.is-current::before,
.service-card:hover::before { transform: scaleY(1); }
.service-card.service-cta::before { display: none; }
.service-card .service-icon { transition: transform .5s var(--ease-out); }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-6deg); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-block: 4px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(var(--yellow-400), var(--yellow-400)) left bottom / 0 3px no-repeat;
  transition: background-size .4s var(--ease-out), color .2s;
}
.card-link:hover { background-size: 100% 3px; color: var(--navy-900); }
.card-link span,
.arrow-link a span,
.service-offer a span { display: inline-block; transition: transform .3s var(--ease-out); }
.card-link:hover span,
.arrow-link a:hover span,
.service-offer a:hover span { transform: translateX(5px); }

.service-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

.service-card.service-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: rgba(255, 255, 255, .82);
}
.service-card.service-cta:hover { border-color: var(--navy-950); }
.service-cta .eyebrow { color: var(--navy-100); margin-bottom: 4px; }
.service-cta h3 { color: var(--white); margin-top: 10px; }
.service-cta > p:not(.eyebrow) { color: rgba(255, 255, 255, .82); }
.service-cta .btn { margin-top: auto; }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 38px);
  transition: border-color .3s, box-shadow .4s, transform .4s var(--ease-out);
}
.service-card:hover,
.service-card.is-current { border-color: var(--navy-100); box-shadow: var(--shadow); }
.service-card:hover { transform: translateY(-3px); }
.service-card h3 { margin-top: 22px; }
.service-card > p { color: var(--text); margin-bottom: 20px; }

.service-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-icon { background: var(--navy-950); color: var(--yellow-400); }

/* Process */
.process {
  margin-top: clamp(56px, 8vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--navy-50);
}
.process-title { margin-bottom: 28px; font-size: 1.375rem; }
.process-steps { position: relative; list-style: none; display: grid; gap: 28px; }
@media (min-width: 760px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  /* A yellow line joins the three steps once the block is in view */
  .process-steps::before {
    content: "";
    position: absolute;
    top: 19px; left: 20px;
    right: calc((100% - 72px) / 3 - 20px);
    height: 3px;
    background: var(--yellow-400);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.4s cubic-bezier(.65, 0, .35, 1) .3s;
  }
  .process.in-view .process-steps::before { transform: scaleX(1); }
}
.process-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--yellow-400);
  font-weight: 800;
  transition: transform .4s var(--ease-out);
}
.process-steps li:hover .process-num { transform: scale(1.12); }
.process-steps h4 { margin-bottom: 6px; }
.process-steps p { margin: 0; font-size: .975rem; }

/* ---------- Why Antra Advisory Group (dark) ---------- */
.section-dark {
  position: relative;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(255, 225, 26, .08), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgba(255, 255, 255, .05), transparent 70%),
    var(--navy-950);
  color: rgba(255, 255, 255, .82);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .lead { color: rgba(255, 255, 255, .82); }

.why-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.why-card {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease-out);
}
.why-card:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
/* Soft light under the pointer (position set in script.js) */
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 225, 26, .13), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.why-card:hover::after { opacity: 1; }
.why-card::before { transition: width .5s var(--ease-out); }
.why-card:hover::before { width: 64px; }
.why-card::before {
  content: "";
  display: block;
  width: 36px; height: 4px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.accent-green::before  { background: var(--yellow-400); }
.accent-yellow::before { background: var(--yellow-400); }
.accent-blue::before   { background: var(--yellow-400); }
.why-card h3 { font-size: 1.15rem; }
.why-card p { margin: 0; font-size: .975rem; }

.balance {
  margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
}
.section-dark .balance-title { color: var(--ink); font-size: 1.375rem; margin-bottom: 28px; }
.balance-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .balance-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.balance-col { padding-top: 18px; border-top: 4px solid; }
.balance-people   { border-color: var(--navy-950); }
.balance-business { border-color: var(--yellow-500); }
.section-dark .balance-col h4 { color: var(--ink); margin-bottom: 16px; }

/* Purpose statement inside the dark "Why Antra Advisory Group" section */
.purpose-grid {
  display: grid;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 960px) {
  .purpose-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}
.purpose {
  margin: 32px 0 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--yellow-400);
}
.purpose p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--white);
}
.purpose-copy { font-size: 1.0625rem; }
@media (min-width: 960px) { .purpose-copy { padding-top: 44px; } }

/* ---------- Our approach ---------- */
.approach-intro { display: grid; gap: 0 72px; }
@media (min-width: 960px) {
  .approach-intro { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
  .approach-intro .section-head { margin-bottom: 0; }
}
.approach-copy { margin-bottom: 40px; }
@media (min-width: 960px) { .approach-copy { margin-bottom: 0; } .approach-copy p:last-child { margin-bottom: 0; } }

.approach-grid { display: grid; gap: 20px; }
@media (min-width: 640px)  { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .approach-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.approach-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s, box-shadow .4s, transform .4s var(--ease-out);
}
.approach-card:hover { border-color: var(--navy-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.approach-card .service-icon { transition: transform .5s var(--ease-out); }
.approach-card:hover .service-icon { transform: translateY(-3px) rotate(-6deg); }
.approach-card h3 { font-size: 1.125rem; margin-top: 20px; }
.approach-card p { margin: 0; font-size: .975rem; }

/* ---------- Concerns about a claim ---------- */
.concerns-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .concerns-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
}
.concerns-card {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
}
.concerns-card h3 { margin-bottom: 20px; }
.concerns-card .tick-list { gap: 16px; }
.concerns-card strong { color: var(--ink); }

.arrow-link { margin: 20px 0 0; }
.arrow-link a { font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.arrow-link a:hover { text-decoration: underline; }

/* ---------- Free premium review offer (inside the Policy and premium card) ---------- */
.service-offer {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--yellow-50);
  border-left: 4px solid var(--yellow-500);
}
.service-offer-title { margin: 0 0 6px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.service-offer p:not(.service-offer-title) { margin-bottom: 10px; font-size: .9rem; line-height: 1.55; }
.service-offer a { font-weight: 700; font-size: .9rem; text-decoration: none; }
.service-offer a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 40px 72px; align-items: start; }
}
.contact-head { grid-column: 1 / -1; max-width: 820px; margin-bottom: 0; }
.contact-head .lead { margin-bottom: 0; }

.contact-list { list-style: none; display: grid; gap: 20px; margin: 0 0 32px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; }
.contact-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-list li:last-child { align-items: start; }
.contact-sub { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.5; }

.next-steps {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.next-steps h3 { font-size: 1.0625rem; margin-bottom: 16px; }
.next-steps ol { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.next-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  font-size: .975rem;
  line-height: 1.5;
}
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--yellow-400);
  font-size: .85rem;
  font-weight: 800;
}
.next-steps strong { color: var(--ink); }

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 44px);
  border-top: 6px solid var(--navy-900);
}
/* Arriving from a "Talk to us about…" link: the form pulses once and the chosen topic is highlighted */
/* "Let's talk" and "Get in touch" land here; the extra space allows for the card's slide-in */
#enquiry-form { scroll-margin-top: calc(var(--header-h) + 40px); }
.form-card.is-flash { animation: form-flash 1.6s var(--ease-out) .5s; }
@keyframes form-flash {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255, 225, 26, .9); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 22px rgba(255, 225, 26, 0); }
}
.form-card.is-flash #topic { animation: field-flash 1.6s ease-out .5s; }
@keyframes field-flash {
  0%, 40% { background-color: var(--yellow-50); border-color: var(--yellow-500); }
  100%    { background-color: var(--white); }
}
.form-title { font-size: 1.5rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 28px; }

.form-row { display: grid; gap: 0 20px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.req { color: var(--error); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #C6CCD4;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2943' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E98A5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-950);
  box-shadow: 0 0 0 4px rgba(255, 225, 26, .55);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }

.field-error { margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.field-hint { margin: 6px 0 0; font-size: .875rem; color: var(--muted); line-height: 1.5; }

.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 26px;
}
.field-check input {
  width: 20px; height: 20px;
  margin: 3px 0 0;
  accent-color: var(--navy-900);
}
.field-check label { font-weight: 500; font-size: .925rem; color: var(--text); line-height: 1.55; margin: 0; }
.field-check .field-error { grid-column: 2; margin-top: 0; }

.form-status {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  line-height: 1.55;
}
.form-status.is-error { background: #FDECEA; color: var(--error); }
.form-status.is-info  { background: var(--yellow-50); color: #6B4E00; border: 1px dashed var(--yellow-500); }

/* Tick on the thank-you page, drawn in as the page opens */
.success-icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--yellow-400);
  color: var(--navy-950);
}
.success-icon svg { width: 32px; height: 32px; stroke-width: 2.6; }
.success-icon { animation: pop .6s var(--ease-out) both; }
.success-icon path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: draw .6s var(--ease-out) .25s both; }
.simple-page .success-icon { display: grid; margin: 0 auto 24px; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.thanks-actions .btn { margin-top: 0; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

/* ---------- Quick action bar (phones and tablets): one "Let's talk" button, centred ---------- */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  width: fit-content;
  margin-inline: auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 41, 67, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(8, 27, 46, .35);
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.mobile-cta.is-shown { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.mobile-cta .btn { min-width: 190px; min-height: 48px; padding: 10px 32px; font-size: .95rem; white-space: nowrap; box-shadow: none; }
.mobile-cta .btn:hover { transform: none; }
@media (min-width: 1080px) { .mobile-cta { display: none; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(56px, 7vw, 80px);
  font-size: .95rem;
}
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow-400); text-decoration: underline; }
.site-footer .logo:hover { text-decoration: none; }

.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { max-width: 340px; margin-top: 18px; }
.footer-brand .footer-motto { margin: 22px 0 -8px; font-size: 1.125rem; font-weight: 700; color: var(--white); }
.footer-heading {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-registered { color: rgba(255, 255, 255, .85); line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 24px; }
.site-footer .placeholder { background: rgba(255, 225, 26, .18); color: var(--yellow-400); }

/* ---------- Legal pages (privacy policy) ---------- */
.legal-container { max-width: 860px; }
.legal-hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, var(--navy-50) 0%, var(--white) 100%);
}
.legal-hero h1 { font-size: clamp(2.25rem, 5vw, 3.2rem); margin-bottom: 18px; }
.legal-hero .lead { max-width: 680px; }
.legal-updated { margin: 0; font-size: .925rem; color: var(--muted); }
.legal-body { padding-bottom: var(--section-y); }

.legal-toc {
  margin-bottom: 48px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.legal-toc h2 {
  margin-bottom: 14px;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-toc ol { list-style: none; columns: 2; column-gap: 32px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; break-inside: avoid; padding: 4px 0; font-size: .95rem; line-height: 1.45; }
.legal-toc li::before { content: counter(toc) ". "; color: var(--muted); font-weight: 600; }
.legal-toc a { font-weight: 600; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
@media (max-width: 599.98px) { .legal-toc ol { columns: 1; } }

.legal-content h2 {
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h3 { font-size: 1.0625rem; margin: 24px 0 8px; }
.legal-content ul:not(.contact-list) { margin: 0 0 1em; padding-left: 1.25em; }
.legal-content ul:not(.contact-list) li { margin-bottom: 6px; padding-left: 4px; }
.legal-content ul:not(.contact-list) li::marker { color: var(--yellow-400); }

.legal-contact {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
}
.legal-contact .contact-list { margin: 20px 0; }
.legal-contact-note { margin: 0; font-size: .925rem; color: var(--muted); }

/* ---------- About page (shares the legal page layout) ---------- */
.about-hero h1 { margin-bottom: 0; }
.about-copy p { max-width: 68ch; }
.about-copy .lead { margin-bottom: 1.4em; color: var(--ink); }
.about-action { margin: 36px 0 0; }

/* ---------- Simple pages (thank-you, 404) ---------- */
.simple-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
  background: linear-gradient(180deg, var(--navy-50), var(--white));
}
.simple-page .container { max-width: 640px; }
.simple-page .btn { margin-top: 16px; }

/* ---------- Reveal on scroll ----------
   Elements that enter together are staggered (script.js sets the delay). Once revealed, script.js removes
   data-reveal so each element's own hover transitions take over again. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Section transition: the dark "Why Antra Advisory Group" panel opens out to full width as it scrolls in (script.js) */
.section-dark[data-panel] { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .section-dark[data-panel] { clip-path: none !important; will-change: auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .form-card, .hero-actions, .mobile-cta, .lifecycle { display: none; }
  .statement-text.is-split .w { opacity: 1; }
  .section-dark[data-panel] { clip-path: none !important; }
  .section-dark { background: none; color: var(--text); }
  .section-dark h2, .section-dark h3 { color: var(--ink); }
  .js [data-reveal] { opacity: 1; transform: none; }
}
