/* ==========================================================================
   Acorn Ridge — site stylesheet
   Palette and type come straight from the Acorn Ridge brand guide.
   Edit the variables in :root and the whole site follows.
   ========================================================================== */

:root {
  /* Brand colours */
  --ridge:      #2F4739;   /* primary: headers, buttons */
  --ridge-dk:   #223429;
  --ridge-lt:   #3C5A49;
  --acorn:      #B8843F;   /* secondary: accents, rules */
  --acorn-dk:   #8A5F2A;   /* darkened to clear WCAG AA on limestone */
  --acorn-lt:   #D9A867;   /* the accent, for use on dark backgrounds */
  --bark:       #2C2622;   /* body text — never pure black */
  --limestone:  #F4F0E8;   /* page background — never pure white */
  --paper:      #FBF9F5;   /* raised surfaces */
  --valley:     #7C8F96;   /* accent only */
  --moss:       #8A9A7B;   /* accent only */

  --muted:      #5F5750;
  --rule:       rgba(44, 38, 34, 0.14);
  --rule-soft:  rgba(44, 38, 34, 0.08);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter:   clamp(1.15rem, 4vw, 2.5rem);
  --section:  clamp(3.5rem, 8vw, 7rem);
  --maxw:     1200px;
  --maxw-text: 68ch;
  --radius:   4px;

  --header-h: 72px;
  color-scheme: light;
}

/* --------------------------------------------------------------- reset -- */

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

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

body {
  margin: 0;
  background: var(--limestone);
  color: var(--bark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; display: block; }
/* Without this, the width/height attributes on <img> beat the CSS aspect-ratio
   and images render at their full intrinsic height. */
img { height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ridge);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.15rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.06rem; font-family: var(--sans); font-weight: 650; letter-spacing: -0.005em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ridge); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--acorn-dk); }

:focus-visible {
  outline: 2.5px solid var(--acorn);
  outline-offset: 3px;
  border-radius: 2px;
}

strong, b { font-weight: 650; }

/* ---------------------------------------------------------- primitives -- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ridge); color: rgba(244, 240, 232, 0.92); }
.section--dark h2, .section--dark h3 { color: var(--limestone); }
.section--dark a { color: var(--limestone); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.735rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acorn-dk);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 4rem;
}
.section--dark .eyebrow { color: var(--acorn-lt); }
.section--dark .eyebrow::after { background: rgba(244, 240, 232, 0.25); }

.lede { font-size: clamp(1.06rem, 1.9vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--dark .lede { color: rgba(244, 240, 232, 0.8); }

.prose { max-width: var(--maxw-text); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.45em; }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary { background: var(--ridge); color: var(--limestone); }
.btn--primary:hover { background: var(--ridge-dk); color: var(--limestone); }

.btn--accent { background: var(--acorn); color: #241a0c; }
.btn--accent:hover { background: var(--acorn-dk); color: var(--limestone); }

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

.btn--light { background: var(--limestone); color: var(--ridge); }
.btn--light:hover { background: #fff; color: var(--ridge-dk); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------- header -- */

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ridge); color: var(--limestone);
  padding: 0.8rem 1.2rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 240, 232, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; }
.brand svg { width: 30px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--serif); font-weight: 600; font-size: 1.12rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ridge); line-height: 1;
}
.brand__place {
  display: block; font-family: var(--sans); font-size: 0.545rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--acorn-dk);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--bark);
  text-decoration: none; padding: 0.35rem 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--acorn); transform: scaleX(0); transition: transform .16s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ridge); font-weight: 600; }
/* The nav holds its own CTA for the mobile drawer; on desktop the header CTA
   outside the nav is the one that shows, so hide the duplicate. */
@media (min-width: 951px) { .nav .btn { display: none; } }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--rule);
  border-radius: var(--radius); padding: 0.5rem 0.7rem; cursor: pointer;
  color: var(--ridge); font: inherit; font-size: 0.85rem; font-weight: 600;
  align-items: center; gap: 0.5rem;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 950px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--limestone);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--rule-soft); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .header-cta { display: none; }
}

/* ---------------------------------------------------- sticky mobile bar -- */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  display: none; gap: 0.6rem; padding: 0.65rem var(--gutter);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(244, 240, 232, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn--ghost { flex: 0 0 auto; }

@media (max-width: 700px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------- hero -- */

.hero { position: relative; background: var(--ridge-dk); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: clamp(430px, 74vh, 760px); object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,26,22,.52) 0%, rgba(20,26,22,.18) 34%, rgba(20,26,22,.78) 100%);
}
.hero__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  color: var(--limestone);
}
.hero__body h1 { color: #fff; margin-bottom: 0.4em; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__tagline {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 650;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--acorn-lt); margin: 0 0 1rem;
}
.hero__promise {
  font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 42ch;
  color: rgba(255,255,255,.92); margin-bottom: 1.6rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.page-hero {
  background: var(--ridge);
  color: var(--limestone);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.page-hero h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero p { color: rgba(244,240,232,.82); max-width: 58ch; font-size: 1.06rem; margin: 0; }
.page-hero .eyebrow { color: var(--acorn-lt); }
.page-hero .eyebrow::after { background: rgba(244,240,232,.25); }

/* -------------------------------------------------------- fact strip --- */

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px; background: var(--rule-soft);
  border-block: 1px solid var(--rule-soft);
}
.facts > div { background: var(--paper); padding: 1.35rem 1rem; text-align: center; }
.facts dt {
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--acorn-dk); margin-bottom: 0.35rem;
}
.facts dd {
  margin: 0; font-family: var(--serif); font-size: 1.22rem;
  font-weight: 600; color: var(--ridge); line-height: 1.2;
}

/* ----------------------------------------------------------- split row -- */

.split {
  display: grid; gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--flip .split__media { order: 2; }
}
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media figcaption {
  font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; font-style: italic;
}

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

.cards {
  display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}
.card {
  background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.35rem 1.4rem 1.5rem; }
.card__body h3 { margin-bottom: 0.4em; }
.card__body p { font-size: 0.95rem; color: var(--muted); }

/* ------------------------------------------------------------- gallery -- */

.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
}
.gallery-filters button {
  font: inherit; font-size: 0.86rem; font-weight: 550;
  padding: 0.5rem 1rem; border-radius: 100px;
  border: 1.5px solid var(--rule); background: transparent;
  color: var(--bark); cursor: pointer; transition: all .15s ease;
}
.gallery-filters button:hover { border-color: var(--ridge); }
.gallery-filters button[aria-pressed="true"] {
  background: var(--ridge); border-color: var(--ridge); color: var(--limestone);
}

.grid-photos {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.grid-photos figure { margin: 0; }
.grid-photos button {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  position: relative; line-height: 0;
}
.grid-photos img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .4s ease;
}
.grid-photos button:hover img { transform: scale(1.035); }
.grid-photos figcaption {
  font-size: 0.83rem; color: var(--muted); padding: 0.5rem 0.15rem 0; line-height: 1.45;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24, 22, 20, 0.94);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 0.75rem;
}
.lightbox[hidden] { display: none; }
.lightbox__top { display: flex; justify-content: flex-end; }
.lightbox__fig {
  margin: 0; display: grid; place-items: center; min-height: 0; position: relative;
}
.lightbox__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lightbox__cap {
  text-align: center; color: rgba(244,240,232,.82); font-size: 0.9rem;
  padding: 0.9rem 1rem 0.4rem;
}
.lightbox__count { color: rgba(244,240,232,.5); font-size: 0.78rem; letter-spacing: .08em; }
.lightbox__nav { display: flex; justify-content: center; gap: 0.75rem; padding-bottom: 0.5rem; }
.lightbox button.lb-btn {
  background: rgba(244,240,232,.1); border: 1px solid rgba(244,240,232,.25);
  color: var(--limestone); border-radius: var(--radius);
  width: 46px; height: 46px; font-size: 1.15rem; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox button.lb-btn:hover { background: rgba(244,240,232,.2); }

/* ------------------------------------------------------ sleeping table -- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 480px;
}
table.data th, table.data td {
  text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule-soft);
}
table.data thead th {
  font-size: 0.7rem; font-weight: 650; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--acorn-dk);
  border-bottom: 1.5px solid var(--rule);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--ridge); }

/* --------------------------------------------------------- callout box -- */

.callout {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-left: 4px solid var(--acorn);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.callout h3 { margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }
.callout--green { border-left-color: var(--ridge); }

/* the floor diagram */
.floors { display: grid; gap: 0.6rem; }
.floor {
  display: grid; grid-template-columns: 118px 1fr; gap: 1rem;
  background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.floor__label {
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--acorn-dk); padding-top: 0.28rem;
}
.floor__rooms { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.floor__rooms span {
  font-size: 0.85rem; padding: 0.3rem 0.7rem; border-radius: 100px;
  background: rgba(47,71,57,.07); border: 1px solid rgba(47,71,57,.14); color: var(--ridge);
}
.floor__rooms span.is-bath { background: rgba(184,132,63,.1); border-color: rgba(184,132,63,.28); color: var(--acorn-dk); }
@media (max-width: 560px) {
  .floor { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ----------------------------------------------------------- amenities -- */

.amenity-groups { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
@media (min-width: 720px) { .amenity-groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .amenity-groups { grid-template-columns: repeat(3, 1fr); } }

.amenity-group h3 {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--acorn-dk);
  padding-bottom: 0.6rem; border-bottom: 1.5px solid var(--rule);
  margin-bottom: 0.9rem;
}
.amenity-group ul { list-style: none; margin: 0; padding: 0; }
.amenity-group li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; font-size: 0.95rem;
}
.amenity-group li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--moss);
}
.amenity-group li.is-not::before { background: transparent; border: 1.5px solid var(--valley); }
.amenity-group li.is-not { color: var(--muted); }

/* -------------------------------------------------------- drive times --- */

.drive-times { display: grid; gap: 0.75rem; }
@media (min-width: 620px) { .drive-times { grid-template-columns: 1fr 1fr; } }
.drive {
  display: flex; align-items: baseline; gap: 1rem;
  background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
.drive__place { font-weight: 600; color: var(--ridge); flex: 1; }
.drive__time {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--acorn-dk); white-space: nowrap;
}
.drive__miles { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------------- FAQ ---- */

.faq-group { margin-bottom: 2.6rem; }
.faq-group > h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 1rem; }

details.faq {
  border-bottom: 1px solid var(--rule-soft);
}
details.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
  font-weight: 600; font-size: 1rem; color: var(--ridge);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.45rem;
  width: 9px; height: 9px; border-right: 2px solid var(--acorn); border-bottom: 2px solid var(--acorn);
  transform: rotate(45deg); transition: transform .18s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
details.faq .faq__a { padding: 0 0 1.3rem; color: var(--muted); max-width: 62ch; }
details.faq .faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- reviews -- */

.reviews { display: grid; gap: 1.2rem; }
@media (min-width: 780px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: var(--radius); padding: 1.6rem 1.7rem;
}
.review blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.review cite { font-style: normal; font-size: 0.87rem; color: var(--muted); }
.review cite b { color: var(--ridge); font-weight: 600; }

/* ------------------------------------------------------ booking widget -- */

.booking-frame {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.booking-frame iframe {
  width: 100%; border: 0; display: block; min-height: 720px;
}
.booking-note {
  font-size: 0.86rem; color: var(--muted);
  padding: 0.9rem 1.2rem; border-top: 1px solid var(--rule-soft); background: var(--limestone);
}
.booking-note strong { color: var(--ridge); }

.placeholder {
  border: 2px dashed var(--acorn);
  background: rgba(184,132,63,.06);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  text-align: center;
}
.placeholder h3 { color: var(--acorn-dk); }
.placeholder code {
  display: block; background: var(--bark); color: #e9e3d8;
  padding: 0.8rem 1rem; border-radius: 3px; font-size: 0.8rem;
  overflow-x: auto; text-align: left; margin-top: 0.9rem;
}

/* ---------------------------------------------------------------- form -- */

.form { display: grid; gap: 1.1rem; max-width: 620px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ridge); }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.97rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper); color: var(--bark);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ridge); outline: none;
  box-shadow: 0 0 0 3px rgba(47,71,57,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 0.25rem; flex: none; }

/* ---------------------------------------------------------- CTA band --- */

.cta-band { position: relative; }
.cta-band img { width: 100%; height: clamp(340px, 46vh, 480px); object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,26,22,.35), rgba(20,26,22,.8));
}
.cta-band__body {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; text-align: center; color: var(--limestone);
}
.cta-band__body h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band__body p { color: rgba(255,255,255,.88); max-width: 46ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--bark); color: rgba(244,240,232,.72);
  padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(244,240,232,.8); text-decoration: none; }
.site-footer a:hover { color: var(--acorn-lt); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--acorn-lt); margin-bottom: 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer__brand .brand__name { color: var(--limestone); }
.footer__brand p { margin-top: 1rem; max-width: 34ch; color: rgba(244,240,232,.6); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(244,240,232,.14);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; font-size: 0.82rem; color: rgba(244,240,232,.5);
}

/* -------------------------------------------------------------- utils --- */

.stack > * + * { margin-top: 1.15rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .gallery-filters { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------------- brand assets --- */

.brand__mark { width: 31px; height: auto; flex: none; }
.brand svg { width: 30px; height: 34px; flex: none; }   /* menu icon fallback */

.footer__badge {
  width: 200px; height: auto;
  /* the badge is a full-colour mark on a dark ground; a touch of lift keeps
     its darker greens from disappearing into the footer */
  filter: drop-shadow(0 0 1px rgba(244, 240, 232, .35));
}

/* drive-time rows carry a route line under the place name */
.drive { align-items: center; }
.drive__place small {
  display: block; font-weight: 400; font-size: .78rem;
  color: var(--muted); margin-top: 2px; line-height: 1.35;
}

/* ------------------------------------------------------- hosts portrait -- */
.hosts .split__media img {
  aspect-ratio: 3 / 4;
  max-width: 240px;
  margin-inline: auto;
  display: block;
}
@media (min-width: 860px) {
  .hosts { grid-template-columns: 300px 1fr; align-items: center; }
}

/* ---------------------------------------------------------- route map -- */
.routemap { margin: 0; }
.routemap svg {
  width: 100%; height: auto; display: block;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
}
.routemap figcaption {
  font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem;
  font-style: italic; text-align: center;
}

/* --------------------------------------------------------- doc stamp -- */
.doc-stamp {
  margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem; color: var(--muted);
}
.doc-stamp p { margin: 0 0 0.5rem; }
.doc-stamp p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Guest guides — /dining, /things-to-do, /hikes
   Shares the poster sheets' artwork and wording; styled with the site's own
   tokens so the pages sit inside the site rather than beside it.
   ========================================================================== */

.guide-alert {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem;
  align-items: start;
  background: var(--paper); border-left: 3px solid var(--acorn-dk);
  padding: 0.9rem 1.1rem; margin-bottom: 0.9rem; border-radius: var(--radius);
}
.guide-alert__tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--limestone);
  background: var(--acorn-dk); padding: 0.3rem 0.5rem;
  border-radius: 2px; white-space: nowrap;
}
.guide-alert p { margin: 0; font-size: 0.94rem; color: var(--muted); }
.guide-alert strong { color: var(--bark); }

.guide-head {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  margin: 1.8rem 0 0.4rem;
  padding-bottom: 0.7rem; border-bottom: 2px solid var(--ridge);
}
.guide-sort {
  margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}

.guide-list { display: flex; flex-direction: column; }
.guide {
  display: grid; grid-template-columns: 92px 1fr; gap: 1.4rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.guide:last-child { border-bottom: 0; }
.guide__art svg { width: 92px; height: 92px; display: block; border-radius: var(--radius); }

.guide__rank {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--acorn-dk); margin-bottom: 0.25rem;
}
.guide__body h2 { font-size: 1.28rem; margin: 0 0 0.2em; line-height: 1.15; }
.guide__sub {
  margin: 0 0 0.55rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.guide__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.6rem; }
.guide__chip, .guide__chipdrive, .guide__chiprate, .guide__chipwarn,
.guide__chipeasy, .guide__chipmod, .guide__chipfree {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 0.28rem 0.5rem; border-radius: 2px;
  background: var(--paper); border: 1px solid var(--rule-soft); color: var(--muted);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.guide__chipdrive { background: var(--ridge); color: var(--limestone); border-color: var(--ridge); }
.guide__chiprate  { color: var(--bark); }
.guide__chiprate b { font-family: var(--serif); font-size: 0.86rem; }
.guide__chipwarn  { background: #A8451D; color: #fff; border-color: #A8451D; }
.guide__chipeasy  { background: var(--moss); color: #1d2418; border-color: var(--moss); }
.guide__chipmod   { background: var(--acorn); color: #241a0c; border-color: var(--acorn); }
.guide__chipfree  { background: var(--valley); color: #fff; border-color: var(--valley); }

.guide__note { margin: 0; font-size: 0.96rem; color: var(--muted); max-width: 62ch; }
.guide__note strong { color: var(--bark); }

.guide__facts {
  display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem;
  margin: 0.6rem 0 0; font-size: 0.86rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.guide__facts div { display: flex; gap: 0.4rem; }
.guide__facts dt {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ridge); padding-top: 0.15em;
}
.guide__facts dd { margin: 0; }

.guide-outro {
  margin-top: 2rem; padding-top: 1.2rem; border-top: 2px solid var(--ridge);
}
.guide-outro h2 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--acorn-dk); margin-bottom: 0.5em;
  font-family: var(--sans);
}
.guide-outro p { margin: 0; font-size: 0.94rem; color: var(--muted); max-width: 72ch; }
.guide-outro strong { color: var(--bark); }

.guide-more { margin-top: 2rem; }
.guide-more h2 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.6em;
  font-family: var(--sans);
}
.guide-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.guide-more a {
  display: inline-block; padding: 0.55rem 1rem;
  border: 1px solid var(--ridge); border-radius: var(--radius);
  color: var(--ridge); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.guide-more a:hover { background: var(--ridge); color: var(--limestone); }

@media (max-width: 560px) {
  .guide { grid-template-columns: 64px 1fr; gap: 1rem; }
  .guide__art svg { width: 64px; height: 64px; }
  .guide-head { flex-direction: column; align-items: flex-start; }
}

/* owner picks strip on the guide pages */
.picks { margin-top: 2rem; padding-top: 1.2rem; border-top: 2px solid var(--ridge); }
.picks > h2 {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--acorn-dk); margin-bottom: 0.9em; font-family: var(--sans);
}
.picks__row { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pick h3 { font-size: 1.08rem; margin: 0 0 0.35rem; }
.pick__drive {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; background: var(--ridge); color: var(--limestone);
  padding: 0.25rem 0.5rem; border-radius: 2px; margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.pick p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.pick strong { color: var(--bark); }

/* ---------------------------------------------------------- refer a friend --
   Two reward cards and a three-step strip. Deliberately built from the same
   parts as .picks and .callout so the page reads as part of the set.          */

.rewards {
  display: grid; gap: 1.3rem; margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.reward {
  background: var(--paper); border: 1px solid var(--rule);
  border-top: 4px solid var(--ridge); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}
.reward--accent { border-top-color: var(--acorn); }
.reward__who {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acorn-dk); margin: 0 0 0.5rem;
}
.reward__amt {
  font-family: var(--serif); font-weight: 700; line-height: 1.05;
  font-size: clamp(1.7rem, 4.5vw, 2.3rem); color: var(--ridge);
  margin: 0 0 0.6rem; text-wrap: balance;
}
.reward__sub { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps-head { margin-bottom: 1.4rem; }
.steps {
  list-style: none; margin: 0 0 2.5rem; padding: 0;
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step { position: relative; padding-top: 0.3rem; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ridge); color: var(--limestone);
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.7rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.08rem; margin: 0 0 0.4rem; }
.step p { margin: 0; font-size: 0.94rem; color: var(--muted); }
.step code, .prose code, .page-hero code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em; font-weight: 600; letter-spacing: 0.03em;
  background: rgba(184, 132, 63, 0.16); color: var(--acorn-dk);
  padding: 0.08em 0.34em; border-radius: 2px; white-space: nowrap;
}

/* The two-rung referral ladder. Reads as a small statement of account, which
   is the right register for it. */
.ladder {
  margin: -1.4rem 0 3rem; border-top: 1px solid var(--rule);
}
.ladder__rung {
  display: grid; align-items: baseline; gap: 0.15rem 1rem;
  grid-template-columns: 1fr auto; padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ladder__n { font-size: 0.95rem; font-weight: 600; color: var(--bark); }
.ladder__amt {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1;
  color: var(--ridge); text-align: right; font-variant-numeric: tabular-nums;
  grid-row: span 2;
}
.ladder__note { font-size: 0.86rem; color: var(--muted); }
.ladder__rung--top .ladder__amt { color: var(--acorn-dk); }
.ladder__rung--sum {
  border-bottom: none; border-top: 2px solid var(--ridge); margin-top: -1px;
}
.ladder__rung--sum .ladder__n { font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.ladder__rung--sum .ladder__amt { font-size: 1.2rem; }
