/* Selby Stays — Alpine Lake palette, Fraunces + Josefin Sans (see brand guide) */
:root {
  --teal: #1f4450;
  --teal-deep: #163540;
  --glacier: #93b4bb;
  --glacier-soft: #dbe7e9;
  --gold: #e3a33b;
  --gold-deep: #b9822a;
  --slate: #4f6b72;
  --snow: #f3f6f5;
  --paper: #fbfaf7;
  --ink: #1d2b30;
  --line: #dfe6e5;
  --radius: 18px;
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Josefin Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--teal); }
h1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 26px; }
em.accent { font-style: italic; font-weight: 500; color: var(--gold); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px; display: block;
}
.lede { font-size: 20px; color: var(--slate); max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px 13px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: #eeb354; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.nav a:not(.btn):hover { color: var(--gold-deep); }
.nav .btn { padding: 12px 22px 9px; font-size: 14px; }
.nav a.btn-teal, .nav a.btn-teal:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--teal); margin: 6px 0; }

/* Hero */
.hero { background: var(--teal); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero .lede { color: #d5e3e5; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; justify-self: end; width: min(100%, 420px); }
.hero-media video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 220px 220px var(--radius) var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-badge {
  position: absolute; left: -36px; bottom: 48px;
  background: var(--paper); color: var(--teal); border-radius: 14px;
  padding: 14px 18px 11px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-size: 15px; line-height: 1.35; max-width: 220px;
}
.hero-badge strong { font-family: var(--serif); font-size: 19px; display: block; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.alt { background: var(--snow); }

/* Stay cards */
.stays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.stay-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.stay-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31,68,80,.12); }
.stay-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stay-card .body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.stay-card .kind { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.stay-card h3 { margin: 8px 0 10px; }
.stay-card p { color: var(--slate); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 22px; padding: 0; list-style: none; font-size: 15px; color: var(--teal); font-weight: 600; }
.facts li::before { content: "•"; color: var(--gold); margin-right: 8px; }
.facts li:first-child::before { content: none; }
.stay-card .more { margin-top: auto; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--teal); }
.stay-card .more::after { content: " →"; }

/* Cars (Turo) */
.host-badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 5px; font-size: 15px; color: var(--slate); margin: 0; }
.host-badge b { color: var(--gold-deep); }
/* one car listed: card and review side by side; two cars: cards side by side, review below */
.cars-row:has(.car-card[hidden]) { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 56px; align-items: center; }
.cars-row:has(.car-card[hidden]) .stays { grid-template-columns: 1fr; }
.cars-row:has(.car-card[hidden]) .review { margin-top: 0; }
.car-card img { aspect-ratio: 16 / 9; }
.car-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.car-features li { background: var(--glacier-soft); color: var(--teal); border-radius: 999px; padding: 6px 12px 3px; font-size: 14px; }
.car-card .btn { align-self: flex-start; margin-top: auto; }
.review { margin: 40px 0 0; max-width: 760px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--teal); padding-left: 22px; border-left: 3px solid var(--gold); }
.review cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

/* Book direct */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.perk .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--glacier-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--teal); }
.perk h3 { font-size: 22px; }
.perk p { color: var(--slate); margin: 0; }

/* Seasons (leaves image) */
.seasons { position: relative; color: #fff; padding: 0; background: var(--teal-deep); }
.seasons picture img { width: 100%; height: 640px; object-fit: cover; object-position: 70% 50%; }
.seasons .overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(22,53,64,.92) 0%, rgba(22,53,64,.7) 38%, rgba(22,53,64,0) 62%);
}
.seasons .overlay .wrap { width: 100%; }
.seasons h2 { color: #fff; max-width: 520px; }
.seasons p { color: #d5e3e5; max-width: 460px; }
.season-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; max-width: 460px; }
.season-list li { display: flex; gap: 14px; align-items: baseline; color: #e9f0f0; }
.season-list b { font-family: var(--serif); font-weight: 600; color: var(--gold); min-width: 74px; }

/* Story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.story img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story blockquote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--teal); margin: 26px 0 0; padding-left: 22px; border-left: 3px solid var(--gold); }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e3e5; max-width: 560px; margin: 0 auto 30px; }

/* Footer */
.site-footer { background: var(--teal-deep); color: #c4d6d9; padding: 64px 0 40px; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e9f0f0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: 14px; color: #8fa9ae; }

/* Property page */
.prop-hero { padding: 40px 0 0; }
.crumbs { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--slate); }
.prop-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.prop-title h1 { font-size: clamp(40px, 5vw, 64px); margin: 0; }
.prop-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.prop-cta .btn { padding: 12px 22px 9px; font-size: 14px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.prop-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.prop-body h2 { font-size: 34px; margin-top: 44px; }
.prop-body h2:first-child { margin-top: 0; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.highlights li { background: var(--snow); border-radius: 12px; padding: 14px 16px 11px; }
.highlights b { display: block; font-family: var(--serif); color: var(--teal); font-size: 19px; }
.amenities { columns: 2; column-gap: 32px; padding-left: 20px; color: var(--slate); }
.amenities li { margin-bottom: 6px; break-inside: avoid; }
.note { background: #fff8ec; border: 1px solid #f1dcb6; border-radius: 12px; padding: 18px 20px; color: #5b4a2c; font-size: 17px; }
.book-box { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 40px rgba(31,68,80,.08); }
.book-box h3 { margin-bottom: 4px; }
.book-box .small { font-size: 15px; color: var(--slate); }
/* Hospitable's loader inserts the iframe and sets its height itself */
.book-widget { margin-top: 12px; min-height: 420px; }
.book-widget iframe { display: block; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.photo-strip img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero-media { justify-self: center; width: min(100%, 360px); }
  .hero-badge { left: -12px; }
  .stays, .perks, .story, .prop-body, .site-footer .cols { grid-template-columns: 1fr; }
  .cars-row:has(.car-card[hidden]) { grid-template-columns: 1fr; gap: 32px; }
  .story img { aspect-ratio: 16 / 10; }
  .book-box { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .gallery img:nth-child(n+6) { display: none; }
  .seasons .overlay { background: linear-gradient(180deg, rgba(22,53,64,.92) 0%, rgba(22,53,64,.75) 60%, rgba(22,53,64,.35) 100%); }
  .seasons picture img { height: 720px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .wrap { height: 70px; }
  .logo img { height: 42px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .highlights, .photo-strip { grid-template-columns: 1fr 1fr; }
  .amenities { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .stay-card { transition: none; }
}
