/* 27 Field Guide: Salal & Stone Garden Design (sample). theme-factory preset: Botanical Garden. No JavaScript. Breakpoints 760 / 1080. */

/* ---- Shared token layer (library-wide names: re-skin by changing these) ---- */
:root {
  --c-bg: #F5F3ED;          /* Botanical Garden "Cream": the guide's paper */
  --c-surface: #FCFBF7;     /* plates, chart, labels, form */
  --c-ink: #1F2A22;         /* deep green-black text (13.4:1 on cream) */
  --c-muted: #4F5B51;       /* secondary text (6.4:1 on cream) */
  --c-line: #DAD5C7;        /* hairlines (decorative) */
  --c-line-strong: #767B6E; /* form borders, chip borders (4.4:1 on white) */
  --c-accent: #3F6B4C;      /* Fern Green, deepened for text: buttons, links, bars (5.5:1 on cream, 6.1:1 with white) */
  --c-on-accent: #FFFFFF;
  --c-accent-2: #B7472A;    /* Terracotta: status only ("busiest season") (4.8:1 on cream) */
  --f-display: "Alegreya", Georgia, "Times New Roman", serif;
  --f-body: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --f-mono: ui-monospace, Menlo, monospace; /* unused */
  --r-sm: 4px;              /* buttons, inputs, chips */
  --r-lg: 8px;              /* chart, plates, cards */
  --r-pill: 4px;            /* button radius: field-guide square, not pills */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 56px; --s-6: 104px;

  /* Theme names, mapped to the shared layer */
  --paper: var(--c-bg);
  --fern: #4A7C59;          /* Botanical Garden "Fern Green": calendar bars, icons (decorative/large) */
  --marigold: #F9A620;      /* Botanical Garden "Marigold": season band and chosen season (fill only, ink text 7.4:1) */
  --terracotta: var(--c-accent-2);
  --lab: 104px;             /* calendar label column */
  --focus: #1F2A22;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-move: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --bar-h: 72px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font: 400 18px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: 23px; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
i[lang="la"] { font-family: var(--f-display); font-style: italic; font-weight: 500; }
small { font-size: 14px; }
[id] { scroll-margin-top: 16px; }
.sprite { display: none; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.from, .hours td, .k-go, .facts dd { font-variant-numeric: tabular-nums; }
.lede { margin-top: 10px; color: var(--c-muted); max-width: 60ch; display: flex; align-items: center; gap: 8px; }
.lede .i { color: var(--fern); }

/* Touch polish (L7) */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--c-ink); color: var(--c-bg); padding: 12px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }

/* Demo bar: one line */
.demo {
  margin: 0; padding: 6px 16px; background: var(--c-ink); color: var(--c-bg);
  font-size: 13px; line-height: 1.3; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 2px solid transparent;
  font: 700 17px/1.1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease-out;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 18px; }
.btn-fern { background: var(--c-accent); color: var(--c-on-accent); }
.btn-fern:active { background: #335A3F; }
.btn-line { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }

/* ---- Header ---- */
.site-head { border-bottom: 1px solid var(--c-line); }
.head-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; padding-top: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent); color: var(--c-bg); }
.brand-mark .i { width: 20px; height: 20px; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1; }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--c-muted); margin-top: 3px; }
.head-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.head-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--c-accent); color: #fff; font-weight: 700; text-decoration: none;
}
.head-tel .tel-num, .head-book { display: none; }
.site-nav {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2px;
  margin: 4px -8px 0; overflow-x: auto; scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; font-size: 17px; text-decoration: none; white-space: nowrap; }

/* ---- Hero: a field-guide plate ---- */
.hero { padding: 28px 0 var(--s-5); }
.hero-in { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(38px, 10vw, 64px); font-weight: 600; line-height: 1.04; max-width: 14ch; }
.hero-sub { margin-top: 16px; font-size: 19px; color: var(--c-muted); max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 220px; }
.plate { margin: 0; }
.plate-frame { padding: 8px; background: var(--c-surface); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--c-line), 0 18px 40px -30px rgba(31, 42, 34, .5); }
.plate-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: 4px; }
.plate figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--c-muted); }
.plate figcaption b { color: var(--c-ink); }
.plate figcaption i { display: block; margin-top: 2px; color: var(--c-ink); }

/* ---- Trust band ---- */
.trust { border-block: 1px solid var(--c-line); background: var(--c-surface); }
.trust-in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-block: 24px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.trust b { display: block; font-size: 17px; }
.trust .i { color: var(--fern); margin-top: 1px; }

/* ---- Signature: the garden-year calendar ---- */
.care { padding: var(--s-5) 0; }
.cal { display: grid; gap: 18px; margin-top: 24px; }
.seasons { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seasons label { cursor: pointer; }
.seasons label span {
  display: grid; place-items: center; align-content: center; min-height: 58px; padding: 4px; border-radius: var(--r-sm);
  border: 1.5px solid var(--c-line-strong); font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.1; text-align: center;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}
.seasons small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.seasons input:checked + span { background: var(--marigold); border-color: var(--marigold); }
.seasons input:checked + span small { color: var(--c-ink); }
.seasons input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.chart { background: var(--c-surface); border-radius: var(--r-lg); padding: 10px 12px 12px; box-shadow: 0 0 0 1px var(--c-line); }
.chart-in { position: relative; }
.band {
  position: absolute; top: 0; bottom: 0; left: var(--lab); width: calc((100% - var(--lab)) / 4);
  background: color-mix(in srgb, var(--marigold) 30%, transparent); border-radius: 6px;
  transform: translateX(calc(var(--season, 0) * 100%)); transition: transform 520ms var(--ease-move);
}
:root:has(#se-2:checked) { --season: 1; }
:root:has(#se-3:checked) { --season: 2; }
:root:has(#se-4:checked) { --season: 3; }
.cal-t { position: relative; width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-t .c-lab { width: var(--lab); }
.cal-t thead th { font-size: 13px; font-weight: 400; color: var(--c-muted); text-align: center; padding: 8px 0 6px; }
.cal-t thead th:first-child { text-align: left; }
:root:has(#se-1:checked) .cal-t thead th:nth-child(n+2):nth-child(-n+4),
:root:has(#se-2:checked) .cal-t thead th:nth-child(n+5):nth-child(-n+7),
:root:has(#se-3:checked) .cal-t thead th:nth-child(n+8):nth-child(-n+10),
:root:has(#se-4:checked) .cal-t thead th:nth-child(n+11) { color: var(--c-ink); font-weight: 700; }
.cal-t tbody th { text-align: left; font-size: 15px; font-weight: 700; line-height: 1.2; padding: 11px 6px 11px 0; }
.cal-t tbody tr { border-top: 1px dotted var(--c-line-strong); }
.cal-t td { padding: 0; }
.bar { display: block; height: 14px; margin: 0 2px; border-radius: 7px; background: var(--fern); }
.bar.light { background: transparent; box-shadow: inset 0 0 0 2px var(--fern); }
.key-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 14px; color: var(--c-muted); }
.sw { display: inline-block; width: 22px; height: 10px; border-radius: 5px; background: var(--fern); }
.sw.light { background: transparent; box-shadow: inset 0 0 0 2px var(--fern); margin-left: 8px; }

/* Season notes: one grid cell, only the chosen season visible (no layout shift) */
.notes { display: grid; }
.note { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 220ms ease-out, visibility 0s linear 220ms;
  background: var(--c-surface); border-radius: var(--r-lg); padding: 20px 18px; box-shadow: 0 0 0 1px var(--c-line); border-top: 4px solid var(--marigold); }
:root:has(#se-1:checked) .n1, :root:has(#se-2:checked) .n2, :root:has(#se-3:checked) .n3, :root:has(#se-4:checked) .n4 { visibility: visible; opacity: 1; transition-delay: 0s; }
.note ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.note li { position: relative; padding-left: 22px; line-height: 1.45; }
.note li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--fern); }
.from { margin-top: 16px; padding-top: 14px; border-top: 1px dotted var(--c-line-strong); }
.from b { font-size: 20px; }
.busy { display: inline-block; margin-left: 10px; color: var(--terracotta); font-weight: 700; font-size: 15px; }

/* ---- Services: a dichotomous key ---- */
.services { padding: var(--s-5) 0; background: var(--c-surface); border-block: 1px solid var(--c-line); }
.narrow { max-width: 880px; }
.key { list-style: none; margin: 26px 0 0; padding: 0; }
.key li { border-top: 1px solid var(--c-ink); padding: 6px 0; }
.key li:last-child { border-bottom: 1px solid var(--c-ink); }
.key p { display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; padding: 8px 0; align-items: baseline; }
.k-no { font-family: var(--f-display); font-weight: 700; color: var(--c-accent); font-size: 18px; }
.k-q { line-height: 1.4; }
.k-go { grid-column: 2; color: var(--c-muted); font-style: italic; }
.k-go b { font-style: normal; color: var(--c-ink); font-family: var(--f-display); font-size: 19px; margin-right: 6px; }
.k-go:has(b) { font-style: normal; }
.key-foot { margin-top: 16px; color: var(--c-muted); }

/* ---- Projects: herbarium labels ---- */
.work { padding: var(--s-5) 0; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin: 24px -16px 0; padding: 0 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
}
.spec { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.spec img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.label { background: var(--c-surface); border: 1px solid var(--c-ink); outline: 1px solid var(--c-ink); outline-offset: -5px; padding: 14px 16px; border-radius: 2px; }
.label > b { display: block; font-family: var(--f-display); font-size: 20px; line-height: 1.2; }
.label dl { margin: 8px 0 0; display: grid; gap: 4px; }
.label dl div { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.label dt { font-size: 14px; color: var(--c-muted); }
.label dd { margin: 0; font-size: 15px; line-height: 1.35; }

/* ---- Process ---- */
.process { padding: 0 0 var(--s-5); }
.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--c-accent); color: var(--c-accent); font-family: var(--f-display); font-weight: 700; font-size: 19px;
}
.steps h3 { font-size: 21px; }
.steps p { color: var(--c-muted); }
/* Phones: the numeral sits on the heading line and the step's text runs the full width below */
@media (max-width: 759.98px) {
  .steps li { align-items: center; row-gap: 8px; }
  .steps li::before { grid-row: auto; }
  .steps p { grid-column: 1 / -1; }
}

/* ---- Reviews ---- */
.reviews { padding: var(--s-5) 0; background: var(--c-surface); border-block: 1px solid var(--c-line); }
.rev-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; margin: 22px -16px 0; padding: 0 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
}
.rev { margin: 0; scroll-snap-align: start; border-top: 3px solid var(--c-accent); padding: 18px 2px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.rev blockquote { margin: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.4; }
.rev figcaption { font-weight: 700; font-size: 16px; }
.rev figcaption small { display: block; font-weight: 400; color: var(--c-muted); }
.rail:focus-visible, .rev-rail:focus-visible { outline-offset: -3px; }

/* ---- About ---- */
.about { padding: var(--s-5) 0; }
.about-in { display: grid; gap: var(--s-4); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: var(--r-lg); }
.about-photo figcaption { margin-top: 10px; font-size: 15px; color: var(--c-muted); }
.about-copy p { margin-top: 12px; max-width: 58ch; }
.about-copy h2 + p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.facts div { border-top: 2px solid var(--c-accent); padding-top: 8px; }
.facts dt { font-size: 14px; color: var(--c-muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; line-height: 1.3; }

/* ---- Contact ---- */
.contact { padding: var(--s-5) 0; border-top: 1px solid var(--c-line); }
.contact-in { display: grid; gap: var(--s-5); }
.hours { border-collapse: collapse; margin-top: 20px; width: 100%; max-width: 460px; }
.hours th, .hours td { text-align: left; padding: 10px 0; font-size: 17px; }
.hours th { font-weight: 700; padding-right: 16px; }
.hours tr + tr { border-top: 1px dotted var(--c-line-strong); }
.area { margin-top: 14px; font-size: 16px; color: var(--c-muted); max-width: 46ch; }
.links { font-style: normal; display: grid; gap: 8px; margin-top: 18px; }
.links .row {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px; border-radius: var(--r-sm);
  background: var(--c-surface); box-shadow: 0 0 0 1px var(--c-line); text-decoration: none; font-weight: 700;
}
.links .row .i { color: var(--c-accent); }
.links .row small { display: block; font-weight: 400; color: var(--c-muted); }
.form { background: var(--c-surface); border-radius: var(--r-lg); padding: 24px 16px; box-shadow: 0 0 0 1px var(--c-line); display: grid; gap: 18px; align-content: start; }
.form h3 { font-size: 26px; }
.form-note { font-size: 15px; color: var(--c-muted); margin-top: -10px; }
.field { display: grid; gap: 6px; }
.field label, .chips legend { font-size: 17px; font-weight: 700; }
.req { font-weight: 400; color: var(--c-muted); font-size: 14px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--c-ink); font: 400 16px/1.4 var(--f-body);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.hint { font-size: 15px; color: var(--c-muted); }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--c-line-strong); font-size: 16px; }
.chips input:checked + span { background: var(--marigold); border-color: var(--marigold); font-weight: 700; }
.form .btn { width: 100%; }
.form-end { display: grid; }
.form-end > * { grid-area: 1 / 1; }
.after { font-size: 15px; color: var(--c-muted); }
.sent { visibility: hidden; display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 16px; color: var(--c-accent); }
.sent:target { visibility: visible; }
.form-end:has(.sent:target) .after { visibility: hidden; }

/* ---- Footer ---- */
.site-foot { background: var(--c-ink); color: #EDEBE3; padding: var(--s-5) 0 calc(var(--bar-h) + 32px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 22px; }
.site-foot .brand-name small { color: #BFC6B9; }
.foot-brand p:last-child { margin-top: 10px; color: #BFC6B9; max-width: 40ch; }
.foot-col { font-style: normal; display: grid; gap: 2px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-fine { font-size: 14px; color: #BFC6B9; border-top: 1px solid #3A473D; padding-top: 18px; }

/* ---- C1 Action Bar (phones) ---- */
.action-bar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--c-surface);
  box-shadow: 0 -1px 0 var(--c-line), 0 -10px 24px -18px rgba(31, 42, 34, .5);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: var(--r-sm);
  background: #ECEADF; color: var(--c-ink); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform 120ms var(--ease-out);
}
.action-bar a:first-child { background: var(--c-accent); color: #fff; }
.action-bar a:active { transform: scale(.97); }
.action-bar a:focus-visible { outline-offset: -4px; }
body:has(:is(input:not([type="radio"]), textarea):focus) .action-bar { visibility: hidden; }

/* ---- Hover (pointer devices only) ---- */
@media (hover: hover) and (pointer: fine) {
  .btn-fern:hover { background: #335A3F; }
  .btn-line:hover { background: var(--c-surface); }
  .site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .seasons label:hover span { border-color: var(--c-ink); }
  .seasons input:checked + span:hover { border-color: var(--marigold); }
  .links .row:hover { box-shadow: 0 0 0 1.5px var(--c-accent); }
  .chips label:hover span { border-color: var(--c-ink); }
  .foot-col a:hover { text-decoration: underline; }
}

/* ---- Tablet: 760 ---- */
@media (min-width: 760px) {
  :root { --lab: 132px; }
  .wrap { padding-inline: 32px; }
  .action-bar { display: none; }
  html { scroll-padding-bottom: 0; }
  .site-foot { padding-bottom: var(--s-5); }
  .head-tel { background: transparent; color: var(--c-ink); padding: 0 8px; }
  .head-tel .tel-num { display: inline; }
  .head-tel .tel-short { display: none; }
  .head-book { display: inline-flex; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .trust-in { grid-template-columns: repeat(4, 1fr); }
  .chart { padding: 14px 20px 16px; }
  .bar { height: 16px; margin: 0 3px; border-radius: 8px; }
  .key p { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .k-q { display: flex; align-items: baseline; gap: 10px; }
  .k-q::after { content: ""; flex: 1; min-width: 24px; border-bottom: 2px dotted var(--c-line-strong); }
  .k-go { grid-column: 3; text-align: right; }
  .rail, .rev-rail { grid-auto-flow: row; grid-auto-columns: auto; margin-inline: 0; padding: 0; overflow: visible; }
  .rail { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .rev-rail { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .about-in { grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; }
  .about-photo img { aspect-ratio: 3 / 4; }
  .form { padding: 32px; }
}

/* ---- Desktop: 1080 ---- */
@media (min-width: 1080px) {
  :root { --s-5: 88px; --lab: 140px; }
  .head-in { grid-template-columns: auto 1fr auto; gap: 32px; padding-block: 12px; }
  .site-nav { grid-column: 2; grid-row: 1; margin: 0; justify-content: center; gap: 14px; overflow: visible; }
  .head-actions { grid-column: 3; }
  .hero { padding: 48px 0 80px; }
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .hero h1 { font-size: 62px; }
  .cal { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-rows: auto 1fr; gap: 20px 32px; align-items: start; }
  .seasons { grid-column: 1; }
  .chart { grid-column: 1; }
  .notes { grid-column: 2; grid-row: 1 / span 2; }
  .note { padding: 26px 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; gap: 32px; }
  .foot-fine { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
