/* ==========================================================================
   Greenway Property Services --- design system
   Tokens, type scale, motion. One idea per screen; whitespace is the design.
   ========================================================================== */

/* --------------------------------------------------------------- typefaces */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrumentserif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrumentserif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  /* colour */
  --navy:        #0B1B33;
  --navy-deep:   #060F1E;
  --navy-soft:   #14294A;
  --navy-line:   rgba(255, 255, 255, .12);

  --gold:        #D6A94E;
  --gold-soft:   #E6C68C;
  --gold-ink:    #6B4F16;

  --white:       #FFFFFF;
  --warm-50:     #FAF8F5;
  --warm-100:    #F3F0EA;
  --warm-200:    #E6E1D8;
  --warm-400:    #B4ADA2;
  --warm-600:    #6E675D;
  --ink:         #14140F;

  /* type */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-text:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-hero:    clamp(2.6rem, 7.2vw, 6rem);
  --t-display: clamp(2rem, 4.8vw, 3.6rem);
  --t-title:   clamp(1.45rem, 2.6vw, 2.1rem);
  --t-lead:    clamp(1.09rem, 1.5vw, 1.32rem);
  --t-body:    1.0625rem;
  --t-small:   0.9375rem;
  --t-micro:   0.78rem;

  --lh-tight:  1.06;
  --lh-snug:   1.28;
  --lh-body:   1.72;

  --measure:   68ch;

  /* space */
  --gutter:    clamp(1.5rem, 5vw, 3rem);
  --section:   clamp(5rem, 11vw, 9.5rem);
  --stack:     clamp(1.5rem, 3vw, 2.5rem);
  --shell:     1240px;

  /* motion */
  --dur:       520ms;
  --dur-fast:  260ms;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --travel:    20px;
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--warm-50);
  -webkit-font-smoothing: antialiased;
}

img, video, picture, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* visible, brand-consistent focus everywhere */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--gold-soft); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: .85rem 1.4rem;
  font-size: var(--t-small);
  font-weight: 600;
}
.skip-link:focus { transform: translate(-50%, 0); }

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

/* ------------------------------------------------------------------ layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section); }
.section--dark { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--white); }
.section--warm { background: var(--warm-100); }

/* ---------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: -0.012em;
}

.display {
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  max-width: 18ch;
}
.title { font-size: var(--t-title); line-height: var(--lh-snug); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  max-width: var(--measure);
  color: var(--warm-600);
}
.section--dark .lead,
.section--deep .lead { color: rgba(255, 255, 255, .72); }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.15em; }

.eyebrow {
  font-family: var(--font-text);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section--warm .eyebrow,
.section:not(.section--dark):not(.section--deep) .eyebrow { color: var(--gold-ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .95rem 1.9rem;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 2px;
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--ink { background: var(--navy); color: var(--white); }
.btn--ink:hover { background: var(--navy-soft); }
.btn--line {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn--line:hover { background: var(--navy); color: var(--white); }

/* --------------------------------------------------------------- reveal */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--travel), 0);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* No JS at all: never hide content. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ media */
/* Poster paints immediately; video fades over it only once it can play. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.media__poster,
.media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__poster img { width: 100%; height: 100%; object-fit: cover; }
.media__video {
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.media__video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .media__video { display: none; }
}
/* Video suppressed by data saver / slow link / reduced motion */
.video-off .media__video { display: none; }

.media__scrim {
  position: absolute;
  inset: 0;
  /* Measured against the brightest pixel of every poster in the text band:
     white reaches 5.4:1 and the 88%-white lede reaches 4.6:1, so text over
     media clears AA for body copy, not just for large text. */
  background: linear-gradient(
    180deg,
    rgba(6, 15, 30, .66) 0%,
    rgba(6, 15, 30, .60) 22%,
    rgba(6, 15, 30, .68) 42%,
    rgba(6, 15, 30, .80) 72%,
    rgba(6, 15, 30, .90) 100%
  );
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(6rem, 16vh, 11rem) clamp(3.5rem, 9vh, 6rem);
}
.hero__title {
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__meta {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, .8);
}
.hero__actions {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.hero__scroll {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: var(--t-micro);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(11, 27, 51, .92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--navy-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.nav__brand img { height: 40px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}
.nav__links a {
  font-size: var(--t-small);
  color: rgba(255, 255, 255, .82);
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__phone {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 1.5px;
  background: var(--white);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--navy);
  padding: var(--gutter);
  overflow-y: auto;
}
.menu a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  border-bottom: 1px solid var(--navy-line);
}

/* ------------------------------------------------------------ sticky call */
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(6, 15, 30, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--navy-line);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
}
.sticky-call.is-shown { transform: none; }
.sticky-call .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .sticky-call { transition: none; }
}

/* ------------------------------------------------------------------ pieces */
.statement {
  font-family: var(--font-display);
  font-size: var(--t-display);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-wrap: balance;
}

.fork {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 46vh, 500px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--navy);
}
.door__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.door::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,15,30,.25) 0%, rgba(6,15,30,.82) 100%);
}
.door:hover .door__bg { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .door__bg, .door:hover .door__bg { transition: none; transform: none; }
}
.door__title { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.door__text {
  margin-top: .5rem;
  font-size: var(--t-small);
  color: rgba(255,255,255,.75);
  max-width: 34ch;
}
.door__more {
  margin-top: 1.4rem;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.band {
  position: relative;
  min-height: clamp(420px, 62vh, 660px);
  display: grid;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}
.band__inner { position: relative; z-index: 2; }
.band__quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.16;
  max-width: 20ch;
  text-wrap: balance;
}

.rule {
  height: 1px;
  background: var(--warm-200);
  border: 0;
}
.section--dark .rule, .section--deep .rule { background: var(--navy-line); }

.list-plain { list-style: none; padding: 0; }
.list-plain li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--warm-200);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.section--dark .list-plain li { border-bottom-color: var(--navy-line); }
.list-plain li span:first-child {
  font-family: var(--font-display);
  color: var(--gold);
  min-width: 2.5ch;
}

/* ------------------------------------------------------------------ footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.66);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  font-size: var(--t-small);
}
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: var(--white); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer h2 {
  font-family: var(--font-text);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.1rem;
}
.footer__links { display: grid; gap: .7rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: var(--t-micro);
  color: rgba(255,255,255,.62);
}

/* ------------------------------------------------------------- placeholder */
.dev-flag {
  position: fixed;
  z-index: 500;
  bottom: 0; left: 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem .8rem;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  /* conversion on mobile lives in the sticky call bar + menu, not the nav */
  .nav__actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .fork { grid-template-columns: 1fr; }
  .sticky-call { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}





/* ==========================================================================
   Inner-page components
   ========================================================================== */

/* ------------------------------------------------------------ page header */
.pagehead {
  position: relative;
  padding-block: clamp(9rem, 18vh, 13rem) clamp(3rem, 7vw, 5rem);
  background: var(--navy);
  color: var(--white);
}
.pagehead__title {
  font-size: var(--t-display);
  max-width: 17ch;
  text-wrap: balance;
}
.pagehead__lede {
  margin-top: 1.3rem;
  font-size: var(--t-lead);
  line-height: 1.6;
  max-width: 54ch;
  color: rgba(255,255,255,.74);
}
/* Over a photograph the lede needs more than 74% white to clear AA. */
.pagehead.media .pagehead__lede,
.hero .hero__meta,
.pagehead.media .crumb { color: rgba(255,255,255,.9); }
.crumb {
  font-size: var(--t-micro);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.4rem;
}
.crumb a { color: var(--gold); }

/* ------------------------------------------------------------- rich prose */
.rich { max-width: var(--measure); }
.rich h2 {
  font-size: var(--t-title);
  margin-top: clamp(2.75rem, 6vw, 4rem);
  margin-bottom: .9rem;
}
.rich h2:first-child { margin-top: 0; }
.rich p { margin-bottom: 1.05em; }
.rich > p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ cards */
.panel {
  background: var(--white);
  border: 1px solid var(--warm-200);
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
}
.section--warm .panel { background: var(--warm-50); }
.panel--accent { border-left: 3px solid var(--gold); }
.panel__label {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .9rem;
}

.checks { list-style: none; padding: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .8rem; align-items: baseline; }
.checks li::before {
  content: '';
  flex: 0 0 6px;
  width: 6px; height: 6px;
  margin-top: .55em;
  background: var(--gold);
  border-radius: 50%;
}

/* --------------------------------------------------------------- two-col */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.split--wide { grid-template-columns: 1.15fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 5rem); }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--warm-200); }
.faq details {
  border-bottom: 1px solid var(--warm-200);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--font-text);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-ink);
  line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details > div {
  padding: 0 2.5rem 1.5rem 0;
  color: var(--warm-600);
  max-width: var(--measure);
}
.section--dark .faq,
.section--dark .faq details { border-color: var(--navy-line); }
.section--dark .faq summary::after { color: var(--gold); }
.section--dark .faq details > div { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- case */
.case { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.case + .case { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--warm-200); }
.case__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-deep); }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__cat {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.case__title { font-size: var(--t-title); margin: .7rem 0 1rem; }
.case__grid { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.case__grid h4 {
  font-family: var(--font-text);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-600);
  margin-bottom: .35rem;
}

/* ---------------------------------------------------------- testimonials */
.quote {
  border-left: 2px solid var(--gold);
  padding-left: clamp(1.2rem, 3vw, 2rem);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.42;
  max-width: 34ch;
}
.quote figcaption {
  margin-top: 1.1rem;
  font-size: var(--t-small);
  color: var(--warm-600);
}
.section--dark .quote figcaption { color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: .45rem; margin-bottom: 1.15rem; }
.field label { font-size: var(--t-small); font-weight: 600; }
.field .hint { font-size: var(--t-micro); color: var(--warm-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;              /* >=16px: stops iOS zooming on focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: 2px;
  padding: .85rem 1rem;
  min-height: 52px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--gold); }
.form-note {
  margin-top: 1.2rem;
  font-size: var(--t-small);
  color: var(--warm-600);
}
.form-error {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d8b3ae;
  background: #fdf0ee;
  color: #7d2018;
  font-size: var(--t-small);
  font-weight: 600;
}

/* ----------------------------------------------------------- contact rows */
.contact-rows { display: grid; gap: 1.6rem; }
.contact-row { display: grid; gap: .2rem; }
.contact-row dt {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-600);
}
.contact-row dd { margin: 0; font-size: 1.05rem; }
.section--dark .contact-row dt { color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------- notices */
.notice {
  border: 1px solid var(--gold);
  background: rgba(214,169,78,.09);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  font-size: var(--t-small);
}
.notice strong { display: block; margin-bottom: .4rem; }

/* --------------------------------------------------------------- service */
.svc-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--warm-200); border: 1px solid var(--warm-200); }
.svc-index a {
  background: var(--warm-50);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: .5rem;
  align-content: start;
  transition: background-color var(--dur-fast) var(--ease);
}
.svc-index a:hover { background: var(--white); }
.svc-index h2,
.svc-index h3 { font-size: 1.28rem; }
.svc-index p { font-size: var(--t-small); color: var(--warm-600); max-width: 40ch; }

.area-list {
  font-size: var(--t-small);
  line-height: 2.1;
  color: var(--warm-600);
  max-width: 72ch;
}
.section--dark .area-list { color: rgba(255,255,255,.66); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
  .split, .split--wide, .svc-index { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- sequence */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 1.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--warm-200);
}
.step:last-child { border-bottom: 1px solid var(--warm-200); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-text);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-ink);
  padding-top: .3em;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--warm-600); max-width: 58ch; }
.section--dark .step,
.section--dark .step:last-child { border-color: var(--navy-line); }
.section--dark .step::before { color: var(--gold); }
.section--dark .step p { color: rgba(255,255,255,.72); }

/* -------------------------------------------------------------- factors */
.factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3.5vw, 2.6rem); }
.factor h3 {
  font-family: var(--font-text);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .4rem;
}
.factor p { font-size: var(--t-small); color: var(--warm-600); }
.section--dark .factor p { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--warm-200); border: 1px solid var(--warm-200); }
.tile { background: var(--warm-50); padding: clamp(1.4rem, 3vw, 2rem); }
.tile h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.tile p { font-size: var(--t-small); color: var(--warm-600); }

@media (max-width: 860px) {
  .factors, .tiles { grid-template-columns: 1fr; }
  .step { grid-template-columns: 2.6rem 1fr; gap: 0 1rem; }
}

/* ---------------------------------------------------- inline link affordance
   Links sitting inside a block of text must not be distinguishable by colour
   alone (WCAG 1.4.1). Navigation, buttons and cards are excluded: they are
   standalone and read as controls. */
.crumb a,
.rich a,
.prose a,
.statement a,
.contact-row dd a,
.form-note a,
.notice a,
.case p a { text-decoration: underline; text-underline-offset: .18em; }
.crumb a:hover,
.rich a:hover,
.prose a:hover,
.contact-row dd a:hover { text-decoration-thickness: 2px; }

/* .door__more is gold-on-navy in the home-page doors; inside the light services
   index that same gold is 2.05:1, so it takes the ink variant there. */
.svc-index .door__more { color: var(--gold-ink); }

/* ------------------------------------------------------- grid overflow fix
   Grid items default to min-width:auto, so a child with a max-width in ch
   units (.rich) or an unbreakable string (an email address) can force the
   track wider than the viewport. min-width:0 lets the track shrink. */
.split > *,
.split--wide > *,
.svc-index > *,
.tiles > *,
.factors > *,
.step > * { min-width: 0; }

/* Long unbroken strings - email addresses, URLs - must wrap rather than
   push the page sideways on a 375px screen. */
.rich a, .prose a, .contact-row dd, .contact-row dd a,
.panel a, .faq a { overflow-wrap: anywhere; }

/* --------------------------------------------------------- tap target size
   Breadcrumb and legal links are small type; the text is 15px tall, so they
   get vertical padding to clear the 24px minimum touch target. */
.crumb a,
.footer__bottom a { display: inline-block; padding-block: .3rem; }
.crumb { margin-block: -.3rem 1.1rem; }

/* ------------------------------------------- text sitting over a photograph
   Measured against the brightest pixel of every poster, after the scrim.
   Gold (#D6A94E) only reaches 2.60:1 there, so links and small print over
   media use white and lean on the underline for the link affordance. */
.pagehead.media .crumb a,
.hero .hero__scroll { color: #fff; }
.pagehead.media .pagehead__lede,
.hero .hero__meta { color: rgba(255, 255, 255, .9); }

/* ============================================================== hero, v2
   The first version left 37% of the hero empty above the headline and offered
   a single CTA with no phone number — on a site whose headline is "One call"
   and whose ad spend goes to a calls campaign. */

/* Content sits lower than centre but no longer leaves a dead top third. */
.hero__inner { padding-block: clamp(7rem, 14vh, 9rem) clamp(3rem, 7vh, 4.5rem); }

.hero__eyebrow {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

.hero__meta { margin-top: 1.3rem; }

/* Two co-equal CTAs: the caller and the planner. Auto-width on desktop so a
   single button never stretches the full column. */
.hero__actions .btn { flex: 0 1 auto; }

.hero__proof {
  list-style: none;
  padding: 0;
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  font-size: var(--t-small);
  color: rgba(255, 255, 255, .92);
}
.hero__proof li { display: flex; align-items: baseline; gap: .55rem; }
.hero__proof li::before {
  content: '';
  flex: 0 0 5px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 760px) {
  /* Full-width stacked buttons stay, but the call button leads. */
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: .45rem 1.1rem; }
}

/* ==========================================================================
   Hero load-in
   ==========================================================================
   Pure CSS, no library, no JS — so it still runs if scripts fail and it costs
   nothing on the main thread (transform and opacity only, both composited).

   The constraint that shapes this: the LCP element on mobile is .hero__meta,
   the paragraph — not the photograph. Chrome does not count an element with
   opacity 0 as painted, so an animation DELAY on that element is added
   directly to LCP (the duration is not — it is painted the moment opacity
   leaves zero). Every delay below is therefore kept short, and the paragraph
   is deliberately early in the cascade rather than last.

   Nothing here can shift layout: no property animated affects geometry, so
   CLS stays at 0.
   ========================================================================== */

@keyframes hero-veil   { from { opacity: .52; }              to { opacity: 0; } }
@keyframes hero-pan    { from { transform: scale(1.06); }    to { transform: none; } }
@keyframes hero-rise   { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes hero-fade   { from { opacity: 0; transform: translate3d(0, 14px, 0); }
                         to   { opacity: 1; transform: none; } }
@keyframes hero-nav    { from { opacity: 0; } to { opacity: 1; } }

/* A flat sheet of the deep navy that lifts off the photograph, so the scene
   resolves rather than simply being there. Sits above the scrim, below text. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--navy-deep);
  opacity: 0;
  pointer-events: none;
  animation: hero-veil 1100ms cubic-bezier(.33, 1, .68, 1) both;
}

/* Slow settle on the photograph. Transform only, so the image is fully
   painted from the first frame and can still be the LCP candidate. */
.hero .media__poster {
  animation: hero-pan 2600ms cubic-bezier(.16, .84, .44, 1) both;
}

/* Headline lines wipe up out of their own mask. The extra padding gives the
   descender in "Every" room so the mask does not clip it. */
.hero__title .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.hero__title .ln > span {
  display: block;
  animation: hero-rise 950ms cubic-bezier(.16, 1, .3, 1) both;
}
.hero__title .ln:nth-child(1) > span { animation-delay: 40ms; }
.hero__title .ln:nth-child(2) > span { animation-delay: 130ms; }

.hero__eyebrow { animation: hero-fade 620ms var(--ease) both; animation-delay: 0ms; }
.hero__meta    { animation: hero-fade 700ms var(--ease) both; animation-delay: 150ms; }
.hero__actions { animation: hero-fade 700ms var(--ease) both; animation-delay: 300ms; }
.hero__proof   { animation: hero-fade 700ms var(--ease) both; animation-delay: 400ms; }

/* The header comes in early and gently — a missing logo, even for a beat,
   reads as a broken page rather than as a considered entrance. */
.nav { animation: hero-nav 600ms var(--ease) both; animation-delay: 60ms; }

/* Reduced motion: everything is simply there. The veil never paints. */
@media (prefers-reduced-motion: reduce) {
  .hero__veil { display: none; }
  .hero .media__poster,
  .hero__title .ln > span,
  .hero__eyebrow, .hero__meta, .hero__actions, .hero__proof,
  .nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Rescue state, set by motion.js 3s after boot — long after every hero
   animation has finished. In the normal case it changes nothing; if an
   animation were ever suspended indefinitely it guarantees the first screen
   is never left blank. */
.hero-settled .hero__veil { display: none; }
.hero-settled .hero .media__poster,
.hero-settled .hero__title .ln > span,
.hero-settled .hero__eyebrow,
.hero-settled .hero__meta,
.hero-settled .hero__actions,
.hero-settled .hero__proof,
.hero-settled .nav {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ---------------------------------------------------- contained media band
   The grounds band used to break the gutter and run edge to edge, directly
   under the Residential/Commercial cards which are inset. Two different
   containments back to back read as a mistake, so the band now sits in the
   same shell and is padded like a .door. */
.band-wrap {
  /* Shares the warm field of the fork section directly above, so the grounds
     card reads as a continuation of Residential/Commercial rather than as a
     new section that happens to contain a picture. */
  background: var(--warm-100);
  padding-block: 0 clamp(3rem, 8vw, 6rem);
}
.band--inset {
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: clamp(340px, 46vh, 500px);
  align-items: end;
}
.band--inset .band__inner { padding: 0; }

/* ------------------------------------------------- projects: unphotographed
   Three completed projects have no photograph yet. Listing them rather than
   reusing another project's picture keeps every image on the site unique. */
.case-list li { align-items: start; gap: 1.5rem; }
.case-list li > span:first-child {
  flex: 0 0 auto;
  min-width: 9ch;
  font-family: var(--font-text);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  padding-top: .25em;
}
.case-list li > span:last-child { color: var(--warm-600); }
.case-list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .case-list li { flex-direction: column; gap: .5rem; }
}
