/* =========================================================================
   Rainbow Beach 4x4 Hire — design system
   Brand palette (2026-10): teal 40%, black 25%, warm white 25%, turquoise 10%.
   Type: Montserrat throughout. No build step: this file is hand-authored and
   served as-is.
   ========================================================================= */

/* ---- Tokens -------------------------------------------------------------
   Contrast (measured):

     teal      #0C6A7D  6.23 on white, 5.53 on warm white   PASS — text-safe;
                        white text on teal also 6.23
     turquoise #05B69D  2.57 on white — BACKGROUND / ACCENT ONLY. Black text on
                        it measures 8.18. Never use it as text on a light ground.
                        Also fails on teal (2.43), so never turquoise-on-teal.
     ink-soft  #3d3d3d  10+ on white and warm white          PASS

   If you add a colour, measure it. The sister repo shipped two AA failures
   because nobody did.
   ------------------------------------------------------------------------ */
:root {
  --ink: #000000;
  --ink-soft: #3d3d3d;

  --teal: #0C6A7D;         /* text-safe; primary brand colour */
  --teal-dark: #08505e;    /* hover state for teal surfaces */
  --turq: #05B69D;         /* background / accent only, black text on it */
  --turq-light: #2cc9b1;   /* hover state for turquoise surfaces */
  --black: #000000;

  --warm: #F5F1EA;         /* warm white */
  --paper: #ffffff;
  --line: #ddd6c9;

  --heading: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .18);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .08);
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.block { padding-block: clamp(3rem, 8vw, 6rem); }
.block--sand { background: var(--warm); }
.block--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: .7rem 1.1rem; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }

.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; color: var(--teal); margin-bottom: .5rem;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head p { max-width: 52ch; color: var(--ink-soft); margin: 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 1rem/1 var(--body);
  padding: .9rem 1.4rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: background .14s ease, transform .14s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--book { background: var(--turq); color: var(--black); }   /* 8.18:1 */
.btn--book:hover { background: var(--turq-light); }
.btn--teal { background: var(--teal); color: #fff; }           /* 6.23:1 */
.btn--teal:hover { background: var(--teal-dark); }
.btn--light { background: var(--warm); color: var(--black); }  /* 18.65:1 */
.btn--light:hover { background: #fff; }
.btn--line { background: transparent; border-color: currentColor; color: var(--teal); }
.btn--line:hover { background: rgba(12, 106, 125, .08); }
.btn--lg { font-size: 1.1rem; padding: 1.05rem 1.7rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---- Header -------------------------------------------------------------- */
/* Black bar, white logo and nav, warm-white "Book now" pill. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 1.1rem; padding-block: .85rem; }
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand img { width: 150px; height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: .95rem; }
.nav__list > li > .nav__link { white-space: nowrap; }
.nav__link { text-decoration: none; color: #fff; padding: .4rem 0; border-bottom: 2px solid transparent; display: block; }
.nav__link:hover, .nav__link[aria-current="page"] { border-color: var(--turq); }
.header-actions { display: flex; gap: .6rem; margin-left: 1rem; }
.header-actions .btn { padding: .75rem 1.25rem; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; color: #fff; }
.nav-toggle:hover { background: rgba(255,255,255,.14); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--black); margin: 0;
    box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .22s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .nav__link { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 600px) {
  .brand img { width: 118px; }
  .header-actions .btn { padding: .65rem 1rem; font-size: .9rem; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--teal); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* 40% black over the whole photo (owners 2026-10-27). */
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.hero .wrap {
  position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: center;
}
.hero h1 { max-width: 12ch; font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); margin-bottom: .3em; }
.hero__lede { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); color: #fff; }
.hero__cta { display: flex; gap: .7rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero__cta .btn--line { color: #fff; }
.hero__cta .btn--line:hover { background: rgba(255,255,255,.14); }

/* Booking widget card: the Rainbow Beach booking widget (<a4wd-booking-widget>,
   loaded by widget.js from book.rainbowbeach4x4hire.com.au). Its look comes
   from the widget's own config, not from this stylesheet. */
.hero__widget {
  color: var(--ink); border-radius: var(--radius); overflow: hidden;
}
a4wd-booking-widget { display: block; }
/* No card behind the widget's "Loading…" line: main.js adds .is-ready once
   the widget has drawn its form (owners 2026-10-27, Q17). */
.hero__widget, .side-widget { background: transparent; box-shadow: none; transition: background .2s, box-shadow .2s; }
.hero__widget.is-ready, .side-widget.is-ready { background: var(--warm); box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__widget { max-width: 480px; }
}

/* Floating booking widget beside the content (fleet and rates pages). Sticky
   only when the window is tall enough to show all of it. */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.side-widget { border-radius: var(--radius); overflow: hidden; }
@media (min-height: 760px) { .side-widget { position: sticky; top: 96px; } }
@media (max-width: 980px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .side-widget { position: static; max-width: 480px; }
}

/* ---- Booking slot -------------------------------------------------------
   The contact form, on the contact page only. The RCM embed hook in main.js
   can replace the contents of [data-booking-slot]; if it never loads, the form
   simply stays — the fallback is the default state.
   ------------------------------------------------------------------------ */
.booking-slot { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.booking-slot--hero { max-width: 960px; }
.booking-slot[data-rcm-loaded] .booking-fallback { display: none; }

/* ---- Trust strip --------------------------------------------------------- */
.trust { background: var(--warm); }
.trust .wrap { display: flex; gap: 1rem 4rem; flex-wrap: wrap; align-items: center; justify-content: center; padding-block: 1.25rem; }
.trust strong { font-family: var(--heading); font-size: 1.35rem; color: var(--teal); margin-right: .3rem; }

/* ---- Service cards ------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc { border-radius: var(--radius); overflow: hidden; background: var(--warm); display: flex; flex-direction: column; }
.svc__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 1.4rem 1.6rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc__body p { color: var(--ink-soft); margin: .5rem 0 0; }
/* margin-top:auto pins every CTA to the bottom, so the three line up. */
.svc__cta { margin-top: auto; }
.svc__body > p:last-of-type { margin-bottom: 1.2rem; }
.price-note { display: inline-block; margin: -.4rem 0 1.2rem; font-weight: 700; color: var(--teal); }

/* ---- Inclusions band ----------------------------------------------------- */
.incl { background: var(--teal); color: #fff; }
.incl h2 { color: #fff; }
.incl__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: start; }
.incl__intro { color: #e6f0f2; max-width: 42ch; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.2rem; }
.incl li { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.22); display: flex; gap: .9rem; align-items: flex-start; }
.incl li svg { width: 26px; height: 26px; flex: none; color: #fff; margin-top: 2px; }
.incl li b { display: block; font-family: var(--heading); font-size: 1.15rem; font-weight: 600; }
.incl li small { color: #e6f0f2; font-size: .95rem; }

/* ---- Guide / trips ------------------------------------------------------- */
.trips { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--turq); }
.trip { padding: 1.7rem 1.7rem .5rem 0; }
.trip + .trip { padding-left: 1.7rem; border-left: 1px solid var(--line); }
.trip p { color: var(--ink-soft); font-size: 1rem; }
.trip a { font-weight: 700; }
.note {
  margin-top: 1.9rem; background: var(--warm); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; display: flex; gap: .9rem; align-items: center;
}
.note svg { width: 30px; height: 30px; flex: none; color: var(--teal); }
.note p { margin: 0; }

/* ---- Reviews ------------------------------------------------------------- */
/* Shared band on every page, after "Every hire includes" and before the footer. */
.reviews-band { background: var(--warm); color: var(--ink); }
.reviews-band h2 { color: var(--ink); }
.reviews-band .section-head p { color: var(--ink-soft); }
.reviews-band .section-head a { color: var(--teal); font-weight: 600; }
.reviews-band .quote { color: var(--ink); }
/* White pill on the warm band (the default light pill would vanish into it). */
.reviews-band__more .btn--light { background: var(--paper); border-color: var(--line); }
.reviews-band__more .btn--light:hover { background: var(--paper); border-color: var(--teal); }
.reviews-band__more { margin: 1.75rem 0 0; }
.reviews-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
blockquote.quote {
  margin: 0; background: var(--paper); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.reviews-grid .quote:first-child p { font: 500 1.2rem/1.45 var(--heading); }
.stars { color: var(--teal); letter-spacing: 2px; font-size: 1.1rem; }  /* 5.94:1 */
.quote cite { font-style: normal; font-weight: 700; }
.quote cite small { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---- Prose — the long-form guide pages carry the traffic ----------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.6rem 0; }
.prose figure { margin: 1.6rem 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }
.prose blockquote {
  margin: 1.6rem 0; padding: .3rem 0 .3rem 1.2rem;
  border-left: 4px solid var(--turq); color: var(--ink-soft);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--heading); font-weight: 600; }
.prose .kit-list { columns: 3 13rem; column-gap: 2rem; }
.prose .kit-list li { break-inside: avoid; }
.rate-from { font-size: 1.25rem; }
/* Unconfirmed figures awaiting the owners. Deliberately loud so nobody ships
   one by accident; see GO-LIVE-BLOCKERS B2. */
.placeholder { background: #fff1a8; color: var(--ink); padding: 0 .3em; border-radius: 4px; }

.page-head { background: var(--teal); color: #fff; padding-block: clamp(2.2rem, 6vw, 3.5rem); }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #e6f0f2; max-width: 60ch; margin: 0; }
.page-head .eyebrow { color: #e6f0f2; }
.crumbs { font-size: .88rem; color: #e6f0f2; margin-bottom: .7rem; }
.crumbs a { color: #fff; }

/* ---- Contact / form ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.5rem; }
.enquiry .full { grid-column: 1 / -1; }
.enquiry label { font-size: .9rem; font-weight: 700; display: block; margin-bottom: .35rem; }
.enquiry input, .enquiry textarea, .enquiry select {
  width: 100%; font: 1rem var(--body); padding: .75rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
}
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(5,182,157,.25); }
.enquiry textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--ink-soft); }
.form-status { padding: .85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; display: none; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #e7f3e4; color: #1f6b1a; border: 1px solid #b8ddb1; }
.form-status.err { background: #fbeae8; color: #a3301f; border: 1px solid #f0c4bd; }

.details { background: var(--warm); border-radius: var(--radius); padding: 1.9rem; }
.details dl { margin: 1.1rem 0 0; display: grid; gap: 1rem; }
.details dt { font-size: .88rem; color: var(--ink-soft); }
.details dd { margin: .15rem 0 0; font: 600 1.15rem/1.3 var(--heading); }
.details dd a { text-decoration: none; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--black); color: #e8e8e8; }
.site-footer .wrap { padding-block: 3rem 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: #fff; font-size: 1.05rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-details { margin: 1.2rem 0 0; display: grid; gap: .75rem; }
.footer-details dt { font-size: .82rem; color: #b8b8b8; text-transform: uppercase; letter-spacing: .06em; }
.footer-details dd { margin: .1rem 0 0; color: #fff; font-weight: 600; }
.footer-details dd a { text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; font-size: .9rem;
}
.footer-bottom nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .services, .incl__grid, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
  .incl ul { grid-template-columns: 1fr; }
  .trips { grid-template-columns: 1fr; }
  .trip, .trip + .trip { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .enquiry { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Gallery -------------------------------------------------------------
   Photo grid (fleet and camping equipment pages): the first photo large, the
   rest as even tiles, all cropped to fill. Click opens the lightbox (main.js).
   The poster graphics that once needed object-fit: contain are no longer
   published (STALE_GRAPHICS in tools/build-pages.py). */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.8rem 0; }
.gallery > * { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--warm); }
.gallery > :first-child { grid-column: span 2; grid-row: span 2; }
.prose .gallery img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0;
  border-radius: 0; cursor: zoom-in; transition: transform .3s ease;
}
.gallery > :first-child img { aspect-ratio: auto; }
.gallery > :hover img, .gallery img:hover { transform: scale(1.04); }
.prose figure img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery > :first-child { grid-row: span 1; }
  .gallery > :first-child img { aspect-ratio: 16 / 9; }
}

dialog.lightbox {
  border: 0; padding: 0; background: transparent; overflow: visible;
  max-width: min(94vw, 1200px); max-height: 94vh;
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__cap { color: #fff; text-align: center; font-size: .92rem; margin: .7rem 0 0; }
.lightbox__btn {
  position: fixed; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer;
  font: 700 1.4rem/1 var(--body); display: grid; place-items: center;
}
.lightbox__btn:hover { background: #fff; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---- Nav dropdowns ------------------------------------------------------
   Mirrors the original site's information architecture: 7 top-level items,
   4 with children. Flattening it is what orphaned four pages.
   ------------------------------------------------------------------------ */
.nav__has-sub { position: relative; }
.nav__toggle {
  display: none; border: 0; background: none; cursor: pointer; padding: .3rem;
  color: inherit; font: inherit;
}
.nav__toggle::after {
  content: ""; display: block; width: .5rem; height: .5rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
.nav__sub {
  list-style: none; margin: 0; padding: .4rem 0;
  position: absolute; top: 100%; left: -.8rem; min-width: 15rem; z-index: 120;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--turq); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav__sub .nav__link { padding: .55rem .9rem; border-bottom: 0; font-size: .95rem; color: var(--ink); }
.nav__sub .nav__link:hover { background: var(--warm); color: var(--teal); }
.nav__has-sub:hover > .nav__sub,
.nav__has-sub:focus-within > .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}

@media (min-width: 1181px) {
  /* keep the dropdown reachable while the pointer travels to it */
  .nav__has-sub::after { content: ""; position: absolute; inset: 100% 0 auto; height: .5rem; }
}

@media (max-width: 1180px) {
  .nav__has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav__toggle { display: block; justify-self: end; padding: .8rem; }
  .nav__toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px, -2px); }
  .nav__sub {
    grid-column: 1 / -1; position: static; opacity: 1; visibility: visible;
    transform: none; border: 0; box-shadow: none; background: rgba(255,255,255,.06);
    border-radius: 0; min-width: 0; padding: 0; display: none;
  }
  .nav__has-sub.open > .nav__sub { display: block; }
  .nav__sub .nav__link { padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
  .nav__sub .nav__link:hover { background: rgba(255,255,255,.1); color: #fff; }
}

/* Flat illustrations the original used as small blurb icons, not photographs.
   They are 1067px square, so only an explicit list can tell them from a photo. */
.icon-fig { text-align: center; margin: 1.4rem 0; }
.icon-fig img { display: inline-block; width: 110px; height: auto; }

/* ---- FAQ accordion ------------------------------------------------------
   The original is a Divi toggle: questions collapsed, click to open. Ported as
   flat paragraphs it was an undifferentiated wall of text. <details> gives the
   same behaviour natively — no JS, keyboard accessible, and findable by
   in-page search because the content stays in the DOM. */
.faq { margin: 1.5rem 0; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: .6rem; background: var(--paper);
}
.faq details[open] { border-color: var(--turq); }
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700;
  font-family: var(--heading); font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .6rem; height: .6rem;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: var(--warm); }
.faq .faq__body { padding: 0 1.2rem 1.1rem; }
.faq .faq__body p { margin-bottom: .8rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* Location cards on the map page are wider than tall and carry text in the
   image, so they must not be cropped or shrunk below legibility. */
.gallery--cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery--cards > :first-child { grid-column: auto; grid-row: auto; }
.prose .gallery--cards img { aspect-ratio: auto; height: auto; object-fit: contain; cursor: auto; }
@media (max-width: 620px) { .gallery--cards { grid-template-columns: 1fr; } }

/* ---- Interactive hotspot map --------------------------------------------
   Reproduces the original RevSlider behaviour: markers positioned over the map,
   each opening the card for that location. Coordinates were extracted from the
   slider config (assets/js/map-hotspots.json), so the markers sit exactly where
   they did before. */
.map { position: relative; margin: 1.5rem 0; }
.map__img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.map__pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff;
  background: var(--ink); color: #fff; cursor: pointer; padding: 0;
  font: 700 14px/1 var(--heading); display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.map__pin:hover, .map__pin:focus-visible { background: var(--turq); color: var(--black); transform: translate(-50%, -50%) scale(1.15); }
@media (max-width: 620px) { .map__pin { width: 20px; height: 20px; font-size: 11px; } }

dialog.map-card { border: 0; border-radius: var(--radius); padding: 0; max-width: min(92vw, 760px); }
dialog.map-card::backdrop { background: rgba(0,0,0,.6); }
dialog.map-card img { width: 100%; height: auto; display: block; }
dialog.map-card .map-card__close {
  position: absolute; top: .5rem; right: .5rem; width: 34px; height: 34px;
  border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  font: 700 1rem/1 var(--body); cursor: pointer;
}
