/* Pine Hollow Cabins — bespoke landing styles (built on theme.css tokens) */

/* ---------- Header (stacked lockup) ----------
   The landing header is chrome-less: it floats transparently over the hero
   photo (the hero's own top scrim carries the legibility), rather than
   sitting on the solid green bar the shared pages use. */

.page-landing { position: relative; }

.landing-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}

.landing-header .site-header-inner { padding-block: 1.6rem 1rem; }

.landing-header .nav-link,
.landing-header .brand-name,
.landing-header .brand-est {
  text-shadow: 0 1px 10px rgba(10, 14, 10, 0.55);
}

.landing-header .nav-cta {
  background: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: 0 2px 14px rgba(10, 14, 10, 0.28);
}

.brand-stacked {
  flex-direction: column;
  gap: 0.1rem;
  text-align: center;
}

.brand-stacked .brand-mark {
  width: 50px;
  height: 36px;
}

.brand-stacked .brand-name {
  font-size: 1.3rem;
}

/* Dropdown caret on the "About" nav item (lucide chevron-down). */
.nav-link--menu {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-caret {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.nav-caret svg { width: 100%; height: 100%; display: block; }

.brand-est {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  line-height: 1.1;
  margin-top: 0.15rem;
  color: rgba(245, 242, 230, 0.6);
}

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

.hero {
  position: relative;
  color: #f5f2e6;
  padding: 11rem 0 3.5rem;
  /* Real dusk photo over a readability scrim; painted layers remain as fallback.
     The top of the scrim is heavier so the transparent header stays legible. */
  background:
    linear-gradient(180deg, rgba(14, 19, 12, 0.62) 0%, rgba(16, 21, 14, 0.34) 22%, rgba(16, 21, 14, 0.24) 50%, rgba(13, 17, 13, 0.5) 100%),
    url(../../assets/img/pine-hollow/hero.webp),
    radial-gradient(46% 52% at 77% 56%, rgba(224, 158, 72, 0.5) 0%, rgba(224, 158, 72, 0.15) 45%, transparent 72%),
    radial-gradient(75% 58% at -5% 114%, #10150e 0 62%, transparent 63%),
    radial-gradient(80% 52% at 50% 122%, #161c12 0 60%, transparent 61%),
    radial-gradient(70% 58% at 108% 116%, #0d120c 0 64%, transparent 65%),
    radial-gradient(90% 70% at 30% 0%, rgba(86, 98, 74, 0.7) 0%, transparent 60%),
    linear-gradient(180deg, #4a5745 0%, #394432 30%, #262e22 60%, #141a12 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  /* water sheen along the bottom */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 74, 66, 0.35) 45%, rgba(13, 17, 13, 0.75) 100%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; margin-inline: 0; }

.hero-title { margin: 0; color: #fdfbf2; }

.hero-title-main {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(10, 14, 10, 0.55);
}

.hero-title-script {
  display: block;
  font-family: var(--font-accent);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 0.1em;
  text-shadow: 0 2px 18px rgba(10, 14, 10, 0.55);
}

/* Two rule segments with a single pine standing in the gap between them, as
   in the mockup. The pine is the right-hand tree of the logo cluster, cropped
   out of the traced brand mark. */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 156px;
  /* tall enough to give the pine room; the segments stay centred hairlines */
  height: 14px;
  margin: 1.2rem 0 1rem;
  background: url(../../assets/img/pine-hollow/rule-pine.svg) 55% center / auto 10px no-repeat;
}

.hero-rule::before,
.hero-rule::after {
  content: "";
  height: 1px;
  background: rgba(245, 242, 230, 0.6);
}

.hero-rule::before { width: 78px; }

.hero-rule::after { flex: 1; }

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(245, 242, 230, 0.92);
  margin: 0;
  text-shadow: 0 1px 10px rgba(10, 14, 10, 0.6);
}

/* ---------- Booking bar ---------- */

.booking-wrap {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.booking-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: stretch;
  background: #fdfcf6;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  gap: 0;
}

.booking-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.1rem;
  border-right: 1px solid var(--color-border);
  min-width: 0;
}

.booking-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--color-brand);
}

.booking-icon svg { width: 100%; height: 100%; }

.booking-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-ink-muted);
  min-width: 0;
}

.booking-input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.booking-input::placeholder { color: var(--color-ink-muted); }

/* Select caret: lucide chevron-down, inlined as a data URI. */
select.booking-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.1rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236b6d5c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 13px 13px;
}

.booking-input:focus { outline: none; }

.booking-field:focus-within { border-radius: var(--radius-sm); box-shadow: inset 0 0 0 2px var(--color-accent); }

.booking-cta {
  margin: 0.15rem 0.15rem 0.15rem 0.75rem;
  align-self: center;
  white-space: nowrap;
}

/* ---------- Stay Your Way cards ---------- */

/* The band is a soft parchment gradient (light at the hero seam, settling into
   the page ground by the time it meets Adventure Awaits) — not a flat fill. */
.stay-section {
  background: linear-gradient(180deg, #faf7f0 0%, #f6f3ee 42%, #f1ece0 100%);
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* One photo per card, with the olive panel gradient-fading up over it rather
   than butting against it as a flat block. */
.stay-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stay-media {
  position: absolute;
  inset: 0;
  /* .media-ph is a 16:9 box by default; here it has to fill the whole card so
     the photo keeps running behind the body gradient instead of stopping
     partway down and leaving a seam. */
  aspect-ratio: auto;
  height: auto;
  border-radius: 0;
}

/* real photos layered over the painted art fallback, one light unifying grade */
.stay-media { filter: saturate(0.94) sepia(0.07); }

.stay-media--cabin { background-image: url(../../assets/img/pine-hollow/stay-cabin.webp), var(--ph-dusk); }
.stay-media--camp { background-image: url(../../assets/img/pine-hollow/stay-camp.webp), var(--ph-dusk); }
.stay-media--lake { background-image: url(../../assets/img/pine-hollow/stay-lake.webp), var(--ph-dusk); }
.stay-media--river { background-image: url(../../assets/img/pine-hollow/stay-river.webp), var(--ph-dusk); }

.stay-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  background: linear-gradient(
    180deg,
    rgba(58, 70, 42, 0) 0%,
    rgba(58, 70, 42, 0.55) 26%,
    rgba(62, 74, 45, 0.88) 52%,
    rgba(66, 78, 47, 0.96) 78%,
    rgba(68, 80, 48, 0.98) 100%);
  color: var(--color-on-brand);
  padding: 3.25rem 1.2rem 1.5rem;
}

.stay-card-title {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin: 0;
}

.stay-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(245, 242, 230, 0.85);
  margin: 0 0 0.75rem;
  flex: 1;
}

.stay-btn {
  background: #f5f2e6;
  color: var(--color-brand-deep);
  border-color: #f5f2e6;
  font-size: 0.72rem;
  padding: 0.5rem 1.1rem;
}

.stay-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #2c2413;
}

/* ---------- Adventure Awaits ---------- */

.adventure {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--color-bg);
  border-block: 1px solid var(--color-border);
}

.adventure-content {
  padding: 4rem 3rem 4rem clamp(1.5rem, calc((100vw - var(--container-max)) / 2 + 1.5rem), 100vw);
}

.adventure-head { margin-bottom: 2.25rem; }

.activity-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem 1rem;
  text-align: center;
}

.activity-icon {
  display: inline-block;
  width: 52px;
  height: 52px;
  color: var(--color-ink);
}

.activity-icon svg { width: 100%; height: 100%; }

.activity-name {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin: 0.6rem 0 0.25rem;
}

.activity-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-ink-muted);
  margin: 0;
}

.adventure-photo {
  aspect-ratio: auto;
  min-height: 320px;
  border-radius: 0;
  /* real overlook photo with an olive wash; painted layers remain as fallback */
  background:
    var(--photo-tint),
    url(../../assets/img/pine-hollow/adventure.webp),
    radial-gradient(80% 50% at 50% 8%, rgba(246, 210, 140, 0.75) 0%, rgba(214, 148, 64, 0.3) 45%, transparent 75%),
    radial-gradient(70% 44% at 4% 112%, #232c18 0 60%, transparent 61%),
    radial-gradient(80% 50% at 58% 118%, #2c3720 0 58%, transparent 59%),
    radial-gradient(70% 44% at 106% 112%, #1a2212 0 62%, transparent 63%),
    linear-gradient(180deg, #d9b174 0%, #98925f 38%, #5f6f45 68%, #33402a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Amenities + Gallery ---------- */

.amenity-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: start;
}

.band-title {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.6rem;
}

.band-title--center { text-align: center; }

.band-title--light { color: #ffffff; }

.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1rem;
  text-align: center;
}

.amenity-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  color: var(--color-ink);
}

.amenity-icon svg { width: 100%; height: 100%; }

.amenity-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0.55rem 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.gallery-shot {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
}

/* real gallery photos over their painted fallbacks, one light unifying grade */
.gallery-shot { filter: saturate(0.94) sepia(0.07); }

.gallery-shot--1 { background-image: url(../../assets/img/pine-hollow/gallery-cabin.webp), var(--ph-dusk); }
.gallery-shot--2 {
  background:
    url(../../assets/img/pine-hollow/gallery-interior.webp),
    radial-gradient(80% 70% at 30% 30%, rgba(240, 202, 132, 0.75) 0%, transparent 60%),
    linear-gradient(160deg, #a9793f 0%, #7c5227 48%, #46311a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-shot--3 {
  background:
    url(../../assets/img/pine-hollow/gallery-chairs.webp),
    radial-gradient(70% 50% at 55% 32%, rgba(248, 206, 138, 0.9) 0%, rgba(220, 140, 70, 0.4) 50%, transparent 75%),
    linear-gradient(180deg, #d99b55 0%, #7d5e46 45%, #33352b 72%, #171c16 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-shot--4 { background-image: url(../../assets/img/pine-hollow/gallery-stream.webp), var(--ph-dusk); }

.gallery-cta { text-align: center; margin-top: 1.4rem; }

/* ---------- Testimonials ---------- */

/* Top-down canopy photo under a heavy green wash, as in the mockup — the
   texture ghosts through, the type stays on solid-feeling green. */
.testimonial-band {
  background:
    radial-gradient(100% 140% at 85% 0%, rgba(200, 154, 75, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(51, 63, 36, 0.62) 0%, rgba(42, 52, 32, 0.72) 100%),
    url("../../assets/img/pine-hollow/forest-canopy.webp") center / cover no-repeat;
  color: #eef0e2;
  padding-block: 4rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.quote {
  margin: 0;
  padding-inline: 1.4rem;
  border-left: 1px solid rgba(238, 240, 226, 0.22);
}

.quote:first-child { padding-left: 0; border-left: 0; }

/* Five filled lucide stars in the theme gold. */
.stars {
  display: flex;
  gap: 0.18rem;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
}

.star {
  display: inline-block;
  width: 15px;
  height: 15px;
}

.star svg { width: 100%; height: 100%; display: block; }

.quote-text {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(238, 240, 226, 0.92);
}

.quote-text p { margin: 0; }

.quote-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(238, 240, 226, 0.7);
}

.getaway {
  position: relative;
  border-left: 1px solid rgba(238, 240, 226, 0.22);
  padding-left: 2.5rem;
  padding-bottom: 4.5rem;
}

.getaway-title {
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4em;
}

.getaway-sub {
  font-size: 0.95rem;
  color: rgba(238, 240, 226, 0.85);
  margin-bottom: 1.4rem;
}

.getaway-btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #2c2413;
}

.getaway-btn:hover {
  background: #f5f2e6;
  border-color: #f5f2e6;
  color: var(--color-brand-deep);
}

/* Mountain + pine corner line art, traced from the mockup. The traced fill is
   the sampled stroke color, so it only needs the mockup's faded opacity. */
.getaway-art {
  position: absolute;
  right: 0;
  bottom: -1rem;
  width: 190px;
  height: 72px;
  opacity: 0.55;
  background: url(../../assets/img/pine-hollow/illustration-mountain-pines.svg) right bottom / contain no-repeat;
  pointer-events: none;
}

/* ---------- Map band ---------- */

.map-band {
  display: grid;
  /* The info column floors at the width the tree + heading lockup needs. */
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1.5fr);
  border-block: 1px solid var(--color-border);
  background: var(--color-bg);
}

.map-info {
  display: flex;
  align-items: center;
  padding: 3.5rem 2.5rem 3.5rem clamp(1.5rem, calc((100vw - var(--container-max)) / 2 + 1.5rem), 100vw);
}

/* The tree sits beside the heading/blurb pair; the contact block underneath
   spans the full column, flush with the tree. */
.map-info-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  /* Gap matches .contact-item so the text column lines up with the contact text. */
  column-gap: 0.75rem;
  align-items: center;
}

/* Same width as .contact-icon so the tree reads as one of the icon column. */
.map-tree {
  display: inline-block;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 20px;
  height: 20px;
  color: var(--color-brand);
}

.map-tree svg { width: 100%; height: 100%; }

.map-band .band-title { grid-column: 2; grid-row: 1; margin-bottom: 0.5rem; }

.map-blurb {
  grid-column: 2;
  grid-row: 2;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.contact-list {
  grid-column: 1 / -1;
  grid-row: 3;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--color-brand);
  margin-top: 0.15rem;
}

.contact-icon svg { width: 100%; height: 100%; }

/* Social row in the contact block (official brand marks). */
.social-row {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-brand);
}

/* The glyph carries its own size so the anchor around it is free to grow into
   a touch target without changing how the mark looks. */
.social-link svg { width: 22px; height: 22px; display: block; }

/* Google renders as a filled disc with the official G knocked out of it. */
.social-link--google svg {
  background: var(--color-brand);
  border-radius: 50%;
  color: var(--color-bg);
  padding: 4px;
}

/* OpenStreetMap capture, tinted into the parchment/olive palette. The tint
   sits on the plate layer so the pin and the credit stay untouched. */
.map-canvas {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #e9e4d3;
}

.map-plate {
  position: absolute;
  inset: 0;
  background: url(../../assets/img/pine-hollow/map-lakeside.webp) center 22% / cover no-repeat;
  filter: sepia(0.42) saturate(0.76) hue-rotate(12deg) brightness(1.08) contrast(0.92);
}

.map-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(163, 173, 126, 0.18);
  mix-blend-mode: multiply;
}

.map-marker {
  position: absolute;
  left: 40%;
  top: 44%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-pin {
  display: inline-block;
  width: 30px;
  height: 30px;
  color: var(--color-brand);
  filter: drop-shadow(0 2px 3px rgba(27, 30, 21, 0.35));
}

.map-pin svg { width: 100%; height: 100%; display: block; }

.map-pin .map-pin-glyph { fill: var(--color-brand); }

.map-pin .map-pin-glyph circle { fill: var(--color-bg); stroke: none; }

.map-marker-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
  text-shadow: 0 1px 2px rgba(240, 235, 222, 0.85);
}

.map-credit {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
  color: var(--color-ink-muted);
  background: rgba(240, 235, 222, 0.78);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.4rem;
}

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

.landing-footer { margin-top: 0; }

.landing-footer .brand-mark { width: 44px; height: 32px; }

.landing-footer .brand-name { font-size: 1.14rem; }

.landing-footer .footer-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 1.3fr; }

.footer-news-sub {
  font-size: 0.88rem;
  color: rgba(240, 235, 222, 0.6);
  margin: 0 0 0.9rem;
}

.news-form {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}

.news-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #f0ebde;
  background: rgba(240, 235, 222, 0.08);
  border: 1px solid rgba(240, 235, 222, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
}

.news-input::placeholder { color: rgba(240, 235, 222, 0.45); }

.news-btn { padding: 0.55rem 1rem; font-size: 0.72rem; background: var(--color-accent); border-color: var(--color-accent); color: #2c2413; }

.news-btn:hover { background: #f0ebde; border-color: #f0ebde; color: var(--color-brand-deep); }

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

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

@media (max-width: 1024px) {
  /* The nav wraps to several rows here, so it can no longer float over the
     hero — it returns to the shared pages' solid bar. */
  .landing-header {
    position: static;
    background: var(--color-brand-deep);
    border-bottom: 1px solid rgba(245, 242, 230, 0.12);
  }
  .landing-header .site-header-inner { padding-block: 1rem; }
  .landing-header .nav-link,
  .landing-header .brand-name::before,
  .landing-header .brand-est { text-shadow: none; }
  .hero { padding-top: 4rem; }
  .booking-bar { grid-template-columns: repeat(2, 1fr); gap: 0.25rem; }
  .booking-field { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .booking-cta { grid-column: 1 / -1; margin: 0.5rem 0.15rem 0.15rem; }
  .stay-grid { grid-template-columns: repeat(2, 1fr); }
  .adventure { grid-template-columns: 1fr; }
  .adventure-content { padding: 3.25rem 1.5rem; }
  /* Three across, but the five activities would leave the last row hanging on
     the left. A six-column track lets every activity keep the exact width it
     would have had in a three-column grid while the trailing pair is offset
     half a column each, so the short row centres under the full one. */
  .activity-row { grid-template-columns: repeat(6, 1fr); }
  .activity-row .activity { grid-column: span 2; }
  .activity-row .activity:nth-child(4) { grid-column: 2 / span 2; }
  .activity-row .activity:nth-child(5) { grid-column: 4 / span 2; }
  .adventure-photo { min-height: 260px; }
  .amenity-gallery-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .getaway { border-left: 0; padding-left: 0; border-top: 1px solid rgba(238, 240, 226, 0.22); padding-top: 2rem; }
  .map-band { grid-template-columns: 1fr; }
  .map-info { padding: 3rem 1.5rem 2rem; }
  .map-canvas { min-height: 300px; }
  /* Two columns leave the fifth block (the newsletter) beside an empty cell, so
     it becomes a full-width sign-up strip closing the footer instead. */
  .landing-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-footer .footer-news { grid-column: 1 / -1; }
  .landing-footer .footer-news-sub { max-width: 46ch; }
}

@media (max-width: 640px) {
  .hero { padding-top: 3.5rem; }
  .booking-bar { grid-template-columns: 1fr; }
  .stay-grid { grid-template-columns: 1fr; }
  /* Two across: a four-column track keeps the same widths a two-column grid
     would give while leaving the odd fifth activity free to span the row. */
  .activity-row { grid-template-columns: repeat(4, 1fr); }
  .activity-row .activity:nth-child(4) { grid-column: span 2; }
  .activity-row .activity:nth-child(5) { grid-column: 1 / -1; }
  .landing-footer .footer-news-sub { max-width: none; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .quote { padding-inline: 0; border-left: 0; }
  .landing-footer .footer-grid { grid-template-columns: 1fr; }
  .news-form { max-width: 340px; margin-inline: auto; }
}

/* ---------- Mobile nav drawer ----------
   Below the width where the inline nav wraps, the same <nav> becomes a panel
   that drops out of the header and floats over the page. It is positioned
   against the header, so opening it never moves anything below it. */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(245, 242, 230, 0.32);
  border-radius: var(--radius-sm);
  color: var(--color-on-brand);
  cursor: pointer;
}

.nav-toggle:hover { border-color: var(--color-accent); }

.nav-toggle-bars {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }

.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .site-header { position: relative; z-index: 20; }
  .site-header-inner { flex-wrap: nowrap; justify-content: space-between; gap: 1rem; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    max-height: 78vh;
    overflow-y: auto;
    padding: 0.25rem 1.5rem 1.4rem;
    background: var(--color-brand-deep);
    border-top: 1px solid rgba(245, 242, 230, 0.12);
    border-bottom: 3px solid var(--color-accent);
    box-shadow: 0 18px 34px rgba(10, 14, 10, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding-block: 0.7rem;
    border-bottom: 1px solid rgba(245, 242, 230, 0.12);
    text-shadow: none;
  }

  .site-header .nav-cta {
    display: block;
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
  }
}

/* ---------- Mobile refinements ---------- */

@media (max-width: 640px) {
  /* Match the page's other CTAs, which centre at this width. */
  .getaway { text-align: center; }
  .getaway-art { right: auto; left: 50%; transform: translateX(-50%); }

  /* Social marks keep their 22px glyph but the anchor itself becomes a 44px
     touch target. The negative margin cancels the leading slack so the row
     still lines up with the contact text above it. */
  .social-row {
    gap: 0;
    margin-left: -11px;
  }
  .social-link {
    width: 44px;
    height: 44px;
  }

  .footer-col { gap: 0.1rem; }
  .footer-col .footer-link,
  .footer-bottom .footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .nav-toggle-bars span { transition: none; }
}
