@charset "UTF-8";
/* ==========================================================================
   Stay in Clarens — design system
   Palette: Mountain Green & Cream
   Display: Fraunces (variable, opsz + wght)   UI/body: Karla (variable)
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-roman-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-roman-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-italic-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --forest-deep: #12291E;
  --forest: #1F3D2E;
  --forest-soft: #2C523E;
  --ink: #14261C;
  --sage: #7E9384;
  --sage-pale: #C3CFC4;
  --cream: #F6F1E6;
  --cream-warm: #FBF8F1;
  --sand: #E7DCC7;
  --sand-deep: #D8C9AC;
  --terracotta: #B4613C;
  --terracotta-deep: #964E2E;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--cream);
  --surface: var(--cream-warm);
  --text: var(--ink);
  --text-muted: #55665C;
  --rule: rgba(31, 61, 46, .16);
  --rule-strong: rgba(31, 61, 46, .32);

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

  --fs-hero: clamp(2.9rem, 11.5vw, 8.5rem);
  --fs-display: clamp(2.1rem, 6.2vw, 4.5rem);
  --fs-h2: clamp(1.85rem, 4.6vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 2.6vw, 1.7rem);
  --fs-h4: clamp(1.1rem, 1.9vw, 1.3rem);
  --fs-lead: clamp(1.08rem, 1.9vw, 1.3rem);
  --fs-body: clamp(1rem, 0.97rem + .18vw, 1.09rem);
  --fs-small: .875rem;
  --fs-eyebrow: .72rem;

  /* Space */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 2.75rem; --s8: 4rem;
  --s9: 5.5rem;  --s10: 7.5rem; --s11: 10rem;

  --section-y: clamp(4rem, 9vw, 8.5rem);
  --gutter: clamp(1.15rem, 4.5vw, 4rem);
  --maxw: 1320px;
  --maxw-text: 62ch;

  --radius: 2px;
  --radius-img: 3px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --shadow-card: 0 1px 2px rgba(18, 41, 30, .05), 0 12px 32px -12px rgba(18, 41, 30, .18);
  --shadow-lift: 0 2px 4px rgba(18, 41, 30, .06), 0 26px 54px -18px rgba(18, 41, 30, .3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header offset for in-page anchors */
  scroll-padding-top: 5.5rem;
  /* `clip`, not `hidden`: hidden would make this a scroll container and break
     anchor jumps and scroll-padding-top. */
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> is a wrapper, not a box — make it inherit the size of whatever
   media container it sits in, so object-fit on the <img> has room to work. */
.hero__media picture, .pagehead__media picture, .door__media picture,
.card__media picture, .figure picture, .gallery-item picture,
.map-embed picture, .split figure picture {
  display: block;
  width: 100%;
  height: 100%;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--terracotta); color: var(--cream-warm); }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 999;
  background: var(--forest); color: var(--cream-warm);
  padding: var(--s3) var(--s5); border-radius: var(--radius);
  font-size: var(--fs-small); letter-spacing: .04em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s4); }

.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;
}

/* ---------- Typography primitives ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h4, h5 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.eyebrow::before {
  content: "";
  width: clamp(18px, 4vw, 34px);
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: .7;
}
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 54ch;
}
.prose { max-width: var(--maxw-text); }
.prose p + p { margin-top: var(--s4); }
.prose strong { font-weight: 700; color: var(--ink); }

/* Meta labels carry real facts (floor, size, sleeps) — structure, not decoration */
.meta-row {
  display: flex; flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.meta-row li { display: flex; align-items: center; gap: var(--s2); }
.meta-row li + li::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--sage); margin-right: var(--s3);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 940px; }
.wrap--wide { max-width: 1560px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--forest {
  background: var(--forest);
  color: var(--cream);
}
.section--forest .lead,
.section--forest .meta-row { color: var(--sage-pale); }
.section--forest .eyebrow { color: var(--sand-deep); }
.section--sand { background: var(--sand); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead { margin-top: var(--s4); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: var(--s6); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Editorial split — deliberately asymmetric, text off-centre */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--reverse > :first-child { order: 2; }
  .split--media-wide { grid-template-columns: 1.25fr .75fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: var(--cream-warm);
  --btn-bd: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: .95rem 1.85rem;
  min-height: 48px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream-warm); }

.btn--light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(246, 241, 230, .45); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--forest-deep); }

.btn--solid-cream { --btn-bg: var(--cream); --btn-fg: var(--forest-deep); --btn-bd: var(--cream); }
.btn--solid-cream:hover { background: var(--white); border-color: var(--white); color: var(--forest-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* Text link with a rule that grows on hover */
.link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: .82rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; text-decoration: none;
  color: var(--terracotta); padding-block: var(--s2);
  position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(.32); transform-origin: left;
  transition: transform .45s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link svg { transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.section--forest .link { color: var(--sand-deep); }

/* ---------- Two-tone icons ---------- */
/* Linework inherits currentColor; the tone layer is a separate, tintable wash. */
.icon { --icon-tone: var(--terracotta); flex: none; }
.icon .i-tone { fill: var(--icon-tone); stroke: none; opacity: .2; }
.section--forest .icon,
.pagehead .icon,
.hero .icon,
.footer .icon,
.door .icon,
.drawer .icon { --icon-tone: var(--sand-deep); }
.section--forest .icon .i-tone,
.footer .icon .i-tone { opacity: .28; }
.btn .icon, .link .icon { --icon-tone: currentColor; }
.btn .icon .i-tone, .link .icon .i-tone { opacity: .3; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: var(--s4);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }

.header--solid {
  background: rgba(246, 241, 230, .93);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
  padding-block: var(--s3);
}

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: .01em;
}
.brand__sub {
  font-size: .58rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; margin-top: .42rem; opacity: .72;
}

/* Header colours: transparent over hero (light type) vs solid (dark type) */
.header--over { color: var(--cream); }
/* A soft wash under the transparent header so cream nav type stays legible
   over a bright photograph — pale skies, sandstone walls, snow. */
.header--over::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 41, 30, .6) 0%, rgba(18, 41, 30, .28) 45%, rgba(18, 41, 30, 0) 100%);
}
.header--solid::before { opacity: 0; }
.header--over .nav__link { color: rgba(246, 241, 230, .88); }
.header--over .nav__link:hover { color: var(--cream); }
.header--over .burger span { background: var(--cream); }
.header--solid { color: var(--ink); }
.header--solid .nav__link { color: var(--text-muted); }
.header--solid .nav__link:hover { color: var(--ink); }
.header--solid .burger span { background: var(--ink); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.8rem, 1.4vw, 1.5rem); }
.nav__link {
  text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase;
  padding-block: var(--s2);
  position: relative;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--terracotta); }

.header__actions { display: flex; align-items: center; gap: var(--s4); }
.header__cta { display: none; }

/* The bar carries brand + 8 links + the booking CTA. Below this width there is
   not room for all three, and the CTA — the most important element — is what
   gets pushed off, so the burger takes over instead. */
@media (min-width: 1240px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; padding: .72rem 1.4rem; min-height: 42px; font-size: .72rem; }
  .burger { display: none !important; }
}

/* Burger */
.burger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 46px; height: 46px; padding: 0 9px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 1.5px; width: 100%; border-radius: 2px;
  transition: transform .45s var(--ease), opacity .25s var(--ease), background .4s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--forest);
  color: var(--cream);
  display: flex; flex-direction: column;
  padding: 6.5rem var(--gutter) calc(var(--s7) + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.drawer__list { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: auto; }
.drawer__link {
  display: flex; align-items: baseline; gap: var(--s4);
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 20;
  font-size: clamp(1.9rem, 8.5vw, 3rem);
  line-height: 1.16;
  text-decoration: none;
  padding-block: var(--s2);
  border-bottom: 1px solid rgba(246, 241, 230, .12);
  transition: color .3s var(--ease);
}
.drawer__link:hover, .drawer__link[aria-current="page"] { color: var(--sand-deep); }
.drawer__foot { padding-top: var(--s7); display: grid; gap: var(--s4); }
.drawer__contact {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  font-size: var(--fs-small); color: var(--sage-pale);
}
.drawer__contact a { text-decoration: none; }
.drawer__contact a:hover { color: var(--cream); }

body[data-nav-open="true"] { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* Titanic Rock sits right of centre in the hero frame. A plain centre crop
   loses it the moment the viewport gets taller than the image, so bias the
   crop right — more so on phones, where the crop is tightest. */
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
@media (max-width: 860px) {
  .hero__media img { object-position: 72% center; }
}
/* Slow drift — the only ambient motion on the page */
.hero__media img { animation: kenburns 26s var(--ease-soft) infinite alternate; transform-origin: 62% 62%; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  /* Vertical lift for the copy block, plus a left-side wash so the
     left-aligned headline holds against a bright sky. */
  background:
    linear-gradient(to top, rgba(18, 41, 30, .94) 0%, rgba(18, 41, 30, .62) 38%, rgba(18, 41, 30, .28) 68%, rgba(18, 41, 30, .44) 100%),
    linear-gradient(to right, rgba(18, 41, 30, .52) 0%, rgba(18, 41, 30, .14) 56%, rgba(18, 41, 30, 0) 100%);
}
.hero__inner { width: 100%; padding-block: clamp(5.5rem, 13vh, 9rem) clamp(3.5rem, 9vh, 6rem); }
.hero .eyebrow { color: var(--sand-deep); }

.hero__title {
  font-size: var(--fs-hero);
  line-height: .95;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 24, "WONK" 1;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--sand);
}
.hero__lead {
  margin-top: var(--s5);
  max-width: 46ch;
  color: rgba(246, 241, 230, .84);
  font-size: var(--fs-lead);
}
.hero__actions { margin-top: var(--s7); }
.hero__foot {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: var(--s5);
  border-top: 1px solid rgba(246, 241, 230, .22);
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(246, 241, 230, .74);
}
.hero__foot li { display: flex; align-items: center; gap: var(--s3); }
.hero__foot svg { flex: none; }

/* Line-by-line mask reveal for the hero headline */
/* The mask that makes each line slide up. hero__title runs line-height .95,
   which is tighter than Fraunces' descenders (g, y, w), so a plain
   overflow:hidden box crops them. Pad the mask to let descenders through and
   pull the next line back up so the leading is unchanged. The slide-up start
   offset has to clear the taller mask too, or the top of the next line peeks
   out before it animates. */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: .22em;
  margin-bottom: -.22em;
}
.reveal-line > span {
  display: block;
  transform: translateY(135%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: .12s; }
.reveal-line:nth-child(2) > span { animation-delay: .24s; }
.reveal-line:nth-child(3) > span { animation-delay: .36s; }
@keyframes lineUp { to { transform: translateY(0); } }

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; }
.fade-up--1 { animation-delay: .5s; }
.fade-up--2 { animation-delay: .64s; }
.fade-up--3 { animation-delay: .78s; }
.fade-up--4 { animation-delay: .92s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Compact hero for interior pages */
.pagehead {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(58vh, 62vh, 640px);
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 41, 30, .92) 0%, rgba(18, 41, 30, .66) 42%, rgba(18, 41, 30, .3) 78%, rgba(18, 41, 30, .5) 100%),
    linear-gradient(to right, rgba(18, 41, 30, .42) 0%, rgba(18, 41, 30, .1) 60%, rgba(18, 41, 30, 0) 100%);
}
.pagehead__inner { width: 100%; padding-block: clamp(6.5rem, 14vh, 8rem) clamp(2.5rem, 6vh, 4rem); }
.pagehead h1 { font-size: var(--fs-display); max-width: 18ch; }
.pagehead .eyebrow { color: var(--sand-deep); }
.pagehead .lead { color: rgba(246, 241, 230, .85); margin-top: var(--s4); }
.pagehead .meta-row { color: rgba(246, 241, 230, .8); margin-top: var(--s6); }

/* ---------- Diptych: the signature "two doors" decision point ---------- */
.diptych { display: grid; gap: 2px; background: var(--rule); }
@media (min-width: 900px) { .diptych { grid-template-columns: 1fr 1fr; } }

.door {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(30rem, 78vh, 46rem);
  padding: var(--s6) var(--s5) var(--s7);
  color: var(--cream);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) { .door { padding: var(--s8) var(--s7) var(--s8); } }
.door__media { position: absolute; inset: 0; z-index: -2; }
.door__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Weighted at the bottom for the copy block, with a lighter cap at the top
     so the floor label stays legible over a bright sky or a yellow wall. */
  background: linear-gradient(to top,
    rgba(18, 41, 30, .93) 4%,
    rgba(18, 41, 30, .5) 45%,
    rgba(18, 41, 30, .1) 76%,
    rgba(18, 41, 30, .5) 100%);
  transition: opacity .7s var(--ease);
}
.door:hover .door__media img { transform: scale(1.055); }
.door:hover::after { opacity: .86; }

.door__index {
  position: absolute; top: var(--s6); left: var(--s5);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand-deep);
}
@media (min-width: 900px) { .door__index { top: var(--s7); left: var(--s7); } }
.door__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 24, "WONK" 1;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.door__desc { margin-top: var(--s4); max-width: 34ch; color: rgba(246, 241, 230, .84); }
.door__meta { margin-top: var(--s5); color: rgba(246, 241, 230, .82); }
.door__cta { margin-top: var(--s6); color: var(--sand-deep); }
.door__cta::after { background: currentColor; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card--link { text-decoration: none; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card--link:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
@media (min-width: 700px) { .card__body { padding: var(--s6); } }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-variation-settings: "SOFT" 20; line-height: 1.15; }
.card__text { color: var(--text-muted); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: var(--s3); }

/* Feature (icon) cards */
.feature { display: flex; flex-direction: column; gap: var(--s4); }
.feature__icon { color: var(--forest); flex: none; }
.section--forest .feature__icon { color: var(--sand); }
.feature__title { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.005em; }
.feature__text { color: var(--text-muted); font-size: .97rem; }
.section--forest .feature__text { color: var(--sage-pale); }

.feature-list { display: grid; gap: var(--s6) var(--s7); }
@media (min-width: 640px)  { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
/* Four-item lists (the per-apartment highlights) sit on one row rather than
   leaving an orphan under a three-column grid. */
@media (min-width: 1100px) { .feature-list--4 { grid-template-columns: repeat(4, 1fr); } }

/* Amenity ticks */
.amenities { display: grid; gap: var(--s3) var(--s6); }
@media (min-width: 560px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenities li {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding-block: var(--s2);
  border-bottom: 1px solid var(--rule);
  font-size: .97rem;
}
.amenities svg { flex: none; margin-top: 3px; color: var(--terracotta); }
.section--forest .amenities li { border-color: rgba(246, 241, 230, .16); }
.section--forest .amenities svg { color: var(--sand-deep); }

/* ---------- Figures & galleries ---------- */
.figure { position: relative; overflow: hidden; border-radius: var(--radius-img); background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1 / 1; }
.figure__caption {
  margin-top: var(--s3);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Editorial stagger pair — side by side at every width, so a phone doesn't
   scroll through two full-width portrait images back to back. */
.stack-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  align-items: start;
}
@media (min-width: 700px) {
  .stack-pair { gap: var(--s5); }
  .stack-pair > :nth-child(2) { margin-top: clamp(2rem, 7vw, 5.5rem); }
}
@media (max-width: 699px) {
  .stack-pair > :nth-child(2) { margin-top: var(--s7); }
}

/* Masonry-ish gallery */
.gallery-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
@media (min-width: 1180px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-img);
  aspect-ratio: 1 / 1; background: var(--sand);
  border: 0; padding: 0; cursor: zoom-in; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item--tall { aspect-ratio: 1 / 1; }
@media (min-width: 760px) { .gallery-item--tall { grid-row: span 2; aspect-ratio: 1 / 2.06; } }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 2.06 / 1; }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s7); }
.filter {
  padding: .6rem 1.15rem; min-height: 42px;
  background: transparent; border: 1px solid var(--rule-strong);
  border-radius: 100px; cursor: pointer;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { border-color: var(--forest); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18, 41, 30, .96);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1400px, 96vw); max-height: 84vh;
  width: auto; object-fit: contain; border-radius: var(--radius-img);
}
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  text-align: center; color: rgba(246, 241, 230, .8);
  font-size: var(--fs-small); padding-inline: var(--s5);
}
.lightbox__btn {
  position: absolute; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(246, 241, 230, .1); border: 1px solid rgba(246, 241, 230, .25);
  border-radius: 50%; color: var(--cream); cursor: pointer;
  transition: background .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(246, 241, 230, .22); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: var(--s3); }
.rating__stars { display: flex; gap: 2px; color: var(--terracotta); }
.section--forest .rating__stars { color: var(--sand-deep); }
.rating__text { font-size: var(--fs-small); color: var(--text-muted); }
.section--forest .rating__text { color: var(--sage-pale); }

.quote {
  display: flex; flex-direction: column; gap: var(--s4);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  break-inside: avoid;
}
.section--forest .quote { background: rgba(246, 241, 230, .06); border-color: rgba(246, 241, 230, .16); }
.quote__text { font-size: 1rem; line-height: 1.66; }
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.quote__by { display: flex; align-items: baseline; gap: var(--s3); margin-top: auto; }
.quote__name { font-weight: 700; letter-spacing: -.005em; }
.quote__unit {
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta);
}
.section--forest .quote__unit { color: var(--sand-deep); }

/* Big pull quote */
.pullquote {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: clamp(1.55rem, 3.6vw, 2.6rem);
  line-height: 1.24;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.pullquote em { font-style: italic; }

.review-columns { columns: 1; column-gap: var(--s5); }
.review-columns > * { margin-bottom: var(--s5); }
@media (min-width: 740px)  { .review-columns { columns: 2; } }
@media (min-width: 1140px) { .review-columns { columns: 3; } }

/* ---------- Rates table ---------- */
.rate-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--s6);
  display: flex; flex-direction: column; gap: var(--s4);
}
.rate-card--feature { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.rate-card--feature .rate-card__note { color: var(--sage-pale); }
.rate-card__price { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.rate-card__amount {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 20;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1; letter-spacing: -.03em;
}
.rate-card__unit { font-size: var(--fs-small); color: var(--text-muted); letter-spacing: .04em; }
.rate-card--feature .rate-card__unit { color: var(--sage-pale); }
.rate-card__note { font-size: .95rem; color: var(--text-muted); }

.policy-list { display: grid; gap: 0; }
.policy-list li {
  display: grid; gap: var(--s2) var(--s5);
  padding-block: var(--s5);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) { .policy-list li { grid-template-columns: 15rem 1fr; align-items: baseline; } }
.policy-list dt, .policy-list__term {
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta);
}
.policy-list__desc { color: var(--text-muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field__label {
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.field__req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .95rem 1.05rem;
  min-height: 52px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: 1rem;   /* >=16px stops iOS zoom-on-focus */
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2355665C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.05rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(180, 97, 60, .16);
}
.field--error input, .field--error select, .field--error textarea { border-color: #A8422F; }
.field__error { font-size: var(--fs-small); color: #A8422F; }
.field-row { display: grid; gap: var(--s5); }
@media (min-width: 620px) { .field-row--2 { grid-template-columns: repeat(2, 1fr); } }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.alert {
  padding: var(--s5); border-radius: var(--radius);
  border: 1px solid; display: grid; gap: var(--s2);
}
.alert--ok { background: #EDF3EE; border-color: #9EBBA6; color: #1F4A2E; }
.alert--error { background: #FBEEEA; border-color: #DDA694; color: #8C3A26; }
.alert__title { font-weight: 700; }

/* ---------- Contact / info blocks ---------- */
.info-list { display: grid; gap: var(--s5); }
.info-item { display: flex; gap: var(--s4); align-items: flex-start; }
.info-item__icon { color: var(--terracotta); flex: none; margin-top: 2px; }
.section--forest .info-item__icon { color: var(--sand-deep); }
.info-item__label {
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 2px;
}
.section--forest .info-item__label { color: var(--sage-pale); }
.info-item a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.info-item a:hover { border-color: currentColor; }

.map-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden;
  background: var(--sand); border: 1px solid var(--rule);
}
@media (min-width: 900px) { .map-embed { aspect-ratio: 21 / 9; } }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s5); padding: var(--s5) 0; min-height: 56px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 20;
  font-size: var(--fs-h4); line-height: 1.35; color: var(--ink);
}
.faq__icon { flex: none; margin-top: 4px; color: var(--terracotta); transition: transform .45s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: var(--s5); color: var(--text-muted); max-width: 68ch; }

/* ---------- Sticky mobile booking bar ---------- */
.bookbar {
  position: fixed; z-index: 90;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  background: rgba(18, 41, 30, .97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--cream);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.bookbar[data-visible="true"] { transform: none; }
.bookbar__text { flex: 1; min-width: 0; }
.bookbar__title { font-size: .95rem; font-weight: 700; line-height: 1.2; }
.bookbar__sub { font-size: .76rem; color: var(--sage-pale); margin-top: 2px; }
.bookbar .btn { flex: none; padding: .8rem 1.3rem; min-height: 46px; font-size: .74rem; }
@media (min-width: 1040px) { .bookbar { display: none; } }
@media (max-width: 1039px) { body { padding-bottom: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deep); color: var(--cream); position: relative; }
.ridge { display: block; width: 100%; height: auto; color: var(--forest-deep); }
.ridge svg { display: block; width: 100%; height: clamp(38px, 6vw, 76px); }
.footer__inner { padding-block: clamp(3.5rem, 7vw, 6rem) var(--s7); }
.footer__grid { display: grid; gap: var(--s7); }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s8); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.footer h2, .footer h3 { font-size: var(--fs-h3); }
.footer__title {
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand-deep); margin-bottom: var(--s4);
}
.footer__list { display: grid; gap: var(--s3); }
.footer__list a, .footer p a { color: rgba(246, 241, 230, .8); text-decoration: none; transition: color .3s var(--ease); }
.footer__list a:hover, .footer p a:hover { color: var(--cream); }
.footer__note { color: rgba(246, 241, 230, .62); font-size: .95rem; }
.footer__bar {
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid rgba(246, 241, 230, .16);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  justify-content: space-between;
  font-size: var(--fs-small); color: rgba(246, 241, 230, .58);
}
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: var(--cream); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__media img { animation: none; transform: none; }
  .reveal-line > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .bookbar { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .drawer, .bookbar, .hero__media, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}
