/* The site's own identity. Deliberately not Collins Constructions' brand (navy #002B49,
   Poppins) — docs/research/material-2026-09-18-review.md. */

@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-400.woff2?v=fdf61e20fd") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff2?v=8909904ab6") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-600.woff2?v=f9a06e79cd") format("woff2"); }

:root {
  --green: #1E3A34;
  --brass: #A07D48;
  --ink: #1c1f1e;
  --muted: #4d5553;
  --rule: rgb(30 58 52 / 0.16);
  --paper: #fbfaf7;
  --tint: #f2efe8;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; color: var(--green); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); max-width: 16ch; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin: 0 0 0.6em; color: var(--green); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.prose > * { max-width: 70ch; }
.prose p { font-size: 1.125rem; color: var(--muted); }

/* Header — the nav wraps under the name on a phone, never hides. */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(251 250 247 / 0.96); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.wordmark { display: grid; text-decoration: none; line-height: 1.15; }
.wordmark b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--green); }
.wordmark span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 0.9rem; font-weight: 600; }
.site-header nav a { color: var(--green); text-decoration: none; padding: 4px 0; }
.nav-cta { background: var(--green); color: #fff !important; padding: 5px 16px !important; border-radius: 999px; }

.button { display: inline-block; font: 600 0.95rem/1 var(--body); padding: 15px 26px; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; text-decoration: none; cursor: pointer; }
.button.ghost { background: transparent; color: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero { padding: 80px 0 88px; background: linear-gradient(180deg, var(--tint), var(--paper)); border-bottom: 1px solid var(--rule); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600; color: var(--brass); margin-bottom: 18px; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34ch; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { font-size: 0.85rem; font-weight: 600; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--green); }

section { padding: 80px 0; scroll-margin-top: 72px; }
section.tint { background: var(--tint); }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.card { background: #fff; padding: 28px; border-radius: 6px; border: 1px solid var(--rule); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; }
.card p, .card li { color: var(--muted); }
.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.points li:last-child { border-bottom: 0; }
.points + p { margin-top: 14px; }
.card strong { color: var(--green); font-weight: 600; }

.features { display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); margin: 0; }
.features div { padding: 22px 0; border-top: 1px solid var(--rule); }
.features dt { font-weight: 600; color: var(--green); font-size: 1.05rem; margin-bottom: 6px; }
.features dd { margin: 0; color: var(--muted); }

.plan { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(16px, 4vw, 40px); }
.plan svg { width: 100%; max-width: 760px; margin: 0 auto; }
.plan .rooms rect { fill: #fff; stroke: var(--green); stroke-width: 3; }
.plan .rooms rect.stair { fill: var(--tint); stroke-width: 2; }
.plan .treads path { stroke: var(--green); stroke-width: 1; opacity: 0.45; }
.plan .labels text { font: 600 16px var(--body); fill: var(--green); text-anchor: middle; }
.plan .labels text.small { font-size: 12px; }
.plan figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 20px; }

.enquiry { display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 820px; }
.enquiry .span, .enquiry fieldset { grid-column: 1 / -1; }
.enquiry label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--green); }
.enquiry input:not([type=radio]) { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid rgb(0 0 0 / 0.28); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.enquiry input:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.enquiry fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry legend { font-size: 0.875rem; font-weight: 600; color: var(--green); margin-bottom: 8px; padding: 0; }
.enquiry .choice { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); font-size: 0.95rem; border: 1px solid rgb(0 0 0 / 0.28); border-radius: 6px; padding: 10px 16px; cursor: pointer; background: #fff; }
.enquiry .choice:has(input:checked) { border-color: var(--green); background: var(--tint); }

.site-footer { font-size: 0.875rem; padding: 32px 0; background: var(--green); color: rgb(255 255 255 / 0.78); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer p { margin: 0; }

@media (min-width: 960px) {
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
}
.hero-photo { width: 100%; border-radius: 6px; margin-top: 40px; }
@media (min-width: 960px) { .hero-photo { margin-top: 0; } }

.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 6px; }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

.months { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.month { min-height: 17rem; }
.month h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 0.85rem; }
.weekdays { color: var(--muted); margin-bottom: 2px; }
.days { list-style: none; margin: 0; padding: 0; }
.days li { padding: 0.35rem 0; border-radius: 4px; }
.days li:first-child { grid-column-start: calc(var(--lead) + 1); }
.days .free { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.days .booked { background: var(--green); color: var(--paper); text-decoration: line-through; }
.days .past { color: var(--muted); opacity: 0.5; }
.legend { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; }
.legend .key { display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; margin-left: 0.75rem; }
.legend .key:first-child { margin-left: 0; }
.legend .key.free { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.legend .key.booked { background: var(--green); }
.form-note { color: var(--muted); font-size: 0.9rem; margin: 0; }
.form-message { display: none; margin: 0; padding: 20px 24px; border-radius: 8px; background: #fff; border-left: 4px solid var(--green); }
.form-message:target { display: block; }
.form-message:focus { outline: none; }
.form-message p { margin: 0; }
.form-message p + p { margin-top: 8px; }
.form-message-title { font-family: var(--display); font-size: 1.4rem; color: var(--green); }
#enquire-invalid, #enquire-failed { border-left-color: var(--brass); }
form.is-sent > :not(#enquire-sent) { display: none; }
.button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.optional { font-weight: 400; color: var(--muted); }
