/* ==========================================================================
   Whitgroup Holdings — site stylesheet
   One file, no build step. Sections:
   1. Tokens  2. Reset  3. Typography  4. Layout  5. Header/Nav  6. Buttons
   7. Frames (image slots)  8. Components  9. Footer  10. Utilities/Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper:      #FBFAF7;
  --paper-2:    #F2EFE8;
  --paper-3:    #EAE5DA;
  --ink:        #17181A;
  --ink-2:      #52564F;
  --ink-3:      #676B62;
  --sage:       #7F9A76;
  --sage-dk:    #5C7454;
  --sage-dkr:   #4A5F43;
  --sage-lt:    #E9EFE4;
  --line:       #E3DFD5;
  --line-dark:  #33352F;

  --font-sans: "Poppins", "Futura", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --pad:        clamp(1.25rem, 5vw, 3rem);
  --wrap:       1240px;
  --wrap-tight: 900px;
  --radius:     14px;
  --radius-lg:  22px;

  --section-y:  clamp(4.5rem, 10vw, 8.5rem);
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* 2. Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 999px;
  z-index: 100; text-decoration: none; font-size: .9rem;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* 3. Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.h-display { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
h1          { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2          { font-size: clamp(1.95rem, 3.9vw, 3rem); }
h3          { font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -0.02em; }
h4          { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dkr);
  margin: 0 0 1.4rem;
}
.eyebrow--muted { color: var(--ink-3); }

.lede {
  font-size: clamp(1.09rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
}
.lede--wide { max-width: 52ch; }

.body-lg { font-size: 1.09rem; color: var(--ink-2); }
.muted   { color: var(--ink-2); }
.small   { font-size: .875rem; }
.tiny    { font-size: .78rem; letter-spacing: .04em; color: var(--ink-3); }

.link-underline {
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.link-underline:hover { color: var(--sage-dkr); border-color: var(--sage-dkr); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; font-weight: 500; font-size: .97rem;
  color: var(--ink);
}
.link-arrow::after {
  content: "→";
  transition: transform .22s var(--ease);
  color: var(--sage-dkr);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* 4. Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--tight { max-width: var(--wrap-tight); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section-rule { border-top: 1px solid var(--line); }

.section--stone { background: var(--paper-2); }
.section--sage  { background: var(--sage-dk); color: #fff; }
.section--ink   { background: var(--ink); color: var(--paper); }

.section--ink  .eyebrow { color: rgba(255,255,255,.62); }
.section--ink  .lede    { color: rgba(255,255,255,.82); }
.section--sage .eyebrow { color: rgba(255,255,255,.90); }
.section--sage .lede    { color: rgba(255,255,255,.92); }

.grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.grid--2      { grid-template-columns: repeat(2, 1fr); }
.grid--3      { grid-template-columns: repeat(3, 1fr); }
.grid--split  { grid-template-columns: 1fr 1fr; align-items: center; }
.grid--aside  { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.section-head > :last-child { padding-bottom: .35rem; }

@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--split, .grid--aside, .section-head {
    grid-template-columns: 1fr;
  }
  .section-head { align-items: start; }
}

/* 5. Header / Nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.logo {
  font-size: 1.22rem; font-weight: 700; letter-spacing: -0.035em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: .06em;
  flex-shrink: 0;
}
.logo__dot { color: var(--sage-dkr); }
.logo__sub {
  display: block; font-size: .58rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.15rem); }
.nav a {
  text-decoration: none; font-size: .97rem; font-weight: 400;
  color: var(--ink-2); position: relative; padding-block: .35rem;
  transition: color .16s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--sage); border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: .5rem .9rem;
  color: var(--ink); cursor: pointer; font-size: .9rem; font-weight: 500;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; }
  .header-nav {
    position: fixed; inset: 74px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem var(--pad) 1.5rem;
    display: none;
  }
  .header-nav[data-open="true"] { display: flex; }
  .header-nav {
    max-height: calc(100vh - 74px); overflow-y: auto;
    box-shadow: 0 18px 40px -22px rgba(23,24,26,.28);
  }
  .header-nav .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav .nav a {
    padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem;
  }
  .header-nav .nav a[aria-current="page"]::after { display: none; }
  .header-nav .btn { margin-top: 1.25rem; justify-content: center; }
}
@media (min-width: 901px) {
  .header-nav { display: flex !important; align-items: center; gap: clamp(1rem, 2.4vw, 2.15rem); }
}

/* 6. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.55rem;
  border-radius: 999px;
  font-size: .97rem; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--sage-dk); color: #fff; }
.btn--primary:hover { background: var(--sage-dkr); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }

.btn--onsage { background: #fff; color: var(--sage-dk); }
.btn--onsage:hover { background: rgba(255,255,255,.88); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--sm { padding: .58rem 1.15rem; font-size: .89rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 7. Frames — image slots ------------------------------------------------- */
/* A frame is an intentional, labelled placeholder. Swap the .frame__ph div
   for an <img> and it needs no other change. */
.frame {
  margin: 0;
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Images crop to the frame's aspect ratio rather than keeping their own, so a row
   of cards lines up even when the source photos differ. */
.frame > img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }
.frame--hero > img     { aspect-ratio: 4 / 5; }
.frame--wide > img     { aspect-ratio: 16 / 9; }
.frame--banner > img   { aspect-ratio: 21 / 9; }
.frame--square > img   { aspect-ratio: 1 / 1; }
.frame--portrait > img { aspect-ratio: 3 / 4; }

.frame__ph {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .55rem; padding: 2rem 1.75rem; text-align: center;
  background-image:
    linear-gradient(135deg, rgba(127,154,118,.05) 0%, rgba(127,154,118,0) 55%),
    repeating-linear-gradient(45deg, rgba(23,24,26,.018) 0 2px, transparent 2px 7px);
}
.frame__ph span {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3);
}
.frame__ph small {
  font-size: .82rem; line-height: 1.5; color: var(--ink-3);
  max-width: 26ch;
}

.frame--hero .frame__ph      { aspect-ratio: 4 / 5; }
.frame--wide .frame__ph      { aspect-ratio: 16 / 9; }
.frame--banner .frame__ph    { aspect-ratio: 21 / 9; }
.frame--square .frame__ph    { aspect-ratio: 1 / 1; }
.frame--portrait .frame__ph  { aspect-ratio: 3 / 4; }



.frame__caption {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: .8rem 1.15rem;
  font-size: .8rem; color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 1rem;
}

/* 8. Components ----------------------------------------------------------- */

/* Hero */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__cta { margin-top: 2.25rem; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* A 4:5 portrait runs tall once it's full-width on a narrow screen — shorten it
     so the hero doesn't push the fold too far down. */
  .frame--hero .frame__ph,
  .frame--hero > img { aspect-ratio: 4 / 3; }
}

/* Page header (interior pages) */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.page-head__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: end;
}
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* Stat band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.stat__num {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: .55rem;
}
.stat__num sup { font-size: .38em; top: -.9em; font-weight: 600; letter-spacing: 0; }
.stat__label {
  font-size: .8rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); line-height: 1.4;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

/* Generic card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  display: flex; flex-direction: column; gap: .85rem;
}
.card--flat { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 1.5rem 0 0; }
.card__num {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  color: var(--sage-dkr); text-transform: uppercase;
}
.card p { color: var(--ink-2); font-size: .99rem; }
.card > .link-arrow { margin-top: auto; padding-top: .5rem; }

/* Property */
.property {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.property:first-of-type { border-top: 0; padding-top: 0; }

/* At the two-column breakpoint the intro spans both tracks and the photo sits
   beside the spec table rather than above it — a 16:9 elevation and a six-row
   table are close to the same height, so this pairs them instead of stranding
   the table under thirteen rows' worth of leftover blank space below a short
   photo. DOM order stays photo → intro → facts so mobile (which drops to a
   single column below) still shows the photo first, matching the card layouts
   elsewhere on this page. */
@media (min-width: 861px) {
  .property { grid-template-areas: "intro intro" "media facts"; }
  .property__media { grid-area: media; }
  .property__intro { grid-area: intro; }
  .property__facts { grid-area: facts; }
}
@media (max-width: 860px) { .property { grid-template-columns: 1fr; } }

.property__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: .4rem;
}
.property__meta {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.25rem;
}

.badge {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase;
  padding: .34rem .72rem; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--available { background: var(--sage-lt); color: #45593E; border-color: rgba(92,116,84,.24); }
.badge--full { background: var(--paper-2); color: var(--ink-2); }
.badge--soon { background: #F6EFE2; color: #795C27; border-color: rgba(134,104,47,.22); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Compact spec list for a property card — the short version of .specs. */
.minispecs { margin: .25rem 0 0; display: grid; gap: 0; font-size: .89rem; }
.minispecs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .48rem 0; border-bottom: 1px solid var(--line);
}
.minispecs > div:last-child { border-bottom: 0; }
.minispecs dt { color: var(--ink-3); }
.minispecs dd {
  margin: 0; color: var(--ink); font-weight: 500;
  font-variant-numeric: tabular-nums; text-align: right;
}

/* Spec table */
.specs { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .93rem; }
.specs th, .specs td {
  text-align: left; padding: .72rem 0;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.specs th {
  font-weight: 500; color: var(--ink-3);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  width: 44%; padding-right: 1rem;
}
.specs td { color: var(--ink); font-weight: 500; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* Portfolio table — for buildings we list rather than feature individually. */
.ptable-wrap { overflow-x: auto; }
.ptable {
  width: 100%; min-width: 520px;
  border-collapse: collapse; font-size: .97rem;
}
.ptable th, .ptable td {
  text-align: left; vertical-align: top;
  padding: .9rem 1.25rem .9rem 0;
  border-bottom: 1px solid var(--line);
}
.ptable thead th {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: .65rem;
}
.ptable tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.ptable tbody td { color: var(--ink-2); }
.ptable .num {
  text-align: right; padding-right: 0;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ptable tfoot th, .ptable tfoot td {
  border-bottom: 0; border-top: 2px solid var(--ink);
  padding-top: .9rem; font-weight: 600; color: var(--ink);
}
.ptable tbody tr:last-child th,
.ptable tbody tr:last-child td { border-bottom: 0; }

/* Market divider — introduces a group of properties. */
.market {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: 1.1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 2px solid var(--ink);
}
.market h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.market__count {
  margin-left: auto; flex-shrink: 0;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 620px) {
  /* The heading and the count stop fitting on one line — stack them. */
  .market { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .market__count { margin-left: 0; }
}

/* Timeline */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: .6rem; bottom: .6rem;
  width: 1px; background: var(--line);
}
.timeline__item {
  position: relative;
  padding: 0 0 clamp(2.25rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -4px; top: .62rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px var(--paper);
}
.timeline__year {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: .7rem;
}
.timeline__item h3 { margin-bottom: .5rem; }
.timeline__item p { color: var(--ink-2); max-width: 62ch; }
.section--stone .timeline__item::before { box-shadow: 0 0 0 4px var(--paper-2); }

/* .timeline--wide: on a full-width page the year and heading sit beside the prose
   rather than above it, so the entry uses the measure instead of stranding it. */
@media (min-width: 940px) {
  .timeline--wide .timeline__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }
  .timeline--wide .timeline__year   { grid-column: 1; grid-row: 1; }
  .timeline--wide .timeline__item h3 { grid-column: 1; grid-row: 2; align-self: start; }
  .timeline--wide .timeline__item p  { grid-column: 2; grid-row: 1 / span 2; max-width: 54ch; }
}

/* Quote / pull */
.pull {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  line-height: 1.28; font-weight: 500; letter-spacing: -0.025em;
  text-wrap: balance;
}
.pull footer { margin-top: 1.5rem; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; font-weight: 500; }

/* Definition rows (capabilities, process) */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row__index {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  color: var(--sage-dkr); padding-top: .3rem;
}
.row p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 780px) {
  .row { grid-template-columns: 1fr; gap: .6rem; }
  .row__index { padding-top: 0; }
}

/* Map */
.map { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.map svg { width: 100%; height: auto; }
.map__legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.map__key { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-2); }
.map__key i { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.map__key i.is-future { background: transparent; border: 2px solid var(--sage); }

/* Below tablet the diagram's labels shrink past legibility, so let it hold its
   own size and scroll inside the card instead. */
@media (max-width: 720px) {
  .map { overflow-x: auto; }
  .map svg { min-width: 520px; }
}

/* Fit / not-fit lists. The marker is decorative — the meaning has to come from
   the heading above the list, not the glyph. */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checklist li {
  display: grid; grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: .7rem; align-items: start;
  font-size: 1rem; line-height: 1.55; color: var(--ink-2);
}
.checklist li::before {
  content: "\2013"; color: var(--ink-3); font-weight: 600; line-height: 1.55;
}
.checklist--yes li::before { content: "\2713"; color: var(--sage-dkr); }
.checklist--no  li::before { content: "\00d7"; color: var(--ink-3); font-size: 1.1em; }

/* Contact blocks */
.contact-list { display: grid; gap: 1.5rem; margin: 0; padding: 0; }
.contact-item { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.contact-item dt {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem;
}
.contact-item dd { margin: 0; font-size: 1.05rem; }
.contact-item dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-item dd a:hover { border-color: var(--sage); }
.contact-item .small { color: var(--ink-2); margin-top: .35rem; }

/* Form */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1.15rem; display: grid; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }
.field label {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2);
}
.field label .req { color: var(--sage-dkr); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .8rem .95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  width: 100%;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: #fff;
  box-shadow: 0 0 0 3px rgba(127,154,118,.16);
}
.form__note { font-size: .82rem; color: var(--ink-3); }
.form__hp { position: absolute; left: -9999px; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* 9. Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,250,247,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: rgba(251,250,247,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { color: var(--paper); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.035em; text-decoration: none; }
/* The dot needs the lighter sage on the dark ground to stay legible. */
.site-footer .logo__dot { color: var(--sage); }
.footer__blurb { max-width: 32ch; font-size: .95rem; margin-top: 1rem; line-height: 1.6; }
.footer__col h4 { color: var(--paper); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }
.footer__col ul li, .contact-item dd { overflow-wrap: anywhere; }
.footer__bar {
  border-top: 1px solid rgba(251,250,247,.14);
  padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(251,250,247,.5);
}

/* 10. Utilities / motion -------------------------------------------------- */
.stack-sm > * + * { margin-top: .75rem; }
.stack   > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.js .reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; }
}
