/* ==========================================================================
   Sections — hero, interior page head, and every homepage band
   Section heads are strictly left-aligned; see base.css.
   ========================================================================== */

/* --- Hero -----------------------------------------------------------------
   Full-bleed photograph under a purple wash. Single column: the copy owns
   the left, the photograph carries the right. No decorative overlay lines —
   plan.txt section 13.01, restraint over decoration.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: var(--hero-min-h);
  padding-top: calc(var(--header-h) + var(--notice-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--purple-ink);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero .backdrop img {
  object-position: 60% 55%;
}
/* Purple wash — holds the type at AA over any photograph dropped in. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* floor — anchors the copy and the hairline beneath it */
    linear-gradient(to top, rgba(11, 8, 25, 0.86) 0%, transparent 46%),
    /* vignette — pulls the eye off the frame edges */
    radial-gradient(120% 90% at 22% 45%, transparent 0%, rgba(11, 8, 25, 0.55) 100%),
    var(--hero-overlay);
}
/* Rose hairline anchoring the hero to the band below */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--rose) 0%,
    rgba(184, 115, 74, 0.35) 42%,
    transparent 100%
  );
}
.hero__inner {
  position: relative;
  width: 100%;
}
/* The hero statement runs long, so it is set a step below the display token
   and given a generous measure — it must still resolve inside --hero-min-h
   alongside the eyebrow, lede, actions and meta row. */
.hero .display {
  color: var(--off-white);
  font-size: clamp(2.5rem, 1.65rem + 3.5vw, 3.75rem);
  max-width: 22ch;
}
.hero__lede {
  margin-top: var(--s-5);
  max-width: 52ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-on-dark);
  text-align: left;
}
.hero__lede strong {
  color: var(--rose-bright);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4) var(--s-7);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-on-dark);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.04em;
  color: var(--text-on-dark-muted);
}
.hero__meta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--rose-soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
/* Phones: one point per centred line looked like a loose list and ate
   height, so the four points become a 2x2 grid with the icon above. */
@media (max-width: 619.98px) {
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5) var(--s-4);
  }
  .hero__meta span {
    flex-direction: column;
    text-align: center;
    line-height: 1.4;
  }
  .hero__meta svg {
    width: 18px;
    height: 18px;
  }
}

/* --- Interior page head ---------------------------------------------------
   The same contract as the hero, at reduced height: photograph, purple wash,
   rose hairline. Every interior page therefore opens on a dark band, which
   is what lets the header float transparent site-wide.
   -------------------------------------------------------------------------- */
.phead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--purple-ink);
  color: var(--text-on-dark);
  padding-top: calc(var(--header-h) + var(--notice-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.phead .backdrop img {
  object-position: 50% 48%;
}
.phead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 8, 25, 0.9) 0%, rgba(11, 8, 25, 0.62) 60%),
    var(--hero-overlay);
}
.phead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--rose) 0%,
    rgba(184, 115, 74, 0.35) 42%,
    transparent 100%
  );
}
.phead .h1 {
  color: var(--off-white);
  max-width: 20ch;
}
.phead__lede {
  margin-top: var(--s-5);
  max-width: 56ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-on-dark);
}
.phead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-7);
}

/* --- Breadcrumb ----------------------------------------------------------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.crumbs a {
  transition: color var(--dur-fast) var(--ease);
}
.crumbs a:hover {
  color: var(--rose-bright);
}
.crumbs i {
  font-style: normal;
  color: var(--rose);
}
.crumbs span {
  /* Current page: rose, so the trail alone marks where you are. */
  color: var(--rose-bright);
}

/* --- Credibility strip ----------------------------------------------------
   Lifted onto white so it reads as a band sitting on the paper ground, with
   the hairline rules doing the dividing rather than boxes.
   -------------------------------------------------------------------------- */
.section--tight .stats,
.stats {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
@media (min-width: 620px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-7) var(--s-6);
  }
}
@media (min-width: 1040px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Each item is a column of type under a hairline, not a box. The rule
   thickens to rose on hover so the band has some life without becoming a
   grid of cards. */
.stat {
  position: relative;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-neutral);
  transition: transform 0.35s ease;
}
/* The rose rule is drawn over the hairline and wiped in from the left, so the
   whole column reads as being underlined rather than merely recoloured. */
.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat:hover,
.stat:focus-within {
  transform: translateY(-3px);
}
.stat:hover::before,
.stat:focus-within::before {
  transform: scaleX(1);
}
.stat:hover .stat__icon,
.stat:focus-within .stat__icon {
  background: var(--rose);
  color: var(--off-white);
}
.stat:hover .stat__index,
.stat:focus-within .stat__index {
  color: var(--rose);
}
.stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.stat__icon {
  display: inline-flex;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 115, 74, 0.1);
  color: var(--rose);
  flex: 0 0 auto;
}
.stat__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat__index {
  font-family: var(--font-mono);
  transition: color 0.3s ease;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--line-strong);
}
.stat__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--purple);
  margin-bottom: var(--s-3);
}
.stat__body {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .stat,
  .stat::before,
  .stat__icon,
  .stat__index {
    transition: none;
  }
  .stat:hover,
  .stat:focus-within {
    transform: none;
  }
  .stat:hover::before,
  .stat:focus-within::before {
    transform: scaleX(1);
  }
}
.stat__tag {
  margin: var(--s-5) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
/* Head, title, body and tag share rows across the columns, so a two-line
   title or a longer body doesn't knock the rest of that column out of line. */
@media (min-width: 620px) {
  .stats--aligned .stat {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .stats--aligned .stat__tag {
    align-self: start;
  }
}

/* --- Two-column split ----------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(var(--s-7), 5vw, var(--s-10));
  align-items: start;
}
/* Phones: the columns are stacked, so a desktop-sized gutter left a big hole
   between the photo and the text below it. */
@media (max-width: 619.98px) {
  .split {
    gap: var(--s-6);
  }
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
  }
  /* Short copy column holds its place while the taller column (a form) scrolls. */
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--header-h-scrolled) + var(--s-6));
  }
}

/* --- Next-step band: copy left, action right, vertically centred -------- */
.next-step {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.next-step .measure-sm { margin-bottom: 0; }
@media (min-width: 900px) {
  .next-step {
    grid-template-columns: 1fr auto;
    gap: var(--s-10);
  }
  .next-step__action { justify-self: end; }
}

/* --- Editorial photography ------------------------------------------------ */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--off-white-deep);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Fine rose corner rule — the recurring architectural device. */
.media::after {
  content: "";
  position: absolute;
  inset: auto -1px -1px auto;
  width: 46%;
  height: 46%;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  pointer-events: none;
}
.media--tall {
  aspect-ratio: 3 / 4;
}
.media--wide {
  aspect-ratio: 16 / 10;
}
.media--portrait-sm {
  aspect-ratio: 4 / 5;
}

/* --- Services list (plan.txt section 11: an editorial list, not 12 cards) -- */
.slist {
  border-top: 1px solid var(--line-neutral);
}
.slist__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--s-3) var(--s-5);
  padding: clamp(var(--s-6), 3vw, var(--s-7)) 0;
  border-bottom: 1px solid var(--line-neutral);
  transition: padding-left var(--dur-slow) var(--ease), border-color var(--dur) var(--ease);
}
/* Rose rule drawn in from the left on hover — the row equivalent of the
   card's top rule. */
.slist__row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.slist__row:hover::before {
  transform: scaleX(1);
}
.slist__row:hover {
  padding-left: var(--s-4);
}
.slist__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--rose);
}
.slist__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.014em;
  color: var(--purple);
}
.slist__desc {
  grid-column: 2 / 3;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
}
.slist__go {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  align-self: center;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-neutral);
  border-radius: 50%;
  color: var(--purple);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.slist__go svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slist__row:hover .slist__go {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--off-white);
  transform: translateX(4px);
}
/* Phones: the number sat low beside the big title and pushed the text
   inward, so it moves above the title and everything shares one left edge. */
@media (max-width: 759.98px) {
  .slist__row {
    grid-template-columns: 1fr auto;
    row-gap: var(--s-2);
  }
  .slist__num { grid-column: 1; grid-row: 1; }
  .slist__title { grid-column: 1; grid-row: 2; }
  .slist__desc { grid-column: 1; grid-row: 3; }
  .slist__go { grid-column: 2; grid-row: 2; }
}
@media (min-width: 760px) {
  .slist__row {
    grid-template-columns: auto minmax(0, 15rem) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(var(--s-5), 3vw, var(--s-8));
  }
  .slist__desc {
    grid-column: 3 / 4;
  }
  .slist__go {
    grid-column: 4 / 5;
  }
}

/* --- Process band ---------------------------------------------------------
   A dark band carrying a photograph, matching the hero contract.
   -------------------------------------------------------------------------- */
.section.on-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--purple);
}
/* The wash exists to hold type at AA over a photograph, so it is scoped to
   the bands that actually carry one. Interior pages have dark bands with no
   backdrop; those keep flat Royal Purple, which is already well past AA and
   is the brand colour rather than a near-black. Browsers without :has()
   simply get that flat purple everywhere — no contrast regression. */
.section.on-dark:has(.backdrop)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      rgba(11, 8, 25, 0.92) 0%,
      rgba(11, 8, 25, 0.74) 55%,
      rgba(11, 8, 25, 0.8) 100%
    ),
    radial-gradient(120% 90% at 22% 40%, transparent 0%, rgba(11, 8, 25, 0.5) 100%);
}

.process {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 700px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }
}
.process__step {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-neutral);
  transition: border-color var(--dur) var(--ease);
}
.process__step:hover {
  border-top-color: var(--rose);
}
.process__k {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--s-4);
}
.process__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: var(--s-3);
}
.process__d {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
/* Phones: the home page steps collapse into one banner row,
   Understand → Assess → Act → Support, with the detail left out. */
@media (max-width: 699.98px) {
  .process--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--s-3) var(--s-2);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line-on-dark);
  }
  .process--compact .process__step {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    padding: 0;
    border: 0;
  }
  .process--compact .process__k,
  .process--compact .process__d {
    display: none;
  }
  .process--compact .process__t {
    margin: 0;
    font-size: var(--fs-body);
  }
  .process--compact .process__step + .process__step::before {
    content: "\2192"; /* right arrow (→) */
    color: var(--rose);
  }
}

/* Dark-band variant — the step list also runs on the purple home page band. */
.on-dark .process__step {
  border-top-color: var(--line-on-dark);
}
.on-dark .process__k {
  color: var(--rose-soft);
}
.on-dark .process__t {
  color: var(--off-white);
}
.on-dark .process__d {
  color: var(--text-on-dark-muted);
}

/* --- Check list ----------------------------------------------------------- */
.checks {
  border-top: 1px solid var(--line-neutral);
}
.checks li {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-4);
  margin-inline: calc(var(--s-4) * -1);
  border-bottom: 1px solid var(--line-neutral);
  border-radius: var(--radius-sm, 4px);
  transition: background-color .25s ease, border-color .25s ease;
}
.checks li:hover {
  background: var(--off-white-deep);
  border-bottom-color: var(--line-strong);
}
.checks li:hover > svg {
  color: var(--rose-deep);
  transform: scale(1.08);
}
.checks li:hover strong {
  color: var(--rose-deep);
}
.checks li > svg {
  transition: color .25s ease, transform .25s ease;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--rose);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checks div {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}
.checks strong {
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--purple);
  transition: color .25s ease;
}
.checks span {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Check list on a dark band */
.on-dark .checks,
.on-dark .checks li {
  border-color: var(--line-on-dark);
}
.on-dark .checks li:hover {
  background: rgba(248, 249, 251, 0.05);
  border-bottom-color: var(--purple-soft);
}
.on-dark .checks li:hover > svg,
.on-dark .checks li:hover strong {
  color: var(--rose-bright);
}
.on-dark .checks li > svg {
  color: var(--rose-soft);
}
.on-dark .checks strong {
  color: var(--text-on-dark);
}
.on-dark .checks span {
  color: var(--text-on-dark-muted);
}

/* Two-up variant: for full-bleed bands where a single column leaves the
   right half of the row empty. */
@media (min-width: 800px) {
  .checks--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-8, 3rem);
  }
  .checks--cols li {
    margin-inline: 0;
    padding-inline: 0;
  }
  /* The grid draws its own top rule per column, so drop the list-level one. */
  .checks--cols {
    border-top: 0;
  }
  .checks--cols li:nth-child(-n + 2) {
    border-top: 1px solid var(--line-neutral);
  }
  .on-dark .checks--cols li:nth-child(-n + 2) {
    border-top-color: var(--line-on-dark);
  }
}

/* --- Pull quote ----------------------------------------------------------- */
.section--quote {
  background: var(--off-white-deep);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
.quote {
  max-width: 78ch;
  margin-inline: auto;
  text-align: center;
}
.quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  /* Full line box: with line-height < 1 the glyph overflowed upward and got
     clipped by the carousel viewport's overflow. */
  line-height: 1;
  color: var(--rose);
  margin-bottom: var(--s-2, 0.5rem);
}
/* About 20px on phones, 26px on desktop. */
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-align: center;
  hyphens: manual;
  max-width: none;
}
.quote__by {
  margin-top: var(--s-4, 1rem);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}


/* --- Testimonial carousel ------------------------------------------------- */
.quotes {
  --quotes-gap: var(--s-6, 2rem);
}
.quotes__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline-offset: 4px;
}
.quotes__viewport::-webkit-scrollbar {
  display: none;
}
.quotes__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quotes__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding-inline: var(--quotes-gap);
  display: flex;
  justify-content: center;
  /* Slides stretch to the tallest quote; centring splits the slack above and
     below a short quote instead of dumping it all under the attribution. */
  align-items: center;
}
.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4, 1rem);
  margin-top: var(--s-4, 1rem);
}
.quotes__nav[hidden] {
  display: none;
}
.quotes__arrow {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-neutral);
  border-radius: 50%;
  background: transparent;
  color: var(--rose);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.quotes__arrow:hover {
  border-color: var(--rose);
}
.quotes__arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}
.quotes__dots {
  display: flex;
  align-items: center;
  gap: var(--s-3, 0.75rem);
}
.quotes__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 1px solid var(--rose);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.quotes__dot[aria-current="true"] {
  background: var(--rose);
}

@media (prefers-reduced-motion: reduce) {
  .quotes__viewport {
    scroll-behavior: auto;
  }
}

/* --- Insight cards -------------------------------------------------------- */
.insight {
  display: block;
  min-height: 100%;
  padding-top: var(--s-5);
  padding-bottom: var(--s-4);
  border-top: 1px solid var(--line-neutral);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.insight * {
  cursor: pointer;
}
.insight:hover {
  border-top-color: var(--rose);
}
.insight__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--s-4);
}
.insight__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.35;
  color: var(--purple);
  margin-bottom: var(--s-3);
  background-image: linear-gradient(var(--rose), var(--rose));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--dur-slow) var(--ease);
  display: inline;
}
.insight:hover .insight__t {
  background-size: 100% 1px;
}
.insight__x {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}
.insight__go {
  margin-top: var(--s-5);
}
/* Cards with a button: pin it to the card foot so side-by-side buttons line up. */
.insight--action {
  display: flex;
  flex-direction: column;
}
.insight--action .insight__t {
  align-self: flex-start;
}
.insight--action .insight__x {
  margin-bottom: var(--s-5);
}
.insight--action .insight__go {
  margin-top: auto;
  align-self: flex-start;
}
.insight:hover .insight__go.btn--secondary {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--off-white);
}
.insight:hover .insight__go.btn--primary {
  background: var(--purple-deep);
}
/* --- Resource cards — .card lift, plus a rose fill that rises on hover ---- */
.rescard {
  min-height: 100%;
  padding-bottom: clamp(var(--s-7), 4vw, var(--s-8));
}
/* Overrides .card's warm wash with a fuller rise, wiped in from the base. */
.rescard::after {
  background: linear-gradient(to top, rgba(184, 115, 74, 0.16), rgba(184, 115, 74, 0.02) 70%, transparent);
  opacity: 1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-slow) var(--ease-out);
}
.rescard:hover::after,
.rescard:focus-visible::after {
  transform: scaleY(1);
}
.rescard:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.rescard:focus-visible::before {
  transform: scaleX(1);
}
.rescard > * {
  position: relative;
  z-index: 1;
}
.rescard__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--s-4);
}
.rescard__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.35;
  color: var(--purple);
  max-width: var(--measure-sm);
}
.rescard__x {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: var(--measure);
  margin-bottom: var(--s-6);
}
.rescard__go {
  margin-top: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-neutral);
  border-radius: 50%;
  color: var(--purple);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rescard__go svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rescard:hover .rescard__go,
.rescard:focus-visible .rescard__go {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--off-white);
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .rescard,
  .rescard::after,
  .rescard__go {
    transition: none;
  }
  .rescard:hover,
  .rescard:focus-visible {
    transform: none;
  }
}

/* --- Contact info list ---------------------------------------------------- */
.cinfo {
  border-top: 1px solid var(--line-neutral);
}
.cinfo__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-2) var(--s-4);
  align-items: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-neutral);
}
.cinfo__item > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--rose);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
@media (min-width: 620px) {
  .cinfo__item {
    gap: var(--s-5);
  }
}
.cinfo__k {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose);
}
.cinfo__v {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--slate);
}
.cinfo__v a:hover {
  color: var(--rose);
}

/* --- Final CTA band -------------------------------------------------------
   The one Royal Purple conversion moment (plan.txt section 11).
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    var(--purple-mid) 0%,
    var(--purple) 45%,
    var(--purple-deep) 100%
  );
  color: var(--text-on-dark);
  padding-block: var(--section-y);
}
/* Fine geometric arc — thin line, no fill, per the graphic language. */
.cta::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(184, 115, 74, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
}
.cta .h1 {
  color: var(--off-white);
  max-width: 16ch;
}
.cta__p {
  margin-top: var(--s-5);
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-on-dark);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-7);
}

/* Philosophy split: the tall photo leaves the text column short, so centre the
   copy against the image instead of stranding it at the top. */
@media (min-width: 900px) {
  .split--centered {
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
  }
  .split--centered .measure {
    max-width: none;
  }
}

/* Certification split: the checklist is shorter than the photo column, so centre
   it against the image instead of stranding blank space beneath it. */
@media (min-width: 900px) {
  .split--v-center {
    align-items: center;
  }
}

/* --- Office map band ------------------------------------------------------- */
.mapband {
  padding-top: 0;
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}
.mapband__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-neutral);
  border-radius: var(--r-card);
  background: rgba(26, 19, 51, 0.04);
}
.mapband__frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.85);
}
@media (max-width: 720px) {
  .mapband__frame iframe {
    height: 300px;
  }
}
.mapband__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-4);
}
.mapband__foot p {
  font-size: var(--fs-body);
  color: var(--slate);
  margin: 0;
}

/* --- Intro split ----------------------------------------------------------
   Section heading on the left, a supporting panel beside it, with the card
   grid running full width underneath.
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .split--intro {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

/* --- Registration proof panel --------------------------------------------- */
.regcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--gray);
  border-left: 2px solid var(--rose);
  border-radius: var(--r-card);
}
.regcard__k {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}
.regcard__v {
  margin-top: var(--s-3);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.45;
  color: var(--purple);
}
.regcard__n {
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}
.regcard .link {
  margin-top: auto;
  padding-top: var(--s-5);
}

/* --- Hero trust strip ------------------------------------------------------
   A single mono line under the page-head CTAs. Deliberately quiet: the
   credentials register without competing with the headline. plan.txt 04
   puts mono on metadata, which is exactly what these are.
   -------------------------------------------------------------------------- */
.phead__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Escapes the global prose measure — this is a metadata line, not prose,
     and it should run as one row until the viewport genuinely forces a wrap. */
  max-width: none;
  margin-bottom: 0;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.phead__trust i {
  font-style: normal;
  color: var(--rose);
}
/* The lead credential. CPA registration is the one claim on this page a
   visitor is actually vetting us on, so it gets the rose and the shield and
   steps out of the muted row rather than sitting inside it as item one. */
.phead__trust .is-lead {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border: 1px solid var(--rose-deep);
  border-radius: 999px;
  background: rgba(184, 115, 74, 0.12);
  color: var(--rose-bright);
  font-weight: 500;
}
.phead__trust .is-lead svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* --- Keyword chips ---------------------------------------------------------
   The example lists under each tax lane. Rendered as a wrapped row of
   hairline tags rather than bullets: a visitor scanning for "rental" or
   "GST/HST" finds their own situation in one pass, which is the whole
   wayfinding requirement for this page.
   -------------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-block;
  padding: 5px var(--s-3);
  border: 1px solid var(--line-neutral);
  border-radius: var(--r-btn);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.on-dark .chip {
  border-color: var(--line-on-dark);
  background: transparent;
  color: var(--text-on-dark-muted);
}

/* --- Tax lanes -------------------------------------------------------------
   The four "where do I go" blocks: Personal, Self-Employed and Rental,
   Corporate, CRA. The whole block is the link, so the target is large on
   touch and the four routes are unmissable.
   -------------------------------------------------------------------------- */
.lanes {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 860px) {
  .lanes {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
  }
}
.lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(var(--s-6), 3vw, var(--s-7));
  background: var(--white);
  border: 1px solid var(--line-neutral);
  border-radius: var(--r-card);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
/* Rose rule across the top, drawn on hover - matches the card and slist
   device so the page reads as one family. */
.lane::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.lane:hover,
.lane:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.lane:hover::before,
.lane:focus-visible::before {
  transform: scaleX(1);
}
.lane__k {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rose);
}
.lane__k svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lane__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--purple);
  margin: 0;
}
.lane__x {
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 46ch;
}
.lane .chips {
  margin-top: var(--s-1);
}
/* A real-looking button (the whole card is the link), pinned to the card foot. */
.lane__go,
.insight__go {
  white-space: normal;
  text-align: left;
}
.lane__go {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.6875rem;
  padding: 0.75em 1.15em;
  gap: var(--s-2);
}
.lane__go svg {
  width: 12px;
  height: 12px;
}
.lane:hover .lane__go {
  background: var(--purple-deep);
}
.lane:hover .lane__go svg {
  transform: translateX(4px);
}

/* --- Planning sets ---------------------------------------------------------
   Beyond Filing. Four audiences, each a heading over its own chip row. Runs
   on the dark band, so the chips take their on-dark treatment.
   -------------------------------------------------------------------------- */
.planset {
  display: grid;
  gap: var(--s-6);
  border-top: 1px solid var(--line-on-dark);
  padding-top: var(--s-6);
}
@media (min-width: 720px) {
  .planset {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-7);
  }
}
.planset__g {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.planset__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--off-white);
  margin: 0;
}
/* Tag groups on a light band take the navy heading colour and light rule. */
.bg-white .planset,
.bg-offwhite .planset {
  border-top-color: var(--line-neutral);
}
.bg-white .planset__t,
.bg-offwhite .planset__t {
  color: var(--purple);
}

/* --- Service chain ---------------------------------------------------------
   Bookkeeping to reporting to corporate tax to owner tax to planning. The
   arrows are the argument: these are not separate engagements. Horizontal
   on desktop, a vertical run with down-arrows on mobile.
   -------------------------------------------------------------------------- */
.chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chain li {
  position: relative;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line-neutral);
  border-radius: var(--r-btn);
  /* The chain runs on the white band, so the tiles take the paper ground to
     read as objects rather than as bare outlines. */
  background: var(--off-white);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--purple);
}
/* Connector between links in the chain. Sits in the gap, never on the first. */
.chain li + li {
  margin-top: var(--s-7);
}
.chain li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--s-7) * -1);
  height: var(--s-7);
  width: 1px;
  background: var(--line-strong);
}
.chain li + li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--rose);
  border-bottom: 1px solid var(--rose);
  transform: translateX(-50%) rotate(45deg);
}
/* The last link is the payoff - planning - so it carries the rose edge. */
.chain li:last-child {
  border-color: var(--rose);
  color: var(--rose-deep);
}
@media (min-width: 900px) {
  .chain {
    flex-direction: row;
    align-items: stretch;
  }
  .chain li {
    flex: 1;
    display: grid;
    place-items: center;
    padding: var(--s-5) var(--s-3);
  }
  .chain li + li {
    margin-top: 0;
    margin-left: var(--s-6);
  }
  .chain li + li::before {
    left: calc(var(--s-6) * -1);
    top: 50%;
    height: 1px;
    width: var(--s-6);
  }
  .chain li + li::after {
    left: -9px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* --- Pillars ---------------------------------------------------------------
   Why Kanac. Deliberately not six boxes - a two-column editorial run where
   the hairlines do the dividing, so the section reads as an argument rather
   than a feature grid.
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-neutral);
}
@media (min-width: 820px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(var(--s-7), 5vw, var(--s-9));
  }
}
.pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--s-3) var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-neutral);
}
.pillars__n {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  color: var(--rose);
  padding-top: 4px;
}
.pillars__t {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--text-strong);
  margin: 0;
}
.pillars__x {
  grid-column: 2 / 3;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 44ch;
}
.on-dark .pillars,
.on-dark .pillars li {
  border-color: var(--line-on-dark);
}
.on-dark .pillars__t {
  color: var(--off-white);
}
.on-dark .pillars__x {
  color: var(--text-on-dark-muted);
}

/* --- FAQ accordion (service pages) ---------------------------------------- */
.faq {
  max-width: 860px;
  border-top: 1px solid var(--line-neutral);
}
.faq__item {
  border-bottom: 1px solid var(--line-neutral);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--purple);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rose);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.faq__item[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* site.js sets the start and end heights; the timing lives here. The bottom
   space sits on the last child so a 0 height hides everything. */
.faq__a {
  max-width: 720px;
  overflow: hidden;
  transition: height .35s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.faq__a > :last-child { padding-bottom: 1.5rem; }
.faq__item.is-closing .faq__a { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after, .faq__a { transition: none; }
}
.faq__a p + p { margin-top: .75rem; }
.faq__a .link { display: inline; }
#faq .section-head {
  margin-inline: auto;
  text-align: center;
}
#faq .section-head .measure { margin-inline: auto; }
.faq { margin-inline: auto; }

/* --- CPA Ontario mark -------------------------------------------------------
   Supplied artwork, used as-is per CPA Ontario's identity guidelines: no
   recolouring, no added elements, clear space around it. */
.stat__logo {
  display: block;
  height: 34px;
  width: auto;
}
.regcard__logo {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: var(--s-5);
}

/* --- Three-option lanes --------------------------------------------------- */
@media (min-width: 1100px) {
  .lanes--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- About the CEO -------------------------------------------------------- */
.leader {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 860px) {
  .leader {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-9);
  }
}
.leader__photo {
  max-width: 440px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--gray);
}
.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.leader__role {
  margin-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* --- Fee schedule ----------------------------------------------------------
   An editorial price list: numbered group heading on the left, hairline rows
   on the right. Prices sit in mono so the figures line up as data. */
.fees {
  display: grid;
  gap: var(--s-8);
}
.fees__group {
  display: grid;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-neutral);
}
@media (min-width: 900px) {
  .fees__group {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--s-8);
  }
}
.fees__n {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  color: var(--rose);
}
.fees__t {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.15;
  color: var(--purple);
}
.fees__note {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: 34ch;
}
.fees__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line-neutral);
}
.fees__row:first-child {
  padding-top: 0;
}
.fees__row dt {
  font-weight: 500;
  color: var(--purple);
}
.fees__row dt span {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--text-muted);
}
.fees__row dd {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: var(--fs-data);
  font-variant-numeric: tabular-nums;
  color: var(--black, #0b0b0d);
  white-space: nowrap;
}
.fees__foot {
  margin-top: var(--s-8);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.fees__foot .link {
  display: inline-flex;
}

/* --- Heading with an action beside it (service-page steps) ---------------- */
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4) var(--s-7);
  margin-bottom: var(--s-8);
}
.head-row .section-head {
  margin-bottom: 0;
}

/* --- Service list — one card, the services as rows, one button ------------ */
.offer {
  display: grid;
  gap: var(--s-7);
  padding: clamp(var(--s-6), 4vw, var(--s-8));
  background: var(--white);
  border: 1px solid var(--line-neutral);
  border-radius: var(--r-card);
}
.offer__list {
  display: grid;
  gap: var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .offer__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.offer__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
}
.offer__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(184, 115, 74, 0.1);
  color: var(--rose);
}
.offer__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer__t {
  margin: 0 0 var(--s-3);
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.3;
  color: var(--purple);
}
.offer__x {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}
.offer__go {
  justify-self: center;
}

/* --- Short page head — the fee tables show on the first screen ------------ */
.phead--short {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
/* Fees: leaner still, so the schedule starts above the fold on arrival. */
.phead--fees {
  padding-top: calc(var(--header-h) + var(--notice-h) + clamp(1.5rem, 3vw, 2.25rem));
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.phead--fees .h1 {
  max-width: none;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
}
.phead--fees .phead__lede {
  margin-top: var(--s-4);
  max-width: 72ch;
}
.phead--fees .phead__trust {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
}

/* --- Social cards carry the platform's own icon --------------------------- */
.rescard__brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  background: var(--purple);
  color: var(--off-white);
}
.rescard__brand svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Numbered steps in a row (client portal) ------------------------------ */
.steps {
  display: grid;
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  counter-increment: step;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-neutral);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  color: var(--rose);
}
.steps strong {
  display: block;
  margin-bottom: var(--s-2);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--purple);
}
.steps p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* --- Long-form text (privacy policy) -------------------------------------- */
.prose {
  max-width: 72ch;
}
.prose--wide,
.prose--wide p {
  max-width: none;
}
.prose h2 {
  margin: var(--s-8) 0 var(--s-4);
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--purple);
}
.prose p,
.prose li {
  color: var(--slate);
  line-height: 1.7;
}
.prose p + p,
.prose ul {
  margin-top: var(--s-4);
}
.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}
.prose li + li {
  margin-top: var(--s-2);
}
.prose a {
  color: var(--purple);
  text-decoration: underline;
}

/* --- Comparison table (CPA page) -----------------------------------------
   Three columns from 760px; below that each row stacks, and the inline
   labels stand in for the column headers. */
.compare {
  border-top: 1px solid var(--line-neutral);
}
.compare__row {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-neutral);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.compare__row--head {
  display: none;
}
.compare__k {
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--purple);
}
.compare__yes {
  display: flex;
  gap: var(--s-3);
  color: var(--text-strong);
}
.compare__yes > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--rose);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare__no {
  color: var(--text-muted);
}
.compare__label {
  font-style: normal;
  font-weight: 500;
}
@media (min-width: 760px) {
  .compare__row,
  .compare__row--head {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.1fr;
    gap: var(--s-6);
    align-items: start;
  }
  .compare__row--head {
    padding: var(--s-4) 0;
    font-family: var(--font-mono);
    font-size: var(--fs-eyebrow);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .compare__row--head > :nth-child(2) {
    color: var(--rose);
  }
  .compare__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
