/* Alder Hollow Property Care: one stylesheet. Order: layer list, motion tokens (states-and-motion §1), fallback visual tokens (§1.4),
   then brand tokens, base layer (§2), layout, components, utilities. */
@layer base, layout, components, utilities;

/* ===== §1 Motion tokens (pasted from states-and-motion.md) ===== */
:root {
  /* ---------- Durations ---------- */
  --dur-0: 0ms;          /* keyboard-triggered or used many times a visit: no animation */
  --dur-1: 100ms;        /* colour feedback: hover, selected fill, switch thumb */
  --dur-press: 160ms;    /* the press scale (biz-demo-site's 160 ms) */
  --dur-2: 160ms;        /* small things appearing: popover, menu, select picker, tooltip */
  --dur-3: 240ms;        /* panels: dialog, accordion, toast, inline expand, tab ink, page crossfade */
  --dur-4: 400ms;        /* edge surfaces travelling: bottom sheet, side drawer */
  --dur-hero: 600ms;     /* each piece of the ONE hero entrance; last delay ≤ 170 ms, whole entrance < 0.9 s */

  --dur-2-out: 120ms;    /* exits: ~70% of the enter */
  --dur-3-out: 180ms;
  --dur-4-out: 280ms;

  --dur-spin: 800ms;     /* one spinner turn */
  --dur-progress: 8s;    /* the route bar's creep toward 90% */
  --dur-check: 400ms;    /* the success check's circle (§9.1) */

  /* ---------- Easing ---------- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* default: anything entering or leaving */
  --ease-move: cubic-bezier(0.2, 0, 0, 1);      /* something already on screen moving: tab ink, a gap closing, a block snapping */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);/* sheets and drawers coming from an edge (iOS-like; Ionic / Vaul curve) */
  --ease-hover: ease;                           /* colour and background changes */
  --ease-linear: linear;                        /* spinners and progress only */

  /* ---------- Distances ---------- */
  --press-scale: 0.97;     /* .btn, .chip, .icon-btn; wide cards (> 240 px) use 0.985 */
  --pop-shift: 4px;        /* popover / menu / tooltip start offset, toward the trigger */
  --enter-shift: 8px;      /* toast, full-screen dialog, new row, inline message start offset */
  --dialog-scale: 0.96;    /* centred dialog start */
  --leave-shift: 32px;     /* a removed row slides this far while fading */

  /* ---------- Waiting ---------- */
  --delay-indicator: 300ms;   /* show a spinner / progress bar only if still waiting after this */
  --min-indicator: 500ms;     /* once shown, keep it at least this long (no flash) */
  --hold-success: 1500ms;     /* an inline "Saved" stays this long (Carbon) */
  --delay-search: 200ms;      /* search-as-you-type waits for a pause this long */
  --delay-tooltip: 300ms;     /* hover tooltip open delay; peers open instantly once one is open */
  --delay-tooltip-close: 300ms; /* grace so the pointer can move onto the tooltip (WCAG 1.4.13) */
  --toast-life: 5000ms;       /* plain toast; paused on hover, focus and hidden tab */
  --toast-life-action: 10000ms; /* toast with an action (Undo) */
}

/* ===== §1.4 fallback visual tokens (the brand block below overrides them) ===== */
:root {
  --bg: #fff; --surface: #fff; --text-1: #1a1a1a; --text-2: #555; --text-3: #8a8a8a;
  --line: color-mix(in oklab, var(--text-1) 12%, transparent);
  --line-strong: color-mix(in oklab, var(--text-1) 45%, transparent);     /* field borders: must reach 3:1 */
  --accent: #1d4ed8; --accent-text: #fff;
  --danger: #b42318; --danger-text: #b42318; --success: #067647;
  --hover-bg: color-mix(in oklab, var(--text-1) 6%, transparent);
  --selected-bg: color-mix(in oklab, var(--accent) 10%, transparent);
  --btn-bg-hover: color-mix(in oklab, var(--accent) 88%, black);
  --backdrop: color-mix(in oklab, var(--text-1) 40%, transparent);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;               /* unless FEEL.md sets them */
  --shadow-pop: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .12);
  --header-h: 64px; --callbar-h: 64px; --row-h: 56px;
}
@media (min-width: 900px) { :root { --callbar-h: 0px; } }

/* ===== Brand tokens (FEEL.md): spruce ink on snow, plow-amber for the one action ===== */
@font-face { font-family: "Big Shoulders"; src: url(/assets/fonts/bigshouldersdisplay-latin.woff2) format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/publicsans-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
/* Metric-matched fallbacks. Measured on real text with fontTools (summed advance widths of the actual copy, web font / Arial; caps vs Arial Bold for
   the display face), not from xAvgCharWidth: that gave 129% and 84% and made the fallback wrap differently, shifting the page 0.08 CLS. */
@font-face { font-family: "Big Shoulders fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 800; size-adjust: 65.7%; ascent-override: 149.7%; descent-override: 32.4%; line-gap-override: 0%; }
@font-face { font-family: "Public Sans fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 104.2%; ascent-override: 91.1%; descent-override: 21.6%; line-gap-override: 0%; }

:root {
  --bg: #eef1ec; --surface: #f8faf6; --text-1: #15281f; --text-2: #36443c; --text-3: #566159;
  --line: rgb(21 40 31 / .16); --line-strong: #67746b;
  --accent: #f2b705; --accent-text: #15281f;
  --leaf: #2f5d3a; --leaf-bright: #5f9a6b; --spruce: #15281f; --spruce-2: #1e3b2b; --snow: #eef1ec;
  --danger: #b42318; --danger-text: #a8200f; --success: #1d6b3a;
  --ring: #1f5a35; --ring-outer: var(--bg);
  --hover-bg: rgb(21 40 31 / .07);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --shadow-pop: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .12);
  --header-h: 64px; --callbar-h: 72px;
  --font-display: "Big Shoulders", "Big Shoulders fallback", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Public Sans fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px; --wrap: 1200px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
}
@media (min-width: 1000px) { :root { --callbar-h: 0px; --header-h: 80px; --gutter: 40px; } }

@layer base {
  html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; overflow-x: clip; }
  body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text-1); font: 400 1.125rem/1.6 var(--font-body);
    padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
  input, select, textarea, button { font: inherit; font-size: max(16px, 1rem); }
  img, svg { max-width: 100%; }
  img { height: auto; }
  h1, h2, h3 { margin: 0; text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  address { font-style: normal; }
  :target { scroll-margin-top: calc(var(--header-h) + 16px); }
  .visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--accent); color: var(--accent-text); font-weight: 700; border-radius: var(--radius-sm); }
  .skip-link:focus { top: 8px; }
  .icon { display: inline-block; flex: none; inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .icon-lg { inline-size: 28px; block-size: 28px; }
  .muted { color: var(--text-2); }
}

/* ===== Pasted from states-and-motion.md: §2.1 press, §2.2 reduced motion, §2.3 focus, §2.4 overlay recipe ===== */
@layer base {
/* Buttons, chips and icon buttons shrink a little when pressed. */
:where(.btn, .chip, .icon-btn, a.card) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-press) var(--ease-out),
              background-color var(--dur-1) var(--ease-hover),
              color var(--dur-1) var(--ease-hover),
              border-color var(--dur-1) var(--ease-hover);
}
:where(.btn, .chip, .icon-btn):active:not(:disabled, [aria-disabled="true"]) { transform: scale(var(--press-scale)); }
a.card:active { transform: scale(.985); }                          /* wide things shrink less */
/* Rows, menu items, tabs, options, sort headers: no shrinking, a background instead. */
:where([role="menuitem"], [role="option"], [role="tab"], .row, th button):active { background: var(--hover-bg); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background-color: var(--btn-bg-hover); }   /* colour only; no lift, no shadow growth */
  :where([role="menuitem"], [role="option"], .row):hover { background: var(--hover-bg); }
}/* The pattern (every component section below is written this way; `.thing` is a placeholder name) */
/* Base: opacity only */
.thing { transition: opacity var(--dur-2) var(--ease-out), scale var(--dur-2) var(--ease-out); }
.thing:not(.is-open) { opacity: 0; }

/* Movement: only when the visitor has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .thing:not(.is-open) { scale: var(--dialog-scale); }
}

/* Belt and braces for anything a library or keyframe adds */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    scroll-behavior: auto !important; }
  .spinner { animation: none !important; }   /* the pending state shows the static "…" label instead (§3.4) */
  @view-transition { navigation: none; }
}:root {
  --ring: var(--accent);          /* must reach 3:1 against the page background (WCAG 1.4.11) */
  --ring-outer: var(--bg);        /* second tone, for rings that may sit on photos or colour */
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;             /* follows border-radius in all current browsers */
}
/* On photos, coloured bands or dark sections: a two-tone ring that passes on any background */
.on-media :focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--ring-outer);
  outline-offset: 0;
  box-shadow: 0 0 0 4px var(--ring);
}
/* Never let sticky things cover focus (WCAG 2.4.11) */
html { scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: calc(var(--callbar-h, 0px) + 16px); }/* Times per surface type */
.pop, .menu, .tip   { --in: var(--dur-2); --out: var(--dur-2-out); }
.dialog, .screen    { --in: var(--dur-3); --out: var(--dur-3-out); }
.sheet              { --in: var(--dur-4); --out: var(--dur-4-out); --ease-surface: var(--ease-drawer); }

/* The recipe (works for [popover] and <dialog>) */
:is(.pop, .menu, .tip, .dialog, .screen, .sheet) {
  transition-property: opacity, translate, scale, display, overlay;
  transition-duration: var(--out);
  transition-timing-function: var(--ease-surface, var(--ease-out));
  transition-behavior: allow-discrete;           /* display + overlay: exit plays in Chrome / Safari 18+, instant in Firefox */
}
:is(.pop, .menu, .tip, .dialog, .screen, .sheet):is(:popover-open, [open]) { transition-duration: var(--in); }
:is(.pop, .menu, .tip, .dialog, .screen):not(:popover-open):not([open]) { opacity: 0; }
@starting-style { :is(.pop, .menu, .tip, .dialog, .screen):is(:popover-open, [open]) { opacity: 0; } }

/* Movement per type, only without reduced motion */
@media (prefers-reduced-motion: no-preference) {
  :is(.pop, .menu):not(:popover-open)            { translate: 0 calc(-1 * var(--pop-shift)); }   /* opens downward from the trigger */
  @starting-style { :is(.pop, .menu):popover-open { translate: 0 calc(-1 * var(--pop-shift)); } }
  :is(.pop, .menu)[data-side="top"]:not(:popover-open) { translate: 0 var(--pop-shift); }
  .tip:not(:popover-open)                         { translate: 0 var(--pop-shift); }             /* tooltips sit above */
  @starting-style { .tip:popover-open             { translate: 0 var(--pop-shift); } }
  .dialog:not([open])                             { scale: var(--dialog-scale); }
  @starting-style { .dialog[open]                 { scale: var(--dialog-scale); } }
  .screen:not([open])                             { translate: 0 var(--enter-shift); }
  @starting-style { .screen[open]                 { translate: 0 var(--enter-shift); } }
}

/* Backdrop: same times as its dialog */
:is(.dialog, .screen, .sheet)::backdrop {
  background: var(--backdrop); opacity: 1;
  transition: opacity var(--out) var(--ease-out), display var(--out) allow-discrete, overlay var(--out) allow-discrete;
}
:is(.dialog, .screen, .sheet)[open]::backdrop { transition-duration: var(--in); }
:is(.dialog, .screen, .sheet):not([open])::backdrop { opacity: 0; }
@starting-style { :is(.dialog, .screen, .sheet)[open]::backdrop { opacity: 0; } }

/* Scroll lock under any modal (Chrome's guidance + a belt for other browsers; both measured in Chromium 156:
   scroll position kept, sticky header kept). Check on a real iPhone. */
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { overflow: hidden; overscroll-behavior: contain; }
html:has(dialog:modal) { overflow: hidden; }       /* no jump: html has scrollbar-gutter: stable (§2.6) */}

/* ===== Page changes: crossfade, header still (states-and-motion §3.1) ===== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.callbar { view-transition-name: callbar; }
::view-transition-group(*) { animation-duration: var(--dur-3); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

@layer layout {
  .wrap { max-inline-size: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
  .narrow { max-inline-size: 760px; }
  .section { padding-block: var(--sp-8); }
  .section-ink { background: var(--spruce); color: var(--snow); --ring: var(--snow); --ring-outer: var(--spruce); }
  .two, .two-wide, .split { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 1000px) {
    .section { padding-block: var(--sp-9); }
    .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
    .two-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); align-items: start; }
    .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--sp-8); align-items: center; }
  }

  /* Banner: slim, honest, not sticky */
  .fiction-banner { background: #26342c; color: #e8ede7; text-align: center; padding: 6px var(--gutter); font-size: .8125rem; line-height: 1.35; letter-spacing: .01em; }
  .fiction-banner p { text-wrap: balance; }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-block-size: var(--header-h); padding-inline: var(--gutter); }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-block-size: 44px; }
  .brand-mark { inline-size: 36px; block-size: 36px; border-radius: 8px; flex: none; }
  .brand-text { display: grid; line-height: 1; }
  .brand-name { font: 800 1.625rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
  .brand-sub { font: 600 .8125rem/1.1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 2px; }
  .site-nav { display: none; }
  .menu-btn { margin-inline-start: auto; }
  @media (min-width: 1000px) {
    .site-nav { display: block; margin-inline-start: auto; }
    .site-nav ul { display: flex; gap: var(--sp-5); }
    .site-nav a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: none; font-weight: 600; font-size: 1rem; border-block-end: 2px solid transparent; }
    .site-nav a[aria-current="page"] { border-block-end-color: var(--text-1); }
    @media (hover: hover) and (pointer: fine) { .site-nav a:hover { border-block-end-color: var(--line-strong); } }
  }
  /* JavaScript off: the Menu button would do nothing, so the links show as a row instead */
  @media (scripting: none) and (max-width: 999.98px) {
    .site-header { flex-wrap: wrap; padding-block: 8px; row-gap: 0; }
    .site-nav { display: block; inline-size: 100%; overflow-x: auto; }
    .site-nav ul { display: flex; gap: var(--sp-5); white-space: nowrap; }
    .site-nav a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: none; font-weight: 600; font-size: 1rem; }
    .site-nav a[aria-current="page"] { text-decoration: underline 2px; text-underline-offset: 6px; }
  }

  /* Phone menu: a full-screen dialog (states-and-motion §4.2) */
  .screen { margin: 0; padding: 0; border: 0; inline-size: 100%; max-inline-size: 100%; block-size: 100dvh; max-block-size: 100dvh; background: var(--bg); color: var(--text-1); }
  .screen[open] { display: flex; flex-direction: column; }
  .screen-head { display: flex; align-items: center; justify-content: space-between; block-size: var(--header-h); min-block-size: var(--header-h); padding-inline: var(--gutter); border-block-end: 1px solid var(--line); }
  .menu-links { padding-block-start: var(--sp-3); }
  .menu-links a { display: flex; align-items: center; min-block-size: 64px; padding-inline: var(--gutter); font: 800 2.25rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; text-decoration: none; border-block-end: 1px solid var(--line); }
  .menu-links a[aria-current="page"]::before { content: ""; inline-size: 10px; block-size: 28px; background: var(--accent); border-radius: 2px; margin-inline-end: 12px; }
  .menu-actions { display: grid; gap: var(--sp-2); margin-block-start: auto; padding: var(--sp-4) var(--gutter) max(var(--sp-4), env(safe-area-inset-bottom)); }

  /* Phone call bar (states-and-motion §4.5) */
  .callbar { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3) max(var(--sp-3), env(safe-area-inset-bottom)); background: var(--bg); border-block-start: 1px solid var(--line); }
  body:has(dialog[open], input:focus, textarea:focus, select:focus) .callbar { display: none; }
  @media (min-width: 1000px) { .callbar { display: none; } body { padding-bottom: 0; } }

  /* Footer */
  .site-footer { background: var(--spruce); color: #dbe3dc; margin-block-start: 0; --ring: var(--snow); --ring-outer: var(--spruce); }
  .wall { block-size: 56px; background: var(--spruce) url(/assets/img/stonewall.svg) center bottom / cover no-repeat; }
  .foot { max-inline-size: var(--wrap); margin-inline: auto; padding: var(--sp-7) var(--gutter) var(--sp-6); font-size: 1rem; }
  .foot-grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
  .foot-name { font: 800 2rem/1 var(--font-display); text-transform: uppercase; color: var(--snow); letter-spacing: .02em; margin-block-end: var(--sp-3); }
  .foot-h { font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #aebcb2; margin-block-end: var(--sp-3); }
  .foot a { color: var(--snow); }
  .foot .muted { color: #aebcb2; }
  .foot-links { display: grid; gap: 2px; }
  .foot-links a { display: inline-flex; align-items: center; min-block-size: 44px; }
  .foot address a { display: inline-flex; align-items: center; min-block-size: 44px; }
  .fiction-line { margin-block-start: var(--sp-6); padding-block-start: var(--sp-4); border-block-start: 1px solid rgb(238 241 236 / .18); font-size: .875rem; color: #aebcb2; }
  @media (min-width: 1000px) { .wall { block-size: 96px; } .foot-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: var(--sp-7); } }
}

@layer components {
  /* Buttons (44 px; 52 px for the main action) */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-block-size: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text-1); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
  .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
  .btn-lg { min-block-size: 52px; padding-inline: 24px; font-size: 1.0625rem; }
  .btn-ghost { background: transparent; color: var(--snow); border-color: rgb(238 241 236 / .6); }
  @media (hover: hover) and (pointer: fine) { .btn:not(.btn-primary):hover { background: var(--hover-bg); } .btn-ghost:hover { background: rgb(238 241 236 / .12) !important; } }
  .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
  .more { display: inline-flex; align-items: center; gap: var(--sp-2); min-block-size: 44px; font-weight: 700; text-decoration: none; border-block-end: 2px solid var(--accent); }
  .more .icon { transition: translate var(--dur-2) var(--ease-out); }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .more:hover .icon { translate: 4px 0; } }

  /* Hero (home) */
  .hero { position: relative; background: var(--spruce); color: var(--snow); --ring: var(--snow); --ring-outer: var(--spruce); overflow: clip; }
  .hero-in { max-inline-size: var(--wrap); margin-inline: auto; padding: var(--sp-7) var(--gutter) 160px; position: relative; z-index: 1; }
  .eyebrow { font: 700 .9375rem/1.3 var(--font-body); letter-spacing: .04em; color: var(--accent); margin-block-end: var(--sp-4); }
  .hero h1 { font: 800 clamp(3.5rem, 15.5vw, 11rem)/.88 var(--font-display); text-transform: uppercase; letter-spacing: -.005em; }
  .accent-line { color: var(--accent); }
  .lede { font-size: 1.25rem; line-height: 1.5; max-inline-size: 36ch; margin-block: var(--sp-5) var(--sp-5); color: inherit; }
  .hero .lede { color: #dbe3dc; }
  .treeline { position: absolute; inset: auto 0 0; block-size: 130px; background: url(/assets/img/treeline.svg) center bottom / auto 100% repeat-x; pointer-events: none; }
  @media (min-width: 1000px) { .hero-in { padding-block: var(--sp-8) 200px; } .treeline { block-size: 200px; } .lede { font-size: 1.375rem; } }
  @media (prefers-reduced-motion: no-preference) {
    .hero-in > * { animation: rise var(--dur-hero) var(--ease-out) backwards; }
    .hero-in > .lede, .hero-in > .actions { animation-delay: 60ms; }
    .hero-in > .season-bar { animation-delay: 170ms; }
  }
  @keyframes rise { from { opacity: 0; translate: 0 var(--enter-shift); } }

  /* Season bar: the year as two halves */
  .season-bar { margin: var(--sp-7) 0 0; max-inline-size: 760px; }
  .sb-months { display: grid; grid-template-columns: repeat(12, 1fr); font: 700 .75rem/1 var(--font-body); color: #aebcb2; letter-spacing: .06em; margin-block-end: 6px; }
  .sb-months span { padding-inline-start: 2px; }
  .sb-track { display: grid; grid-template-columns: repeat(24, 1fr); block-size: 16px; border-radius: 8px; overflow: hidden; background: rgb(238 241 236 / .12); }
  .sb-snow { background: var(--snow); } .sb-snow-a { grid-column: 1 / 8; } .sb-leaf { grid-column: 8 / 22; background: var(--leaf-bright); } .sb-snow-b { grid-column: 22 / 25; }
  .season-bar figcaption { display: flex; flex-wrap: wrap; gap: 6px var(--sp-5); margin-block-start: var(--sp-3); font-size: .9375rem; color: #dbe3dc; }
  .sb-key { display: inline-flex; align-items: center; gap: 8px; }
  .sb-key::before { content: ""; inline-size: 14px; block-size: 14px; border-radius: 4px; flex: none; }
  .sb-key-leaf::before { background: var(--leaf-bright); } .sb-key-snow::before { background: var(--snow); }
  .sb-key b { font-weight: 700; color: var(--snow); font-variant-numeric: tabular-nums; }

  /* Section headings (signage lettering) */
  .section-h { font: 800 clamp(2.25rem, 7vw, 3.75rem)/.95 var(--font-display); text-transform: uppercase; letter-spacing: .005em; margin-block-end: var(--sp-6); }
  .big { font-size: 1.375rem; line-height: 1.45; font-weight: 500; max-inline-size: 34ch; }

  /* Home: the two halves of the year */
  .job { padding-block-start: var(--sp-5); border-block-start: 6px solid var(--leaf); }
  .job-snow { border-block-start-color: var(--accent); }
  .job h3 { font: 800 clamp(2rem, 6vw, 2.75rem)/1 var(--font-display); text-transform: uppercase; }
  .job h3 a { text-decoration: none; display: inline-block; padding-block: 6px; }
  .job-when { color: var(--text-2); font-weight: 600; margin-block: var(--sp-2) var(--sp-5); font-variant-numeric: tabular-nums; }
  .ruled { margin-block-end: var(--sp-4); }
  .ruled li { padding-block: var(--sp-3); border-block-start: 1px solid var(--line); font-size: 1.125rem; }
  .ruled li:last-child { border-block-end: 1px solid var(--line); }

  /* Plain terms (dark band) */
  .facts { display: grid; gap: var(--sp-6); }
  .facts li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
  .facts .icon { color: var(--accent); margin-block-start: 4px; }
  .facts h3 { font: 800 1.75rem/1 var(--font-display); text-transform: uppercase; margin-block-end: var(--sp-2); }
  .facts p { color: #dbe3dc; max-inline-size: 34ch; }
  @media (min-width: 1000px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

  .cta-card, .contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
  .cta-card h2, .contact-card h2 { font: 800 clamp(1.75rem, 5vw, 2.5rem)/1 var(--font-display); text-transform: uppercase; margin-block-end: var(--sp-3); }
  .cta-card p { margin-block-end: var(--sp-5); color: var(--text-2); }
  .cta-row { display: grid; gap: var(--sp-5); align-items: center; justify-items: start; margin-block-start: var(--sp-8); }
  .section-ink .cta-row { margin-block-start: 0; }
  @media (min-width: 1000px) { .cta-row { grid-template-columns: 1fr auto; } .cta-card, .contact-card { padding: var(--sp-6); } }

  /* Inner page heads */
  .page-head { position: relative; background: var(--spruce); color: var(--snow); padding-block: var(--sp-7) 96px; --ring: var(--snow); --ring-outer: var(--spruce); overflow: clip; }
  .page-head::after { content: ""; position: absolute; inset: auto 0 0; block-size: 56px; background: url(/assets/img/treeline.svg) center bottom / auto 100% repeat-x; }
  .page-head h1 { font: 800 clamp(3rem, 12vw, 6.5rem)/.9 var(--font-display); text-transform: uppercase; max-inline-size: 14ch; }
  .page-head .lede { margin-block: var(--sp-4) 0; }
  .page-head .actions { margin-block-start: var(--sp-5); }
  .page-head .btn:not(.btn-primary) { background: transparent; color: var(--snow); border-color: rgb(238 241 236 / .6); }
  .page-head .lede a, .page-head .popular a { color: var(--snow); }
  .page-head-snow { background: #dfe6e3; color: var(--text-1); --ring: #1f5a35; --ring-outer: #dfe6e3; padding-block-end: 64px; }
  .page-head-snow::after { block-size: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--spruce) 14px 28px); }
  .page-head-snow .eyebrow { color: #7a5a00; }
  @media (min-width: 1000px) { .page-head { padding-block: var(--sp-8) 128px; } .page-head::after { block-size: 88px; } .page-head-snow { padding-block-end: 80px; } .page-head-snow::after { block-size: 14px; } }
  .tel-big { font: 800 clamp(2rem, 8vw, 3rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
  .popular { margin-block-start: var(--sp-6); }

  /* Lawn and garden list */
  .services li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-5); border-block-start: 1px solid var(--line); }
  .services li:last-child { border-block-end: 1px solid var(--line); }
  .num { font: 800 2.25rem/1 var(--font-display); color: var(--leaf); font-variant-numeric: tabular-nums; }
  .services h2 { font: 800 clamp(1.75rem, 5vw, 2.5rem)/1 var(--font-display); text-transform: uppercase; margin-block-end: var(--sp-2); }
  .services p { max-inline-size: 52ch; color: var(--text-2); }
  .note { display: flex; gap: var(--sp-4); margin-block-start: var(--sp-7); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-inline-start: 6px solid var(--leaf); border-radius: var(--radius-md); max-inline-size: 760px; }
  .note .icon { color: var(--leaf); margin-block-start: 2px; }

  /* Plowing */
  .steps { counter-reset: s; display: grid; gap: var(--sp-5); }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-4); }
  .steps li > * { grid-column: 2; }
  .steps li::before { grid-row: 1 / span 2; content: counter(s); display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--spruce); color: var(--accent); font: 800 1.5rem/1 var(--font-display); }
  .steps h3 { font: 800 1.75rem/1 var(--font-display); text-transform: uppercase; margin-block: 8px var(--sp-2); }
  .steps p { color: var(--text-2); max-inline-size: 46ch; }
  .deadline { background: var(--spruce); color: var(--snow); border-radius: var(--radius-lg); padding: var(--sp-6); --ring: var(--snow); --ring-outer: var(--spruce); }
  .deadline-k { font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #aebcb2; }
  .deadline-v { font: 800 clamp(4rem, 14vw, 6rem)/.9 var(--font-display); text-transform: uppercase; color: var(--accent); margin-block: var(--sp-2) var(--sp-4); }
  .deadline p:not([class]) { margin-block-end: var(--sp-5); color: #dbe3dc; }

  /* Service area */
  .map-fig { margin: 0; }
  .map { display: block; inline-size: 100%; block-size: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
  .map-fig figcaption { margin-block-start: var(--sp-2); font-size: .9375rem; color: var(--text-2); }
  .m-sea { fill: #cfdad6; } .m-land { fill: #e8ede2; stroke: #aab5a8; stroke-width: 1.5; }
  .m-road { fill: none; stroke: #6d7a71; stroke-width: 3; stroke-dasharray: 1 8; stroke-linecap: round; } .m-road-thin { stroke-width: 2; }
  .m-grid path { fill: none; stroke: rgb(21 40 31 / .08); stroke-width: 1; }
  .m-pin circle { fill: var(--accent); stroke: var(--spruce); stroke-width: 3; }
  .m-label text { font: 800 30px var(--font-display); text-transform: uppercase; letter-spacing: .02em; fill: var(--text-1); paint-order: stroke; stroke: #e8ede2; stroke-width: 5px; }
  .m-sea-t { font: italic 400 22px var(--font-body); fill: #3f504c; }
  .m-north path { fill: var(--text-1); } .m-north text { font: 800 26px var(--font-display); fill: var(--text-1); }
  .places li { padding-block: var(--sp-4); border-block-start: 1px solid var(--line); }
  .places li:last-child { border-block-end: 1px solid var(--line); margin-block-end: var(--sp-5); }
  .places h3 { font: 800 1.75rem/1 var(--font-display); text-transform: uppercase; margin-block-end: var(--sp-2); }

  /* About / privacy prose */
  .prose { max-inline-size: 62ch; }
  .prose h2 { font: 800 clamp(1.75rem, 5vw, 2.25rem)/1 var(--font-display); text-transform: uppercase; margin-block: var(--sp-7) var(--sp-3); }
  .prose h2:first-child { margin-block-start: 0; }
  .prose p + p { margin-block-start: var(--sp-4); }
  .ticks { display: grid; gap: var(--sp-3); }
  .ticks li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; }
  .ticks .icon { color: var(--leaf); margin-block-start: 5px; }

  /* Contact and the form (states-and-motion §6) */
  .form-col { max-inline-size: 640px; }
  .contact-list { display: grid; gap: var(--sp-5); }
  .contact-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; }
  .contact-list .icon { color: var(--leaf); margin-block-start: 3px; }
  .contact-list a { font-weight: 600; display: inline-flex; align-items: center; min-block-size: 44px; }
  .contact-list li > .icon { margin-block-start: 11px; }
  .field { display: grid; gap: 6px; margin-block-end: 20px; }
  .field label { font-weight: 700; }
  .field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-1); inline-size: 100%; box-sizing: border-box; transition: border-color var(--dur-1) var(--ease-hover); }
  .field textarea { padding: 12px 14px; min-block-size: 140px; resize: vertical; line-height: 1.5; }
  .field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
  .field [aria-invalid="true"] { border-color: var(--danger); border-inline-start-width: 6px; }
  .hint { color: var(--text-2); font-size: .9375rem; }
  .optional { color: var(--text-2); font-weight: 400; }
  .hp { display: none; }
  .error-msg { color: var(--danger-text); display: flex; gap: 6px; align-items: flex-start; font-size: .9375rem; font-weight: 600; }
  .error-msg[hidden] { display: none; }
  .error-msg .icon { inline-size: 18px; block-size: 18px; margin-block-start: 2px; }
  .error-msg:not([hidden]) { animation: fade-in var(--dur-2) var(--ease-out); }
  @keyframes fade-in { from { opacity: 0; } }
  .error-summary { border: 2px solid var(--danger); border-radius: var(--radius-md); padding: 16px 20px; margin-block-end: var(--sp-5); background: var(--surface); }
  .error-summary:not([hidden]) { animation: fade-in var(--dur-2) var(--ease-out); }
  .error-summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
  .error-summary h2 { font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--danger-text); margin-block-end: var(--sp-2); }
  .error-summary ul { display: grid; gap: 4px; }
  .error-summary a { color: var(--danger-text); font-weight: 600; }
  .alert { display: flex; gap: var(--sp-3); align-items: start; border: 2px solid var(--danger); border-radius: var(--radius-md); padding: 16px 20px; margin-block-end: var(--sp-5); background: var(--surface); color: var(--text-1); }
  .alert .icon { color: var(--danger-text); margin-block-start: 3px; }
  .alert[hidden] { display: none; }
  .cf-turnstile { min-block-size: 65px; margin-block: var(--sp-2) var(--sp-4); }
  .form-note { font-size: .9375rem; color: var(--text-2); margin-block-end: var(--sp-5); max-inline-size: 52ch; }

  /* Pending button (states-and-motion §3.4-3.5) */
  .spinner { --s: 16px; inline-size: var(--s); block-size: var(--s); border-radius: 50%; border: 2px solid color-mix(in oklab, currentColor 25%, transparent); border-top-color: currentColor; animation: spin var(--dur-spin) linear infinite; }
  @keyframes spin { to { transform: rotate(1turn); } }
  .btn .btn-label { position: relative; display: inline-block; transition: translate var(--dur-2) var(--ease-out); }
  .btn .spinner { position: absolute; inset-inline-end: calc(100% + 8px); inset-block-start: calc(50% - 8px); opacity: 0; transition: opacity var(--dur-2) var(--ease-out); }
  .btn[data-pending="visible"] .spinner { opacity: 1; }
  @media (prefers-reduced-motion: no-preference) { .btn[data-pending="visible"] .btn-label { translate: 12px 0; } }
  @media (prefers-reduced-motion: reduce) { .btn .spinner { display: none; } }
  .btn[aria-disabled="true"] { cursor: progress; }

  /* Sent: the one celebratory moment (states-and-motion §9.1) */
  .confirm { padding-block: var(--sp-8) var(--sp-9); }
  .confirm-check { inline-size: 64px; block-size: 64px; margin-block-end: var(--sp-5); }
  .confirm-check circle { fill: none; stroke: var(--success); stroke-width: 3; transform: rotate(-90deg); transform-origin: center; }
  .confirm-check path { fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  @media (prefers-reduced-motion: no-preference) {
    .confirm-check circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--dur-check) var(--ease-out) forwards; }
    .confirm-check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--dur-3) var(--ease-out) calc(var(--dur-check) - 100ms) forwards; }
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .confirm h1 { font: 800 clamp(2.75rem, 10vw, 5rem)/.95 var(--font-display); text-transform: uppercase; margin-block-end: var(--sp-5); }
  .confirm h1:focus-visible { outline: none; }
  .confirm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); display: grid; gap: var(--sp-3); margin-block-end: var(--sp-5); }
}

@layer utilities {
  .nowrap { white-space: nowrap; }
  /* Which header control shows (here so the .btn display in components can't override it) */
  .head-cta { display: none; }
  @media (min-width: 1000px) { .head-cta { display: inline-flex; } .menu-btn { display: none; } }
  @media (scripting: none) { .menu-btn { display: none; } }
}
