/* ==========================================================================
   Get Rich Off Wisdom — homepage
   Implemented from the Claude Design handoff (`Get Rich Off Wisdom - Homepage.dc.html`).
   Desktop (>=1280px) is a pixel match for the prototype; everything below is
   the responsive behaviour the prototype didn't specify.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:          #0A1D2E;
  --emerald:       #16B37A;
  --emerald-deep:  #0E7A55;   /* emerald that passes contrast on the cream bg */
  --gold:          #C79A55;
  --gold-pale:     #E6D2AE;

  /* Surfaces */
  --cream:         #F7F6F3;
  --white:         #FFFFFF;
  --border:        #E4E1DA;
  --track:         #EDEBE6;
  --card-a:        #12283C;   /* hero card gradient start */
  --card-b:        #0C2033;   /* hero card gradient end */
  --mint:          #EDF6F1;
  --mint-border:   #CBE5D8;

  /* Ink */
  --ink-on-emerald: #04160E;
  --ink-on-gold:    #1A1204;
  --muted:          #56666F;  /* body copy on cream */
  --muted-warm:     #8B8578;  /* metadata on cream */
  --slate:          #7E93A1;  /* metadata on navy */
  --slate-light:    #A9BAC5;  /* body copy on navy */
  --pale:           #E8EDF0;  /* nav links */

  /* Placeholder art */
  --stripes: repeating-linear-gradient(115deg, #E4E1DA 0 2px, #F2F0EB 2px 12px);

  /* Layout */
  --shell:  1280px;
  --gutter: 32px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }

/* Any class that sets `display` outranks the browser's own `[hidden]` rule, so
   an element toggled with el.hidden stays visible. Settle it once, site-wide,
   rather than remembering to re-hide per component. */
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }

/* ---- Sub-brand: Paragon Tax Service -------------------------------------
   The DBA trades under the same palette with a different emphasis — gold
   where the parent brand uses emerald. Remapping the variables rather than
   rewriting rules means every button, eyebrow, link and bullet on the page
   follows, including ones added later.

   Scoped to <main>, so the header and footer stay Get Rich Off Wisdom.

   --emerald-deep is not the brand gold: #C79A55 on cream is 2.37:1, which
   fails text contrast. #8A6A2F is 4.64:1 and passes, so text and links use
   that while fills keep the brighter gold. */
[data-brand='paragon'] {
  --emerald: var(--gold);
  --emerald-deep: #8A6A2F;
  --ink-on-emerald: #1A1206;
}
/* The hero wash is a literal rgba, so it has to be restated. */
[data-brand='paragon'] .page-hero__glow {
  background: radial-gradient(120% 90% at 78% 8%, rgba(199, 154, 85, 0.24), transparent 60%);
}

a { color: var(--emerald-deep); text-decoration: none; }

img, svg { max-width: 100%; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Parked above the viewport rather than at a large negative `left`, so it
   never contributes to horizontal scroll width. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-300%);
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

@keyframes riseIn {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* --------------------------------------------------------------------------
   Shared primitives
   -------------------------------------------------------------------------- */
.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px var(--gutter) 24px;
}
#services { padding-top: 104px; }   /* the one section the prototype pads differently */
/* Closes the gap to whatever follows. Section padding is 96px top on every
   section, which reads as a void under a short lead paragraph; this halves it
   from this section's side so the next one keeps its own rhythm elsewhere. */
.section--to-tight { padding-bottom: 0; }
.section--to-tight + .section { padding-top: 52px; }
.section--no-lead { padding-top: 48px; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section__head--tight    { margin-bottom: 40px; }
.section__head--baseline { align-items: baseline; gap: 20px; }

.section__headline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.section__headline--wide { max-width: 760px; }

.section__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.section__note {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-warm);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--emerald-deep);
}
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-size: clamp(2rem, 4.07vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.h2--lg {
  font-size: clamp(2.125rem, 4.22vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2--xl {
  font-size: clamp(2.25rem, 4.85vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.accent { color: var(--emerald); }

.text-link {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--emerald-deep);
}
.text-link:hover { color: var(--navy); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { font-size: 13px; padding: 12px 20px; }
.btn--md { font-size: 13px; padding: 16px 26px; }
.btn--lg { font-size: 14px; padding: 18px 30px; }

.btn--emerald { background: var(--emerald); color: var(--ink-on-emerald); }
.btn--navy    { background: var(--navy);    color: var(--white); }

.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}
.btn--outline-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn--ghost-hairline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 15px;
}

/* Hover states, lifted from the prototype's `style-hover` attributes. */
.nav-cta:hover              { background: var(--gold);    color: var(--ink-on-gold); }
.hero__actions .btn--emerald:hover     { background: var(--white);  color: var(--navy); }
.hero__actions .btn--ghost-light:hover { border-color: var(--gold);  color: var(--gold); }
.btn--navy:hover            { background: var(--emerald); color: var(--ink-on-emerald); }
.btn--outline-navy:hover    { background: var(--navy);    color: var(--white); }
.btn--ghost-hairline:hover  { border-color: var(--emerald); color: var(--emerald); }

/* Card grids: auto-fit minimums are tuned so the desktop shell (1216px of
   content) lands on exactly 4 / 3 / 5 columns, then steps down on its own.
   The `min(…, 100%)` floor keeps a track from outgrowing its container on
   very narrow screens, where a bare minmax() minimum would force overflow. */
.card-grid { display: grid; }
.card-grid--services { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card-grid--steps    { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.card-grid--formats  { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 29, 46, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: inherit;
}
.brand__mark { flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__kicker {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.brand__word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
}

.primary-nav {
  display: flex;
  gap: 26px;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.primary-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pale);
  transition: color 0.2s ease;
}
.primary-nav a:hover { color: var(--emerald); }

.nav-cta { flex: 0 0 auto; }

/* Services dropdown --------------------------------------------------------
   Hover and focus-within both open it, so it works for a mouse and for a
   keyboard. The parent remains a real link because touch has no hover: a tap
   goes to the overview page, which lists the same things. */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-item__caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.nav-item--has-menu:hover .nav-item__caret,
.nav-item--has-menu:focus-within .nav-item__caret { transform: translateY(1px) rotate(-135deg); }

.subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 268px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 30;
}
/* NO HOVER BRIDGE HERE, DELIBERATELY. There was one — an invisible 10px pad
   above the menu — and it overlapped the bottom of a 15px-tall nav link, so
   once the menu opened a click on SERVICES hit the pad instead of the link and
   went nowhere. On touch, where a tap is hover-then-click, that made the item
   unusable. None is needed: the menu's top edge already meets the link's
   bottom edge, so the pointer never crosses dead space. If a gap is ever
   introduced, bridge it with padding INSIDE .subnav, never with an overlay
   that reaches back over the link. */
.nav-item--has-menu:hover .subnav,
.nav-item--has-menu:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.subnav a {
  display: block;
  padding: 11px 14px;
  border-radius: 11px;
  transition: background-color 0.15s ease;
}
.subnav a:hover, .subnav a:focus-visible { background: rgba(255, 255, 255, 0.08); }
.subnav a[aria-current="page"] { background: rgba(22, 179, 122, 0.16); }
.subnav__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--white);
  text-transform: none;
}
.subnav a[aria-current="page"] .subnav__label { color: var(--emerald); }
@media (prefers-reduced-motion: reduce) {
  .subnav { transition: none; }
}


.nav-toggle {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 8%, rgba(22, 179, 122, 0.22), transparent 60%);
}
.hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 92px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: riseIn 0.7s ease both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  border: 1px solid rgba(199, 154, 85, 0.5);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-pale);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero__title {
  font-size: clamp(3rem, 7.2vw, 92px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(1.25rem, 2.04vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero__body {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-light);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-size: clamp(1.5rem, 2.35vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}

/* Cadence card ----------------------------------------------------------- */
.cadence-card {
  background: linear-gradient(160deg, var(--card-a), var(--card-b));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.cadence-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cadence-card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--slate);
}
.cadence-card__status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
}

.cadence-list { display: flex; flex-direction: column; gap: 10px; }
.cadence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 15px 18px;
}
.cadence-row__text { display: flex; flex-direction: column; gap: 3px; }
.cadence-row__task { font-size: 15px; font-weight: 700; }
.cadence-row__when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.cadence-row__state {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--emerald);
  white-space: nowrap;
}
.cadence-row__state--gold { color: var(--gold-pale); }

.cadence-card__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.tile--gold { background: rgba(199, 154, 85, 0.14); }
.tile__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.tile__value {
  font-size: 27px;
  font-weight: 800;
  margin-top: 6px;
}
.tile--gold .tile__label,
.tile--gold .tile__value { color: var(--gold-pale); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 29, 46, 0.1);
}
.service-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--emerald);
}
.service-card__tag--gold { color: var(--gold); }
.service-card__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.service-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.service-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.service-card__cta {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.service-card__cadence {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-warm);
}

.service-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  justify-content: space-between;
  gap: 16px;
}
.service-card--dark .service-card__name { line-height: 1.15; }
.service-card__link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald);
}
.service-card__link:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Step cards — now used by the calculators index, the service pages and the
   credentials list on About.
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 218px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 29, 46, 0.1);
}
.step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-card__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--emerald);
}
.step-card__when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted-warm);
}
.step-card__title {
  font-size: clamp(1.5rem, 2.35vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.step-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
/* --------------------------------------------------------------------------
   Start here
   -------------------------------------------------------------------------- */
.start {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 96px;
}
/* On the homepage "Start here" sits directly under the hero. The margin would
   show as a stray cream stripe between two full-width blocks, and the top
   hairline would sit against navy. Interior pages are unaffected — they open
   with .page-hero, not .hero. */
.hero + .start,
.proof-band + .start { margin-top: 0; border-top: 0; }
.start__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 84px var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.start__copy { display: flex; flex-direction: column; gap: 16px; }

/* The firm's own account of itself, above the router. Was the About page. */
.start__lead {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 84px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.start__lead > * { max-width: 72ch; }
.start__lead .h3-sub { margin-bottom: 2px; }
/* The router follows directly, so it does not need a second full top padding. */
/* Tenets and credentials side by side, so the band uses its width instead of
   leaving half of it empty under a 72ch prose column. */
.start__facts {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px 56px;
  align-items: start;
}
.start__facts .h3-sub { margin-top: 0; }
/* When nothing follows, this block closes the band and owns its bottom space. */
.start__facts:last-child { padding-bottom: 84px; }
@media (max-width: 1000px) { .start__facts { grid-template-columns: 1fr; gap: 10px; } }

.start__facts + .start__inner { padding-top: 52px; }
.start__facts + .start__inner::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 0;
  border-top: 1px solid var(--border);
}
.start__inner { position: relative; }

.journey-list { display: flex; flex-direction: column; gap: 12px; }
.journey {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  color: var(--navy);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.journey:hover,
.journey:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.journey__label {
  font-size: clamp(1.125rem, 1.65vw, 21px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.journey__stage {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   From the desk
   -------------------------------------------------------------------------- */
.desk {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.desk__side { display: flex; flex-direction: column; gap: 20px; }

.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 29, 46, 0.1);
}

.article--lead { display: flex; flex-direction: column; }
.article--row {
  flex: 1;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.article--gold {
  flex: 1;
  background: var(--gold);
  border-color: var(--gold);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--ink-on-gold);
}

/* Placeholder artwork from public/img/. To use real photography, replace the
   file or override background-image on the specific card — nothing else needs
   to change. `cover` keeps the composition centred at any aspect ratio. */
.article__media {
  display: block;
  background-image: var(--stripes);        /* fallback if an SVG is missing */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.article__media--art-ascent { background-image: url("/img/editorial-ascent.svg"); }
.article__media--art-ledger { background-image: url("/img/editorial-ledger.svg"); }
.article__media--art-fork   { background-image: url("/img/editorial-fork.svg"); }
.article__media--lead {
  height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.article__media--thumb {
  flex: 0 0 116px;
  align-self: stretch;
  border-radius: 16px;
}

.article__body { display: flex; flex-direction: column; gap: 8px; }
.article--lead .article__body { padding: 30px; gap: 12px; }

.article__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--emerald-deep);
}
.article--gold .article__meta { color: inherit; }

.article__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.article__title--lead {
  font-size: clamp(1.625rem, 2.66vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.article__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.creed {
  background: var(--navy);
  color: var(--white);
  margin-top: 96px;
}
.creed__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 100px var(--gutter);
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 48px;
  align-items: center;
}
.creed__copy { display: flex; flex-direction: column; gap: 14px; }
.creed__intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-light);
}
.creed__copy p:last-child { margin-top: 8px; }

.creed__quote {
  border-left: 3px solid var(--emerald);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.creed__text {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.54vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.creed__attr {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.creed__mark { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Media — format cards
   -------------------------------------------------------------------------- */
.format-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* A format with nothing published reads as plainly unfinished rather than as
   a live offering with an empty shelf behind it. */
.format-card--soon { background: transparent; border-style: dashed; }
.format-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.format-card__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.format-card__status {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
  white-space: nowrap;
}
.format-card--soon .format-card__status { color: var(--muted-warm); }
.format-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.format-card__count {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-warm);
  text-transform: uppercase;
}

/* Social cards — inert until src/data/site.js has real accounts in it. */
.social-card {
  /* The grid stretches the <li>; the anchor inside has to fill it or a card
     with an extra line of blurb stands taller than the rest of the row. */
  height: 100%;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 26px 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 29, 46, 0.18);
}
.social-card__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.social-card__handle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold-pale);
}
.social-card__blurb { font-size: 14px; line-height: 1.6; color: var(--slate-light); text-wrap: pretty; }
.social-card__go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--emerald);
}

/* Filter chips ------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.filter-bar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-warm);
}
.filter-bar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip__n { font-family: var(--mono); font-size: 11px; opacity: 0.6; margin-left: 4px; }

.filter-empty {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-warm);
  padding: 28px 0;
}
.article__off { color: var(--muted-warm); }

/* Subscribe ---------------------------------------------------------------- */
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe .field__input { flex: 1 1 220px; min-width: 0; }
.subscribe .btn { flex: 0 0 auto; }
.subscribe__mailto { display: inline-block; text-align: center; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.join {
  max-width: var(--shell);
  margin: 96px auto 0;
  padding: 0 var(--gutter);
}
.join__inner {
  background: var(--emerald);
  border-radius: 32px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  color: var(--ink-on-emerald);
}
.join__copy { display: flex; flex-direction: column; gap: 16px; }
.join__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.join__title {
  font-size: clamp(2.125rem, 4.38vw, 56px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.join__body {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(4, 22, 14, 0.72);
}
.join__form-wrap { display: flex; flex-direction: column; gap: 14px; }
.join__note {
  font-size: 13px;
  color: rgba(4, 22, 14, 0.65);
}

.join__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.join__actions .btn { width: 100%; text-align: center; }
/* A hairline button on the emerald panel — the light ghost variant has no
   contrast against it. */
.btn--ghost-ink {
  border: 1px solid rgba(4, 22, 14, 0.35);
  color: var(--ink-on-emerald);
}
.btn--ghost-ink:hover { background: var(--ink-on-emerald); color: var(--emerald); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 96px;
  background: var(--navy);
  color: var(--slate-light);
}
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 64px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 340px;
}
.site-footer__blurb { font-size: 14px; line-height: 1.6; }

.site-footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  margin: 0;
}
.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-light);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--emerald); }

.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__bar-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px var(--gutter);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Two-column layouts fold before the card grids need to. */
@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .start__inner,
  .desk,
  .creed__inner,
  .join__inner {
    grid-template-columns: 1fr;
  }
  .start__inner  { gap: 40px; padding-top: 68px; padding-bottom: 68px; }
  .creed__inner  { gap: 36px; padding-top: 76px; padding-bottom: 76px; }
  .join__inner   { gap: 36px; padding: 56px 40px; }
  .creed__quote  { padding-left: 28px; }
}

/* Header collapses to a menu. */
@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; gap: 16px; }
  .nav-toggle { display: flex; }

  .primary-nav,
  .nav-cta { display: none; }

  .site-header.is-open .primary-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    order: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
  }
  .site-header.is-open .primary-nav > a,
  .site-header.is-open .primary-nav .nav-item__link {
    width: 100%;
    padding: 14px 0;
  }

  /* No hover on a phone: the submenu is always open, indented under its
     parent, rather than a menu nobody can reach. */
  .site-header.is-open .nav-item { display: block; width: 100%; }
  .site-header.is-open .nav-item__caret { display: none; }
  .site-header.is-open .subnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    margin-left: 2px;
  }
  .site-header.is-open .subnav a { padding: 11px 0 11px 12px; }
  .site-header.is-open .nav-cta {
    display: inline-block;
    order: 4;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
  }

  .section { padding-top: 76px; }
  #services { padding-top: 80px; }
  .start, .creed, .site-footer { margin-top: 76px; }
  .join { margin-top: 76px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero__copy  { gap: 22px; }
  .hero__stats { gap: 28px; }
  .stat { flex: 1 1 140px; }

  .cadence-card { padding: 24px; border-radius: 24px; }

  .section__head { align-items: flex-start; }

  .service-card,
  .step-card { min-height: 0; }

  .journey { padding: 18px 20px; gap: 12px; }

  .article--lead .article__body { padding: 24px; }
  .article__media--lead { height: 220px; }

  .join__inner { padding: 44px 28px; border-radius: 26px; }

  .site-footer__cols { gap: 32px 40px; }
}

@media (max-width: 520px) {
  .journey { flex-direction: column; align-items: flex-start; gap: 6px; }
  .article--row { flex-direction: column; align-items: stretch; gap: 16px; }
  .article__media--thumb { flex: 0 0 96px; height: 96px; }
  .cadence-card__tiles { grid-template-columns: 1fr; }
  .site-footer__cols { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover,
  .step-card:hover,
  .article:hover { transform: none; }
}

@media print {
  .site-header, .nav-toggle, .skip-link { display: none; }
  body { background: #fff; }
  .hero, .creed, .site-footer { background: #fff; color: #000; }
}

/* ==========================================================================
   Interior pages
   Added when the site grew past the homepage. Every value below is drawn from
   the tokens at the top of this file — no new colours, no new type families.
   ========================================================================== */

/* Active nav item ---------------------------------------------------------- */
.primary-nav a[aria-current="page"] { color: var(--emerald); }

/* Interior hero ------------------------------------------------------------ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 8%, rgba(22, 179, 122, 0.22), transparent 60%);
}
.page-hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 76px var(--gutter) 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.page-hero--slim .page-hero__inner { padding: 60px var(--gutter) 64px; }

.page-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5.3vw, 68px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 16ch;
}
.page-hero__title--article { max-width: 22ch; }

/* The line that ties a trading name back to the firm. Gold, small and directly
   under the H1, so it is read as part of the name rather than as body copy. */
.page-hero__dba {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -4px;
  max-width: 60ch;
  text-wrap: pretty;
}

.page-hero__lede {
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate-light);
  text-wrap: pretty;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--slate);
}
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--emerald); }

.article-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}

/* Two-column body + sidebar ------------------------------------------------ */
.prose-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 56px;
  align-items: start;
}
.prose-grid__main { display: flex; flex-direction: column; gap: 20px; }
.prose-grid__aside { position: sticky; top: 104px; }
/* With no sidebar the column would run the full 1216px shell — far too long a
   line to read comfortably. */
.prose-grid--single { grid-template-columns: minmax(0, 1fr); }
.prose-grid--single .prose-grid__main { max-width: 72ch; }

/* ---- "What to bring" disclosure ------------------------------------------
   A <details> whose summary is drawn as a button. The marker is removed in two
   ways because Safari ignores `display` on the summary element itself and only
   honours ::-webkit-details-marker. */
.doc-drop { margin-top: 4px; }
.doc-drop > summary { list-style: none; }
.doc-drop > summary::-webkit-details-marker { display: none; }
.doc-drop__btn {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  padding: 13px 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.doc-drop__btn:hover { background: var(--navy); color: var(--white); }
.doc-drop__btn:focus-visible { outline: 2px solid var(--emerald-deep); outline-offset: 3px; }
.doc-drop__hint {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted-warm);
}
.doc-drop__btn:hover .doc-drop__hint { color: rgba(255, 255, 255, 0.72); }
/* The caret turns down when the panel is open — the only state cue a <details>
   gives for free is the marker we just removed. */
.doc-drop__btn::after {
  content: "";
  align-self: center;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}
.doc-drop[open] .doc-drop__btn::after { transform: translateY(1px) rotate(-135deg); }

/* In the hero the button is one of the row's buttons, so it is drawn like the
   ghost one beside it and sized to match .btn--lg. Open, it claims a full row
   of its own: left in the flex line it would stretch that line to the height of
   the whole checklist and sit the buttons against 2,000px of list. */
.doc-drop--hero { margin-top: 0; }
.doc-drop--hero[open] { flex-basis: 100%; }
.doc-drop--hero .doc-drop__btn {
  padding: 18px 30px;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}
.doc-drop--hero .doc-drop__btn:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.doc-drop--hero .doc-drop__hint { color: rgba(255, 255, 255, 0.6); }
.doc-drop--hero .doc-drop__btn:hover .doc-drop__hint { color: inherit; }
.doc-drop--hero .doc-drop__btn:focus-visible { outline-color: var(--gold); }
/* The panel's own colours assume cream behind it; on navy every one of them
   has to be restated or the list reads as dark grey on dark blue. */
.doc-drop--hero .doc-drop__panel { padding-top: 26px; }
.doc-drop--hero .doc-drop__intro { color: rgba(255, 255, 255, 0.72); }
.doc-drop--hero .doc-group__title {
  color: var(--gold);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.doc-drop--hero .doc-group__list li { color: rgba(255, 255, 255, 0.78); }
.doc-drop--hero .doc-group__list li::before { background: var(--emerald); }

.doc-drop__panel { padding-top: 22px; }
.doc-drop__intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.doc-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 26px 34px;
}
.doc-group__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  padding-bottom: 9px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--border);
}
.doc-group__list { display: flex; flex-direction: column; gap: 8px; }
.doc-group__list li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.doc-group__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

.lede-para {
  font-size: 21px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.body-para {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
  text-wrap: pretty;
}
.h2--section { margin-top: 20px; font-size: clamp(1.75rem, 2.9vw, 37px); }

.tenets { display: flex; flex-direction: column; gap: 18px; max-width: 68ch; }
.tenets li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  padding-left: 20px;
  border-left: 3px solid var(--border);
}
.tenets strong { color: var(--navy); font-weight: 800; }

/* Sidebar fact card -------------------------------------------------------- */
.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fact-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-warm);
  margin-top: 10px;
}
.fact-card__label:first-child { margin-top: 0; }
.fact-card__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.fact-card__value a { color: inherit; }
.fact-card__value a:hover { color: var(--emerald-deep); }
.fact-card__body { font-size: 15px; line-height: 1.6; color: var(--muted); }
.fact-card__list { display: flex; flex-direction: column; gap: 7px; }
.fact-card__list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.fact-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
/* Unset values read as obviously unfinished rather than as real content. */
.fact-card__todo {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-warm);
  background: var(--track);
  border-radius: 8px;
  padding: 8px 10px;
}
/* Card variants used by interior pages ------------------------------------- */
.step-card__title--sm { font-size: clamp(1.25rem, 1.7vw, 22px); line-height: 1.2; }
.step-card__foot { margin-top: auto; }
.service-card__title-link { color: inherit; }
.service-card:hover .service-card__title-link { color: var(--emerald-deep); }
.journey--static { cursor: default; }
.journey--static:hover { background: var(--cream); border-color: var(--border); color: var(--navy); }

.scope-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 6px;
}

.join__inner--simple {
  grid-template-columns: 1.4fr auto;
  align-items: center;
  padding: 56px 56px;
}

/* Contact ------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.contact-aside__book { text-align: center; }

.setup-banner {
  background: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 26px;
}
.setup-banner strong { color: var(--navy); }
.setup-banner code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--white);
  border-radius: 5px;
  padding: 2px 5px;
}
.setup-banner--warn { background: rgba(199, 154, 85, 0.13); border-color: rgba(199, 154, 85, 0.4); }

.enquiry { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); }
.field__opt { font-weight: 600; color: var(--muted-warm); letter-spacing: 0; }
.field__input {
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
}
.field__input:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-color: var(--emerald); }
.field__input--area { resize: vertical; min-height: 140px; line-height: 1.6; }
.field__input:disabled { background: var(--track); color: var(--muted-warm); cursor: not-allowed; }
.enquiry .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--muted-warm); }

/* Long-form prose ---------------------------------------------------------- */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.prose__h2 {
  font-size: clamp(1.5rem, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 22px;
  text-wrap: balance;
}
.prose__p { font-size: 17px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }

.disclaimer {
  max-width: 68ch;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-warm);
}

/* Article index ------------------------------------------------------------ */
.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-list .article__excerpt { font-size: 15px; }

.empty-state {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 720px;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .prose-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .prose-grid__aside,
  .contact-aside { position: static; }
  .join__inner--simple { grid-template-columns: 1fr; padding: 44px 36px; }
}

@media (max-width: 720px) {
  .page-hero__inner { padding: 52px var(--gutter) 56px; gap: 18px; }
  .empty-state { padding: 36px 26px; }
  .fact-card { padding: 22px; }
}

/* Pill buttons keep their label on one line by design, but a long label in a
   narrow container will push the page sideways. Below phone width, let it wrap
   rather than overflow — a two-line button beats a horizontal scrollbar. */
@media (max-width: 420px) {
  .btn { white-space: normal; }
}

/* Contact methods ---------------------------------------------------------
   With no form, the phone and email are the conversion path — so they get the
   weight a primary action deserves rather than sitting in a sidebar. */
/* The people, above the firm's own contact details. Initials stand in for
   photographs: a monogram is honest about being a placeholder in a way a stock
   portrait is not, and it keeps the row even when one person has no picture. */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.person {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Photo and monogram share a size and a shape so a row of people reads evenly
   whether or not everyone has sent a headshot. */
.person__photo,
.person__mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.person__photo {
  object-fit: cover;
  /* The source is square, but cover plus a fixed box means an off-square one
     is cropped rather than squashed. */
  object-position: center;
  background: var(--track);
  margin-bottom: 14px;
}
.person__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.2;
}
.person__role {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.person__detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
  text-wrap: pretty;
}
.person__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.person__action {
  /* inline-flex with a min-height rather than padding alone: padding on a
     12px label gave a 28px pill, well under a reliable tap target on a
     phone. This fixes the height at 42px regardless of the label. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.person__action:hover { background: var(--navy); color: var(--white); }
.person__action:focus-visible { outline: 2px solid var(--emerald-deep); outline-offset: 2px; }

/* The raw number and address stay visible under the buttons. Someone on a
   desktop may want to copy them, and the TEXT button does nothing on most
   desktop browsers — the written number is the fallback. */
.person__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-warm);
  font-variant-numeric: tabular-nums;
}
.person__links--email { overflow-wrap: anywhere; font-variant-numeric: normal; }

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 34px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 29, 46, 0.18);
}
.contact-method--alt { background: var(--emerald); color: var(--ink-on-emerald); }
.contact-method--book { background: var(--gold); color: var(--ink-on-gold); }

.contact-method__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.contact-method--alt .contact-method__label { color: var(--ink-on-emerald); opacity: 0.72; }
.contact-method--book .contact-method__label { color: var(--ink-on-gold); opacity: 0.72; }

.contact-method__value {
  font-size: clamp(1.75rem, 3.1vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: inherit;
}
/* Email addresses are longer than phone numbers; let them shrink and break
   rather than push the card wider than its column. */
.contact-method__value--email {
  font-size: clamp(1.05rem, 2.05vw, 26px);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact-method__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-light);
  max-width: 42ch;
}
.contact-method--alt .contact-method__note { color: rgba(4, 22, 14, 0.74); }
.contact-method--book .contact-method__note { color: rgba(26, 18, 4, 0.78); }
/* A sentence, not a phone number — it needs a smaller size than the others. */
.contact-method__value--book { font-size: clamp(1.25rem, 2.3vw, 28px); letter-spacing: -0.025em; }

.fact-card__list a { color: var(--muted); }
.fact-card__list a:hover { color: var(--emerald-deep); }

/* Footer contact line */
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; }
.site-footer__contact a { color: var(--white); }
.site-footer__contact a:hover { color: var(--emerald); }

@media (max-width: 860px) {
  .contact-methods { gap: 16px; margin-bottom: 44px; }
  .contact-method { padding: 28px 24px; }
}

/* ==========================================================================
   Calculators
   ========================================================================== */
.calc {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}
.calc__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
}
.calc__inputs--wide { grid-template-columns: 1fr; }
.calc__results { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }

/* Money and percent inputs need their symbol inside the field. */
.field__wrap { display: flex; align-items: center; position: relative; }
.field__prefix, .field__suffix {
  position: absolute;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted-warm);
  pointer-events: none;
}
.field__prefix { left: 14px; }
.field__suffix { right: 14px; }
.field__wrap .field__input--money { padding-left: 28px; }
.field__wrap .field__suffix ~ .field__input,
.field__wrap .field__input + .field__suffix { /* suffix sits over padding below */ }
.field__wrap:has(.field__suffix) .field__input { padding-right: 32px; }
.field__hint { font-size: 12px; line-height: 1.5; color: var(--muted-warm); }
/* Number spinners add visual noise and are easy to hit by accident. */
.field__input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field__input[type="number"]::-webkit-outer-spin-button,
.field__input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Results ------------------------------------------------------------------ */
.result-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-card__label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.result-card__value {
  font-size: clamp(2.25rem, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.result-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--slate-light);
}
.result-breakdown li span:last-child {
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-tile--warn { background: rgba(199, 154, 85, 0.13); border-color: rgba(199, 154, 85, 0.4); }
.result-tile__label { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted-warm); }
.result-tile__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.result-tile__value--sm { font-size: 17px; }
/* For a headline that is a phrase rather than a figure ("3 yr 2 mo sooner"). */
.result-card__value--sm { font-size: clamp(1.75rem, 3.2vw, 38px); }

.calc-warn {
  background: rgba(199, 154, 85, 0.13);
  border: 1px solid rgba(199, 154, 85, 0.4);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
}

/* Snowball vs avalanche ---------------------------------------------------- */
.method-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method {
  background: var(--emerald);
  color: var(--ink-on-emerald);
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.method--alt { background: var(--white); border: 1px solid var(--border); color: var(--navy); }
.method__name { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.method__sub { font-size: 11px; font-weight: 700; opacity: 0.7; }
.method__time {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.method__int { font-size: 13px; font-weight: 700; opacity: 0.82; font-variant-numeric: tabular-nums; }

/* Debt rows ---------------------------------------------------------------- */
.debt-list { display: flex; flex-direction: column; gap: 14px; }
.debt-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr 0.8fr auto;
  gap: 12px;
  align-items: end;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 0 14px;
  margin: 0;
}
.debt-row:last-child { border-bottom: 0; padding-bottom: 0; }
.debt-row__remove {
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 44px;
  font-size: 20px;
  line-height: 1;
  color: var(--muted-warm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.debt-row__remove:hover { color: var(--navy); border-color: var(--navy); }

.debt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.field--extra { min-width: 260px; }
/* APR and minimum-payment inputs need less room than a balance. */
.field--narrow .field__input { text-align: left; }

.calc-explain { max-width: 68ch; display: flex; flex-direction: column; gap: 6px; }
.calc-explain .h2--section { margin-top: 18px; }

/* Dropdowns in the picker need to match the text inputs beside them. */
select.field__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238B8578' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
  cursor: pointer;
}

/* The "this matches a package" message. */
.picker-offer {
  background: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  padding: 15px 17px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy);
}
.picker-offer strong { font-weight: 800; }

/* Progressive disclosure for the full price sheets. */
.disclose {
  border-bottom: 1px solid var(--border);
}
.disclose:first-of-type { border-top: 1px solid var(--border); }
.disclose > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  position: relative;
  font-size: clamp(1.125rem, 1.7vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--muted-warm);
  border-bottom: 2px solid var(--muted-warm);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.disclose[open] > summary::after { transform: rotate(-135deg); margin-top: -3px; }
.disclose > summary:hover { color: var(--emerald-deep); }
.disclose__body { padding: 4px 0 36px; display: flex; flex-direction: column; gap: 10px; }
.disclose__item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.disclose__item:last-of-type { border-bottom: 0; }
.disclose__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.disclose__price { font-size: 15px; color: var(--emerald-deep); font-variant-numeric: tabular-nums; }
.disclose__note { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.h3-sub {
  font-size: clamp(1.25rem, 1.9vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 44px 0 16px;
}
/* A compulsory one-off charge, shown under the rate table. Deliberately
   heavier than .table-note: a fee nobody can opt out of should not be set in
   the same grey as a footnote. */
.rate-onetime {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  max-width: 640px;
}
.rate-onetime__head { display: flex; align-items: baseline; gap: 10px; }
.rate-onetime__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-warm);
}
.rate-onetime__price {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.rate-onetime__detail { font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* A price cell that leads with one figure and explains it with another. */
.cell-main { display: block; }
.cell-sub {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-warm);
  white-space: nowrap;
}

.table-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-warm);
  max-width: 68ch;
  margin-top: 14px;
}

.price-cards { align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card__head { display: flex; flex-direction: column; gap: 4px; }
.price-card__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.price-card__tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.4;
}
.price-card__figure {
  font-size: clamp(2rem, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.price-card__per {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted-warm);
  margin-left: 4px;
}
.price-card__sub { font-size: 13px; font-weight: 700; color: var(--muted-warm); }
.price-card__body { font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.price-card__inherit {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--emerald-deep);
  margin-top: 4px;
}
.price-card__list { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.price-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
.price-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-warm);
}
.price-card--tier { min-height: 0; }

/* The one worked example that stands in for a rate table on a service whose
   price depends on what is in the job. auto-fit rather than two fixed columns:
   below about 640px the pair collapses to one column on its own, because two
   columns of this content would each be too narrow to read. */
.rate-example {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}
.rate-example__card { max-width: 460px; }
.rate-example__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 54ch;
  padding-top: 6px;
}


/* Numbered steps in a calculator explanation. The number is drawn rather than
   left to the list marker so it can sit in a disc beside the text. */
.walkthrough {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 72ch;
  margin: 20px 0 10px;
}
.walkthrough > li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.walkthrough > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.walkthrough strong { color: var(--navy); font-weight: 800; }
/* A live figure dropped mid-sentence; tabular digits stop the line reflowing
   as the number changes under the reader. */
.walkthrough__num {
  font-weight: 800;
  color: var(--emerald-deep);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .walkthrough > li { padding-left: 38px; }
  .walkthrough > li::before { width: 26px; height: 26px; font-size: 12px; }
}

/* Definition pairs — add-ons, terms. */
.addon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 40px; max-width: 980px; }
.addon-list--wide { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.addon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.addon dt { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.addon dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.plain-defs { display: flex; flex-direction: column; gap: 12px; max-width: 72ch; margin-bottom: 28px; }
.plain-defs li { font-size: 16px; line-height: 1.65; color: var(--muted); }
.plain-defs strong { color: var(--navy); font-weight: 800; }

.fact-card__link { margin-top: 2px; }

/* Price tables reuse .calc-table; these are the extra column treatments. */
.calc-table th[scope="row"] { font-weight: 800; color: var(--navy); white-space: nowrap; }
.calc-table .t-per { font-size: 11px; font-weight: 700; color: var(--muted-warm); margin-left: 3px; }
.calc-table .t-alt { color: var(--muted); font-weight: 500; }
/* A saving is the one figure on a price table worth colouring. */
.calc-table .t-save { color: var(--emerald-deep); font-weight: 800; }
.calc-table .t-save .t-per { color: var(--emerald-deep); opacity: 0.75; }
.calc-table .t-total th, .calc-table .t-total td {
  border-top: 2px solid var(--navy);
  font-weight: 800;
}
.calc-table .t-total--last th, .calc-table .t-total--last td { border-top: 0; }
/* A qualifier under a row label, e.g. which transaction band a row is for. */
.calc-table th[scope="row"] { white-space: normal; }
.calc-table th[scope="row"] .t-per { display: block; margin: 2px 0 0; font-weight: 700; }

/* The "what would $X more do" ladder ---------------------------------------- */
/* The wrapper scrolls rather than the page, so a narrow phone cannot push the
   whole document sideways. */
.calc-table-wrap { margin: 14px 0 6px; overflow-x: auto; }
.calc-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.calc-table th,
.calc-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.calc-table thead th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-warm);
  background: var(--cream);
}
.calc-table tbody tr:last-child th,
.calc-table tbody tr:last-child td { border-bottom: 0; }
.calc-table tbody td:first-child { font-weight: 800; color: var(--navy); }
.calc-table--ladder tbody td:last-child { font-weight: 700; color: var(--emerald-deep); }
/* Scoped to the ladder on purpose: on a price table the last column is not
   a saving, and colouring it green says something untrue. Use .t-save. */
/* Tighten rather than scroll — a cut-off column reads as broken, not scrollable. */
@media (max-width: 520px) {
  .calc-table { min-width: 300px; }
  .calc-table th, .calc-table td { padding: 11px 10px; font-size: 13px; }
  .calc-table thead th { letter-spacing: 0.08em; }
}

@media (max-width: 1000px) {
  .calc { grid-template-columns: 1fr; gap: 24px; }
  .calc__results { position: static; }
}
@media (max-width: 720px) {
  .calc__inputs { grid-template-columns: 1fr; padding: 24px; }
  .debt-row { grid-template-columns: 1fr 1fr; }
  .debt-row .field--name { grid-column: 1 / -1; }
  .debt-row__remove { grid-column: 1 / -1; width: 100%; }
  .result-grid, .method-compare { grid-template-columns: 1fr; }
}

/* Grid and flex children default to min-width:auto, so a wide descendant can
   force a track wider than its container — which is how a page ends up
   scrolling sideways on a phone despite every width being a percentage.
   Allowing these to shrink below their content is the actual fix. */
.calc > *,
.calc__inputs > *,
.debt-row > *,
.result-grid > *,
.method-compare > *,
.contact-methods > *,
.result-breakdown li > * { min-width: 0; }

.result-card__value,
.result-tile__value,
.method__time { overflow-wrap: anywhere; }

/* ==========================================================================
   Client quotes
   Every rule here is inert until a testimonial with recorded consent exists —
   the components render nothing when given nothing.
   ========================================================================== */
.quote { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.quote__text {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.quote__by { display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; }
.quote__detail { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Card — sits in the About grid on the cream ground. */
.quote--card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  height: 100%;
}
.quote--card .quote__text { font-size: clamp(1.25rem, 1.9vw, 24px); line-height: 1.3; color: var(--navy); }
.quote--card .quote__name { color: var(--navy); }
.quote--card .quote__detail { color: var(--muted-warm); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}
.quote-grid > li { display: flex; }

/* Shown in place of the grid while no review has been published. Dashed rather
   than solid so it reads as a space waiting to be filled, not as a card that
   failed to load. */
.review-empty {
  border: 1px dashed var(--border);
  border-radius: 22px;
  padding: 30px 28px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-empty__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.review-empty__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  text-wrap: pretty;
}

/* The "leave one" half of the section. Two columns on a wide screen, stacked
   below ~720px, where the buttons would otherwise be squeezed into a column
   narrower than their own text. */
.review-ask {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px 40px;
  align-items: start;
}
.review-ask__copy { display: flex; flex-direction: column; gap: 8px; }
.review-ask__copy .h3-sub { margin: 0; }
.review-ask__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.review-ask__ways {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
}
/* .btn is inline-block and these sit in a flex row, so a long label would
   stretch oddly without this. */
.review-ask__ways .btn { text-align: center; }

/* Band — one quote spanning a section, on the navy ground. */
.proof-band { background: var(--navy); color: var(--white); }
.proof-band__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px var(--gutter);
}
.quote--band { border-left: 3px solid var(--emerald); padding-left: 32px; max-width: 58ch; }
.quote--band .quote__text { font-size: clamp(1.35rem, 2.6vw, 32px); line-height: 1.26; }
.proof-band .quote__name { color: var(--white); }
.proof-band .quote__detail { color: var(--slate); }

/* On a service page the band sits on cream, not navy. */
.section > .quote--band .quote__text { color: var(--navy); }
.section > .quote--band .quote__name { color: var(--navy); }
.section > .quote--band .quote__detail { color: var(--muted-warm); }

@media (max-width: 720px) {
  .proof-band__inner { padding: 38px var(--gutter); }
  .quote--band { padding-left: 20px; }
  .quote--card { padding: 22px; }
}
