/* =========================================================================
   Bonita Key Home Concierge — styles.css
   Direction: "Coastal Estate, elevated"
   Signature deep teal + warm ivory/sand + text-safe bronze / decorative brass.
   Type: Cormorant Garamond (display, w/ italic accent) + Inter (body).
   Built for an affluent, older (70–85) audience, often on iPad:
     - large, high-contrast type (AAA where it's free)
     - generous, well-spaced tap targets (>= 48px)
     - photography-ready image slots (drop a file + alt; one-line swap)
     - tasteful, reduced-motion-aware reveal/parallax
   All design tokens live in :root so the whole site re-themes in one place.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --teal:         #1B4A4A;   /* signature brand colour / anchor bands */
  --teal-deep:    #103030;   /* footer, hero/overlay depth */
  --teal-bright:  #2C6F6A;   /* hover */
  --teal-tint:    #E7EEEC;   /* faint teal wash (icon wells, rules) */

  --ivory:        #F7F4EF;   /* page canvas */
  --sand:         #EAE0CE;   /* alternating section background (warm) */
  --sand-deep:    #C9B896;   /* warm sand accent (hero italic, on dark) */

  --bronze:       #7A5C18;   /* TEXT-SAFE gold — labels/rules on light (5.7:1) */
  --brass:        #C2A055;   /* decorative gold — frames, on-dark accents */
  --gold-on-dark: #DAC289;   /* gold that stays legible on teal (small text) */

  --ink:          #1E2A2A;   /* primary text — 13.5:1 on ivory */
  --ink-soft:     #44514F;   /* secondary text — 7.6:1 on ivory */
  --white:        #FFFFFF;

  --line:         rgba(27, 74, 74, 0.16);
  --line-strong:  rgba(27, 74, 74, 0.30);
  --line-ondark:  rgba(247, 244, 239, 0.22);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw:       1180px;
  --maxw-wide:  1320px;
  --maxw-narrow: 760px;
  --gutter:     clamp(1.25rem, 5vw, 3rem);
  --section-y:  clamp(4rem, 9vw, 7.5rem);
  --radius:     5px;
  --radius-lg:  10px;

  --shadow-sm:  0 1px 3px rgba(16,48,48,.05), 0 8px 24px rgba(16,48,48,.07);
  --shadow-md:  0 10px 40px rgba(16,48,48,.14);

  --ease:       cubic-bezier(.22,.61,.36,1);
  --dur:        .35s;
  --dur-slow:   .7s;
}

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

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

body {
  margin: 0;
  background-color: var(--ivory);
  /* Faint paper grain so flat ivory never reads as a cheap template. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;       /* 19px floor for older readers */
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}

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

::selection { background: var(--sand-deep); color: var(--teal-deep); }

/* Visible keyboard focus everywhere (a11y) */
:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--teal :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--gold-on-dark); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal); color: var(--white);
  padding: .85rem 1.25rem; font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide   { max-width: var(--maxw-wide); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: var(--ivory); }
.section--teal-deep { background: var(--teal-deep); color: var(--ivory); }
.section--teal h2, .section--teal h3,
.section--teal-deep h2, .section--teal-deep h3 { color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--bronze); display: inline-block; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.section--teal .eyebrow, .section--teal-deep .eyebrow, .hero .eyebrow { color: var(--gold-on-dark); }
.section--teal .eyebrow::before, .section--teal-deep .eyebrow::before, .hero .eyebrow::before { background: var(--gold-on-dark); }

.lead { font-size: 1.3125rem; line-height: 1.6; color: var(--ink-soft); }
.section--teal .lead, .section--teal-deep .lead, .hero .lead { color: rgba(247,244,239,.92); }

.center { text-align: center; }
.measure { max-width: 64ch; }
.measure.center { margin-inline: auto; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 54px; padding: .9rem 2rem;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600;
  letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }

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

/* On dark (teal / hero) backgrounds */
.section--teal .btn-primary, .section--teal-deep .btn-primary, .hero .btn-primary {
  background: var(--brass); color: #20180a; border-color: var(--brass);
}
.section--teal .btn-primary:hover, .section--teal-deep .btn-primary:hover, .hero .btn-primary:hover {
  background: var(--gold-on-dark); color: #20180a;
}
.section--teal .btn-ghost, .section--teal-deep .btn-ghost, .hero .btn-ghost {
  color: var(--ivory); border-color: rgba(247,244,239,.55);
}
.section--teal .btn-ghost:hover, .section--teal-deep .btn-ghost:hover, .hero .btn-ghost:hover {
  border-color: var(--ivory); color: var(--white);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-row.center { justify-content: center; }
.textlink { font-weight: 600; color: inherit; text-underline-offset: 4px; text-decoration-color: var(--bronze); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,239,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 82px; }

.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.wordmark__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.8rem;
  letter-spacing: .16em; color: var(--teal); text-transform: uppercase;
}
.wordmark__sub {
  font-family: var(--font-body); font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--bronze); margin-top: .42rem; font-weight: 600;
}

.nav__links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: .65rem .95rem;
  font-size: 1.03rem; font-weight: 500; color: var(--ink);
  text-decoration: none; border-radius: var(--radius); letter-spacing: .01em;
}
.nav__links a:hover { color: var(--teal); background: rgba(27,74,74,.06); }
.nav__links a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--bronze); }
.nav__links-call { display: none; }   /* hidden on desktop; shown inside mobile drawer (li, not a — avoids specificity trap) */

/* Phone shown as a prominent pill button on desktop */
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 46px; padding: .55rem 1.15rem;
  font-weight: 600; font-size: 1.0125rem; white-space: nowrap;
  color: var(--teal); text-decoration: none;
  border: 1.5px solid var(--bronze); border-radius: 100px;
}
.nav__phone:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.nav__phone svg { width: 1.05rem; height: 1.05rem; }

.nav__toggle {
  display: none; width: 52px; height: 52px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer; color: var(--teal);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-deep) 100%);
  background-size: cover; background-position: center;
}
/* Soft light + grain so the gradient reads rich, not flat. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 620px at 78% -12%, rgba(218,194,137,.20), transparent 60%),
    radial-gradient(900px 520px at 8% 112%, rgba(44,111,106,.5), transparent 60%);
}
/* When a real photo is added, give the hero a scrim so text stays legible.
   USAGE: add class "hero--photo" to <section class="hero"> and set the image:
   <div class="hero__media" style="background-image:
     linear-gradient(155deg, rgba(16,48,48,.55), rgba(16,48,48,.78)),
     url('assets/hero-home.jpg');"></div>  */
/* With a photo: the inline gradient is light so the photography reads; a text-shadow
   guarantees legibility, and a slow cinematic zoom adds life. */
.hero--photo .hero__media::after { background:
    radial-gradient(1200px 620px at 82% 6%, rgba(218,194,137,.16), transparent 60%),
    linear-gradient(to top, rgba(13,38,38,.5), transparent 42%); }
.hero--photo h1,
.hero--photo .hero__accent,
.hero--photo .hero__text,
.hero--photo .hero__locator { text-shadow: 0 2px 20px rgba(6,20,20,.55), 0 1px 4px rgba(6,20,20,.5); }
.hero--photo .hero__media { animation: heroKen 20s ease-out both; will-change: transform; }
@keyframes heroKen { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero__inner { padding-block: clamp(4.5rem, 12vw, 8.5rem); max-width: 820px; }
.hero--lg .hero__inner { min-height: min(80vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.04; margin-bottom: .55rem; font-weight: 600;
}
.hero__accent {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 3.1vw, 2.15rem); color: var(--sand-deep); margin: 0 0 1.5rem;
}
.hero__text { font-size: 1.25rem; color: rgba(247,244,239,.93); margin-bottom: 2.25rem; max-width: 54ch; }
.hero__locator { margin-bottom: 1.4rem; }

/* coastline divider at the bottom of the hero */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; z-index: -1; }
.hero__wave path { fill: var(--ivory); }
.section--sand + * .hero__wave path { fill: var(--sand); }

/* ---------- Image slots (photography-ready placeholders) ---------- */
.media-slot {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-deep) 100%);
  border: 1px solid var(--line);
  min-height: 320px; display: grid; place-items: center; isolation: isolate;
}
.media-slot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 75% 0%, rgba(218,194,137,.18), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(44,111,106,.45), transparent 60%);
}
.media-slot__mark { width: 88px; height: 88px; color: rgba(218,194,137,.85); }
.media-slot--sand .media-slot__mark { color: var(--teal); opacity: .45; }
.media-slot__label {
  position: absolute; left: 1rem; bottom: .9rem;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-on-dark);
  background: rgba(16,48,48,.5); padding: .3rem .6rem; border-radius: 3px;
}
.media-slot--portrait { min-height: 460px; }
.media-slot--wide { min-height: 360px; }
.media-slot--sand { background: linear-gradient(150deg, var(--sand) 0%, var(--sand-deep) 130%); }
.media-slot--sand .media-slot__label { color: var(--bronze); background: rgba(247,244,239,.55); }
.media-slot--band { min-height: 300px; border-radius: 0; }
/* Real images dropped into slots */
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-sm); }
.service-feature { align-items: stretch; }
.service-feature > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
/* When real photo arrives: replace .media-slot contents with
   <img src="assets/file.jpg" alt="… Naples, Florida"> — the figure keeps the radius. */

/* ---------- Split (editorial) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__body > .eyebrow { margin-top: 0; }
.split figure { margin: 0; }

/* ---------- Trust triad ---------- */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
.triad__item { text-align: left; }
.triad__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--teal-tint); color: var(--teal);
}
.triad__icon svg { width: 28px; height: 28px; }
.triad__item h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.triad__item p { color: var(--ink-soft); font-size: 1.0625rem; margin: 0; }
.section--teal .triad__icon, .section--teal-deep .triad__icon { background: rgba(247,244,239,.1); color: var(--gold-on-dark); }
.section--teal .triad__item p, .section--teal-deep .triad__item p { color: rgba(247,244,239,.88); }

/* ---------- Credential band ---------- */
.creds {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .65rem 2rem; padding: 1.4rem clamp(1rem,4vw,2rem);
  border-block: 1px solid var(--line);
}
.creds__item {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.0125rem;
  letter-spacing: .04em; color: var(--teal);
}
.creds__item svg { width: 1.25rem; height: 1.25rem; color: var(--bronze); flex: none; }
.section--teal .creds, .section--teal-deep .creds { border-color: var(--line-ondark); }
.section--teal .creds__item, .section--teal-deep .creds__item { color: var(--ivory); }
.section--teal .creds__item svg, .section--teal-deep .creds__item svg { color: var(--gold-on-dark); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem); height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 48px; height: 48px; color: var(--teal); margin-bottom: 1rem;
  background: var(--teal-tint); border-radius: 10px; padding: 10px;
}
.service-card h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.service-card p { font-size: 1.0375rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Featured service (breaks the grid monotony) */
.service-feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem);
  align-items: center; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--brass);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.service-feature .media-slot { border: 0; border-radius: 0; min-height: 100%; }
.service-feature__body { padding: clamp(1.75rem, 3.5vw, 3rem); }
.service-feature__body h3 { font-size: clamp(1.7rem,2.6vw,2.1rem); }

/* Detailed service rows (Services page) */
.service-detail {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__icon { color: var(--bronze); width: 52px; height: 52px; }
.service-detail h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.service-detail p { color: var(--ink-soft); margin-bottom: 0; }

/* "What a visit includes" checklist */
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem 2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.0625rem; }
.checklist svg { width: 1.4rem; height: 1.4rem; color: var(--bronze); flex: none; margin-top: .15rem; }
.section--teal .checklist svg, .section--teal-deep .checklist svg { color: var(--gold-on-dark); }

/* How it works (numbered steps) */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,3vw,2.5rem); counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step__n {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--brass);
  display: block; margin-bottom: .5rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1.0375rem; }
.section--teal .step p, .section--teal-deep .step p { color: rgba(247,244,239,.88); }

/* ---------- FAQ (city pages) ---------- */
.faq__item { padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.faq__item:first-child { padding-top: 0; }
.faq__item:last-child { border-bottom: none; }
.faq__item h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.faq__item p { color: var(--ink-soft); margin: 0; }

/* ---------- Local intro (city pages) ---------- */
.local-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: 1rem; }
.local-points .triad__item h3 { font-size: 1.35rem; }
@media (max-width: 880px) { .local-points { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Pedigree timeline (Our Story) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: .6rem; bottom: .6rem; width: 2px; background: var(--line-ondark); }
.timeline li { position: relative; padding: 0 0 2rem 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .45rem; width: 20px; height: 20px;
  border-radius: 50%; background: var(--teal-deep); border: 3px solid var(--gold-on-dark);
}
.timeline__place { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); line-height: 1.1; }
.timeline__role { display:block; color: var(--gold-on-dark); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin: .3rem 0 .5rem; }
.timeline p { color: rgba(247,244,239,.9); margin: 0; }

/* ---------- Testimonials (discreet, static) ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 4vw, 3rem); }
.quote { margin: 0; }
.quote blockquote {
  margin: 0 0 1rem; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.4; color: var(--teal);
}
.section--teal .quote blockquote, .section--teal-deep .quote blockquote { color: var(--ivory); }
.quote figcaption { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--bronze); }
.section--teal .quote figcaption, .section--teal-deep .quote figcaption { color: var(--gold-on-dark); }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--brass); display: block; height: 1.2rem; }

/* ---------- Service area / communities ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: .75rem 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.area-list li {
  border: 1px solid var(--line-ondark); border-radius: 100px;
  padding: .55rem 1.35rem; font-weight: 500; font-size: 1.0625rem;
}
.area-list--light li { border-color: var(--line-strong); color: var(--ink); }
.communities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: .5rem 1.5rem;
  list-style: none; margin: 1.75rem 0 0; padding: 0;
}
.communities li {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--ivory);
  padding: .35rem 0; border-bottom: 1px solid var(--line-ondark);
}
.section--sand .communities li, .section:not(.section--teal):not(.section--teal-deep) .communities li { color: var(--teal); border-color: var(--line); }

/* ---------- Story note ---------- */
.story-note { font-size: 1.3125rem; line-height: 1.75; }
.story-note p { margin-bottom: 1.3em; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.65rem; color: var(--teal); margin-top: 2rem; }
.signature span { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-top: .5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info dt { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-top: 1.75rem; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: .35rem 0 0; font-size: 1.25rem; }
.contact-info a { font-weight: 600; }
.contact-info .big-call { font-size: 1.7rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }

/* Form */
.form { display: grid; gap: 1.25rem; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: 1.0375rem; color: var(--ink); }
.field .req { color: var(--bronze); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1.0625rem; padding: .9rem 1rem; min-height: 54px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal); outline: 3px solid rgba(27,74,74,.18); outline-offset: 0;
}
.form__note { font-size: .95rem; color: var(--ink-soft); }
.form__status { font-weight: 600; padding: .5rem 0; min-height: 1.5rem; }
.form__status.is-error { color: #9a2b2b; }
.form__status.is-ok { color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: .5rem; }
.cta-band p { font-size: 1.25rem; max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(247,244,239,.85); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .wordmark__name { color: var(--ivory); }
.site-footer .wordmark__sub { color: var(--gold-on-dark); }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold-on-dark); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-ondark); border-radius: 50%; }
.footer-social a:hover { background: rgba(247,244,239,.08); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-ondark); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom a { text-decoration: underline; }

/* ---------- Reveal on scroll (progressive enhancement) ----------
   Only hidden when <html class="js"> is set (inline head script), so the
   content is always visible if JS is disabled or fails. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.flow > * + * { margin-top: 1.15em; }

/* =========================================================================
   RESPONSIVE — tablet-first (iPad portrait 768 / landscape 1024)
   ========================================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Collapse the nav early so it never renders cramped */
@media (max-width: 1000px) {
  .nav__toggle { display: inline-flex; order: 3; }
  .nav__phone { display: none; }   /* phone lives in the drawer + footer on mobile */
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: .5rem var(--gutter) 1.25rem; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 1rem .5rem; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--bronze); }
  .nav__links-call { display: block; }
  .nav__links-call a { color: var(--teal); font-weight: 600; }

  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .service-feature { grid-template-columns: 1fr; }
  .service-feature .media-slot { min-height: 280px; }
}

@media (max-width: 880px) {
  .triad { grid-template-columns: 1fr; gap: 2rem; max-width: 520px; margin-inline: auto; }
  .triad__item { text-align: center; }
  .triad__icon { margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail { grid-template-columns: 1fr; gap: .75rem; }
  .service-detail__icon { width: 46px; height: 46px; }
  .checklist { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero__inner { padding-block: clamp(3.5rem, 14vw, 6rem); }
  .eyebrow::before { width: 1.1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* Print */
@media print {
  .site-header, .nav__toggle, .cta-band, .hero__wave, .media-slot { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
}
