/* North Yard Works: The Yard Almanac.
   Theme tokens for the scrollcraft engine, then the page's own markup.
   Engine selectors (.sc-stage, .sc-copy, [data-sc-*]) are not restyled here. */

@font-face { font-family: "Archivo"; src: url("/assets/archivo.woff2") format("woff2"); font-style: normal; font-weight: 500 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/manrope.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --forest: #0f1c15;
  --forest-2: #17281f;
  --bark: #1b1611;
  --slate: #0d161c;
  --slate-2: #132029;
  --bone: #eee8db;
  --bone-2: #e3dbc9;
  --citron: #d6f25c;
  --olive: #475f12;
  --ink-dark: #14211a;
  --soft-dark: #4c584f;
  --ink-light: #efe9dc;
  --soft-light: #b9c3b5;

  --sc-canvas: var(--forest);
  --sc-surface: var(--forest-2);
  --sc-ink: var(--ink-light);
  --sc-ink-soft: var(--soft-light);
  --sc-accent: var(--citron);
  --sc-accent-ink: var(--forest);
  --sc-font-display: "Archivo", "Manrope", system-ui, sans-serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-shadow-color: 150 30% 4%;
  --sc-r-sm: 6px;

  /* Written by app.js from the first-snow act: 0 = growing season, 1 = winter. */
  --cold: 0;
  --chrome: color-mix(in oklab, var(--forest) calc(100% - var(--cold) * 100%), var(--slate));
  --chrome-soft: color-mix(in oklab, #b9c3b5 calc(100% - var(--cold) * 100%), #a9bac5);
  --rail-h: 0px;
}

body { font-weight: 450; }
[hidden] { display: none !important; }
.visually-hidden, .honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon-defs { position: absolute; }
.icon { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--citron); color: var(--forest); font-weight: 700; border-radius: var(--sc-r-sm); }
.skip-link:focus { top: 1rem; }

/* Without JavaScript nothing is progress-gated: show every cue and entrance. */
html:not(.js) :is([data-sc-cue], [data-sc-in], [data-sc-stagger] > *) { opacity: 1 !important; transform: none !important; }
html:not(.js) .snow__line { position: static !important; }
html:not(.js) :is(.plan-toggle, .compare__handle) { display: none; }

/* ------------------------------------------------------------------ type -- */
.sc-display { font-stretch: 108%; font-weight: 640; letter-spacing: -0.028em; }
.chapter__month {
  margin: 0 0 var(--sc-4);
  font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 640;
  font-size: var(--sc-t-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--month-ink, var(--citron));
}
.chapter__title { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.6rem); max-width: 14ch; }
.chapter__lede { margin: var(--sc-5) 0 0; max-width: 46ch; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); text-wrap: pretty; }

/* --------------------------------------------------------------- buttons -- */
.button {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.3rem; border: 0; border-radius: var(--sc-r-sm);
  font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 650; font-size: .96rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--sc-e1);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.button:active { transform: scale(.97); }
.button--accent { background: var(--citron); color: var(--forest); }
.button--ink { background: var(--forest); color: var(--bone); }
.button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .button--accent:hover { background: #e3fa7e; box-shadow: var(--sc-e2); }
  .button--ink:not(:disabled):hover { background: #203628; box-shadow: var(--sc-e2); }
  .button:not(:disabled):hover .icon { transform: translate(2px, -2px); }
}
.button .icon { transition: transform 160ms var(--sc-ease-out); }
.text-link { background: none; border: 0; padding: 0; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }

/* ------------------------------------------------------------------- bar -- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: var(--sc-z-chrome);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + .9rem) var(--sc-gutter) .9rem;
  transition: background-color 240ms var(--sc-ease-out), box-shadow 240ms var(--sc-ease-out);
}
.bar.is-solid { background: color-mix(in oklab, var(--chrome) 90%, transparent); box-shadow: 0 1px 0 color-mix(in oklab, var(--ink-light) 8%, transparent), var(--sc-e1); }
.bar__cta { padding: .7rem 1rem; font-size: .9rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; color: var(--ink-light); text-decoration: none; }
.wordmark__mark {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: var(--sc-r-sm);
  background: var(--citron); color: var(--forest);
  font-family: var(--sc-font-display); font-stretch: 125%; font-weight: 800; font-size: 1.05rem;
}
.wordmark__name { font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 700; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 12px hsl(150 40% 4% / .35); }

/* --------------------------------------------------- the year (signature) -- */
.year {
  position: fixed; z-index: var(--sc-z-chrome);
  right: clamp(.75rem, 1.6vw, 1.75rem); top: 50%; translate: 0 -50%;
  padding: .9rem .75rem; border-radius: 10px;
  background: color-mix(in oklab, var(--chrome) 84%, transparent);
  box-shadow: var(--sc-e2), inset 0 1px 0 color-mix(in oklab, var(--ink-light) 9%, transparent);
  color: var(--ink-light);
  width: 8.2rem;
  --row: 1.85rem;
}
.year__title { margin: 0 0 .5rem; min-width: 4.6rem; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--citron); }
.year__months { list-style: none; margin: 0; padding: 0; position: relative; }
.year__months a {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  height: var(--row); padding-left: .85rem;
  color: var(--chrome-soft); text-decoration: none;
  font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  transition: color 160ms var(--sc-ease-out);
}
.year__months a:hover, .year__months [aria-current] a { color: var(--ink-light); }
.year__dot { width: .5rem; height: .5rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink-light) 38%, transparent); transition: background-color 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.year li.is-planned .year__dot { background: var(--citron); box-shadow: none; transform: scale(1.2); }
.year__marker {
  position: absolute; left: .75rem; top: calc(.9rem + 1.28rem + .5rem);
  width: 3px; height: var(--row); border-radius: 2px; background: var(--citron);
  transform: translateY(calc(var(--m, 0) * var(--row)));
}

/* ------------------------------------------------------------------ hero -- */
/* Static on purpose: moving full-screen layers made the hero stutter on phones. Only the text cues animate. */
.hero { background: var(--forest); }
.hero__stage { background: var(--forest); }
/* Plain hero (phones, tablets, no JS): a still full-screen section. */
.hero:not(.hero--rich) .hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 30rem; overflow: hidden; }
.hero:not(.hero--rich) :is(.plane, .hero__handoff) { display: none; }
.hero__scene { position: absolute; inset: 0; overflow: hidden; }
.hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--hero-pos, 50% 50%);
}
.hero__maple { position: absolute; top: -9vh; right: -7vw; width: min(64vw, 70rem); height: auto; max-width: none; pointer-events: none; }
.hero__scrim { --sc-canvas: #0c160f; }
/* Rich hero (desktop with a mouse): pinned, independent depth planes driven by --sc-p. */
.hero--rich { --p: var(--sc-p, 0); }
.hero--rich .plane--sky img, .hero--rich .plane--garden img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero--rich .plane { position: absolute; inset: 0; will-change: transform; }
.hero--rich :is(.plane--sky, .plane--garden) { opacity: 0; transition: opacity 500ms var(--sc-ease-out); }
.hero--rich.planes-ready :is(.plane--sky, .plane--garden) { opacity: 1; }
.hero--rich .plane--sky { transform: translate3d(calc(var(--hx, 0) * -4px), calc(var(--p) * 5vh), 0) scale(calc(1.09 + var(--p) * .03)); }
.hero--rich .plane--garden { transform-origin: 58% 94%; transform: translate3d(calc(var(--hx, 0) * -11px), calc(var(--hy, 0) * -4px + var(--p) * -2vh), 0) scale(calc(1.02 + var(--p) * .17)); }
.hero--rich .plane--haze {
  background: radial-gradient(55% 48% at 16% 6%, hsl(44 90% 82% / .42), transparent 72%);
  opacity: calc(.95 - var(--p) * .7);
  transform: translate3d(calc(var(--p) * -4vw), 0, 0);
  mix-blend-mode: soft-light;
}
.hero--rich .hero__maple {
  filter: drop-shadow(0 18px 26px hsl(150 40% 4% / .28));
  transform: translate3d(calc(var(--hx, 0) * -24px + var(--p) * 9vw), calc(var(--hy, 0) * -14px + var(--p) * -40vh), 0) scale(calc(1 + var(--p) * .38)) rotate(calc(var(--p) * 5deg));
  transform-origin: 100% 0;
  will-change: transform;
}
.hero__handoff { bottom: clamp(3rem, 14vh, 9rem); }
.hero__handoff-text { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); text-shadow: 0 2px 30px hsl(150 40% 4% / .45); }
.hero__copy { max-width: min(62rem, 84vw); bottom: clamp(3rem, 11vh, 8rem); }
.hero__place { margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 650; font-size: var(--sc-t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--citron); }
.hero__place::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.hero__title { font-size: clamp(2.6rem, 1.2rem + 5vw, 6rem); line-height: .95; max-width: 13ch; text-shadow: 0 2px 30px hsl(150 40% 4% / .25); }
.hero__lede { margin: 1.3rem 0 2rem; max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.45; color: #e6e5d8; }

/* ----------------------------------------------------------------- intro -- */
.intro { background: var(--forest); padding-block: var(--sc-section); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) 2rem; align-items: end; }
.intro__title { grid-column: 1 / span 10; font-size: clamp(2.4rem, 1.3rem + 4vw, 5.4rem); line-height: 1; max-width: 17ch; }
.intro__title span { color: var(--citron); }
.intro__media { grid-column: 1 / span 6; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--sc-r-sm); box-shadow: var(--sc-e3); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media .pos-truck { object-position: 86% 62%; }
.pillars { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; }
.pillars li { padding: 1.35rem 0; border-top: 1px solid color-mix(in oklab, var(--ink-light) 16%, transparent); }
.pillars h3 { margin: 0 0 .4rem; font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 650; font-size: var(--sc-t-lg); letter-spacing: -.01em; }
.pillars p { margin: 0; color: var(--soft-light); max-width: 40ch; }

/* -------------------------------------------------------- flow chapters -- */
.chapter { padding-block: var(--sc-section); }
.chapter--spring { background: var(--bone); color: var(--ink-dark); --sc-ink: var(--ink-dark); --sc-ink-soft: var(--soft-dark); --month-ink: var(--olive); }
.chapter__head { max-width: 48rem; margin-bottom: var(--sc-7); }
.note { margin: var(--sc-5) 0 0; max-width: 48ch; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* before / after */
.compare { margin: 0; }
.compare__frame { --pos: 50%; position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--sc-r-sm); box-shadow: var(--sc-e3); background: var(--forest); touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--bone); pointer-events: none; box-shadow: 0 0 0 1px hsl(150 30% 4% / .12); }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 3.2rem; height: 3.2rem; translate: -50% -50%; border-radius: 50%; background: var(--bone); box-shadow: var(--sc-e2); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: .55rem; height: .55rem; border: solid var(--forest); border-width: 0 0 2px 2px; }
.compare__handle span::before { left: .85rem; transform: translateY(-50%) rotate(45deg); }
.compare__handle span::after { right: .85rem; transform: translateY(-50%) rotate(-135deg); }
.compare__tag { position: absolute; top: 1rem; padding: .35rem .65rem; border-radius: 4px; background: hsl(150 30% 6% / .62); color: var(--bone); font-family: var(--sc-font-display); font-stretch: 116%; font-weight: 650; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; }
.compare__frame { cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare__frame img { -webkit-user-drag: none; pointer-events: none; }
/* Pointer drags are handled on the frame so vertical swipes still scroll on touch screens; the range is kept for keyboard and screen readers. */
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare__frame:has(.compare__range:focus-visible) { outline: 2px solid var(--olive); outline-offset: 4px; }
.compare figcaption { margin-top: .8rem; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }

/* detail rows and tip panels */
.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); margin-top: var(--sc-8); align-items: start; }
.rows { margin: var(--sc-6) 0 0; }
.detail > .rows:first-child { margin-top: 0; }
.rows > div { display: grid; grid-template-columns: minmax(9rem, .75fr) 1.25fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid color-mix(in oklab, currentColor 16%, transparent); }
.rows > div:last-child { border-bottom: 1px solid color-mix(in oklab, currentColor 16%, transparent); }
.rows dt { font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 650; font-size: 1.08rem; letter-spacing: -.01em; }
.rows dd { margin: 0; color: var(--sc-ink-soft); }
.tips { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--sc-r-sm); background: var(--bone-2); }
.tips__label { margin: 0 0 1rem; font-family: var(--sc-font-display); font-stretch: 116%; font-weight: 700; font-size: var(--sc-t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--month-ink, var(--citron)); }
.tips ul { list-style: none; margin: 0; padding: 0; }
.tips li { position: relative; padding: .55rem 0 .55rem 1.7rem; }
.tips li::before { content: ""; position: absolute; left: .1rem; top: 1rem; width: .7rem; height: .38rem; border: solid var(--month-ink, var(--citron)); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.tips .plan-toggle { margin-top: var(--sc-5); }
.tips--dark { background: var(--slate-2); box-shadow: var(--sc-e2), inset 0 1px 0 color-mix(in oklab, var(--ink-light) 8%, transparent); }
.tips__media { margin: 0 0 1.4rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.tips__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

.plan-toggle {
  display: inline-flex; align-items: center; gap: .8rem; margin-top: var(--sc-6);
  padding: .55rem 1.1rem .55rem .55rem; border-radius: var(--sc-r-sm);
  border: 1px solid color-mix(in oklab, currentColor 26%, transparent); background: transparent; color: inherit;
  font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 650; font-size: .95rem; cursor: pointer;
  transition: border-color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out);
}
.plan-toggle:active { transform: scale(.97); }
.plan-toggle__box { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 4px; background: var(--forest); color: var(--bone); transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out); }
.plan-toggle--dark .plan-toggle__box { background: color-mix(in oklab, var(--ink-light) 12%, transparent); color: var(--ink-light); }
.plan-toggle[aria-pressed="true"] { border-color: var(--month-ink, var(--citron)); }
.plan-toggle[aria-pressed="true"] .plan-toggle__box { background: var(--citron); color: var(--forest); }
.chapter--spring .plan-toggle[aria-pressed="true"] .plan-toggle__box { background: var(--olive); color: var(--bone); }
@media (hover: hover) and (pointer: fine) { .plan-toggle:hover { border-color: color-mix(in oklab, currentColor 60%, transparent); } }

/* ---------------------------------------------------------------- summer -- */
.summer { background: var(--forest); }
.month-card { margin: 0; }
.month-card__media { overflow: hidden; border-radius: var(--sc-r-sm); background: var(--forest-2); }
.month-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Swipe carousel (phones, tablets, no JS): native horizontal scrolling with snap points. */
.summer:not(.summer--pan) { padding-block: clamp(4rem, 10vw, 7rem); }
.summer:not(.summer--pan) .summer__lead { max-width: 40rem; padding-inline: var(--sc-gutter); }
.summer__tabs { display: flex; gap: .5rem; margin-top: var(--sc-6); padding-inline: var(--sc-gutter); overflow-x: auto; scrollbar-width: none; }
.summer__tabs::-webkit-scrollbar { display: none; }
.summer__tab {
  flex: none; min-height: 2.6rem; padding: .5rem 1rem; border-radius: var(--sc-r-sm);
  border: 1px solid color-mix(in oklab, var(--ink-light) 22%, transparent); background: transparent; color: var(--soft-light);
  font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 620; font-size: .88rem; cursor: pointer;
  transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out), border-color 180ms var(--sc-ease-out);
}
.summer__tab[aria-current] { background: var(--citron); border-color: var(--citron); color: var(--forest); }
.summer:not(.summer--pan) .summer__rail {
  display: flex; gap: 1rem; margin-top: 1.25rem; padding-inline: var(--sc-gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.summer:not(.summer--pan) .summer__rail::-webkit-scrollbar { display: none; }
.summer:not(.summer--pan) .summer__rail::after { content: ""; flex: 0 0 1px; }
.summer:not(.summer--pan) .summer__rail:focus-visible { outline-offset: -2px; }
.summer:not(.summer--pan) .month-card { flex: 0 0 min(78%, 24rem); scroll-snap-align: start; }
.summer:not(.summer--pan) .month-card__media { aspect-ratio: 4 / 4.6; }
.summer:not(.summer--pan) .summer__close { padding: var(--sc-6) var(--sc-gutter) 0; }
.summer:not(.summer--pan) .summer__close .plan-toggle { margin-top: var(--sc-4); }

/* Pinned sideways pan (desktop with a mouse). */
.summer--pan .summer__stage { display: flex; align-items: center; background: var(--forest); }
.summer--pan .summer__rail { align-items: center; gap: clamp(1.5rem, 2.6vw, 2.75rem); padding-inline: var(--sc-gutter) calc(var(--sc-gutter) + 6rem); padding-top: 4rem; }
.summer--pan .summer__tabs { display: none; }
.summer--pan .summer__lead { flex: none; width: min(30rem, 84vw); }
.summer--pan .month-card { flex: none; width: clamp(16rem, 27vw, 25rem); }
.summer--pan .month-card__media { height: min(52svh, 32rem); box-shadow: var(--sc-e3); }
.month-card__media .pos-edge { object-position: 88% 100%; }
.month-card__media .pos-beds { object-position: 96% 92%; }
.month-card__media .pos-hands { object-position: 50% 45%; }
.summer--pan .month-card:nth-of-type(odd) { translate: 0 -2.2rem; }
.month-card__label { margin: 1.1rem 0 .35rem; display: flex; gap: .8rem; align-items: baseline; font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 650; font-size: var(--sc-t-lg); letter-spacing: -.01em; }
.month-card__label span { font-stretch: 118%; font-size: var(--sc-t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--citron); }
.month-card__text { margin: 0; max-width: 34ch; color: var(--soft-light); font-size: var(--sc-t-sm); }
.summer--pan .summer__close { flex: none; width: min(22rem, 80vw); }
.summer__close-text { margin: 0; font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 620; font-size: var(--sc-t-xl); line-height: 1.12; letter-spacing: -.02em; }

/* ------------------------------------------------ fall: calm before snow -- */
.chapter--fall { position: relative; isolation: isolate; overflow: hidden; background: var(--bark); padding-block: clamp(6rem, 12vw, 11rem); --sc-ink-soft: #cdc3b2; --month-ink: #e3b776; }
.fall__media { position: absolute; inset: 0 0 0 36%; z-index: -1; margin: 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%); mask-image: linear-gradient(to right, transparent 0%, #000 42%); }
.fall__media img { width: 100%; height: 118%; max-width: none; margin-top: -9%; object-fit: cover; object-position: 72% 58%; }

.fall__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, hsl(30 25% 9% / .55), transparent 40%); }
.fall__text { max-width: 36rem; }
.fall__title { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); max-width: 12ch; }
.fall__tip { margin: var(--sc-6) 0 0; padding: 1rem 1.15rem; max-width: 46ch; border-radius: var(--sc-r-sm); background: hsl(32 30% 16% / .82); color: #ddd3c2; font-size: var(--sc-t-sm); }
.fall__tip strong { color: #e3b776; }
.chapter--fall .plan-toggle[aria-pressed="true"] { border-color: var(--citron); }

/* ----------------------------------------------------- first snow: peak -- */
.snow { background: var(--slate); }
.snow__stage { --snow: clamp(0, (var(--sc-p, 0) - .26) / .42, 1); background: var(--slate); }
.snow__photo { position: absolute; inset: 0; transform: scale(calc(1.1 - var(--sc-p, 0) * .08)); transform-origin: 36% 38%; will-change: transform; }
.snow__summer, .snow__winter, .snow__winter img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.snow__winter {
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--snow) * 130% - 30%), transparent calc(var(--snow) * 130%));
  mask-image: linear-gradient(to top, #000 calc(var(--snow) * 130% - 30%), transparent calc(var(--snow) * 130%));
}
.snow__flakes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.snow__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, hsl(206 38% 7% / .9) 0%, hsl(206 38% 7% / .55) 26%, transparent 52%),
    linear-gradient(to right, hsl(206 38% 7% / .7) 0%, hsl(206 38% 7% / .3) 34%, transparent 58%);
}
.snow__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); bottom: clamp(4rem, 13vh, 9rem); width: min(44rem, calc(100vw - 2 * var(--sc-gutter) - 7rem)); min-height: 3.2em; }
.snow__line { position: absolute; left: 0; bottom: 0; margin: 0; font-size: clamp(2.1rem, 1.2rem + 3.3vw, 4.4rem); line-height: 1; max-width: 15ch; color: #f3f6f7; text-shadow: 0 2px 24px hsl(206 38% 7% / .45); }

/* ---------------------------------------------------------------- winter -- */
.chapter--winter { background: var(--slate); padding-top: 0; --sc-ink-soft: #aebcc5; }
.banner { position: relative; margin: 0; height: clamp(26rem, 74vh, 46rem); overflow: hidden; }
.banner > img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--slate) 0%, hsl(206 38% 7% / .6) 28%, transparent 62%); }
.banner__copy { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 5vh, 3.5rem); }
.detail--winter { margin-top: var(--sc-6); }
.winter__lede { margin: 0; }

/* ------------------------------------------------------------ service area -- */
.area { background: var(--forest-2); padding-block: var(--sc-section); }
.area__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.area__media { margin: 0; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--sc-r-sm); box-shadow: var(--sc-e3); }
.area__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.area__title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem); }
.area__list { list-style: none; margin: var(--sc-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.area__list li { padding: .6rem 0; border-top: 1px solid color-mix(in oklab, var(--ink-light) 13%, transparent); font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 600; }

/* ------------------------------------------------------------- questions -- */
.questions { background: var(--slate-2); padding-block: clamp(4.5rem, 8vw, 8rem); --sc-ink-soft: #aebcc5; }
.questions__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.questions__title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.steps { list-style: none; margin: var(--sc-6) 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.4rem 2.6rem; color: var(--sc-ink-soft); max-width: 40ch; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, var(--ink-light) 10%, transparent); color: var(--ink-light); font-family: var(--sc-font-display); font-weight: 700; font-size: .78rem; }
.steps span { display: block; color: var(--ink-light); font-weight: 700; }
.faq details { border-top: 1px solid color-mix(in oklab, var(--ink-light) 14%, transparent); }
.faq details:last-child { border-bottom: 1px solid color-mix(in oklab, var(--ink-light) 14%, transparent); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 620; font-size: var(--sc-t-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 200ms var(--sc-ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; max-width: 56ch; color: var(--sc-ink-soft); }

/* ------------------------------------------------------ your year: close -- */
.plan { background: var(--bone); color: var(--ink-dark); padding-top: var(--sc-section); --sc-ink: var(--ink-dark); --sc-ink-soft: var(--soft-dark); --month-ink: var(--olive); }
.plan__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.plan__title { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.4rem); max-width: 11ch; }
.plan__head .chapter__lede { margin: 0; }
.notice { display: flex; align-items: center; gap: .7rem; margin: var(--sc-7) 0 0; padding: .9rem 1.1rem; border-radius: var(--sc-r-sm); background: var(--bone-2); font-weight: 650; }
.notice::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #b5791f; }
.plan__form { margin-top: var(--sc-6); }
.plan__form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.plan__form legend { padding: 0; margin-bottom: .9rem; font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 700; font-size: var(--sc-t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }

.calendar__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid color-mix(in oklab, var(--ink-dark) 22%, transparent); border-radius: var(--sc-r-sm); overflow: hidden; background: #f5f1e7; }
.calendar__cell { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.2rem; min-height: 8.2rem; padding: .85rem .75rem; cursor: pointer; border-left: 1px solid color-mix(in oklab, var(--ink-dark) 14%, transparent); transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out); }
.calendar__cell:first-child { border-left: 0; }
.calendar__cell[data-season="winter"] { background: #e7e9e6; }
.calendar__cell input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.calendar__m { font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 680; font-size: clamp(1.1rem, .8rem + .8vw, 1.6rem); letter-spacing: -.01em; }
.calendar__s { font-size: .72rem; line-height: 1.2; color: var(--soft-dark); }
.calendar__cell::after { content: ""; position: absolute; top: .85rem; right: .75rem; width: .6rem; height: .6rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink-dark) 40%, transparent); }
.calendar__cell:has(input:checked) { background: var(--forest); color: var(--bone); }
.calendar__cell[data-season="winter"]:has(input:checked) { background: var(--slate-2); }
.calendar__cell:has(input:checked) .calendar__s { color: var(--soft-light); }
.calendar__cell:has(input:checked)::after { background: var(--citron); box-shadow: none; }
.calendar__cell:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .calendar__cell:not(:has(input:checked)):hover { background: #ebe4d3; } }
.calendar__hint { margin: .7rem 0 0; font-size: var(--sc-t-sm); color: var(--soft-dark); }

.services { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: var(--sc-6) !important; }
.services legend { width: 100%; }
.check { position: relative; display: inline-flex; align-items: flex-start; gap: .7rem; cursor: pointer; font-weight: 600; }
.check input { position: absolute; opacity: 0; width: 1.4rem; height: 1.4rem; margin: 0; cursor: pointer; }
.check__box { flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 4px; border: 1.5px solid color-mix(in oklab, var(--ink-dark) 50%, transparent); background: #f7f3ea; color: transparent; transition: background-color 160ms var(--sc-ease-out); }
.check__box .icon { width: .95rem; height: .95rem; stroke-width: 3; }
.check input:checked + .check__box { background: var(--forest); border-color: var(--forest); color: var(--citron); }
.check input:focus-visible + .check__box { outline: 2px solid var(--olive); outline-offset: 3px; }
.check--consent { margin-top: var(--sc-5); font-weight: 450; font-size: var(--sc-t-sm); max-width: 62ch; }

.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1.4rem; margin-top: var(--sc-6); }
.field { display: grid; gap: .45rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: var(--sc-t-sm); }
.field label span { font-weight: 450; color: var(--soft-dark); }
.field :is(input, select, textarea) {
  width: 100%; padding: .85rem .95rem; border-radius: var(--sc-r-sm);
  border: 1px solid color-mix(in oklab, var(--ink-dark) 26%, transparent); background: #f7f3ea; color: var(--ink-dark);
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field :is(input, select, textarea)::placeholder { color: #7b8379; }
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in oklab, var(--olive) 28%, transparent); }
.summary { margin: var(--sc-5) 0 0; min-height: 1.5em; font-family: var(--sc-font-display); font-stretch: 106%; font-weight: 620; }
.plan__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: var(--sc-6); }
.plan__fine { margin: 0; font-size: var(--sc-t-sm); color: var(--soft-dark); }
.form-status { margin: 1rem 0 0; min-height: 1.5em; font-weight: 650; color: #8a3b12; }
.success { margin-top: var(--sc-7); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--sc-r-sm); background: var(--forest); color: var(--bone); }
.success h3 { font-size: var(--sc-t-2xl); }
.success p { max-width: 52ch; color: var(--soft-light); }
.success:focus-visible { outline-offset: 4px; }

.foot { margin-top: var(--sc-section); padding-block: 1.6rem calc(1.6rem + var(--rail-h)); border-top: 1px solid color-mix(in oklab, var(--ink-dark) 14%, transparent); font-size: var(--sc-t-xs); color: var(--soft-dark); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; }
.wordmark--small { color: var(--ink-dark); }
.wordmark--small .wordmark__mark { width: 1.7rem; height: 1.7rem; font-size: .8rem; }
.wordmark--small .wordmark__name { font-size: .72rem; text-shadow: none; }

.reply-page { max-width: 40rem; margin: 18vh auto; padding-inline: var(--sc-gutter); }

/* The year rail owns the right margin on wider screens; content never runs under it. */
@media (min-width: 861px) {
  main .sc-wrap { padding-right: max(var(--sc-gutter), 7.5rem); }
}

/* ---------------------------------------------------------------- tablet -- */
@media (max-width: 1100px) {
  .calendar__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .calendar__cell:nth-child(7) { border-left: 0; }
  .calendar__cell:nth-child(n + 7) { border-top: 1px solid color-mix(in oklab, var(--ink-dark) 14%, transparent); }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ----------------------------------------------------------------- phone -- */
@media (max-width: 860px) {
  :root { --rail-h: calc(3.4rem + env(safe-area-inset-bottom, 0px)); }
  .wordmark__name { font-size: .7rem; letter-spacing: .06em; }
  .year {
    inset: auto 0 0 0; translate: none; top: auto; right: 0;
    width: auto; padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom, 0px)); border-radius: 0;
    --col: calc((100vw - 1rem) / 12);
  }
  .year__title { display: none; }
  .year__months { display: grid; grid-template-columns: repeat(12, 1fr); }
  .year__months a { flex-direction: column-reverse; justify-content: center; gap: .3rem; height: 2.7rem; padding: 0; font-size: .6rem; letter-spacing: .02em; }
  .year__marker { left: .5rem; top: .35rem; width: var(--col); height: 2px; transform: translateX(calc(var(--m, 0) * var(--col))); }
  .hero { --hero-pos: 66% 50%; }
  .hero__copy { bottom: calc(var(--rail-h) + 2.2rem); max-width: none; }
  .hero__title { font-size: clamp(2.35rem, 1.3rem + 5.4vw, 3.4rem); }
  .hero__lede { margin: 1rem 0 1.4rem; font-size: 1.05rem; }
  .hero__maple { width: 108vw; top: -4vh; right: -30vw; }
  .questions__grid, .plan__head, .detail, .area__grid { grid-template-columns: 1fr; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__title, .intro__media, .pillars { grid-column: auto; }
  .compare__frame { aspect-ratio: 4 / 3.4; }
  .rows > div { grid-template-columns: 1fr; gap: .3rem; }
  .chapter--fall { padding-top: 0; }
  .fall__media { position: relative; inset: auto; height: 72vw; margin-bottom: 1.5rem; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .banner { height: clamp(22rem, 96vw, 30rem); }
  .area__list { column-gap: 1.25rem; }
  .snow__stage { --snow-pos: 70% 50%; }
  .snow__summer, .snow__winter img { object-position: 30% 40%; }
  .snow__photo { transform: none; will-change: auto; }
  .snow__copy { bottom: calc(var(--rail-h) + 2.5rem); width: calc(100vw - 2 * var(--sc-gutter)); }
  .snow__line { font-size: clamp(1.9rem, 1.2rem + 4.2vw, 2.7rem); }
  .snow__scrim { background: linear-gradient(to top, hsl(206 38% 7% / .92) 0%, hsl(206 38% 7% / .62) 30%, transparent 58%); }
  .calendar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calendar__cell { min-height: 5.6rem; gap: 1rem; }
  .calendar__cell:nth-child(7) { border-left: 1px solid color-mix(in oklab, var(--ink-dark) 14%, transparent); }
  .calendar__cell:nth-child(4n + 1) { border-left: 0; }
  .calendar__cell:nth-child(n + 5) { border-top: 1px solid color-mix(in oklab, var(--ink-dark) 14%, transparent); }
  .calendar__s { font-size: .62rem; }
  .fields { grid-template-columns: 1fr; }
  .bar__cta { padding: .6rem .85rem; font-size: .84rem; }
}
@media (max-width: 380px) {
  .wordmark__name { display: none; }
}

/* ------------------------------------------- short landscape phones -- */
/* A phone on its side has ~340px of height: slim the chrome and step every stage headline down. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --rail-h: calc(2.35rem + env(safe-area-inset-bottom, 0px)); }
  .bar { padding-block: calc(env(safe-area-inset-top, 0px) + .45rem) .45rem; }
  .wordmark__mark { width: 1.8rem; height: 1.8rem; font-size: .9rem; }
  .bar__cta { padding: .5rem .8rem; }
  .year { padding-block: .2rem calc(.2rem + env(safe-area-inset-bottom, 0px)); }
  .year__months a { flex-direction: row; height: 1.9rem; gap: .25rem; }
  .year__dot { width: .38rem; height: .38rem; }
  .year__marker { top: .2rem; }
  .hero__copy { bottom: calc(var(--rail-h) + 1rem); max-width: min(34rem, 70vw); }
  .hero__place { margin-bottom: .4rem; }
  .hero__title { font-size: clamp(1.7rem, 1rem + 3.4vw, 2.3rem); max-width: 22ch; }
  .hero__lede { display: none; }
  .hero__copy .button { margin-top: .8rem; padding: .7rem 1rem; }
  .hero:not(.hero--rich) .hero__stage { min-height: 0; }
  .hero__maple { width: 60vw; top: -12vh; right: -8vw; }
  .summer:not(.summer--pan) .month-card { flex-basis: min(42%, 20rem); }
  .summer:not(.summer--pan) .month-card__media { aspect-ratio: 16 / 10; }
  .snow__copy { bottom: calc(var(--rail-h) + 1rem); }
  .snow__line { font-size: 1.8rem; max-width: 22ch; }
  .banner { height: 88svh; }
}

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .snow__photo { transform: none !important; }
  .snow__winter { -webkit-mask-image: none; mask-image: none; opacity: var(--snow); }
  .snow__flakes { display: none; }
  .month-card:nth-of-type(odd) { translate: none; }
}
