/* ============================================================
   HUTCHESON — styles.css
   Mobile-first. No frameworks. No build step.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:           #f2efe9; /* warm off-white (primary)   */
  --bg-sand:      #e8e2d6; /* deeper sand (alternating)  */
  --type:         #1c1c1a; /* charcoal (primary type)    */
  --type-muted:   #6b6860; /* muted type                 */
  --accent:       #4a5e3a; /* botanical green            */
  --stone:        #d6d2c8; /* placeholder image fill     */

  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;

  --maxw:         1280px;  /* max content width          */
  --prose:        640px;   /* prose column max           */
  --pad-section:  72px;    /* section padding (mobile)   */
  --pad-x:        24px;    /* horizontal gutter (mobile) */
  --nav-h:        64px;    /* nav height (for offsets)   */

  --ease:         300ms ease; /* every transition         */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;        /* no rounded corners, anywhere */
  font-style: normal;      /* no italics, anywhere         */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h); /* keep anchors clear of sticky nav */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--type);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: var(--pad-section);
}

.section--sand {
  background: var(--bg-sand);
}

.prose {
  max-width: var(--prose);
}

.prose p {
  color: var(--type-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Full-bleed prose column (spreads across the container) */
.prose--wide { max-width: none; }

/* ---------- The Space — centred composition ---------- */
#space > .container:first-of-type { text-align: center; }
#space > .container:first-of-type .eyebrow { margin-bottom: 26px; }
#space > .container:first-of-type .heading { margin-bottom: 26px; }
#space > .container:first-of-type .prose { margin-inline: auto; }
#space > .container:first-of-type .features { margin-inline: auto; }

/* ---------- Small caps / label utility ---------- */
.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  color: var(--type-muted);
  margin-bottom: 22px;
}

/* ---------- Headings ---------- */
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}

/* Thin charcoal rule appears under nav after 50px scroll (JS toggles) */
.nav.is-scrolled {
  border-bottom-color: var(--type);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--type);
  text-decoration: none;
}

.nav__menu {
  display: none; /* mobile: hidden until toggled */
}

.nav__link {
  color: var(--type);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

/* Thin green underline on hover only */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Minimal hamburger (mobile only — the one permitted icon) */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--type);
  transition: transform var(--ease), opacity var(--ease);
}

/* Mobile menu open state */
.nav__menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--type);
  padding: 32px var(--pad-x);
}

/* Hamburger → close affordance when open */
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 96px;
}

.hero__content {
  padding-block: 32px 84px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  /* sized to hold one line across viewports — a shade smaller than the headline lockup */
  font-size: clamp(1.3rem, 5.3vw, 3.25rem);
  line-height: 1.1;
  white-space: nowrap;
  margin-top: 20px; /* gap below headline */
}

.hero__subhead {
  color: var(--type-muted);
  margin-top: 32px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

/* Outline CTA — transparent fill, 1px charcoal border, green on hover */
.btn--outline {
  background: transparent;
  border: 1px solid var(--type);
  color: var(--type);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 18px 36px;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Submit — full-width green */
.btn--submit {
  width: 100%;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  padding: 20px;
  margin-top: 8px;
}

.btn--submit:hover {
  background: var(--type);
  border-color: var(--type);
}

/* ============================================================
   MEDIA — responsive <picture> renders
   Stone fill shows while the render loads. Aspect ratios match the
   source images so renders display in full, uncropped.
   ============================================================ */
.media {
  display: block;
  width: 100%;
  background-color: var(--stone);
  overflow: hidden;
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--hero {
  aspect-ratio: 2400 / 1843;
}

.media--space {
  aspect-ratio: 5000 / 2395; /* wide warehouse interior */
  margin-top: 48px;
}

/* Tall renders are capped so they never fill the viewport on their own —
   a sliver of the next/previous block stays in view while scrolling. */
.media--project {
  /* Pre-cropped: trimmed sky on top, bottoms out at the terrace line */
  aspect-ratio: 2400 / 1361;
  margin-top: 48px;
}

/* Frontage render shown in full (uncapped) so the entry and the car pulling
   through stay in frame */
.media--location {
  aspect-ratio: 2400 / 1548;
  margin-top: 48px;
}

/* 2-up image gallery (interior office + rooftop) */
.gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  margin: 0;
}

/* Rooftop gallery image — bias the crop low so brick/amenities read over sky */
.gallery__item:last-child img { object-position: 50% 80%; }

/* ============================================================
   THE SPACE — stat rows
   ============================================================ */
.stats {
  margin: 44px auto 0;
  border-top: 1px solid var(--type);
  border-bottom: 1px solid var(--type);
  display: grid;
  grid-template-columns: 1fr;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 12px;
  padding: 26px 24px;
}

.stat + .stat {
  border-top: 1px solid var(--type);
}

.stat__figure {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  line-height: 1.15;
}

.stat__label {
  color: var(--type-muted);
}

/* ============================================================
   LOCATION — aerial locator with numbered landmark pins
   ============================================================ */
.locmap {
  margin: 48px 0 0;
}

/* Frame holds the aerial; aspect-ratio should match the committed image so
   pin percentages map cleanly to landmarks (cover crops otherwise). */
.locmap__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--stone);
  overflow: hidden;
  border: 1px solid var(--type);
}

.locmap__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Shown only while/if the aerial is absent (sits behind the image). */
.locmap__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--type-muted);
  text-align: center;
  padding-inline: var(--pad-x);
}

/* --- Pins --- */
/* ---- Map pins: a brand-coloured circle dropped on the exact spot, a thin
   stem, and the numbered label above it. Flags + stems show from 768px up;
   on mobile the circles mark the spots and the legend names them. ---- */
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);            /* the circle sits exactly on this point */
  z-index: 2;
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
  line-height: 0;
}

/* the little circle at the spot */
.pin__marker {
  position: absolute;
  left: 0; top: 0;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--type);
  border: 2.5px solid var(--bg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.pin--subject .pin__marker {
  background: var(--accent);
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
}

/* stem: thin line rising from the circle to the flag */
.pin::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 20px;
  background: var(--type);
  transform: translateX(-50%);
  display: none;
}
.pin--down::after { display: none; }

/* flag: the numbered label above the stem */
.pin__flag {
  position: absolute;
  left: 0;
  bottom: 20px;
  transform: translateX(-50%);
  display: none;            /* mobile: hidden; the legend carries the names */
  align-items: center;
  gap: 7px;
  background: rgba(242, 239, 233, 0.96);
  border: 1px solid var(--type);
  padding: 4px 9px 4px 4px;
  white-space: nowrap;
  pointer-events: none;
}
.pin--down .pin__flag { bottom: 22px; }

/* right-edge pins: flag extends left so it stays in frame; left-edge: right */
.pin--fl .pin__flag { transform: translateX(calc(-100% + 16px)); }
.pin--fr .pin__flag { transform: translateX(-16px); }

.pin__num {
  flex: none;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--type);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
}
.pin--subject .pin__num { background: var(--accent); }

.pin__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--type);
  line-height: 1.3;
}

.pin__dist {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--type-muted);
  line-height: 1.3;
}

/* off-frame pin (Albion Fine Trades): downward chevron at the spot, flag above */
.pin__chevron {
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 15px;
  margin-left: -13px;
  pointer-events: none;
}
.pin__chevron svg { display: block; width: 100%; height: 100%; }
.pin__chevron .ch-halo { fill: none; stroke: var(--bg); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pin__chevron .ch-line { fill: none; stroke: var(--type); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* --- Legend (also carries the mapping on mobile / for print) --- */
.locmap__legend {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.locmap__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--type);
}

.locmap__legend .n {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--type);
  color: var(--bg);
  font-weight: 500;
  font-size: 11px;
}

.locmap__legend li:first-child .n {
  background: var(--accent);
}

.locmap__legend .d {
  margin-left: auto;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--type-muted);
}

.locmap__caption {
  color: var(--type-muted);
  margin-top: 20px;
}

/* ============================================================
   ENQUIRE — form
   ============================================================ */
.form {
  max-width: var(--prose);
  margin-top: 48px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.field {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form__row .field {
  margin-bottom: 0;
}

.field__label {
  color: var(--type-muted);
  margin-bottom: 12px;
}

/* Transparent fill, 1px charcoal border, no radius */
.field__input {
  background: transparent;
  border: 1px solid var(--type);
  color: var(--type);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
}

.field__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validation — missing fields get a green border */
.field__input.is-invalid {
  border-color: var(--accent);
}

/* Native dropdown caret (no icon font — a simple CSS chevron) */
select.field__input {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--type) 50%),
    linear-gradient(135deg, var(--type) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) center,
    calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* Success message replaces the form */
.form__success {
  max-width: var(--prose);
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
}

/* Enquire: developer (left) + marketing agent (right) */
.enquire-grid {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--stone);
}
.developer { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.developer .kiln-mark { margin-top: 40px; } /* below the contact lines */

/* KILN Developments lockup — single-colour, themed via currentColor.
   Charcoal on light grounds; add --tonal / --black where needed. */
.kiln-mark {
  display: inline-block;
  color: var(--type);
  text-align: center;
  line-height: 1;
}
.kiln-mark--tonal { color: var(--bg-sand); }
.kiln-mark--black { color: #000; }
.kiln-mark__name,
.kiln-mark__sub { display: block; }
.kiln-mark__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 0.26em;
  padding: 12px 0 9px 0.26em; /* trailing tracking optically centres caps */
  border-top: 1px solid currentColor;
}
.kiln-mark__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  padding: 0 0 11px 0.5em;
  border-bottom: 1px solid currentColor;
}

.agent { display: flex; flex-direction: column; }
.agent__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.agent__logo { display: block; width: 184px; height: auto; margin-top: 40px; }
.agent__name { font-family: var(--font-display); font-size: 20px; }
.agent__role { font-family: var(--font-body); font-size: 15px; color: var(--type-muted); }
.agent__contact { margin-top: 8px; line-height: 1.85; color: var(--type-muted); }
.agent__contact a { color: var(--type); text-decoration: none; border-bottom: 1px solid var(--stone); }
.agent__contact a:hover { border-color: var(--type); }

/* ============================================================
   THE SPACE — feature blocks (reworded copy)
   ============================================================ */
.features {
  margin-top: 44px;
  max-width: 880px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.feature__label {
  color: var(--type);
  margin-bottom: 16px;
}

.feature__body {
  color: var(--type-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ============================================================
   AVAILABILITY — site plan + schedule
   ============================================================ */

/* --- Plan + schedule layout (stacked on mobile, side-by-side on desktop) --- */
.avail-grid {
  margin-top: 44px;
}

/* --- Site plan (architect Level 1 plan, rebranded SVG) --- */
.plan {
  margin: 0;
}

.plan__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 490;
  background: var(--bg);
  border: 1px solid var(--stone);
}

.plan__caption {
  color: var(--type-muted);
  margin-top: 16px;
}

/* --- Schedule: cards on mobile (base), table on desktop --- */
.schedule {
  max-width: 720px;
  margin-top: 40px;
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
}

.schedule__caption {
  caption-side: top;
  text-align: left;
  color: var(--type-muted);
  margin-bottom: 20px;
}

/* Visually hide the header row on mobile (data-labels carry the meaning) */
.schedule__table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.schedule__table tr {
  display: block;
  border: 1px solid var(--type);
  padding: 20px 18px;
}

.schedule__table tr + tr {
  margin-top: -1px; /* collapse adjacent card borders */
}

.schedule__table th[scope="row"] {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 12px;
}

.schedule__table th[scope="row"]::before {
  content: "Unit ";
}

.schedule__table td {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--stone);
}

.schedule__table td::before {
  content: attr(data-label);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--type-muted);
}

.schedule__note {
  margin-top: 24px;
  max-width: none;
  color: var(--type-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Status tokens + classes — wired and ready for when pricing/availability
   are supplied (muted, on-brand). Not yet rendered. */
:root {
  --status-available: var(--accent);
  --status-reserved: #9a7b3f;
  --status-sold: var(--type-muted);
}

.status { display: inline-flex; align-items: center; gap: 8px; }
.status .dot { width: 8px; height: 8px; display: inline-block; }
.dot--available { background: var(--status-available); }
.dot--reserved  { background: var(--status-reserved); }
.dot--sold      { background: var(--status-sold); }

/* Status shown in the schedule's Price column */
.schedule__table td.is-reserved { color: var(--status-reserved); }
.schedule__table td.is-sold     { color: var(--status-sold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--type);
  color: var(--bg);
  padding-block: 80px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.25em;
}

.footer__centre,
.footer__right {
  color: var(--bg);
}

/* ============================================================
   DESKTOP — 768px and up
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --pad-section: 100px;
    --pad-x: 48px;
  }

  /* Nav: inline links, no hamburger */
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    display: flex;
    gap: 40px;
    align-items: center;
  }

  /* Two-up form rows */
  .form__row {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
  }

  /* Footer becomes three columns */
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .footer__centre {
    text-align: center;
  }

  .footer__right {
    text-align: right;
  }

  /* Enquire: developer beside marketing agent, logos bottom-aligned */
  .enquire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
  }
  .developer { margin-bottom: 0; }
  .developer .kiln-mark,
  .agent__logo { margin-top: auto; }

  /* Two-up feature blocks */
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  /* Two-up image gallery */
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  /* The Space — stats on one line, divided */
  .stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: 880px;
  }
  .stat + .stat { border-top: none; }
  .stat:not(:first-child) { border-left: 1px solid var(--type); }

  /* Location — show drop-pin flags + stems on the image; legend is mobile-only */
  .pin__flag { display: flex; }
  .pin::after { display: block; }
  .locmap__legend { display: none; }

  /* Schedule reverts to a real table */
  .schedule__table thead {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .schedule__table thead th {
    text-align: left;
    padding: 9px 8px;
    border-bottom: 1px solid var(--type);
    font-weight: 500;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--type-muted);
    vertical-align: bottom;
  }

  .schedule__table tr {
    display: table-row;
    border: none;
    padding: 0;
    margin: 0;
  }

  .schedule__table th[scope="row"],
  .schedule__table td {
    display: table-cell;
    padding: 10px 8px;
    border-top: 1px solid var(--stone);
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
  }

  .schedule__table th[scope="row"]::before,
  .schedule__table td::before {
    content: none;
  }

  .schedule__table tbody tr:first-child th[scope="row"],
  .schedule__table tbody tr:first-child td {
    border-top: 1px solid var(--type);
  }

  .schedule__table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
}

/* ============================================================
   WIDE — 1000px and up: site plan + schedule sit side by side,
   legend goes two-up
   ============================================================ */
@media (min-width: 1180px) {
  .avail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .avail-grid .schedule {
    margin-top: 0;
    max-width: none;
  }

  .locmap__legend {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 48px;
  }
}

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
