@import url("/assets/fonts/fonts.css");

/* ==========================================================================
   Meen Property Management
   Visual world: evening light on a well-kept house.

   Warm paper is the ground (60%). Evergreen arrives as full-bleed chapter
   slabs rather than boxes (30%, with charcoal). Gold is never a fill: it is
   light, spent on hairlines, underscores and exactly one focal element per
   view (10%). Structure comes from rules, indents and slabs, not from a grid
   of equally sized cards.
   ========================================================================== */

:root {
  /* Brand ground */
  --paper: #f7f5f0;
  --paper-sunk: #e9eeea;   /* paper washed with sage, not grey */
  --paper-raised: #fffdf9;

  /* Ink */
  --ink: #252729;
  --ink-soft: #3f4143;
  --ink-mute: #63666a;

  /* Evergreen */
  --green: #24584a;
  --green-deep: #16382f;
  --green-lift: #2f6b5b;

  /* Accents */
  --sage: #8fa89b;
  --sage-lift: #b9cec4;
  --gold: #c49a5a;        /* brand swatch: rules, fills, icons, never small text */
  --gold-text: #83663b;   /* gold for text on paper, 4.7:1 */
  --gold-lift: #d9bd94;   /* gold for text on evergreen, 4.5:1 */
  --gold-hover: #d3ac71;

  /* Lines */
  --line: #dee1da;
  --line-strong: #c3cac4;
  --line-on-green: rgba(247, 245, 240, 0.18);

  /* Type */
  --display: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Montserrat", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --t-display: clamp(2.75rem, 7.4vw, 5.75rem);
  --t-h1: clamp(2.05rem, 4.4vw, 3.4rem);
  --t-h2: clamp(1.7rem, 3.1vw, 2.5rem);
  --t-h3: clamp(1.3rem, 2vw, 1.6rem);
  --t-h4: clamp(1.08rem, 1.4vw, 1.22rem);
  --t-lead: clamp(1.1rem, 1.35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-fine: 0.8125rem;
  --t-label: 0.72rem;

  /* Rhythm */
  --shell: 1220px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);
  --band-tight: clamp(3rem, 6vw, 5rem);

  --radius: 3px;
  --radius-lg: 5px;

  /* Depth: every shadow carries an offset and a soft blur. */
  --lift-1: 0 1px 2px rgba(37, 39, 41, 0.05), 0 2px 8px rgba(37, 39, 41, 0.045);
  --lift-2: 0 2px 4px rgba(37, 39, 41, 0.06), 0 10px 30px rgba(37, 39, 41, 0.08);
  --lift-3: 0 4px 8px rgba(22, 56, 47, 0.1), 0 22px 60px rgba(22, 56, 47, 0.16);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);        /* strong ease-out, UI default */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* on-screen movement */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);   /* long scroll reveals */
  --dur: 200ms;      /* UI transitions stay under 300ms */
  --dur-press: 140ms;
  --dur-exit: 130ms; /* exits run ~65% of enter, so dismissal feels immediate */

  --z-nav: 100;
  --z-drawer: 200;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.006em;
}
h4 {
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.002em;
}

/* The pricing guide sets its headlines in two weights: a Light opening line and
   a SemiBold line that carries the point. This is that, reusable. */
.hl { font-weight: 600; letter-spacing: -0.022em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

strong { font-weight: 600; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--sage); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--band-tight) 0;
}

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--green);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-size: var(--t-small);
  font-weight: 500;
}
.skip:focus { left: 1rem; top: 1rem; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shell ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-wide { max-width: 1400px; }

.band { padding-block: var(--band); }
.band-tight { padding-block: var(--band-tight); }

/* Chapter slabs: evergreen arrives full-bleed, not as a box. */
.slab {
  background: var(--green);
  color: var(--paper);
  position: relative;
  isolation: isolate;
}
.slab-deep { background: var(--green-deep); }
/* Sage wash: a light chapter break that is still brand colour, used where a
   full evergreen slab would push the page past its 60/30/10 balance. */
.slab-sunk { background: var(--paper-sunk); }
.slab-sunk .index-mark { background: rgba(143, 168, 155, 0.16); }

.slab h1, .slab h2, .slab h3 { color: #fff; }
.slab p { color: #d7e2db; }
.slab a:not(.btn) { color: #fff; }

/* A soft dusk wash so the evergreen slabs are lit rather than flat. */
.slab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(72% 90% at 82% 6%, rgba(196, 154, 90, 0.22), transparent 68%);
  pointer-events: none;
}

/* ---------- editorial type helpers ---------- */
.display {
  font-size: var(--t-display);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 300;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}
.slab .lead { color: #cddbd4; }
/* A lead that follows a heading needs air, wherever it sits. */
h1 + .lead, h2 + .lead, h3 + .lead { margin-top: 1.2rem; }
.rule-gold + h1, .rule-gold + h2 { margin-top: 0; }

.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin: 2.4em 0 0.55em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin: 2em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold); }

.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

.tag {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.slab .tag, .plate .tag, .cta .tag, .hero-page .tag { color: var(--gold-lift); }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Gold is light: a hairline under a heading, never a fill behind it. */
.rule-gold {
  width: 84px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.6rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur-press) var(--ease);
}
/* Instant confirmation that the interface heard the press. */
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--lift-1);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: var(--lift-2); }

.btn-gold {
  background: var(--gold);
  color: #241a0c;
  box-shadow: var(--lift-1);
}
.btn-gold:hover { background: var(--gold-hover); box-shadow: var(--lift-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink-soft); background: rgba(37, 39, 41, 0.03); }

.slab .btn-ghost,
.hero .btn-ghost,
.hero-page .btn-ghost,
.plate .btn-ghost,
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.38); }
@media (hover: hover) and (pointer: fine) {
  .slab .btn-ghost:hover,
  .hero .btn-ghost:hover,
  .hero-page .btn-ghost:hover,
  .plate .btn-ghost:hover,
  .cta .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
}

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Text link that reads as an action without becoming a button. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  padding-block: 4px;
}
.link-arrow svg { transition: transform 280ms var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--green-deep); }
.slab .link-arrow { color: var(--gold-lift); }
.slab .link-arrow:hover { color: #e8d3b3; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  transition: background 420ms var(--ease), box-shadow 420ms var(--ease),
    border-color 420ms var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 78px;
}

/* Over the hero the bar is invisible; once the page scrolls it becomes paper. */
.hdr[data-solid="true"] {
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(37, 39, 41, 0.04), 0 8px 24px rgba(37, 39, 41, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  margin-right: auto;
}
.brand img { height: 34px; width: auto; transition: opacity 300ms var(--ease); }
.brand-light { display: none; }

/* On a dark hero the header starts with the reversed lockup. */
.hdr[data-over="dark"][data-solid="false"] .brand-dark { display: none; }
.hdr[data-over="dark"][data-solid="false"] .brand-light { display: block; }

/* display:flex on the <ul> hides nothing by itself: flex items keep their UA
   list-item marker unless list-style is explicitly cleared, which is what was
   putting a stray bullet in front of every top-level nav label. */
.nav { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  background: none;
  border: 0;
  font-family: var(--sans);
  cursor: pointer;
  transition: color 220ms var(--ease), background 220ms var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(37, 39, 41, 0.045); }
.nav-link[aria-current="page"] { color: var(--green); font-weight: 600; }

.hdr[data-over="dark"][data-solid="false"] .nav-link { color: rgba(255, 255, 255, 0.86); }
.hdr[data-over="dark"][data-solid="false"] .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hdr[data-over="dark"][data-solid="false"] .nav-link[aria-current="page"] { color: #fff; }

.nav-link svg { transition: transform 240ms var(--ease); }
.nav-item[data-open="true"] .nav-link svg { transform: rotate(180deg); }

/* Desktop dropdown */
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -0.5rem;
  min-width: 330px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift-3);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  /* Nothing in the world appears from nothing: enter from 0.97, never from 0. */
  transform: translateY(-6px) scale(0.97);
  transform-origin: top left;
  transition: opacity var(--dur-exit) var(--ease), transform var(--dur-exit) var(--ease),
    visibility var(--dur-exit);
}
.nav-item[data-open="true"] .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav-panel a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 200ms var(--ease);
}
.nav-panel a span {
  display: block;
  font-weight: 400;
  font-size: var(--t-fine);
  color: var(--ink-mute);
  margin-top: 2px;
  line-height: 1.4;
}
.nav-panel a:hover { background: rgba(36, 88, 74, 0.06); }

/* Mega panel: the Services menu carries two groups (short-term / property)
   side by side rather than one long scrolling list. */
.nav-mega {
  min-width: 480px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.75rem;
}
.nav-mega-col p {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  padding: 0.4rem 0.75rem 0.5rem;
  margin: 0;
}
.nav-mega-col a { font-size: 0.87rem; padding: 0.5rem 0.75rem; }

.hdr-cta { display: flex; align-items: center; gap: 0.75rem; flex: 0 0 auto; }

.hdr .btn { min-height: 42px; padding: 0.55rem 1.15rem; }
.hdr[data-over="dark"][data-solid="false"] .btn-primary { background: var(--gold); color: #241a0c; }
.hdr[data-over="dark"][data-solid="false"] .btn-primary:hover { background: #d3ac71; }

/* Mobile trigger */
.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.hdr[data-over="dark"][data-solid="false"] .burger { color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 200ms var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-exit) var(--ease), transform var(--dur-exit) var(--ease),
    visibility var(--dur-exit);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.drawer-head img { height: 34px; width: auto; }
.drawer-body { padding: 1.5rem var(--gutter) 2.5rem; flex: 1 1 auto; }
.drawer-body a {
  display: block;
  padding: 0.95rem 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer-body a[aria-current="page"] { color: var(--green); }
.drawer-group { margin-top: 0.5rem; }
.drawer-group > p {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 1.75rem 0 0.25rem;
}
.drawer-group a { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; padding: 0.7rem 0; }
.drawer-foot { margin-top: 2rem; display: grid; gap: 0.75rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(94svh, 880px);
  display: flex;
  align-items: flex-end;
  background: var(--green-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
/* Poster gradient behind the canvas: it is what a visitor sees if WebGL is
   unavailable, and what the canvas fades up from on a good connection. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(58% 42% at 66% 62%, rgba(196, 154, 90, 0.5), transparent 70%),
    linear-gradient(178deg, #10261f 0%, #17372e 40%, #24584a 72%, #35705d 100%);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 20, 17, 0.86) 0%, rgba(8, 20, 17, 0.55) 38%, rgba(8, 20, 17, 0) 72%),
    linear-gradient(
      to top,
      rgba(8, 20, 17, 0.9) 0%,
      rgba(8, 20, 17, 0.5) 26%,
      rgba(8, 20, 17, 0.06) 56%,
      rgba(8, 20, 17, 0.4) 100%
    );
}
.hero-inner {
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3.25rem, 7vh, 5rem);
  width: 100%;
}
.hero h1 {
  /* Widened for the three-audience headline (residential + Airbnb + short-term):
     19ch broke it into too many short, ragged lines. */
  max-width: 27ch;
  color: #fff;
  text-shadow: 0 2px 30px rgba(6, 18, 14, 0.35);
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: #d3e0d9;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* The trust bar sits on the hero's lower edge as a hairline strip. */
.hero-facts {
  margin-top: clamp(2.75rem, 6vh, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.hero-facts div { min-width: 0; }
.hero-facts dt {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-lift);
  line-height: 1.1;
}
.hero-facts dd {
  margin: 0.4rem 0 0;
  font-size: var(--t-fine);
  line-height: 1.45;
  color: #c3d2ca;
}

/* Inner-page hero: same world, quieter. No canvas, evergreen slab, gold rule. */
.hero-page {
  background: var(--green);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(64% 100% at 88% 0%, rgba(196, 154, 90, 0.28), transparent 66%);
}
.hero-page .inner {
  padding-block: clamp(8.5rem, 15vh, 11rem) clamp(3.5rem, 7vh, 5.5rem);
}
.hero-page h1 { max-width: 18ch; }
.hero-page .lead { margin-top: 1.35rem; max-width: 52ch; color: #cddbd4; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-fine);
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.66);
}
.crumbs a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { opacity: 0.5; flex: 0 0 auto; }

/* ==========================================================================
   Section furniture
   ========================================================================== */
/* Asymmetric editorial split: the argument gets the wide column, the aside
   gets the narrow one. Not a 50/50 hero-and-image block. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-flip > :first-child { order: 2; }

.sec-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head .lead { max-width: 52ch; margin-top: 1.1rem; }

/* Sticky column for long argument pages. */
.sticky-col { position: sticky; top: 7rem; }

/* ==========================================================================
   The fee argument: the wedge, made checkable
   ========================================================================== */
.fee {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.slab .fee {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(2px);
}
.slab .fee label, .slab .fee .fee-note { color: #cddbd4; }

.fee-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--t-small);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.fee-value {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--green);
}
.slab .fee-value { color: var(--gold-lift); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}
.slab input[type="range"]::-webkit-slider-runnable-track { background: rgba(255, 255, 255, 0.24); }
.slab input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, 0.24); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper-raised);
  box-shadow: 0 1px 2px rgba(37, 39, 41, 0.16), 0 4px 12px rgba(37, 39, 41, 0.2);
  transition: transform 180ms var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper-raised);
  box-shadow: 0 1px 2px rgba(37, 39, 41, 0.16), 0 4px 12px rgba(37, 39, 41, 0.2);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.08); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(0.97); }
.slab input[type="range"]::-webkit-slider-thumb { border-color: #1d4a3e; }
.slab input[type="range"]::-moz-range-thumb { border-color: #1d4a3e; }

.fee-rows { margin-top: 1.75rem; display: grid; gap: 0; }
.fee-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.slab .fee-row { border-top-color: var(--line-on-green); }
.fee-row:first-child { border-top: 0; }
.fee-row-key { font-size: var(--t-small); color: var(--ink-soft); }
.slab .fee-row-key { color: #cddbd4; }
.fee-row-val {
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.fee-row-total {
  border-top: 1px solid var(--ink);
  margin-top: 0.35rem;
  padding-top: 1rem;
}
.slab .fee-row-total { border-top-color: rgba(255, 255, 255, 0.5); }
.fee-row-total .fee-row-key { color: var(--ink); font-weight: 600; }
.slab .fee-row-total .fee-row-key { color: #fff; }
.fee-row-total .fee-row-val {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--green);
}
.slab .fee-row-total .fee-row-val { color: var(--gold-lift); }
.fee-note {
  margin-top: 1.1rem;
  font-size: var(--t-fine);
  line-height: 1.5;
  color: var(--ink-mute);
}

.fee-swap {
  display: inline-flex;
  padding: 3px;
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.slab .fee-swap { background: rgba(0, 0, 0, 0.18); border-color: rgba(255, 255, 255, 0.16); }
.fee-swap button {
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: var(--t-fine);
  font-weight: 600;
  color: var(--ink-mute);
  padding: 0.55rem 1rem;
  min-height: 40px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease);
}
.slab .fee-swap button { color: #b6c8bf; }
.fee-swap button[aria-pressed="true"] {
  background: var(--paper-raised);
  color: var(--green);
  box-shadow: 0 1px 2px rgba(37, 39, 41, 0.08), 0 2px 6px rgba(37, 39, 41, 0.06);
}
.slab .fee-swap button[aria-pressed="true"] { background: var(--gold); color: #241a0c; }

/* ==========================================================================
   Plans
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--lift-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.plan:hover { box-shadow: var(--lift-2); border-color: var(--line-strong); }
.plan-featured {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: var(--lift-3);
  position: relative;
  isolation: isolate;
}
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 60% at 84% 0%, rgba(196, 154, 90, 0.26), transparent 70%);
}
.plan-featured h3, .plan-featured .plan-rate { color: #fff;
  font-weight: 300;
}
.plan-featured p, .plan-featured li { color: #cddbd4; }
.plan-featured li::marker { color: var(--gold); }

.plan-flag {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.plan-rate {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--green);
  margin: 0.25rem 0 0.35rem;
}
.plan-rate small {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-mute);
  display: block;
  margin-top: 0.65rem;
  line-height: 1.45;
}
.plan-featured .plan-rate small { color: #b6c8bf; }
.plan-strap {
  margin: 0.5rem 0 0;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--green);
}
.plan-featured .plan-strap { color: var(--gold-lift); }
.plan-desc { margin-top: 1rem; font-size: var(--t-small); color: var(--ink-soft); }

/* The guide states plainly what stays with the owner on each plan. */
.plan-handle {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink-soft);
}
.plan-handle span {
  display: block;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.plan-featured .plan-handle { border-top-color: var(--line-on-green); color: #cddbd4; }
.plan-featured .plan-handle span { color: var(--gold-lift); }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.plan-featured ul { border-top-color: var(--line-on-green); }
.plan li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.65rem 0;
  margin: 0;
  font-size: var(--t-small);
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.plan-featured li { border-bottom-color: var(--line-on-green); }
.plan li svg { margin-top: 4px; color: var(--green); flex: 0 0 auto; }
.plan-featured li svg { color: var(--gold-lift); }
.plan-featured .plan-flag { color: var(--gold-lift); }
.plan li[data-off] { color: var(--ink-mute); }
.plan li[data-off] svg { color: var(--line-strong); }
/* .plan li and .plan-featured li tie on specificity, so the reversed colours
   for the evergreen card have to win on source order, not on hope. */
.plan-featured li { color: #cddbd4; }
.plan-featured li[data-off] { color: #9fb5aa; }
.plan-featured li[data-off] svg { color: rgba(255, 255, 255, 0.34); }
.plan .btn { margin-top: auto; }
.plan-cta { padding-top: 1.75rem; margin-top: auto; display: grid; }

/* ==========================================================================
   Editorial index: services and posts as a set list, not a card grid
   ========================================================================== */
.index-list { border-top: 1px solid var(--line); }
.slab .index-list { border-top-color: var(--line-on-green); }

.index-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 320ms var(--ease);
}
.slab .index-row { border-bottom-color: var(--line-on-green); }
.index-row::after {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * -0.5);
  right: calc(var(--gutter) * -0.5);
  top: 0; bottom: -1px;
  border-radius: var(--radius);
  background: rgba(36, 88, 74, 0.05);
  opacity: 0;
  z-index: -1;
  transition: opacity 320ms var(--ease);
}
.slab .index-row::after { background: rgba(255, 255, 255, 0.06); }
@media (hover: hover) and (pointer: fine) {
  .index-row:hover::after { opacity: 1; }
}

.index-mark {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sage);
  background: rgba(143, 168, 155, 0.09);
  border-radius: 50%;
  color: var(--green);
  flex: 0 0 auto;
  transition: border-color 320ms var(--ease), background 320ms var(--ease), color 320ms var(--ease);
}
.slab .index-mark { border-color: var(--line-on-green); color: var(--gold-lift); }
.index-row:hover .index-mark { border-color: var(--gold); background: var(--gold); color: #241a0c; }
.slab .index-row:hover .index-mark { background: var(--gold); color: #16382f; border-color: var(--gold); }

.index-body h3 { margin-bottom: 0.5rem; }
.index-body p { font-size: var(--t-small); color: var(--ink-mute); max-width: 62ch; margin: 0; }
.slab .index-body p { color: #b6c8bf; }
.index-go { color: var(--ink-mute); padding-top: 0.5rem; transition: transform 320ms var(--ease), color 320ms var(--ease); }
.index-row:hover .index-go { transform: translateX(5px); color: var(--green); }
.slab .index-go { color: #b4c5bc; }
.slab .index-row:hover .index-go { color: var(--gold-lift); }

/* ==========================================================================
   Process: a numbered sequence, because the order is the information
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: clamp(3rem, 7vw, 5rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.slab .step { border-top-color: var(--line-on-green); }
.step:last-child { border-bottom: 1px solid var(--line); }
.slab .step:last-child { border-bottom-color: var(--line-on-green); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--gold-text);
  line-height: 1;
  padding-top: 0.1em;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); max-width: 60ch; margin: 0; }
.slab .step p { color: #cddbd4; }
.step-meta {
  margin-top: 0.9rem;
  font-size: var(--t-fine);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.slab .step-meta { color: #b4c5bc; }

/* ==========================================================================
   Facts strip
   ========================================================================== */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.fact { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.fact dt {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--green);
}
.slab .fact dt { color: #fff; }
.fact dd { margin: 0.55rem 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--ink-mute); }
.slab .fact dd { color: #b6c8bf; }

/* ==========================================================================
   Neighbourhood / chip lists
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.chips li {
  margin: 0;
  font-size: var(--t-fine);
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--sage);
  border-radius: 100px;
  color: var(--green);
  background: rgba(143, 168, 155, 0.1);
}
.slab .chips li {
  border-color: var(--line-on-green);
  color: #d7e2db;
  background: rgba(255, 255, 255, 0.05);
}

/* Definition list used for local demand drivers and similar paired content. */
.pairs { margin: 0; }
.pairs > div {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(0.75rem, 2vw, 2rem);
  align-items: start;
}
.slab .pairs > div { border-top-color: var(--line-on-green); }
.pairs dt { font-weight: 600; font-size: var(--t-small); }
.pairs dd { margin: 0; font-size: var(--t-small); color: var(--ink-soft); }
.slab .pairs dd { color: #cddbd4; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.slab .faq { border-top-color: var(--line-on-green); }
.faq details { border-bottom: 1px solid var(--line); }
.slab .faq details { border-bottom-color: var(--line-on-green); }
.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  min-height: 56px;
  transition: color 240ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.slab .faq summary:hover { color: var(--gold-lift); }
.faq-sign { position: relative; width: 24px; height: 24px; justify-self: end; }
.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.faq-sign::before { top: 11px; left: 3px; width: 18px; height: 1.5px; }
.faq-sign::after { left: 11px; top: 3px; width: 1.5px; height: 18px; }
details[open] .faq-sign::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 0 1.5rem; max-width: 68ch; }
.faq-answer p { font-size: var(--t-small); color: var(--ink-soft); }
.slab .faq-answer p { color: #cddbd4; }
details[open] .faq-answer { animation: unfold 240ms var(--ease); }
@keyframes unfold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.calc-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--lift-1);
}
.calc-field { margin-bottom: 1.75rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field > label, .calc-field > .calc-legend {
  display: block;
  font-size: var(--t-small);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.calc-hint { font-size: var(--t-fine); color: var(--ink-mute); margin-top: 0.55rem; line-height: 1.5; }

.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg button {
  flex: 1 1 auto;
  min-width: 62px;
  min-height: 46px;
  padding: 0.6rem 0.85rem;
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), color 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .seg button:hover { border-color: var(--line-strong); }
}
.seg button:active, .fee-swap button:active { transform: scale(0.975); }
.seg button, .fee-swap button { transition: border-color var(--dur) var(--ease),
  background var(--dur) var(--ease), color var(--dur) var(--ease),
  transform var(--dur-press) var(--ease), box-shadow var(--dur) var(--ease); }
.seg button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.calc-out {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--lift-3);
}
.calc-out::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(76% 62% at 86% 4%, rgba(196, 154, 90, 0.3), transparent 68%);
}
.calc-out-label { font-size: var(--t-small); color: #cddbd4; }
.calc-range {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0.5rem 0 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-range span { color: var(--gold-lift); }
.calc-sub { margin-top: 0.6rem; font-size: var(--t-fine); color: #b6c8bf; }
.calc-break { margin-top: 1.75rem; }
.calc-break .fee-row { border-top-color: var(--line-on-green); }
.calc-break .fee-row-key { color: #cddbd4; }
.calc-break .fee-row-val { color: #fff; }
.calc-break .fee-row-total { border-top-color: rgba(255, 255, 255, 0.5); }
.calc-break .fee-row-total .fee-row-key { color: #fff; }
.calc-break .fee-row-total .fee-row-val { color: var(--gold-lift); }
.calc-disclaim {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-on-green);
  font-size: var(--t-fine);
  line-height: 1.55;
  color: #b6c8bf;
}
.calc-out .btn { margin-top: 1.5rem; width: 100%; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: var(--t-small); font-weight: 600; }
.field .req { color: var(--gold-text); }
.field-hint { font-size: var(--t-fine); color: var(--ink-mute); line-height: 1.45; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%233F4143' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.field input::placeholder, .field textarea::placeholder { color: #737678; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(36, 88, 74, 0.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #b23c30;
  box-shadow: 0 0 0 3px rgba(178, 60, 48, 0.12);
}
.field-error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-fine);
  font-weight: 500;
  color: #96281c;
}
.field-error svg { flex: 0 0 auto; }
.field[data-invalid="true"] .field-error { display: flex; }

.form-note { font-size: var(--t-fine); color: var(--ink-mute); line-height: 1.55; }
.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: var(--t-small);
  line-height: 1.5;
}
.form-status[data-state="error"] {
  display: flex;
  background: #fbeeec;
  border: 1px solid #e6c2bc;
  color: #7d2318;
}
.form-status[data-state="ok"] {
  display: flex;
  background: #e9f2ed;
  border: 1px solid #bcd6c9;
  color: #17392f;
}
.form-status svg { flex: 0 0 auto; margin-top: 2px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   Service page: prose plus a sticky lead-generation rail
   ========================================================================== */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.svc-prose { max-width: 68ch; }
.svc-rail { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }

.rail {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift-2);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
}
.rail-form { display: grid; gap: 1.1rem; }
.rail-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 0;
}
.rail-title .hl { font-weight: 600; }
.rail-sub { font-size: var(--t-small); color: var(--ink-mute); margin: 0 0 0.25rem; }
.rail .field input, .rail .field select, .rail .field textarea { min-height: 46px; }
.rail .form-status { font-size: var(--t-fine); padding: 0.75rem 0.9rem; }
.rail .form-note { font-size: 0.72rem; }

/* ==========================================================================
   Fee comparison table
   ========================================================================== */
.ftable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ftable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.ftable th, .ftable td { text-align: left; padding: 1rem 1.15rem; vertical-align: middle; }
.ftable thead th {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--ink-soft);
  padding-bottom: 0.85rem;
}
.ftable thead th:first-child { padding-left: 0; }
.ftable tbody th {
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 0;
  border-bottom: 1px solid var(--line);
}
.ftable tbody td { border-bottom: 1px solid var(--line); color: var(--ink-mute); }
.ftable tbody tr:last-child th, .ftable tbody tr:last-child td { border-bottom: 0; }
/* The Meen column is tinted so the comparison reads without needing colour alone:
   it is also the only column whose values are set in the heavier weight. */
.ftable-us {
  background: rgba(36, 88, 74, 0.06);
  color: var(--green) !important;
  font-weight: 600;
}
.ftable thead th:nth-child(2) { background: rgba(36, 88, 74, 0.06); color: var(--green); }

/* ==========================================================================
   Imagery
   ========================================================================== */
.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-sunk);
  position: relative;
}
.shot img { width: 100%; height: auto; object-fit: cover; }
.shot-tall img { aspect-ratio: 4 / 5; }
.shot-wide img { aspect-ratio: 16 / 10; }
.shot-square img { aspect-ratio: 1 / 1; }
.shot figcaption {
  font-size: var(--t-fine);
  color: var(--ink-mute);
  padding-top: 0.75rem;
  line-height: 1.5;
}

/* A framed image that sits into the paper rather than floating on it. */
.shot-framed {
  box-shadow: var(--lift-2);
  outline: 1px solid rgba(37, 39, 41, 0.06);
  outline-offset: -1px;
}

/* Two images offset against each other, used where one photo is not enough
   to carry a section but a grid of four would be filler. */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}
.duo > :first-child { margin-top: clamp(1.5rem, 5vw, 3.5rem); }

/* Full-bleed photographic band with the evergreen scrim over it. */
.plate {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: var(--green-deep);
}
.plate > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11, 30, 25, 0.94) 0%, rgba(16, 44, 36, 0.86) 42%, rgba(22, 56, 47, 0.5) 100%);
}
.plate h2, .plate h3 { color: #fff; }
.plate p { color: #cddbd4; }
.plate .lead { color: #d3e0d9; }

/* City page: the photograph carries the local claim, so it gets real height. */
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-page[data-photo="true"]::before {
  background: linear-gradient(92deg, rgba(11, 30, 25, 0.95) 0%, rgba(16, 44, 36, 0.88) 46%, rgba(22, 56, 47, 0.58) 100%);
}

/* ==========================================================================
   Callout: a single quiet aside, not a coloured left border
   ========================================================================== */
.note {
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.note h4 { margin-bottom: 0.55rem; }
.note p { font-size: var(--t-small); color: var(--ink-soft); margin: 0; }
.note p + p { margin-top: 0.75rem; }
.slab .note {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-on-green);
}
.slab .note h4 { color: #fff; }
.slab .note p { color: #cddbd4; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-list { border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.post-meta { font-size: var(--t-fine); color: var(--ink-mute); }
.post-meta strong {
  display: block;
  color: var(--gold-text);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.post-row h3 { transition: color 260ms var(--ease); }
.post-row:hover h3 { color: var(--green); }
.post-row p { margin: 0.7rem 0 0; font-size: var(--t-small); color: var(--ink-mute); max-width: 66ch; }

/* Blog index: a picture-led card grid rather than a text list, so the guides
   hub reads as a set of things rather than a wall of links. */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--lift-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { box-shadow: var(--lift-2); border-color: var(--line-strong); transform: translateY(-2px); }
}
.post-card-img { margin: 0; background: var(--paper-sunk); }
.post-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-body { padding: clamp(1.15rem, 2vw, 1.5rem); display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.post-card-meta { font-size: var(--t-fine); color: var(--ink-mute); margin: 0; }
.post-card-meta strong {
  display: block;
  color: var(--gold-text);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.post-card-body h3 { font-size: 1.15rem; transition: color 240ms var(--ease); }
.post-card:hover h3 { color: var(--green); }
.post-card-body p { font-size: var(--t-small); color: var(--ink-mute); margin: 0; flex: 1; }
.post-card-body .link-arrow { margin-top: 0.25rem; }

.post-head { max-width: 24ch; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { font-size: var(--t-small); }
.toc p {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0; border-top: 1px solid var(--line); }
.toc a {
  display: block;
  padding: 0.6rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
  transition: color 220ms var(--ease);
}
.toc a:hover { color: var(--green); }

.article .prose h2 { scroll-margin-top: 7rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  background: var(--green-deep);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(58% 120% at 78% 0%, rgba(196, 154, 90, 0.3), transparent 64%);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
.cta h2 { color: #fff; max-width: 17ch; }
.cta p { color: #cddbd4; margin-top: 1.1rem; max-width: 46ch; }
.cta-actions { display: grid; gap: 0.85rem; justify-items: stretch; }
.cta-actions .btn { width: 100%; }
.cta-tel {
  text-align: center;
  font-size: var(--t-fine);
  color: #b6c8bf;
}
.cta-tel a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-tel a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--ink); color: #d5d6d7; }
.ftr-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.ftr-brand img { height: 74px; width: auto; margin-bottom: 1.35rem; }
.ftr-brand p { font-size: var(--t-small); color: #a4a6a8; max-width: 34ch; }
.ftr h2, .ftr h3 { color: #fff; }
.ftr-col p.ftr-title {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 1.1rem;
}
.ftr-col ul { list-style: none; padding: 0; margin: 0; }
.ftr-col li { margin-bottom: 0.6rem; }
.ftr-col a {
  font-size: var(--t-small);
  color: #c4c6c8;
  text-decoration: none;
  transition: color 220ms var(--ease);
}
.ftr-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.ftr-nap { font-size: var(--t-small); line-height: 1.7; color: #c4c6c8; font-style: normal; }
.ftr-nap a { color: #fff; text-decoration: none; font-weight: 500; }
.ftr-nap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr-nap strong { color: #fff; display: block; margin-bottom: 0.35rem; }

.ftr-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.75rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-fine);
  color: #96999b;
}
.ftr-bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ftr-bottom a { color: #96999b; text-decoration: none; }
.ftr-bottom a:hover { color: #fff; }
.ftr-areas { font-size: var(--t-fine); color: #96999b; max-width: 78ch; line-height: 1.6; }

/* ==========================================================================
   Motion: one authored moment in the hero, one restrained reveal elsewhere
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease-reveal), transform 640ms var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* The hero settles in once: the sky lifts, then the copy arrives beneath it. */
.hero-inner > * {
  opacity: 0;
  transform: translateY(22px);
  animation: settle 900ms var(--ease-reveal) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.52s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.62s; }
@keyframes settle {
  to { opacity: 1; transform: none; }
}

.hero-canvas {
  opacity: 0;
  transition: opacity 1.2s var(--ease-reveal);
}
.hero-canvas[data-ready="true"] { opacity: 1; }

/* Same fade: the gradient/photo underneath is always what a visitor sees
   until the clip actually has a frame to show, so a slow network or a load
   failure never leaves a blank box. */
.bg-video {
  opacity: 0;
  transition: opacity 900ms var(--ease-reveal);
  background: transparent;
}
.bg-video[data-ready="true"] { opacity: 1; }

/* Inner-page hero video: same fill treatment as the photo variant it replaces. */
.hero-photo video { width: 100%; height: 100%; object-fit: cover; }

/* Homepage intro clips: two autoplay loops, side by side, no claim made about
   their content beyond what they show. */
/* One of the two supplied clips is landscape, the other portrait. A 50/50
   grid with object-fit:cover would crop one of them to fit a box shape it was
   never shot for — exactly what happened the first time this shipped. A
   shared row height with each video keeping its own intrinsic ratio (no
   object-fit at all: a <video> with only height set sizes its width from its
   real aspect ratio, the same as an <img>) shows both clips in full, at
   whatever width their own shape calls for. */
.intro-videos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 1.75rem);
  height: clamp(280px, 38vw, 460px);
}
.intro-videos figure {
  margin: 0;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-sunk);
  box-shadow: var(--lift-1);
}
.intro-video { display: block; height: 100%; width: auto; }

@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-inner > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .split, .split-even, .calc, .article, .cta-inner, .svc {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-flip > :first-child { order: 0; }
  .sticky-col, .svc-rail { position: static; }
  /* On a single column the lead form belongs near the top of the page, not
     after the full prose column, so the primary action stays reachable. */
  .svc-rail { order: -1; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
  .article > .toc { order: 2; }
  .cta-actions { justify-self: start; max-width: 24rem; width: 100%; }
}

/* The phone number is the first thing to go when the bar gets tight; it is
   still one tap away in the drawer and in the footer. */
@media (max-width: 1300px) {
  .hdr-tel { display: none; }
}

@media (max-width: 1024px) {
  .nav, .hdr-tel { display: none; }
  .burger { display: flex; }
  .hdr .btn-primary { display: none; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --t-body: 1.0625rem; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .index-row { grid-template-columns: 44px minmax(0, 1fr); }
  .index-go { display: none; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  /* Stacked: each clip gets the full width and its own height, sized to its
     own ratio (the portrait clip reads narrow and tall; contain keeps it
     that way rather than stretching or cropping it to match the landscape one). */
  .intro-videos { flex-direction: column; height: auto; align-items: center; }
  .intro-videos figure { height: clamp(240px, 78vw, 420px); width: 100%; }
  .intro-video { width: 100%; height: 100%; object-fit: contain; }
  .pairs > div { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: min(96svh, 760px); }
}

/* Four stacked facts pushed the headline and the primary action off a 375px
   screen. Two columns keeps the whole hero above the fold. */
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; padding-top: 1.15rem; }
  .hero-facts dt { font-size: 1.18rem; }
  .hero-facts dd { font-size: 0.76rem; line-height: 1.4; }
  .hero-inner { padding-block: 6.5rem 2.5rem; }
  .hero-sub { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.75rem; gap: 0.65rem; }
  .hero-actions .btn { width: 100%; }
  .seg button { min-width: 54px; }
}

@media print {
  .hdr, .drawer, .cta, .hero-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
