/* ==========================================================================
   E&Co. Property Advocates — stylesheet
   Brand: navy #0B1F37 + champagne #FFEFCB, sampled from the E&Co. logo.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
/* Brand palette. Navy + champagne come from the E&Co. logo.
   Two golds on purpose: --gold is decorative only (rules, dots, the drawn
   underline); --gold-text is the darkened version used wherever gold carries
   words, because the brighter one is only 3.31:1 on the canvas and fails AA. */
:root {
  /* Surfaces */
  --canvas:      #FAF7F0;
  --canvas-sunk: #F2ECE0;
  --surface:     #FFFFFF;

  /* Ink */
  --ink:      #101F38;   /* 15.39:1 on canvas */
  --ink-soft: #384765;   /*  8.20:1 on canvas */
  --muted:    #5E6B84;   /*  4.98:1 on canvas */

  /* Gold */
  --gold:       #A8823F;  /* decorative only */
  --gold-text:  #846632;  /*  5.00 canvas / 4.54 sunk / 5.35 white */
  --gold-lift:  #D9B56E;  /*  8.46:1 on navy */

  /* On dark */
  --on-dark:      #F7F1E3;  /* 14.62:1 on navy */
  --on-dark-soft: #C4C1B8;  /*  9.15:1 on navy */

  /* Lines */
  --line:        rgba(16, 31, 56, 0.09);
  --line-strong: rgba(16, 31, 56, 0.22);
  --line-dark:   rgba(247, 241, 227, 0.22);

  /* Feedback */
  --danger:  #A4322B;
  --success: #2A6247;

  /* Type */
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Rhythm — 4pt base */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;    --s10: 8rem;

  --radius:    10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 55, 0.06), 0 2px 8px rgba(11, 31, 55, 0.04);
  --shadow-md: 0 2px 4px rgba(11, 31, 55, 0.05), 0 12px 32px rgba(11, 31, 55, 0.08);
  --shadow-lg: 0 4px 8px rgba(11, 31, 55, 0.06), 0 24px 64px rgba(11, 31, 55, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layering */
  --z-nav: 100;
  --z-scrim: 900;
  --z-toast: 1000;

  --container: 1180px;
  --measure: 62ch;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

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

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }
/* Every list in this design is styled by hand; none want a marker. */
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }
a:hover { text-decoration-color: currentColor; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

.skip-link {
  position: absolute; top: var(--s3); left: var(--s3);
  z-index: calc(var(--z-nav) + 1);
  padding: var(--s3) var(--s4);
  background: var(--on-dark); color: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */
.display-xl {
  font-family: var(--display);
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.display-lg {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
}
.display-sm {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}
.display-xl em, .display-lg em, .display-md em { font-style: italic; color: var(--gold-text); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--gold-lift); }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.body-muted { color: var(--ink-soft); max-width: var(--measure); }
.fine { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s5);
}
@media (min-width: 768px) { .container { padding-inline: var(--s6); } }

.section { padding-block: clamp(var(--s8), 10vw, var(--s10)); }
.section--tight { padding-block: clamp(var(--s7), 7vw, var(--s9)); }
.section--sunk { background: var(--canvas-sunk); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lede,
.section--dark .body-muted { color: var(--on-dark-soft); }
.section--dark .fine { color: var(--on-dark-soft); }

.section-head { max-width: 46rem; margin-bottom: var(--s7); }
.section-head .eyebrow { display: block; margin-bottom: var(--s4); }
.section-head .lede { margin-top: var(--s4); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule { background: var(--line-dark); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
/* Buttons share one interaction language: a colour wipe from the left,
   a small lift, and a press that settles back. `isolation: isolate` lets the
   ::before wipe sit above the button's background but behind its label. */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  --btn-fill: transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease),
              box-shadow 220ms var(--ease), transform 220ms var(--ease),
              opacity 220ms var(--ease);
}
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 90ms; }
.btn:active::before { transition-duration: 90ms; }
.btn svg { flex: none; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(2px); }

.btn--primary {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: var(--shadow-sm);
  --btn-fill: #16324F;
}
.btn--primary:hover { box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  --btn-fill: rgba(11, 31, 55, 0.07);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--onDark {
  background: var(--on-dark);
  color: var(--ink);
  --btn-fill: #FFFFFF;
}
.btn--onDark:hover { box-shadow: 0 6px 20px rgba(11, 31, 55, 0.28); }

.btn--ghostOnDark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark);
  --btn-fill: rgba(255, 239, 203, 0.13);
}
.btn--ghostOnDark:hover { border-color: var(--on-dark); }

.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn[disabled]:hover, .btn[aria-disabled='true']:hover { transform: none; }
.btn[disabled]::before, .btn[aria-disabled='true']::before { display: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 0.9375rem; font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 200ms var(--ease), gap 200ms var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: var(--s3); }
.section--dark .link-arrow { color: var(--on-dark); border-color: var(--line-dark); }
.section--dark .link-arrow:hover { border-color: var(--on-dark); }

/* --------------------------------------------------------------------------
   6. Header / nav — a floating capsule
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);
  width: min(1100px, calc(100% - 32px));
  color: var(--ink);
}

.nav-shell {
  /* block, not flex: .nav and .mobile-nav are siblings, and a flex row would
     lay the drawer out beside the nav instead of beneath it. */
  display: block;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 48px rgba(16, 31, 56, 0.14);
  transition: box-shadow 320ms var(--ease), padding 320ms var(--ease),
              background-color 320ms var(--ease);
}
.site-header[data-scrolled='true'] .nav-shell {
  padding-block: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 34px rgba(16, 31, 56, 0.18);
}

/* the drawer expands inside the capsule, so the corners must stay round */
.mobile-nav[data-open='true'] ~ * { }
.site-header:has(.mobile-nav[data-open='true']) .nav-shell { border-radius: 26px; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-height: 0;
}

.brand {
  display: block;
  padding: 8px 10px 8px 14px;
  margin-right: 6px;
  line-height: 0;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  display: block;
  height: 22px; width: auto;
  transition: opacity 240ms var(--ease);
}
.brand:hover .brand-mark { opacity: 0.72; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
}
@media (min-width: 940px) { .nav-links { display: flex; } }

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
}
.nav-links a:hover { background: rgba(16, 31, 56, 0.06); }
.nav-links a[aria-current='page'] { background: rgba(16, 31, 56, 0.07); }

.nav-cta {
  display: none;
  margin-left: auto;
  min-height: 0;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  white-space: nowrap;
}
@media (min-width: 940px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none; border: 0;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background-color 220ms var(--ease);
}
.nav-toggle:hover { background: rgba(16, 31, 56, 0.06); }
@media (min-width: 940px) { .nav-toggle { display: none; } }

.nav-toggle-bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform 260ms var(--ease), top 260ms var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after  { top: 10.5px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after  { top: 5px; transform: rotate(-45deg); }

/* Mobile drawer, inside the capsule */
.mobile-nav {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 360ms var(--ease);
}
@media (min-width: 940px) { .mobile-nav { display: none; } }
.mobile-nav[data-open='true'] { max-height: 74vh; overflow-y: auto; }
.mobile-nav-inner { padding: 6px 12px 14px; }

.mobile-nav a:not(.btn) {
  display: block;
  padding: var(--s3) var(--s2);
  min-height: 48px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: padding-left 220ms var(--ease), color 220ms var(--ease);
}
.mobile-nav a:not(.btn):hover { padding-left: var(--s4); color: var(--gold-text); }
.mobile-nav a:not(.btn)[aria-current='page'] { color: var(--gold-text); }
.mobile-nav .btn { margin-top: var(--s4); border-radius: var(--radius-pill); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(var(--s8), 9vw, var(--s10)) clamp(var(--s7), 7vw, var(--s9)); }
.hero-inner { display: grid; gap: var(--s7); align-items: end; }
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s8); }
}
.hero h1 { margin-block: var(--s4) var(--s5); }
.hero .btn-row { margin-top: var(--s6); }

.hero-aside {
  border-left: 1px solid var(--line);
  padding-left: var(--s5);
}
@media (max-width: 999px) {
  .hero-aside { border-left: 0; border-top: 1px solid var(--line); padding: var(--s5) 0 0; }
}
.hero-aside dl { margin: 0; display: grid; gap: var(--s5); }
.hero-aside dt {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--ink);
}
.hero-aside dd { margin: var(--s2) 0 0; font-size: 0.875rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease),
              transform 240ms var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card h3 { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.card p { color: var(--ink-soft); font-size: 0.9375rem; }
.card .card-index {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--gold-text);
}
.card--link { text-decoration: none; }
.card--link:hover { transform: translateY(-2px); }
.card .link-arrow { margin-top: auto; padding-top: var(--s4); align-self: flex-start; }

.section--dark .card {
  background: rgba(255, 239, 203, 0.04);
  border-color: var(--line-dark);
}
.section--dark .card:hover { border-color: rgba(255, 239, 203, 0.35); box-shadow: none; }
.section--dark .card h3 { color: var(--on-dark); }
.section--dark .card p { color: var(--on-dark-soft); }

/* Icon badge */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
}
.section--dark .icon-badge { border-color: var(--line-dark); color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   9. Process / numbered steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid;
  gap: var(--s3);
  padding-block: var(--s6);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) {
  .step { grid-template-columns: 5rem minmax(0, 18rem) minmax(0, 1fr); gap: var(--s6); align-items: start; }
}
.step-num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold-text);
  line-height: 1.2;
}
.step-num::before { content: '0' counter(step); }
.step h3 { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.step p { color: var(--ink-soft); font-size: 0.9375rem; }

.section--dark .step { border-color: var(--line-dark); }
.section--dark .step p { color: var(--on-dark-soft); }
.section--dark .step-num { color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   10. Feature list (ticks)
   -------------------------------------------------------------------------- */
.ticks { list-style: none; display: grid; gap: var(--s3); }
.ticks li {
  display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--s3);
  font-size: 0.9375rem; color: var(--ink-soft);
}
.ticks svg { margin-top: 0.4em; color: var(--gold-text); }
.section--dark .ticks li { color: var(--on-dark-soft); }
.section--dark .ticks svg { color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   11. Pricing / service tiers
   -------------------------------------------------------------------------- */
/* Tier cards are white but live inside .section--dark, so they must re-establish
   a light colour context — otherwise every child inherits the section's cream
   text and disappears against the card. */
.tier {
  display: flex; flex-direction: column;
  padding: var(--s6);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.section--dark .tier,
.section--dark .tier h3,
.section--dark .tier .tier-price { color: var(--ink); }
.section--dark .tier .tier-desc,
.section--dark .tier .ticks li { color: var(--ink-soft); }
.section--dark .tier .tier-price small { color: var(--muted); }
.section--dark .tier .ticks svg { color: var(--gold-lift); }
.section--dark .tier .tier-price { border-top-color: var(--line); }
.tier[data-featured='true'] {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  position: relative;
}
/* Champagne on navy — has to read against the dark section behind it,
   not just against the white card. */
.tier-flag {
  position: absolute; top: calc(-1 * var(--s3)); left: var(--s6);
  padding: var(--s1) var(--s3);
  background: var(--gold-lift); color: var(--ink);
  border-radius: 999px;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.tier h3 { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; }
.tier-price {
  margin-block: var(--s5) var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.875rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.tier-price small {
  display: block;
  margin-top: var(--s3);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.section--dark .tier-price { border-top-color: var(--line-dark); }
.section--dark .tier-price small { color: var(--on-dark-soft); }

/* Fine print block beneath the tiers */
.fineprint {
  margin-top: var(--s7);
  padding-top: var(--s6);
  border-top: 1px solid var(--line-dark);
}
.fineprint h3 {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: var(--s4);
}
.fineprint ul {
  display: grid; gap: var(--s3);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .fineprint ul { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); } }
.fineprint li {
  position: relative;
  padding-left: var(--s4);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 46ch;
}
.fineprint li::before {
  content: ''; position: absolute; left: 0; top: 0.65em;
  width: 4px; height: 1px; background: var(--gold-lift);
}
.tier .ticks { margin-block: var(--s5); }
.tier .btn { margin-top: auto; }
.tier-desc { color: var(--ink-soft); font-size: 0.9375rem; margin-top: var(--s3); }

/* --------------------------------------------------------------------------
   12. Results
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center;
  padding: var(--s1) var(--s3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap; line-height: 1.4;
}
.tag--accent { border-color: var(--gold-text); color: var(--gold-text); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--s2); }


/* Empty state */
.empty-state {
  display: grid; gap: var(--s5);
  justify-items: start;
  padding: clamp(var(--s6), 6vw, var(--s8));
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.empty-state .icon-badge { width: 48px; height: 48px; }
.empty-state h3 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); }
.empty-state p { color: var(--ink-soft); max-width: 46ch; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.field label { font-size: 0.875rem; font-weight: 500; }
.field .req { color: var(--gold-text); margin-left: 2px; }
.field .helper { font-size: 0.8125rem; color: var(--muted); }

.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E7D75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  padding-right: var(--s7);
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-soft); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 31, 55, 0.1);
}
.input[aria-invalid='true'], .textarea[aria-invalid='true'], .select[aria-invalid='true'] {
  border-color: var(--danger);
}
.input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(164, 50, 43, 0.14); }

.error {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: 0.8125rem; color: var(--danger);
}
.error:empty { display: none; }
.error svg { flex: none; margin-top: 0.15em; }

.field-row { display: grid; gap: 0; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; column-gap: var(--s4); } }

.form-note {
  padding: var(--s4);
  background: var(--canvas-sunk);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Radio cards */
.radio-cards { display: grid; gap: var(--s3); border: 0; padding: 0; margin: 0 0 var(--s5); }
@media (min-width: 620px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-cards legend { font-size: 0.875rem; font-weight: 500; padding: 0; margin-bottom: var(--s2); }
@media (min-width: 620px) { .radio-cards legend { grid-column: 1 / -1; } }

.radio-card { position: relative; display: block; }
.radio-card input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.radio-card span {
  display: flex; align-items: center; gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.radio-card input:hover + span { border-color: var(--ink-soft); }
.radio-card input:checked + span {
  border-color: var(--ink);
  background: rgba(11, 31, 55, 0.04);
  font-weight: 500;
}
.radio-card input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Submit states */
.form-status {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.form-status:empty { display: none; }
.form-status[data-tone='error']   { background: rgba(164, 50, 43, 0.08);  color: var(--danger); }
.form-status[data-tone='success'] { background: rgba(47, 109, 79, 0.09);  color: var(--success); }
.form-status svg { flex: none; margin-top: 0.2em; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 640ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   14. Booking widget
   -------------------------------------------------------------------------- */
.booking {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.booking-header {
  display: grid; gap: var(--s2);
  padding: var(--s6);
  border-bottom: 1px solid var(--line);
  background: var(--canvas-sunk);
}
.booking-header h2 { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; }
.booking-meta { display: flex; flex-wrap: wrap; gap: var(--s4); }
.booking-meta span { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.875rem; color: var(--ink-soft); }
.booking-meta svg { flex: none; color: var(--muted); }

.booking-steps {
  display: flex; gap: var(--s2); align-items: center;
  padding: var(--s4) var(--s6);
  border-bottom: 1px solid var(--line);
  list-style: none;
  overflow-x: auto;
}
.booking-steps li {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 0.8125rem; color: var(--muted); white-space: nowrap;
}
.booking-steps li + li::before {
  content: ''; width: 20px; height: 1px; background: var(--line-strong); margin-right: var(--s2);
}
.booking-steps .dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.6875rem; font-weight: 500;
}
.booking-steps li[data-state='current'] { color: var(--ink); font-weight: 500; }
.booking-steps li[data-state='current'] .dot { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.booking-steps li[data-state='done'] { color: var(--ink-soft); }
.booking-steps li[data-state='done'] .dot { border-color: var(--gold); color: var(--gold); }

.booking-body { padding: var(--s6); }
.booking-panel[hidden] { display: none; }

/* Demo-mode banner */
.booking-banner {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
  background: rgba(156, 111, 56, 0.09);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: #7A5628;
}
.booking-banner svg { flex: none; margin-top: 0.15em; }

/* Calendar */
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); margin-bottom: var(--s4);
}
.cal-title { font-family: var(--display); font-size: 1.375rem; }
.cal-nav-btns { display: flex; gap: var(--s2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), opacity 180ms var(--ease);
}
.icon-btn:hover:not([disabled]) { border-color: var(--ink); background: rgba(11, 31, 55, 0.04); }
.icon-btn:active:not([disabled]) { transform: scale(0.94); }
.icon-btn[disabled] { opacity: 0.35; cursor: not-allowed; transform: none; }

/* Capped so cells stay square-ish rather than ballooning on wide columns. */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s1);
  max-width: 30rem;
}
.cal-dow {
  padding-block: var(--s2);
  text-align: center;
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.cal-day {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 44px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
              color 160ms var(--ease), transform 160ms var(--ease);
}
.cal-day[data-available='true']:hover { background: rgba(11, 31, 55, 0.06); border-color: var(--line-strong); }
.cal-day[data-available='true']:active { transform: scale(0.92); }
.cal-day[data-available='true']::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
/* Disabled dates: exempt from WCAG 1.4.3, but kept legible and on-palette. */
.cal-day[disabled] { color: rgba(91, 104, 120, 0.62); cursor: not-allowed; }
.cal-day[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 500; }
.cal-day[aria-pressed='true']::after { background: var(--gold-lift); }
.cal-day[data-today='true'] { font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-day.is-empty { visibility: hidden; }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: var(--s4);
  max-width: 30rem;
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: var(--s2); }
.cal-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Time slots */
.slot-head { margin-bottom: var(--s4); }
.slot-head h3 { font-family: var(--display); font-size: 1.375rem; }
.slot-head p { font-size: 0.875rem; color: var(--muted); margin-top: var(--s1); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--s2); }
.slot {
  min-height: 48px;
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease),
              color 160ms var(--ease), transform 160ms var(--ease);
}
.slot:hover:not([disabled]) { border-color: var(--ink); background: rgba(11, 31, 55, 0.04); transform: translateY(-1px); }
.slot:active:not([disabled]) { transform: scale(0.97); }
.slot[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 500; }
.slot[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.booking-actions {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.booking-actions .btn--primary { margin-left: auto; }

/* Summary line */
.booking-summary {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s4);
  margin-bottom: var(--s5);
  background: var(--canvas-sunk);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.booking-summary svg { flex: none; color: var(--gold); }
.booking-summary strong { font-weight: 500; }

/* Confirmation */
.booking-confirm { display: grid; gap: var(--s5); justify-items: center; text-align: center; padding-block: var(--s5); }
.booking-confirm .icon-badge { width: 56px; height: 56px; border-color: var(--success); color: var(--success); }
.booking-confirm h3 { font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.25rem); }
.booking-confirm p { color: var(--ink-soft); max-width: 44ch; }
.confirm-details {
  display: grid; gap: var(--s3);
  width: 100%; max-width: 26rem;
  padding: var(--s5);
  text-align: left;
  background: var(--canvas-sunk);
  border-radius: var(--radius);
  margin: 0;
}
.confirm-details div { display: flex; justify-content: space-between; gap: var(--s4); font-size: 0.9375rem; }
.confirm-details dt { color: var(--muted); }
.confirm-details dd { margin: 0; font-weight: 500; text-align: right; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--canvas-sunk) 25%, #E3DDD0 50%, var(--canvas-sunk) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.slots--loading .skeleton { height: 48px; }

/* --------------------------------------------------------------------------
   15. Contact panel
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: var(--s8); }
}
.contact-aside { display: grid; gap: var(--s6); }
.contact-block h3 {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.contact-block a { font-size: 1.0625rem; }
.contact-block p { color: var(--ink-soft); font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding-block: var(--s5);
  min-height: 48px;
  font-family: var(--display);
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 240ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding-bottom: var(--s5); }
.faq p { color: var(--ink-soft); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s8); }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: var(--s8) var(--s6); }
.footer-top { display: grid; gap: var(--s7); padding-bottom: var(--s7); }
@media (min-width: 800px) {
  .footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--s6); }
}
.site-footer .brand { justify-self: start; text-align: left; }
.site-footer .brand-mark { height: 40px; }
.site-footer .brand-sub { color: var(--gold-lift); }
.footer-blurb { margin-top: var(--s3); color: var(--on-dark-soft); font-size: 0.9375rem; max-width: 34ch; }
.footer-col h3 {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: var(--s4);
}
.footer-col ul { list-style: none; display: grid; gap: var(--s3); }
.footer-col a { font-size: 0.9375rem; color: var(--on-dark-soft); text-decoration: none; transition: color 180ms var(--ease); }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 0.25em; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  padding-top: var(--s5);
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-soft);
}

/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .btn:active,
  .slot:hover, .slot:active,
  .icon-btn:active, .cal-day:active { transform: none; }
  .btn::before { display: none; }
  .btn:hover svg { transform: none; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .booking, .btn { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   21. Buttons — pill treatment
   ========================================================================== */
.btn { border-radius: var(--radius-pill); padding: 16px 30px; font-size: 0.9375rem; }
.btn--primary { background: var(--ink); color: var(--on-dark); --btn-fill: #1D3763; box-shadow: none; }
.btn--primary:hover { box-shadow: 0 16px 32px rgba(16, 31, 56, 0.22); }
.btn--ghost { border-color: var(--line-strong); --btn-fill: rgba(16, 31, 56, 0.05); }
.btn--onDark { background: var(--on-dark); color: var(--ink); --btn-fill: #FFFFFF; }
.btn--ghostOnDark { --btn-fill: rgba(247, 241, 227, 0.1); }

/* ==========================================================================
   22. Home — hero
   ========================================================================== */
.hero { padding: clamp(148px, 20vh, 210px) 0 clamp(56px, 8vw, 88px); }

.hero-eyebrow {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-text);
  margin-bottom: var(--s5);
  opacity: 0;
}
.hero-eyebrow.is-in { opacity: 1; }

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.875rem, 6.4vw, 5.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  /* no max-width: the three .line-mask rows set the breaks explicitly.
     Below ~900px a row may wrap inside its own mask, which is fine — the
     mask grows with it and the rise-in still reads. */
  max-width: none;
}
/* each line sits in its own overflow mask so it can rise into view */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line-mask:last-child { padding-bottom: 0.14em; }
.line-mask > span { display: block; transform: translateY(115%); }
.hero-title.is-in .line-mask > span { transform: translateY(0); }
.hero-title .line-mask > span { transition: transform 1s var(--ease); }
.hero-title.is-in .line-mask:nth-child(1) > span { transition-delay: 250ms; }
.hero-title.is-in .line-mask:nth-child(2) > span { transition-delay: 430ms; }
.hero-title.is-in .line-mask:nth-child(3) > span { transition-delay: 610ms; }

.hero-accent {
  font-style: italic;
  color: var(--gold-text);
  position: relative;
  width: max-content;
  max-width: 100%;
}
.hero-underline {
  position: absolute;
  left: 2%; bottom: -0.04em;
  width: 96%; height: 0.14em;
  overflow: visible;
  pointer-events: none;
}
.hero-underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.6, 0, 0.3, 1);
}
.hero-title.is-in .hero-underline path { stroke-dashoffset: 0; transition-delay: 1.35s; }

.hero-foot {
  display: flex; flex-wrap: wrap;
  gap: var(--s6) clamp(var(--s6), 5vw, var(--s9));
  align-items: flex-end;
  margin-top: var(--s7);
}
.hero-foot .lede { flex: 2 1 400px; margin: 0; }
.hero-foot .btn-row { flex: 0 0 auto; }

/* ==========================================================================
   23. Suburb ticker — two rows, counter-scrolling
   ========================================================================== */
.ticker {
  background: var(--ink);
  overflow: hidden;
  padding-block: var(--s5);
}
.ticker-row { display: flex; width: max-content; }
.ticker-track {
  display: flex;
  animation: tickerRun 44s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerRun { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.ticker-item {
  display: flex; align-items: center; gap: var(--s5);
  padding-right: var(--s5);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  color: var(--on-dark);
  white-space: nowrap;
  transition: color 240ms var(--ease), opacity 240ms var(--ease);
}
.ticker-item::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  flex: none;
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}
.ticker:hover .ticker-item { opacity: 0.45; }
.ticker-item:hover { opacity: 1; color: var(--gold-lift); }
.ticker-item:hover::after { transform: scale(1.9); background: var(--gold-lift); }

/* ==========================================================================
   24. Pillars
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s5); }
.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s6) var(--s6) var(--s7);
  overflow: hidden;
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(16, 31, 56, 0.12); }
.pillar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 520ms var(--ease);
}
.pillar:hover::after { transform: scaleX(1); }
.pillar-num { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--gold-text); }
.pillar h3 { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; margin-top: var(--s3); }
.pillar p { font-size: 0.9375rem; line-height: 1.65; margin-top: var(--s3); color: var(--ink-soft); }

/* ==========================================================================
   25. Audience switcher
   ========================================================================== */
.audience { display: grid; gap: var(--s7) clamp(var(--s6), 5vw, var(--s9)); align-items: start; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }

.aud-tabs { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s6); }
.aud-tab {
  font-family: var(--sans);
  font-size: 0.875rem; font-weight: 500;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background-color 250ms var(--ease), color 250ms var(--ease),
              border-color 250ms var(--ease), transform 250ms var(--ease);
}
.aud-tab:hover { transform: translateY(-2px); border-color: var(--ink); }
.aud-tab[aria-selected='true'] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* thin bar that shows the auto-advance, and doubles as a pause indicator */
.aud-progress {
  margin-top: var(--s5);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.aud-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.aud-progress.is-running span { animation: audRun 9s linear forwards; }
@keyframes audRun { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.aud-progress.is-paused span { animation-play-state: paused; }

.aud-panel {
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(var(--s6), 4vw, var(--s8));
  color: var(--on-dark);
  min-height: 300px;
}
.aud-panel[data-swap='true'] .aud-swap { opacity: 0; transform: translateY(10px); }
.aud-swap { transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.aud-kicker { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--gold-lift); }
.aud-panel h3 { font-family: var(--display); font-size: clamp(1.625rem, 3vw, 2.375rem); line-height: 1.15; margin-top: var(--s3); }
.aud-panel p { font-size: 1rem; line-height: 1.7; margin-top: var(--s4); color: var(--on-dark-soft); max-width: 46ch; }
.aud-points { display: grid; gap: var(--s3); margin-top: var(--s5); }
.aud-points li {
  display: grid; grid-template-columns: 1.1rem 1fr; gap: var(--s3);
  font-size: 0.9375rem; color: var(--on-dark-soft);
}
.aud-points svg { margin-top: 0.35em; color: var(--gold-lift); }
.aud-panel .link-arrow { margin-top: var(--s6); color: var(--gold-lift); border-color: rgba(217, 181, 110, 0.4); }
.aud-panel .link-arrow:hover { border-color: var(--gold-lift); }

/* ==========================================================================
   26. Fee estimator
   ========================================================================== */
.calc { display: grid; gap: var(--s7) clamp(var(--s6), 5vw, var(--s8)); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); } }

.calc-controls { display: grid; gap: var(--s6); }
.calc-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: var(--s3); }
.calc-value {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: var(--s4);
}
.calc-value small { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); display: block; margin-top: var(--s2); font-weight: 400; }

input[type='range'].calc-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  background: var(--line-strong);
  border-radius: 999px;
  outline-offset: 8px;
}
input[type='range'].calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--canvas);
  box-shadow: 0 3px 12px rgba(16, 31, 56, 0.3);
  cursor: grab;
  transition: transform 200ms var(--ease);
}
input[type='range'].calc-range::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type='range'].calc-range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.05); }
input[type='range'].calc-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--canvas); cursor: grab;
}
.calc-scale { display: flex; justify-content: space-between; margin-top: var(--s3); font-size: 0.75rem; color: var(--muted); }

.seg { display: inline-flex; padding: 4px; background: var(--canvas-sunk); border-radius: var(--radius-pill); gap: 2px; }
.seg button {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 500;
  padding: 9px 18px; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--ink-soft);
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}
.seg button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(16,31,56,0.1); }

.calc-out {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 24px;
  padding: clamp(var(--s6), 4vw, var(--s7));
}
.calc-out .eyebrow { color: var(--gold-lift); display: block; margin-bottom: var(--s4); }
.calc-tier { font-family: var(--display); font-size: 1.875rem; line-height: 1.1; }
.calc-tier small { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--on-dark-soft); margin-top: var(--s2); font-weight: 400; }
.calc-fee {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: var(--s5);
  color: var(--gold-lift);
}
.calc-fee-note { font-size: 0.8125rem; color: var(--on-dark-soft); margin-top: var(--s3); }
.calc-bar { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line-dark); display: grid; gap: var(--s3); }
.calc-bar div { display: flex; justify-content: space-between; gap: var(--s4); font-size: 0.875rem; }
.calc-bar dt { color: var(--on-dark-soft); }
.calc-bar dd { margin: 0; font-variant-numeric: tabular-nums; }
.calc-fine { font-size: 0.75rem; line-height: 1.6; color: var(--muted); margin-top: var(--s5); max-width: 60ch; }

/* ==========================================================================
   27. Quote band
   ========================================================================== */
.quote-band {
  background: var(--ink);
  border-radius: 28px;
  padding: clamp(var(--s7), 7vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band p {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 2.875rem);
  line-height: 1.25;
  color: var(--on-dark);
  max-width: 26ch;
  margin: 0 auto;
}
.quote-band em { font-style: italic; color: var(--gold-lift); }
.quote-band .btn-row { justify-content: center; margin-top: var(--s7); }

/* ==========================================================================
   28. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: var(--s8) var(--s7); }
.footer-bar {
  display: flex; flex-wrap: wrap;
  gap: var(--s6) var(--s8);
  align-items: center; justify-content: space-between;
}
.site-footer .brand-mark { height: 26px; filter: brightness(0) invert(0.95); }
.footer-nav { display: flex; gap: var(--s5); flex-wrap: wrap; font-size: 0.875rem; }
.footer-nav a { color: var(--on-dark-soft); text-decoration: none; transition: color 220ms var(--ease); }
.footer-nav a:hover { color: var(--on-dark); }
.footer-nav a.is-gold { color: var(--gold-lift); }
.footer-meta { font-size: 0.8125rem; }
.footer-legal {
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--s4);
  justify-content: space-between; font-size: 0.75rem;
}

/* ==========================================================================
   29. Scroll reveal
   ========================================================================== */
[data-rv] { opacity: 0; transform: translateY(20px); }
[data-rv].is-in {
  opacity: 1; transform: none;
  transition: opacity 800ms var(--ease-soft), transform 800ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title .line-mask > span { opacity: 1; transform: none; transition: none; }
  .hero-title .hero-underline path { stroke-dashoffset: 0; transition: none; }
  .ticker-track { animation: none; }
  .aud-progress span { animation: none; transform: scaleX(1); }
  .pillar:hover, .aud-tab:hover { transform: none; }
  [data-rv] { opacity: 1; transform: none; }
}

/* Inner-page heroes: the capsule is fixed, so it takes no space in flow. */
.hero--page { padding-top: clamp(140px, 17vh, 190px); }

/* Long CTA labels can't stay on one line at phone widths — let them wrap and
   go full-width rather than pushing the document sideways. */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; padding-inline: var(--s5); }
  .hero-foot .btn-row,
  .quote-band .btn-row { width: 100%; }
  .hero-foot .btn-row > .btn,
  .quote-band .btn-row > .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   30. Results — case studies
   Full-width rows rather than cards: these are narratives with numbers, and
   they need room to breathe.
   ========================================================================== */
.cases { display: grid; }

.case {
  display: grid;
  gap: var(--s5) clamp(var(--s6), 5vw, var(--s8));
  padding-block: clamp(var(--s7), 6vw, var(--s8));
  border-top: 1px solid var(--line);
}
.case:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: start; }
}

/* --- left column: which property --- */
.case-head { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.case-index {
  font-family: var(--display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gold-text);
  line-height: 1.4;
  padding-top: 0.35em;
}
.case-suburb {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 2.875rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  flex-wrap: wrap;
}
.case-state {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.case-property { font-size: 0.9375rem; color: var(--ink-soft); margin-top: var(--s3); }
.case-head .tag-row { margin-top: var(--s4); }

/* --- right column: numbers, then the story --- */
.case-body { display: grid; gap: var(--s6); }

.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--s5);
  margin: 0;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
}
.case-stat dt {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  color: var(--ink);
}
.case-stat dd {
  margin: var(--s2) 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
/* the first stat is the headline — give it the gold */
.case-stat:first-child dt { color: var(--gold-text); }

.case-story { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .case-story { grid-template-columns: repeat(2, 1fr); } }
.case-part h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.case-part p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }
