/* Designer Stays — warm editorial
   Palette, type scale and layout primitives. Single stylesheet, no build step. */

:root {
  --cream:      #FBF8F3;
  --cream-deep: #F3EDE3;
  --charcoal:   #1F1D1A;
  --ink:        #2E2A25;
  --stone:      #6F6862;
  --stone-soft: #A39A90;
  --brass:      #A8794A;
  --brass-deep: #8A6038;
  --rule:       #E2D9CB;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --page: 1240px;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3:  clamp(1.95rem, 1.64rem + 1.55vw, 2.9rem);
  --step-4:  clamp(2.5rem, 1.9rem + 3vw, 4.35rem);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

/* A subhead that follows body content needs air above it. */
p + h3, ul + h3, ol + h3, div + h3, .measure + h3 { margin-top: 2.2rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--charcoal); }

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

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

.skip {
  position: absolute; left: -9999px;
  background: var(--charcoal); color: var(--cream);
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; top: 0; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin: 0 0 1rem;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header > .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; min-height: 72px; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: clamp(.92rem, .82rem + .4vw, 1.06rem);
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--brass-deep); }
.nav { display: flex; gap: clamp(.85rem, 3vw, 2.2rem); align-items: center; flex-wrap: wrap; }
.nav a {
  font-size: var(--step--1); letter-spacing: .07em; text-transform: uppercase;
  color: var(--stone); text-decoration: none; font-weight: 500; white-space: nowrap;
}
/* Below ~420px the brand and nav cannot share a line; stack them. */
@media (max-width: 26rem) {
  .site-header > .wrap { justify-content: center; padding-block: .8rem; }
  .brand { letter-spacing: .13em; }
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--charcoal); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; text-decoration-color: var(--brass); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  font-family: var(--sans); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--brass); border-radius: 2px;
  background: var(--brass); color: #fff;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  /* A long label (an email address) must wrap rather than widen the page. */
  max-width: 100%; text-align: center; overflow-wrap: anywhere;
}
.btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.btn--light { background: transparent; color: var(--cream); border-color: color-mix(in srgb, var(--cream) 55%, transparent); }
.btn--light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }

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

.hero { position: relative; isolation: isolate; background: var(--charcoal); }
.hero img {
  width: 100%; height: clamp(420px, 74vh, 760px); object-fit: cover;
  opacity: .82;
}
.hero__inner {
  position: absolute; inset: auto 0 0 0;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(to top, rgba(20,18,16,.82) 12%, rgba(20,18,16,.45) 55%, transparent);
  color: var(--cream);
}
.hero__inner h1, .hero__inner p { color: var(--cream); }
.hero__inner .eyebrow { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.hero__lede { font-size: var(--step-1); max-width: 34ch; margin-top: .4rem; }
.hero__cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* property hero is shorter, meta strip sits below */
.hero--property img { height: clamp(360px, 62vh, 620px); }

/* ---------- sections ---------- */

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--dark { background: var(--charcoal); color: var(--cream-deep); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: var(--stone-soft); }
.section--dark a { color: #E4C79E; }
.section--dark a:hover { color: #fff; }
.section--warm { background: var(--cream-deep); }

.section__head { margin-bottom: clamp(2rem, 5vw, 3.4rem); }

/* ---------- property index cards ---------- */

.stays { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }

.stay {
  display: grid; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .stay { grid-template-columns: 1.15fr 1fr; }
  .stay:nth-child(even) .stay__media { order: 2; }
}
.stay__media { position: relative; overflow: hidden; background: var(--cream-deep); }
.stay__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.stay:hover .stay__media img { transform: scale(1.03); }
.stay__title { margin-bottom: .35rem; }
.stay__title a { color: inherit; text-decoration: none; }
.stay__title a:hover { color: var(--brass-deep); }
.stay__sub { color: var(--stone); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.stay__body { max-width: 46ch; }
.stay__foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0 0 1.1rem; padding: 0;
         font-size: var(--step--1); color: var(--stone); }
.facts li { display: flex; align-items: center; gap: .45rem; }
.facts li + li::before { content: ""; }

.price { font-family: var(--serif); font-size: var(--step-1); color: var(--charcoal); }
.price small { font-family: var(--sans); font-size: var(--step--1); color: var(--stone); letter-spacing: .04em; }

/* ---------- property page meta strip ---------- */

.metastrip { border-bottom: 1px solid var(--rule); background: var(--cream); }
.metastrip > .wrap {
  display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3rem);
  align-items: center; justify-content: space-between;
  padding-block: 1.4rem;
}
.metastrip dl { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 2.8rem); margin: 0; }
/* Scoped to the pairs inside the list — a bare `.metastrip div` would also
   match the .wrap above and flip it to a column. */
.metastrip dl > div { display: flex; flex-direction: column; gap: .15rem; }
.metastrip dt { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-soft); }
.metastrip dd { margin: 0; font-family: var(--serif); font-size: var(--step-1); color: var(--charcoal); line-height: 1.2; }

/* ---------- booking panel ---------- */

.book {
  border: 1px solid var(--rule); background: var(--cream);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.book h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.book__note { font-size: var(--step--1); color: var(--stone); margin-bottom: 1.2rem; }
.book .btn { width: 100%; }
.book__alt { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.book__alt p { font-size: var(--step--1); color: var(--stone); margin-bottom: .7rem; }
.channels { display: flex; flex-wrap: wrap; gap: .5rem .9rem; list-style: none; margin: 0; padding: 0; }
.channels a {
  font-size: var(--step--1); color: var(--stone); text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 1px;
}
.channels a:hover { color: var(--charcoal); border-color: var(--brass); }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .layout__aside { position: sticky; top: 96px; }
}

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

.amenities { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.amenities h3 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: .12em;
                text-transform: uppercase; color: var(--stone); margin-bottom: .8rem; font-weight: 600; }
.amenities ul { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.amenities li { padding: .28rem 0; border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); }
.amenities li:last-child { border-bottom: 0; }

/* ---------- highlights ---------- */

.highlights { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .45rem; }
.highlights li { padding-left: 1.4rem; position: relative; }
.highlights li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .5rem; height: 1px; background: var(--brass);
}

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

.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery button {
  padding: 0; border: 0; background: var(--cream-deep); cursor: zoom-in;
  display: block; overflow: hidden; position: relative;
}
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1), opacity .3s ease;
}
.gallery button:hover img { transform: scale(1.045); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button:first-child img { aspect-ratio: 1 / 1; }
@media (min-width: 700px) { .gallery button:first-child img { aspect-ratio: 4 / 3; } }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: #14120E;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(.75rem, 2vw, 1.5rem);
}
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: var(--cream); }
.lightbox__count { font-size: var(--step--1); letter-spacing: .1em; color: var(--stone-soft); }
.lightbox__stage { position: relative; min-height: 0; }
/* Absolutely positioned so the percentage max-* resolve against the stage's
   definite height. As a centred grid item they resolve against an indefinite
   height instead, and a tall photo overflows and hides the caption. */
.lightbox__stage img {
  position: absolute; inset: 0; margin: auto;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
}
.lightbox__cap {
  color: var(--stone-soft); font-size: var(--step--1); text-align: center;
  padding-top: .9rem; max-width: 60ch; margin-inline: auto;
}
.lightbox button {
  background: transparent; border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  color: var(--cream); border-radius: 50%; width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: background .18s ease, border-color .18s ease;
}
.lightbox button:hover { background: color-mix(in srgb, var(--cream) 16%, transparent); border-color: var(--cream); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
}
.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }

/* ---------- notes / rules ---------- */

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.notes li { padding-left: 1.5rem; position: relative; font-size: var(--step--1); color: var(--stone); }
.notes li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

.rules { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.rules li {
  font-size: var(--step--1); padding: .35rem .85rem;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--stone);
}
.rules li[data-no] { color: var(--stone-soft); }

/* ---------- why direct ---------- */

.reasons { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.reasons h3 { font-size: var(--step-1); }
.reasons p { font-size: var(--step--1); color: inherit; opacity: .82; }

/* ---------- map ---------- */

.mapbox { border: 1px solid var(--rule); background: var(--cream-deep); aspect-ratio: 16 / 9; width: 100%; }

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

.site-footer { background: var(--charcoal); color: var(--stone-soft); padding-block: clamp(3rem, 7vw, 4.5rem); }
.site-footer a { color: var(--cream-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { font-size: var(--step-1); color: var(--cream); }
.site-footer h3 { font-family: var(--sans); font-size: var(--step--1); letter-spacing: .13em;
                  text-transform: uppercase; color: var(--stone-soft); margin-bottom: .9rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--step--1); }
.site-footer__base {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--step--1);
}
.site-footer__legal {
  margin: 1.1rem 0 0; max-width: 70ch;
  font-size: var(--step--1); line-height: 1.6;
  color: color-mix(in srgb, var(--stone-soft) 78%, transparent);
}
.site-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.site-footer__legal a:hover { color: var(--cream); }
