/* ==========================================================================
   Maddox Motel
   Palette is drawn from the logo (amber + teal) and the building itself
   (spruce-green siding, yellow doors).
   ========================================================================== */

:root {
  --cream: #fbf6ee;
  --sand: #f3eadb;
  --white: #ffffff;
  --ink: #22302e;
  --ink-soft: #55625f;
  --line: #e6dccb;

  --teal: #2b8794;
  --teal-deep: #1d5b64;
  --spruce: #1f3a3a;
  --spruce-2: #284848;
  --amber: #f0a23b;
  --amber-deep: #d98515;
  --amber-soft: #fdeed6;
  --teal-soft: #dff0f1;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(34, 48, 46, 0.06);
  --shadow: 0 14px 40px -12px rgba(34, 48, 46, 0.18);
  --shadow-lg: 0 30px 70px -24px rgba(34, 48, 46, 0.32);

  --container: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
p { margin: 0 0 1.1em; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--spruce);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

.btn-primary { background: var(--teal-deep); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 91, 100, 0.7); }
.btn-primary:hover { background: var(--spruce); }

.btn-accent { background: var(--amber); color: var(--spruce); box-shadow: 0 10px 24px -10px rgba(217, 133, 21, 0.8); }
.btn-accent:hover { background: #f6b254; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); white-space: nowrap; }
.btn-outline:hover { background: var(--teal-deep); color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--teal-deep);
}
.text-link .icon { transition: transform 0.18s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 54px; height: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--teal);
}
.brand-name strong { font-weight: 700; color: var(--ink); margin-right: 0.12em; }
.brand-tag {
  margin: 0.2rem 0 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav ul a:hover::after,
.site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  /* Soft colour washes that fade out before they reach the section edges. */
  background:
    radial-gradient(closest-side at 78% 48%, rgba(240, 162, 59, 0.22), rgba(240, 162, 59, 0) 100%),
    radial-gradient(closest-side at 12% 52%, rgba(43, 135, 148, 0.13), rgba(43, 135, 148, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy h1 em { font-style: italic; font-weight: 400; color: var(--teal-deep); }
.lead {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-facts .icon { color: var(--amber-deep); }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  background: var(--sand);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 40% 70%;
}
.hero-badge {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem 0.85rem 0.85rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.hero-badge:hover { transform: translateY(-3px); }
.hero-badge strong { display: block; color: var(--ink); font-size: 0.98rem; }
.hero-badge-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber-deep);
}

/* Sections ----------------------------------------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--spruce); color: #e9f1ef; }

.section-head { max-width: 44rem; margin: 0 auto clamp(2.25rem, 5vw, 3.5rem); text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.section-head h2:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.split-copy > p:not(.eyebrow) { color: var(--ink-soft); }

.collage { position: relative; padding: 0 12% 14% 0; }
.collage img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.collage-main { width: 100%; aspect-ratio: 4 / 3.4; }
.collage-inset {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border: 8px solid var(--cream);
}

.note {
  display: flex;
  gap: 0.9rem;
  margin: 1.75rem 0;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  background: var(--amber-soft);
}
.note .icon { margin-top: 0.2rem; width: 1.4rem; height: 1.4rem; color: var(--amber-deep); }
.note p { margin: 0; font-size: 0.96rem; color: var(--ink); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Stay cards --------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute;
  left: 1rem; top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card-tag-new { background: var(--amber); color: var(--spruce); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.card-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.6rem; }
.card-body p { font-size: 0.96rem; color: var(--ink-soft); }

.checks { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.93rem; }
.checks li { display: flex; align-items: flex-start; gap: 0.6rem; }
.checks .icon { margin-top: 0.22rem; color: var(--teal); stroke-width: 2.4; }
.card-body .text-link { margin-top: auto; }

.banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--teal-soft);
}
.banner h3 { margin-bottom: 0.25rem; }
.banner p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.banner-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--white);
  color: var(--teal-deep);
}
.banner-icon .icon { width: 1.8rem; height: 1.8rem; }

/* Amenities ---------------------------------------------------------------- */

.amenities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.amenities li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.amenity-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.amenities li:nth-child(even) .amenity-icon { background: var(--amber-soft); color: var(--amber-deep); }
.amenity-icon .icon { width: 1.45rem; height: 1.45rem; }
.amenities h3 { font-size: 1rem; margin: 0.1rem 0 0.2rem; }
.amenities p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }

/* Gallery ------------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 0.9rem;
}
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery a {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 58, 58, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery a:hover img,
.gallery a:focus-visible img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }

/* Location ----------------------------------------------------------------- */

.split-map { align-items: stretch; }
.info-list { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
.info-list p, .info-list address { margin: 0; font-weight: 500; line-height: 1.5; }
.info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--amber-deep);
}
.map {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Contact ------------------------------------------------------------------ */

.section-dark .eyebrow { color: var(--amber); }
.section-dark h2 { color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-copy > p { color: #c3d3d0; }
.contact-list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-list a:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(240, 162, 59, 0.6); transform: translateX(4px); }
.contact-list small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb6b2;
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(240, 162, 59, 0.16);
  color: var(--amber);
}

.enquiry {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.enquiry h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.form-intro { margin: 0.5rem 0 1.5rem; font-size: 0.93rem; color: var(--ink-soft); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row-3 { grid-template-columns: 1fr 1fr 0.6fr; }
.field label { font-size: 0.84rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 135, 148, 0.16);
}
.field [aria-invalid="true"] { border-color: #c2452d; }
.form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  background: #fbe6e1;
  color: #8c2a17;
  font-size: 0.9rem;
  font-weight: 500;
}
.enquiry .btn { width: 100%; }
.form-note { margin: 0.9rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); text-align: center; }

/* Footer ------------------------------------------------------------------- */

.site-footer {
  padding: 2.5rem 0;
  background: #182e2e;
  color: #a9bdb9;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 50px; }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand .brand-name { color: #7fc4cd; }
.footer-brand .brand-tag { color: #a9bdb9; }
.site-footer a { color: #e9f1ef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { line-height: 1.7; }
.copyright { margin: 0; }

/* Mobile quick bar --------------------------------------------------------- */

.quickbar { display: none; }

/* Lightbox ----------------------------------------------------------------- */

.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem; padding: 1rem; }
.lightbox::backdrop { background: rgba(17, 30, 30, 0.93); }
.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin: 0;
  min-width: 0;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption { font-size: 0.95rem; text-align: center; }
.lb-count { margin-left: 0.5rem; color: #9fb6b2; font-size: 0.85rem; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb-btn .icon { width: 1.5rem; height: 1.5rem; }
.lb-close { position: absolute; right: 1rem; top: 1rem; z-index: 2; }

/* Reveal on scroll (only when JS is running) -------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1080px) {
  .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav { gap: 1.1rem; }
  .site-nav ul { gap: 1.1rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }

  .hero {
    background: linear-gradient(180deg, rgba(240, 162, 59, 0) 0%, rgba(240, 162, 59, 0.13) 55%, rgba(240, 162, 59, 0) 100%);
  }
  .hero-grid,
  .split,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { transform: none; }
  .hero-badge { left: 1rem; bottom: 1rem; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  /* Leave room for the fixed quick-contact bar. */
  .site-footer { padding-bottom: calc(2.5rem + 56px + env(safe-area-inset-bottom)); }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .amenities li { flex-direction: column; gap: 0.7rem; padding: 1.1rem; }
  .banner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .banner .btn { justify-self: start; }
  .field-row-3 { grid-template-columns: 1fr 1fr; }
  .field-row-3 .field:last-child { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lightbox[open] { grid-template-columns: 1fr; padding: 0.75rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1rem; z-index: 2; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
  .lightbox img { max-height: calc(100vh - 11rem); }

  .quickbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--spruce);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }
  .quickbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
  }
  .quickbar a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .quickbar a:first-child { background: var(--amber); color: var(--spruce); }
}

@media (max-width: 460px) {
  .brand-tag { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-row-3 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-auto-rows: 140px; gap: 0.6rem; }
  .collage { padding: 0 8% 18% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .quickbar, .map, .enquiry, .nav-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
