/*
  base.css: design tokens and shared building blocks for the whole page.
  Every section stylesheet builds on these; nothing here belongs to one section.

  Brand: none exists online (their old logo belongs to an earlier company name),
  so these tokens come from the business's own photos: the teal crew shirts,
  sandy Florida soil and stucco, deep pine shade, and the bright green of a
  fresh-cut lawn.
  Motif: a circle, like the round-cut dome trees in their photos. It shows up
  as the hero "dome" that opens onto a lawn, the iris reveals on photos, and
  the logo mark.
  Tone: neighbourly, steady, outdoorsy. Not flashy, not corporate, not cheap.
  Type: Young Serif (headings: warm, sturdy, a little old-fashioned, fits a
  family business since 2002) and Onest (body: clear and friendly).
  Motion: every section is fully readable without it. Motion only starts when
  <html> has the "motion-ready" class (set by src/scripts/base.js).
*/

:root {
  /* Colors */
  --sand: #f5f0e6;         /* page background */
  --sand-deep: #ebe2cf;    /* alternate section background */
  --ink: #10201e;          /* body text */
  --muted: #45524f;        /* secondary text on sand (7.4:1) */
  --line: #d3c8b2;         /* rules and dividers */
  --pine: #0d3633;         /* dark sections, header text */
  --teal: #136b62;         /* brand: buttons, links (5.9:1 on sand) */
  --teal-deep: #0c524b;    /* button hover */
  --blade: #7fd36b;        /* fresh-cut green: stars and accents on pine only */
  --on-dark: #f3efe5;      /* text on pine */
  --on-dark-muted: #bfd0cb;/* secondary text on pine (9:1) */
  --error: #a3271b;        /* form errors only */

  /* Type */
  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.8vw, 4rem);
  --fs-display: clamp(2.5rem, 1rem + 3.4vw, 4.75rem);

  /* Spacing scale (4 to 128) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 999px;        /* one radius: fully round, the dome motif (buttons, chips) */
  --container: 1200px;
  --gutter: var(--s4);
  --header-h: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: var(--teal);
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) { :root { --gutter: var(--s6); --fs-body: 1.125rem; --header-h: 72px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* Anything that slides in sideways stays inside the page (body overflow does
   not stop phones zooming out, so it goes on <main>; clip keeps sticky working). */
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }

/* Lenis smooth scrolling (rules from the Lenis package). */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { text-wrap: pretty; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Small label above headings */
.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
/* The dome dot that marks every eyebrow */
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* Buttons: one primary (call) and one quiet style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap; /* keeps the phone number on one line */
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--teal); color: #fff; }
.btn--call:hover { background: var(--teal-deep); }
.btn--quiet { border-color: currentColor; color: var(--pine); }
.btn--quiet:hover { background: var(--pine); color: var(--on-dark); border-color: var(--pine); }

/* Star row: five stars cut out of a two-tone bar, filled to the rating.
   4.7 of 5: four full stars and 70% of the fifth star shape (92.3% of the row, since each star sits in a 22px cell with a little space). The star shape
   is a mask (data: URL, allowed by the CSP's img-src). */
.stars {
  --star-on: var(--teal);
  --star-off: var(--line);
  display: inline-block;
  flex: none;
  width: 110px;
  height: 20px;
  background: linear-gradient(90deg, var(--star-on) var(--fill, 92.3%), var(--star-off) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 1l2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 1l2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3C/svg%3E") 0 0 / 22px 20px repeat-x;
}
.stars--lg {
  width: 165px;
  height: 30px;
  -webkit-mask-size: 33px 30px;
          mask-size: 33px 30px;
}

/* Shared quote style */
.quote { font-family: var(--font-head); line-height: 1.35; }
.quote__by { font-size: var(--fs-sm); font-weight: 600; margin-top: var(--s3); }

/* Keeps a short phrase together (for example "father-and-son"). */
.nowrap { white-space: nowrap; }

/* HomeSampleNotice: the "sample website" strip above the header. */
.sample-notice {
  --focus: var(--blade);
  background: var(--pine);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { color: var(--on-dark); font-weight: 600; }

/* HomeHeader: sticky bar with wordmark, section links and the call button. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  color: var(--pine);
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
  align-self: center;
  padding-top: 10px;
}
.brand__mark { width: 26px; height: 26px; fill: var(--teal); align-self: center; margin-top: -10px; }
.brand__name { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.brand__kind {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Phones: only "Call" fits next to the wordmark; the number shows from 560px. */
.site-header__call { padding-inline: var(--s4); }
.site-header__call-num { display: none; }
@media (min-width: 560px) { .site-header__call-num { display: inline; } }
@media (max-width: 359px) { .brand__kind { display: none; } }

.site-nav { display: none; }
@media (min-width: 1100px) {
  .site-nav { display: flex; gap: var(--s5); }
  .site-nav a {
    color: var(--pine);
    font-weight: 550;
    text-decoration: none;
    padding-block: var(--s3);
  }
  .site-nav a:hover { text-decoration: underline; }
}

/*
  HomeHero: the opening screen. The lawn photo fills the section but is clipped
  to a circle (--r radius at --cx/--cy). CSS sets the resting dome; HomeHero.js
  overrides the three values in px while it animates.
  Keep the radius formulas in step with dome() in HomeHero.js.
*/
.hero {
  --r: min(50vw, 34svh);
  --cx: 50%;
  --cy: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden; /* the circle and the zoomed photo never widen the page */
  isolation: isolate;
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: var(--s6);
  padding-bottom: var(--s5);
}
.hero__title {
  font-size: var(--fs-display);
  color: var(--pine);
  margin-top: var(--s4);
  max-width: 13ch;
}
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  margin-top: var(--s4);
  max-width: 34ch;
}
.hero__rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s4);
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.hero__rating:hover span:last-child { text-decoration: underline; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s3);
}
.hero__hours { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--muted); }

/* Phones: the dome rises from the bottom edge into this reserved space, so it
   never sits under the text however the text wraps. */
.hero__slot { flex: 1 0 var(--r); }

.hero__yard {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: circle(var(--r) at var(--cx) var(--cy));
  container-type: size;
}
/* The photo is sized like object-fit: cover (50% across, 62% down), but as a
   real box the size of the whole photo, so HomeHero.js can slide it to frame
   the house inside the dome. 1.0909 = the square crop (1200 x 1100). */
.hero__img {
  position: absolute;
  left: 50%;
  top: 62%;
  translate: -50% -62%;
  width: max(100cqw, 100cqh * 1.0909);
  height: max(100cqh, 100cqw / 1.0909);
  max-width: none;
}
@media (min-width: 960px) {
  .hero__img { width: max(100cqw, 100cqh * 16 / 9); height: max(100cqh, 100cqw * 9 / 16); }
}
/* Without motion on phones, the photo box is only a little taller than the
   dome, so the dome shows the house rather than just lawn. */
@media (max-width: 959px) {
  html:not(.motion-ready) .hero__yard { inset: auto 0 0 0; height: calc(var(--r) * 1.5); }
  html:not(.motion-ready) .hero__img { top: 15%; translate: -50% -15%; }
}

/* The closing line only exists for the scroll moment; without motion it stays hidden. */
.hero__caption {
  display: none;
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s9) var(--gutter) var(--s7);
  background: linear-gradient(to top, rgb(8 30 28 / 0.85), rgb(8 30 28 / 0));
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  line-height: 1.08;
}
.hero__caption-line { display: block; }
.motion-ready .hero__caption { display: block; visibility: hidden; }

@media (min-width: 960px) {
  .hero {
    --r: min(24vw, 36svh);
    --cx: 74%;
    --cy: 52%;
    justify-content: center;
  }
  .hero__copy { padding-block: var(--s8); }
  .hero__copy > * { max-width: 46%; }
  .hero__slot { display: none; }
  .hero__caption { padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
}

/* Before the opening animation runs, hide what it reveals (no flash). */
.motion .hero__yard { clip-path: circle(0 at var(--cx) var(--cy)); }
.motion .hero__copy > * { visibility: hidden; }
.motion-ready .hero__yard { clip-path: circle(var(--r) at var(--cx) var(--cy)); }

/* HomeFamily: "since 2002" in their words, beside a long-time customer's review. */
.family {
  background: var(--sand-deep);
  padding-block: var(--s9);
}
.family__inner {
  display: grid;
  gap: var(--s8);
}
.family__title { margin-top: var(--s4); color: var(--pine); }
.family__label {
  display: block;
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.family__year {
  display: flex;
  font-size: clamp(5.5rem, 3rem + 13vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap; /* never breaks between digits */
  margin-top: var(--s2);
}
/* Each digit sits in its own window so it can roll up from below. */
.family__digit { display: inline-block; overflow: hidden; padding-bottom: 0.06em; }
.family__digit > span { display: inline-block; }

.family__words { margin-top: var(--s5); max-width: 44ch; }
.family__words p { font-size: var(--fs-lead); }
.family__words footer { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--muted); }

.family__review { align-self: center; }
.family__quote p {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem);
  color: var(--ink);
}
.family__review .quote__by { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); color: var(--muted); }
.family__review .stars { width: 88px; height: 16px; -webkit-mask-size: 17.6px 16px; mask-size: 17.6px 16px; --fill: 100%; }

@media (min-width: 960px) {
  .family { padding-block: var(--s10); }
  .family__inner { grid-template-columns: 5fr 6fr; gap: var(--s9); }
}

/*
  HomeClimb: dark pine section. Static layout first (stories listed beside the
  photo); the pinned "climb" layout only applies with .motion-ready.
*/
.climb {
  --focus: var(--blade);
  background: var(--pine);
  color: var(--on-dark);
  padding-block: var(--s9);
  overflow-x: clip;
}
.climb__stage {
  display: grid;
  gap: var(--s7);
}
.climb .eyebrow { color: var(--blade); }
.climb__title { margin-top: var(--s4); max-width: 16ch; }
.climb__steps { display: grid; gap: var(--s6); margin-top: var(--s6); }
.climb__step { max-width: 46ch; }
.climb__label {
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blade);
}
.climb__step .quote { margin-top: var(--s2); font-size: var(--fs-h3); }
.climb__step .quote__by { color: var(--on-dark-muted); font-weight: 500; }

.climb__frame {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0; /* a tall arch: the dome motif, stretched */
  aspect-ratio: 3 / 4;
  max-height: 80svh;
  width: 100%;
  justify-self: center;
}
.climb__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.climb__gauge { display: none; }

@media (min-width: 960px) {
  .climb { padding-block: var(--s10); }
  .climb__stage { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s9); }
}

/* Pinned climb. The stage is exactly one screen below the header; the photo
   is much taller than its frame and slides down as you scroll, so the view
   travels up the trunk to the climber. Stories share one grid cell and take
   turns. */
.motion-ready .climb { padding-block: 0; }
.motion-ready .climb__stage {
  height: calc(100svh - var(--header-h));
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--s5);
  padding-block: var(--s6);
}
.motion-ready .climb__steps { grid-template-areas: "step"; }
.motion-ready .climb__step { grid-area: step; }
.motion-ready .climb__step + .climb__step { visibility: hidden; }
.motion-ready .climb__frame {
  aspect-ratio: auto;
  height: 100%;
  max-height: none;
  max-width: 560px;
}
.motion-ready .climb__img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 175%;
  translate: -50% 0;
}
.motion-ready .climb__gauge {
  display: block;
  position: absolute;
  right: var(--s4);
  top: 18%;
  bottom: var(--s5);
  width: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.35);
}
.climb__gauge-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--blade);
  transform-origin: 50% 100%;
  transform: scaleY(0);
}

/* Phones in the pinned layout: smaller heading and story text so one story
   and a good slice of the photo share the screen. */
@media (max-width: 959px) {
  .motion-ready .climb__title { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); }
  .motion-ready .climb__steps { margin-top: var(--s4); }
  .motion-ready .climb__step .quote { font-size: 1.0625rem; }
  .motion-ready .climb__frame { width: 100%; max-width: none; border-radius: 160px 160px 0 0; }
}
@media (min-width: 960px) {
  .motion-ready .climb__stage { grid-template-rows: minmax(0, 1fr); padding-block: var(--s7); }
}

/* HomeServices: their description, the jobs customers name, and the palm-trim film. */
.services { padding-block: var(--s9) var(--s8); overflow-x: clip; }
.services__title { margin-top: var(--s4); color: var(--pine); max-width: 14ch; }
.services__note { margin-top: var(--s5); color: var(--muted); }
.services__cols {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s5);
}
.services__col h3 {
  color: var(--pine);
  padding-bottom: var(--s3);
  border-bottom: 2px solid var(--pine);
}
.services__list li {
  display: flex;
  gap: var(--s3);
  align-items: baseline;
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}
/* Small dome markers instead of bullets */
.services__list li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-1px);
}

.services__film { margin-top: var(--s8); }
.services__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--pine);
}
.services__video { width: 100%; height: 100%; object-fit: cover; }
.services__toggle {
  position: absolute;
  left: var(--s3);
  bottom: var(--s3);
  min-height: 44px;
  padding: var(--s2) var(--s4);
  border: 0;
  border-radius: var(--radius);
  background: rgb(13 54 51 / 0.85);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.services__toggle-play { display: none; }
.services__toggle[aria-pressed="true"] .services__toggle-pause { display: none; }
.services__toggle[aria-pressed="true"] .services__toggle-play { display: inline; }
.services__caption { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }
.services__caption strong { color: var(--ink); font-size: var(--fs-body); margin-right: var(--s1); }

@media (min-width: 768px) {
  .services__cols { grid-template-columns: 1fr 1fr; gap: var(--s7); }
}
@media (min-width: 960px) {
  .services { padding-block: var(--s10) var(--s9); }
  .services .container:first-child { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: end; }
  .services__cols { margin-top: 0; }
}

/* Motion: the film starts as a small circle and opens to its full frame. */
.motion-ready .services__frame { clip-path: circle(var(--iris, 75%) at 50% 50%); }

/* HomeWork: staggered two-column gallery of their own photos. */
.work {
  background: var(--sand-deep);
  padding-block: var(--s9);
}
.work__title { margin-top: var(--s4); color: var(--pine); max-width: 14ch; }
.work__grid {
  display: grid;
  gap: var(--s6);
  margin-top: var(--s7);
}
.work__frame {
  overflow: hidden; /* the drifting photo never spills out */
  aspect-ratio: 4 / 5;
}
.work__item--wide .work__frame { aspect-ratio: 4 / 3; }
.work__frame img { width: 100%; height: 100%; object-fit: cover; }
.work__item figcaption { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 768px) {
  .work__grid { grid-template-columns: 1fr 1fr; column-gap: var(--s7); row-gap: var(--s8); }
  /* The right column sits lower, so the rows read as a stagger, not a grid of boxes. */
  .work__item:nth-child(even) { transform: translateY(var(--s9)); }
  .work__grid { padding-bottom: var(--s9); }
}
@media (min-width: 960px) {
  .work { padding-block: var(--s10); }
  .work__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s7); }
}

/* Motion: photos open through a circle; the frame is a little taller than
   needed so the photo can drift inside it. */
.motion-ready .work__frame { clip-path: circle(var(--iris, 75%) at 50% 50%); }
.motion-ready .work__frame img { scale: 1.12; }

/* HomeReviews: big score on one side, two quotes separated by rules on the other. */
.reviews { padding-block: var(--s9); }
.reviews__inner { display: grid; gap: var(--s7); }
.reviews__number {
  font-family: var(--font-head);
  color: var(--pine);
  font-size: clamp(5rem, 3rem + 9vw, 9rem);
  line-height: 0.95;
  margin-top: var(--s4);
  white-space: nowrap;
}
.reviews__value { font-variant-numeric: tabular-nums; }
.reviews__outof { font-size: 0.35em; color: var(--muted); margin-left: var(--s2); }
.reviews__score .stars { margin-top: var(--s3); }
.reviews__count { margin-top: var(--s2); color: var(--muted); }
.reviews__link { display: inline-block; margin-top: var(--s4); padding-block: var(--s3); font-weight: 600; }

.reviews__item { padding-block: var(--s5); border-top: 2px solid var(--pine); }
.reviews__item + .reviews__item { border-top-width: 1px; border-top-color: var(--line); }
.reviews__item .quote { font-size: var(--fs-h3); color: var(--ink); }
.reviews__item .quote__by { color: var(--muted); }

@media (min-width: 960px) {
  .reviews { padding-block: var(--s10); }
  .reviews__inner { grid-template-columns: 4fr 7fr; gap: var(--s9); align-items: start; }
}

/* HomeContact: dark pine section with the phone number, hours and a mailto form. */
.contact {
  --focus: var(--blade);
  background: var(--pine);
  color: var(--on-dark);
  padding-block: var(--s9);
}
.contact a { color: var(--on-dark); }
.contact .eyebrow { color: var(--blade); }
.contact__inner { display: grid; gap: var(--s8); }
.contact__title { margin-top: var(--s4); max-width: 14ch; }
.contact__phone {
  display: inline-block;
  margin-top: var(--s5);
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4.5rem);
  line-height: 1.1;
  white-space: nowrap;
  text-decoration-color: var(--blade);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.15em;
}
.contact__area { margin-top: var(--s3); color: var(--on-dark-muted); }

.contact__facts { margin-top: var(--s7); display: grid; gap: var(--s5); }
.contact__facts dt {
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blade);
}
.contact__facts dd { margin: var(--s2) 0 0; }
.contact__hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.contact__hours th, .contact__hours td {
  text-align: left;
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.contact__hours td { text-align: right; color: var(--on-dark-muted); }
.contact__hours tr.is-today th, .contact__hours tr.is-today td { color: var(--on-dark); font-weight: 650; }
.contact__hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--blade); }

/* Form on a lighter panel so fields read clearly */
.contact__form {
  background: var(--sand);
  color: var(--ink);
  padding: var(--s6) var(--s5);
  align-self: start;
  border-radius: 28px;
  --focus: var(--teal);
}
.contact__form h3 { color: var(--pine); }
.field { margin-top: var(--s5); }
.field label { display: block; font-weight: 600; margin-bottom: var(--s2); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s3) var(--s4);
  border: 1.5px solid #8b8473; /* 3.4:1 on sand: visible field edge */
  border-radius: 12px;
  background: #fff;
}
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--fs-sm); margin-top: var(--s1); }
.field__error:empty { display: none; }
.btn--light { margin-top: var(--s5); background: var(--pine); color: var(--on-dark); width: 100%; }
.btn--light:hover { background: var(--teal); }
.contact__hint { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--muted); }
.contact__status { margin-top: var(--s2); font-size: var(--fs-sm); font-weight: 600; color: var(--teal); }
.contact__status:empty { display: none; }

@media (min-width: 960px) {
  .contact { padding-block: var(--s10); }
  .contact__inner { grid-template-columns: 7fr 5fr; gap: var(--s9); }
  .contact__form { padding: var(--s7) var(--s6); }
}

/* HomeFooter: oversized wordmark, small print, sample notice. */
.site-footer {
  --focus: var(--teal);
  background: var(--sand);
  color: var(--ink);
  padding-block: var(--s8) var(--s6);
  overflow-x: clip;
  container-type: inline-size;
}
.site-footer__mark {
  font-family: var(--font-head);
  color: var(--pine);
  font-size: min(22cqi, 17rem); /* sized to the real column, so it never overflows */
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.site-footer__row {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.site-footer__sample {
  margin-top: var(--s5);
  font-size: var(--fs-sm);
  font-weight: 600;
}
@media (min-width: 960px) {
  .site-footer__row { grid-template-columns: 1fr auto; }
}
