:root {
  --cream: #f5f1e7;
  --forest: #12251d;
  --bronze: #bda078;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--forest); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  display: flex;
  min-height: 640px;
  min-height: 100svh;
  flex-direction: column;
  overflow: clip;
  isolation: isolate;
  background: #20342c;
}

.hero__image,
.hero__shade { position: absolute; inset: 0; z-index: -1; }

/* Swap this image for final property photography when it is available. */
.hero__image {
  background-image: url("assets/rainwood-hero-pruned.png");
  background-position: center center;
  background-size: cover;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(11, 20, 19, 0.25) 0%, rgba(11, 20, 19, 0.02) 28%, rgba(11, 20, 19, 0.08) 48%, rgba(9, 16, 15, 0.3) 100%),
    radial-gradient(ellipse at 50% 49%, rgba(10, 19, 19, 0.28) 0%, rgba(10, 19, 19, 0.12) 45%, transparent 78%);
}

.site-header {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 184px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.brand {
  position: absolute;
  top: 20px;
  left: 50%;
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
  align-items: center;
  flex-direction: column;
  transform: translateX(-50%);
  text-align: center;
}

.brand__mark {
  transform: translateX(-8px);
  color: #173126;
  font-family: var(--serif);
  font-size: clamp(73px, 8.75vw, 113px);
  letter-spacing: -0.12em;
  line-height: 0.98;
  text-shadow: 0 1px 0 rgba(250, 247, 238, 0.18);
}

.brand__mark span { position: relative; z-index: 1; color: var(--bronze); font-size: 0.48em; letter-spacing: -0.08em; }

.brand__name {
  margin-top: 56px;
  color: #182a22;
  font-family: var(--serif);
  font-size: clamp(22px, 1.85vw, 30px);
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-shadow: 0 0 8px rgba(250, 247, 238, 0.98), 0 0 20px rgba(250, 247, 238, 0.82), 0 0 34px rgba(250, 247, 238, 0.54);
  text-transform: uppercase;
}

.brand__tagline {
  display: block;
  margin-top: 6px;
  color: #25352d;
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 20px);
  font-style: italic;
  letter-spacing: 0.01em;
  text-shadow: 0 0 8px rgba(250, 247, 238, 0.96), 0 0 19px rgba(250, 247, 238, 0.74), 0 0 30px rgba(250, 247, 238, 0.48);
}

.brand__tagline::before,
.brand__tagline::after { display: none; }

.site-nav {
  position: absolute;
  z-index: 3;
  top: 280px;
  left: 48px;
  display: flex;
  width: min(320px, calc(100vw - 64px));
  flex-direction: column;
  align-items: stretch;
  margin-top: 0;
  padding: 12px 24px;
  border: 1px solid rgba(189, 160, 120, 0.78);
  background: rgba(18, 37, 29, 0.97);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms;
  visibility: hidden;
  backdrop-filter: blur(8px);
}

.site-nav[hidden] { display: none; }

.site-nav a {
  position: relative;
  padding: 12px 0 12px 18px;
  border: 0;
  color: rgba(245, 241, 232, 0.78);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 240ms ease, transform 240ms ease;
}

.site-nav a:last-child { border-bottom: 0; }
.site-nav a::after { display: none; }
.site-nav a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bronze);
  content: "";
  transform: translateY(-50%);
  transition: width 240ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--cream); transform: translateX(5px); }

.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.site-nav a[aria-current="page"]::before { width: 9px; }

.site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s; visibility: visible; }

.menu-toggle {
  position: absolute;
  z-index: 4;
  top: 200px;
  left: 48px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: 190px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--bronze);
  border-radius: 2px;
  background: rgba(18, 37, 29, 0.8);
  color: #F5F1E8;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  transition: filter 180ms ease;
}

.menu-toggle:not([aria-expanded="true"]):hover { filter: brightness(1.15); }
.menu-toggle__icon { display: grid; width: 42px; gap: 8px; }
.menu-toggle__icon i { display: block; height: 3px; background: currentColor; transition: transform 160ms ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero__content {
  display: flex;
  width: min(100% - 48px, 1320px);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 24px;
  padding: 24px 0 36px;
  text-align: center;
  transform: translateY(28px);
}

h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 3.45vw, 60px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
  text-wrap: balance;
}

.button {
  display: inline-flex;
  min-width: clamp(320px, 28vw, 468px);
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 25px;
  border: 1px solid var(--bronze);
  background: rgba(16, 37, 28, 0.94);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover { background: var(--cream); color: var(--forest); }
.button__arrow { color: var(--bronze); font-family: var(--sans); font-size: 24px; font-weight: 300; line-height: 1; }
.button:hover .button__arrow { color: var(--forest); }

.hero__footer {
  display: flex;
  min-height: 95px;
  align-items: center;
  justify-content: center;
  padding-bottom: 9px;
}

.scroll-cue {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 96px;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  color: var(--cream);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.68), 0 0 16px rgba(245, 241, 232, 0.42);
  text-transform: uppercase;
  animation: scroll-cue-glow 4.6s ease-in-out infinite;
}

.scroll-cue::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 176px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245, 241, 232, 0.25) 0%, rgba(245, 241, 232, 0.14) 38%, transparent 72%);
  content: "";
  opacity: 0.7;
  transform: translate(-50%, -50%);
  animation: scroll-cue-halo 4.6s ease-in-out infinite;
}

.scroll-cue__arrow {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.1;
  animation: scroll-cue-drift 3.4s ease-in-out infinite;
}

@keyframes scroll-cue-glow {
  0%, 100% { text-shadow: 0 1px 7px rgba(0, 0, 0, 0.68), 0 0 16px rgba(245, 241, 232, 0.42); }
  50% { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.68), 0 0 25px rgba(245, 241, 232, 0.72), 0 0 40px rgba(245, 241, 232, 0.32); }
}

@keyframes scroll-cue-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes scroll-cue-halo {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

.retreat-intro {
  min-height: 100svh;
  padding: clamp(72px, 8vw, 112px) clamp(22px, 4vw, 64px) 92px;
  background: #f5f1e7;
  color: var(--forest);
}

.retreat-intro__inner {
  width: min(100%, 1380px);
  margin: 0 auto;
}

.retreat-intro__copy {
  max-width: 850px;
  margin: 0 auto clamp(38px, 4vw, 56px);
  text-align: center;
}

.retreat-intro h2 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.retreat-intro__copy > p {
  max-width: 790px;
  margin: 12px auto 0;
  color: rgba(18, 37, 29, 0.9);
  font-family: var(--serif);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid rgba(18, 37, 29, 0.26);
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
  transition: transform 260ms ease, border-color 260ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(189, 160, 120, 0.9);
}

.feature-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 0.66 / 1;
  overflow: hidden;
  object-fit: contain;
  transition: filter 260ms ease;
}

.feature-card:hover .feature-card__image { filter: brightness(1.035); }

.feature-card__body { padding: 16px 14px 20px; }

.feature-card__body h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.feature-card__body p {
  margin: 5px 0 0;
  color: rgba(18, 37, 29, 0.92);
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  font-style: italic;
  line-height: 1.45;
}

.experience {
  min-height: 100svh;
  padding: clamp(30px, 4vw, 58px) clamp(24px, 3.4vw, 52px);
  overflow: hidden;
  background: #102119;
  color: var(--cream);
}

.experience__layout {
  display: grid;
  width: min(100%, 1560px);
  min-height: calc(100svh - clamp(60px, 8vw, 116px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  align-items: stretch;
  gap: clamp(38px, 4vw, 64px);
  margin: 0 auto;
}

.experience__visual { min-width: 0; }

.experience__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 700px;
  max-height: 980px;
  object-fit: cover;
  object-position: center;
}

.experience__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px 0 18px;
}

.experience__eyebrow {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.38em;
  line-height: 1.4;
  text-transform: uppercase;
}

.experience__eyebrow i {
  height: 1px;
  flex: 1;
  background: rgba(189, 160, 120, 0.7);
}

.experience__content h2 {
  display: flex;
  flex-direction: column;
  margin: 30px 0 24px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(46px, 4.45vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.experience__story {
  color: rgba(245, 241, 231, 0.94);
  font-family: var(--serif);
  font-size: clamp(17px, 1.38vw, 21px);
  line-height: 1.5;
}

.experience__story p { margin: 0 0 16px; }
.experience__story p:last-child { margin-bottom: 0; }

.experience-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(42px, 5vw, 70px) 0 0;
  padding: 0;
  list-style: none;
}

.experience-details li {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 10px;
  text-align: center;
}

.experience-details li + li { border-left: 1px solid rgba(189, 160, 120, 0.48); }

.experience-details svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--bronze);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.experience-details span {
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.25em;
  line-height: 1.7;
  text-transform: uppercase;
}

.experience__promise {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(42px, 5vw, 68px);
}

.experience__rule { height: 1px; flex: 1; background: rgba(189, 160, 120, 0.65); }

.experience__promise svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--bronze);
  stroke-linecap: round;
  stroke-width: 1;
}

.experience__closing {
  margin: 16px 0 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(26px, 2.55vw, 40px);
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.stay-preview {
  padding: clamp(58px, 7vw, 94px) clamp(24px, 5vw, 76px);
  background: var(--cream);
  color: var(--forest);
}

.stay-preview__layout {
  display: grid;
  width: min(100%, 1380px);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
  margin: 0 auto;
}

.stay-preview__image {
  display: block;
  width: 100%;
  aspect-ratio: 765 / 509;
  border: 1px solid rgba(189, 160, 120, 0.5);
  object-fit: contain;
}

.stay-preview__image > span,
.stay-cabin__image > span {
  font-size: 10px;
  letter-spacing: 0.25em;
  line-height: 1.8;
  text-transform: uppercase;
}

.stay-preview__image small,
.stay-cabin__image small {
  color: rgba(245, 241, 231, 0.78);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: none;
}

.stay-preview__copy { max-width: 520px; }

.stay-preview__eyebrow {
  margin: 0 0 18px;
  color: #766447;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.stay-preview__copy h2 {
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.stay-preview__copy > p:not(.stay-preview__eyebrow) {
  max-width: 460px;
  margin: 18px 0 28px;
  color: rgba(18, 37, 29, 0.88);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
}

.stay-preview__link,
.stay-cabin__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 9px;
  border-bottom: 1px solid var(--bronze);
  color: var(--forest);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.stay-preview__link:hover,
.stay-cabin__link:hover { gap: 22px; color: #766447; }

.stay-page {
  background: var(--cream);
  color: var(--forest);
}

.stay-page .site-header { min-height: 290px; }
.stay-page .brand__mark,
.stay-page .brand__name,
.stay-page .brand__tagline { text-shadow: none; }

.stay-intro {
  width: min(100% - 48px, 1040px);
  margin: 0 auto clamp(54px, 7vw, 96px);
  text-align: center;
}

.stay-intro__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.stay-intro__eyebrow span { width: min(140px, 20vw); height: 1px; background: rgba(18, 37, 29, 0.28); }

.stay-intro__eyebrow p {
  margin: 0;
  color: #766447;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.stay-intro h1 {
  display: block;
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: none;
}

.stay-intro__description {
  max-width: 900px;
  margin: 18px auto 0;
  color: rgba(18, 37, 29, 0.88);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.stay-cabins {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
  padding-bottom: 28px;
}

.stay-cabin {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  margin-bottom: clamp(20px, 2vw, 30px);
}

.stay-cabin--reverse .stay-cabin__image { order: 2; }
.stay-cabin--reverse .stay-cabin__copy { order: 1; }

.stay-cabin__image {
  display: block;
  width: 100%;
  aspect-ratio: 765 / 509;
  border: 1px solid rgba(189, 160, 120, 0.58);
  object-fit: contain;
}

.stay-cabin__image b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0.02em; }

.stay-cabin__copy {
  position: relative;
  max-width: 500px;
  padding: 30px 0;
}

.stay-cabin__number { display: flex; align-items: center; gap: 18px; color: var(--forest); font-family: var(--serif); font-size: 15px; letter-spacing: 0.08em; }
.stay-cabin__number i { width: 90px; height: 1px; background: rgba(18, 37, 29, 0.28); }

.stay-cabin__copy h2 {
  margin: 24px 0 14px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.stay-cabin__features {
  margin: 0;
  color: rgba(18, 37, 29, 0.9);
  font-size: 10px;
  letter-spacing: 0.25em;
  line-height: 1.8;
  text-transform: uppercase;
}

.stay-cabin__features span { padding: 0 8px; color: #8e7959; }

.stay-cabin__description {
  max-width: 480px;
  margin: 26px 0 30px;
  color: rgba(18, 37, 29, 0.9);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
}

.stay-page__footer { padding: 26px 24px 54px; text-align: center; }
.stay-page__footer a { color: #766447; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.stay-page__footer a span { padding-left: 7px; color: var(--bronze); }

.stay-preview__link:focus-visible,
.stay-cabin__link:focus-visible,
.stay-page__footer a:focus-visible { outline: 2px solid #a88d65; outline-offset: 5px; }

.site-nav a:focus-visible,
.button:focus-visible,
.scroll-cue:focus-visible,
.feature-card:focus-visible { outline: 2px solid #a88d65; outline-offset: 5px; }

.menu-toggle:focus-visible { outline: none; }

@media (min-width: 1600px) {
  .site-header { min-height: 205px; }
}

@media (max-height: 960px) {
  .hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(10, 18, 15, 0.3);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .hero.menu-open::after { opacity: 1; }
}

@media (max-width: 980px) {
  .experience__layout { min-height: 0; grid-template-columns: 1fr; gap: 34px; }
  .experience__visual { width: min(100%, 720px); margin: 0 auto; }
  .experience__visual img { height: auto; min-height: 0; max-height: none; aspect-ratio: 0.82 / 1; }
  .experience__content { width: min(100%, 820px); margin: 0 auto; }
  .experience-details { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
  .experience-details li { min-height: 112px; padding: 14px 10px; gap: 9px; }
  .experience-details li + li { border-left: 0; }
  .experience-details li:nth-child(odd) { border-right: 1px solid rgba(189, 160, 120, 0.48); }
  .experience-details li:nth-child(n+3) { border-top: 1px solid rgba(189, 160, 120, 0.48); }
  .experience-details svg { width: 40px; height: 40px; }
  .experience-details span { max-width: 180px; font-size: 10px; letter-spacing: 0.21em; }
  .experience__promise { margin-top: 40px; }
}

@media (max-width: 1100px) {
  .stay-preview__layout { grid-template-columns: 1fr; gap: 30px; }
  .stay-preview__image { width: min(100%, 900px); margin: 0 auto; }
  .stay-preview__copy { width: min(100%, 900px); max-width: none; margin: 0 auto; }
  .stay-cabins { width: min(100% - 48px, 900px); }
  .stay-cabin,
  .stay-cabin--reverse { grid-template-columns: 1fr; gap: 20px; margin-bottom: 54px; }
  .stay-cabin__image,
  .stay-cabin--reverse .stay-cabin__image { order: 0; }
  .stay-cabin__copy,
  .stay-cabin--reverse .stay-cabin__copy { order: 1; max-width: none; padding: 8px 0 4px; }
}

@media (max-width: 760px) {
  .hero__image { background-position: 59% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 19, 18, 0.31), rgba(10, 19, 18, 0.11) 35%, rgba(8, 15, 15, 0.3) 75%, rgba(8, 15, 15, 0.49)); }
  .site-header { min-height: 136px; }
  .brand { top: 30px; }
  .brand__mark { font-size: 68px; }
  .brand__name { margin-top: 56px; font-size: 18px; letter-spacing: 0.17em; }
  .brand__tagline { margin-top: 5px; font-size: 14px; }
  .hero__content { width: calc(100% - 34px); padding: 30px 0; transform: translateY(7px); }
  h1 { max-width: 580px; font-size: clamp(32px, 6.5vw, 48px); }
  .button { min-width: min(310px, 90vw); min-height: 56px; font-size: 12px; }
  .hero__footer { min-height: 76px; }
  .retreat-intro { padding: 66px 20px 72px; }
  .retreat-intro__copy { margin-bottom: 34px; }
  .retreat-intro h2 { font-size: clamp(34px, 7vw, 46px); }
  .retreat-intro__copy > p { margin-top: 16px; font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; width: min(100%, 600px); margin: 0 auto; }
  .feature-card__body { padding: 16px 14px 19px; }
  .experience { padding: 30px 20px 44px; }
  .experience__layout { min-height: 0; grid-template-columns: 1fr; gap: 34px; }
  .experience__visual img { height: auto; min-height: 0; max-height: 72vh; aspect-ratio: 0.82 / 1; }
  .experience__content { padding: 0; }
  .experience__eyebrow { gap: 14px; font-size: 9px; letter-spacing: 0.29em; }
  .experience__content h2 { margin: 22px 0 18px; font-size: clamp(40px, 8.5vw, 56px); }
  .experience__story { font-size: 17px; line-height: 1.55; }
  .experience__story p { margin-bottom: 14px; }
  .experience-details { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; }
  .experience-details li { min-height: 112px; padding: 14px 10px; gap: 9px; }
  .experience-details li + li { border-left: 0; }
  .experience-details li:nth-child(odd) { border-right: 1px solid rgba(189, 160, 120, 0.48); }
  .experience-details li:nth-child(n+3) { border-top: 1px solid rgba(189, 160, 120, 0.48); }
  .experience-details svg { width: 38px; height: 38px; }
  .experience-details span { max-width: 150px; font-size: 9px; letter-spacing: 0.19em; }
  .experience__promise { gap: 12px; margin-top: 34px; }
  .experience__closing { margin-top: 12px; font-size: 28px; }
  .stay-preview { padding: 48px 20px 58px; }
  .stay-preview__layout { gap: 26px; }
  .stay-preview__copy h2 { font-size: 42px; }
  .stay-preview__copy > p:not(.stay-preview__eyebrow) { margin: 14px 0 24px; font-size: 18px; }
  .stay-cabins { width: min(100% - 40px, 680px); }
  .stay-cabin { margin-bottom: 46px; }
  .stay-cabin__image b { font-size: 26px; }
  .stay-cabin__copy h2 { margin: 18px 0 12px; font-size: 44px; }
  .stay-cabin__description { margin: 20px 0 24px; font-size: 18px; }
}

@media (max-width: 390px) {
  .brand__mark { font-size: 61px; }
  .brand__name { font-size: 16px; letter-spacing: 0.13em; }
  h1 { font-size: 40px; }
  h1 { font-size: clamp(29px, 7.6vw, 40px); }
}

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

/* Philosophy page — scoped styles keep the existing pages unchanged. */
.philosophy-page { background: var(--cream); color: var(--forest); }
.philosophy-page .site-header { min-height: 290px; }
.philosophy-page .brand__mark,
.philosophy-page .brand__name,
.philosophy-page .brand__tagline { text-shadow: none; }

.philosophy-hero,
.philosophy-commitment {
  position: relative;
  display: grid;
  min-height: clamp(420px, 48vw, 620px);
  place-items: center;
  overflow: hidden;
  background: #849188;
  color: var(--cream);
  text-align: center;
}

.philosophy-placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(189, 160, 120, 0.55);
  background-color: #b9beb3;
  color: rgba(18, 37, 29, 0.72);
  text-align: center;
}

.philosophy-placeholder > img { display: block; width: 100%; height: auto; }

.philosophy-placeholder > span {
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.philosophy-placeholder--scenic { background-color: #8c9991; }
.philosophy-placeholder--interior,
.philosophy-placeholder--trail,
.philosophy-placeholder--portrait,
.philosophy-placeholder--property { aspect-ratio: auto; }
.philosophy-placeholder--interior { background-color: #a69c89; }
.philosophy-placeholder--trail { background-color: #79877b; }
.philosophy-placeholder--portrait { min-height: 0; background-color: #a9a69a; }
.philosophy-placeholder--property { background-color: #8b9382; }

.philosophy-hero > .philosophy-placeholder,
.philosophy-commitment > .philosophy-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.philosophy-hero > .philosophy-placeholder > img,
.philosophy-commitment > .philosophy-placeholder > img { width: 100%; height: 100%; object-fit: cover; }
.philosophy-hero > .philosophy-placeholder > img { object-position: center 46%; }
.philosophy-commitment > .philosophy-placeholder > img { object-position: center 64%; }

.philosophy-hero > .philosophy-placeholder::after,
.philosophy-commitment > .philosophy-placeholder::after {
  position: absolute;
  inset: 0;
  background: rgba(18, 37, 29, 0.15);
  content: "";
}

.philosophy-hero > .philosophy-placeholder > span,
.philosophy-commitment > .philosophy-placeholder > span {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 16px;
  padding: 0;
  color: rgba(245, 241, 231, 0.7);
  font-size: 9px;
}

.philosophy-hero__copy,
.philosophy-commitment__copy {
  position: relative;
  z-index: 2;
  width: min(100% - 44px, 940px);
  padding: 54px 0;
}

.philosophy-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #766447;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.philosophy-eyebrow > i {
  display: block;
  width: min(90px, 14vw);
  height: 1px;
  background: rgba(189, 160, 120, 0.8);
}

.philosophy-hero .philosophy-eyebrow,
.philosophy-commitment .philosophy-eyebrow { color: var(--cream); }

.philosophy-hero h1 {
  display: block;
  margin: 24px 0 14px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(42px, 5.3vw, 72px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(18, 37, 29, 0.2);
}

.philosophy-hero__copy > p,
.philosophy-commitment__copy > p {
  max-width: 730px;
  margin: 0 auto;
  color: rgba(245, 241, 231, 0.96);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.philosophy-feature {
  display: grid;
  width: min(100% - 48px, 1480px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.philosophy-feature--belief { grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); }
.philosophy-feature--distance { grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr); }
.philosophy-feature--personal { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); }

.philosophy-feature__copy {
  position: relative;
  max-width: 540px;
  padding: 24px 54px 24px 0;
}

.philosophy-eyebrow--left { justify-content: flex-start; gap: 18px; }
.philosophy-eyebrow--left > i { width: 76px; background: rgba(18, 37, 29, 0.28); }

.philosophy-feature h2,
.philosophy-founder h2 {
  margin: 18px 0 12px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.philosophy-feature__copy > p,
.philosophy-founder__bio > p {
  margin: 0;
  color: rgba(18, 37, 29, 0.9);
  font-family: var(--serif);
  font-size: clamp(17px, 1.42vw, 21px);
  line-height: 1.48;
}

.philosophy-founder__bio > p + p { margin-top: 12px; }
.philosophy-botanical { position: absolute; top: 50%; right: 0; width: 54px; height: 150px; fill: none; opacity: 0.32; pointer-events: none; stroke: #9f8b6b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.8; transform: translateY(-50%); }

.philosophy-founder {
  display: grid;
  width: min(100% - 48px, 1380px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.78fr) minmax(190px, 0.58fr);
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 100px) 0;
  border-top: 1px solid rgba(18, 37, 29, 0.12);
  border-bottom: 1px solid rgba(18, 37, 29, 0.12);
}

.philosophy-founder__bio h2 { margin-top: 18px; }
.philosophy-founder__quote { margin: 0; padding: 10px 0 10px 24px; border-left: 1px solid rgba(189, 160, 120, 0.7); }
.philosophy-founder__quote p { margin: 0; color: var(--forest); font-family: var(--serif); font-size: clamp(23px, 2.25vw, 32px); font-style: italic; line-height: 1.35; }
.philosophy-founder__quote footer { margin-top: 22px; color: #766447; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }

.philosophy-personal__copy { max-width: 650px; }
.philosophy-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; padding: 0; list-style: none; }
.philosophy-values li { display: flex; min-height: 92px; align-items: center; flex-direction: column; justify-content: center; gap: 9px; padding: 8px 14px; text-align: center; }
.philosophy-values li + li { border-left: 1px solid rgba(189, 160, 120, 0.55); }
.philosophy-values svg { width: 40px; height: 40px; fill: none; stroke: #8d795b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.1; }
.philosophy-values span { color: var(--forest); font-size: 9px; letter-spacing: 0.19em; line-height: 1.6; text-transform: uppercase; }

.philosophy-commitment { min-height: clamp(390px, 42vw, 540px); }
.philosophy-commitment h2 { margin: 22px 0 12px; color: var(--cream); font-family: var(--serif); font-size: clamp(38px, 4.5vw, 60px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.15; }

.philosophy-page a:focus-visible,
.philosophy-page button:focus-visible { outline: 2px solid #a88d65; outline-offset: 5px; }

@media (max-width: 980px) {
  .philosophy-feature,
  .philosophy-feature--belief,
  .philosophy-feature--distance,
  .philosophy-feature--personal { grid-template-columns: 1fr; gap: 26px; width: min(100% - 40px, 740px); padding: 52px 0; }
  .philosophy-feature--belief .philosophy-placeholder { order: 0; }
  .philosophy-feature--belief .philosophy-feature__copy { order: 1; }
  .philosophy-feature--distance .philosophy-placeholder,
  .philosophy-feature--personal .philosophy-placeholder { order: 0; }
  .philosophy-feature--distance .philosophy-feature__copy,
  .philosophy-feature--personal .philosophy-feature__copy { order: 1; }
  .philosophy-feature__copy { max-width: none; padding: 12px 60px 12px 0; }
  .philosophy-founder { grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr); width: min(100% - 40px, 740px); gap: 28px; padding: 54px 0; }
  .philosophy-founder__quote { grid-column: 1 / -1; max-width: 620px; margin-left: auto; }
  .philosophy-founder__bio { align-self: center; }
}

@media (max-width: 760px) {
  .philosophy-page .site-header { min-height: 290px; }
  .philosophy-hero { min-height: 440px; }
  .philosophy-hero__copy { width: calc(100% - 38px); padding: 42px 0; }
  .philosophy-eyebrow { gap: 12px; font-size: 10px; letter-spacing: 0.3em; }
  .philosophy-eyebrow > i { width: min(52px, 12vw); }
  .philosophy-hero h1 { margin: 20px 0 14px; font-size: clamp(36px, 9vw, 48px); }
  .philosophy-hero__copy > p,
  .philosophy-commitment__copy > p { font-size: 17px; }
  .philosophy-feature,
  .philosophy-feature--belief,
  .philosophy-feature--distance,
  .philosophy-feature--personal { width: calc(100% - 40px); padding: 46px 0; }
  .philosophy-feature h2,
  .philosophy-founder h2 { font-size: 42px; }
  .philosophy-feature__copy > p,
  .philosophy-founder__bio > p { font-size: 18px; }
  .philosophy-placeholder--portrait { min-height: 0; aspect-ratio: auto; }
  .philosophy-founder { grid-template-columns: 1fr; width: calc(100% - 40px); gap: 24px; padding: 46px 0; }
  .philosophy-founder__quote { grid-column: auto; max-width: none; margin: 0; }
  .philosophy-values { margin-top: 24px; }
  .philosophy-values li { min-height: 86px; padding: 8px 7px; }
  .philosophy-values svg { width: 34px; height: 34px; }
  .philosophy-values span { font-size: 8px; letter-spacing: 0.12em; }
  .philosophy-commitment { min-height: 400px; }
  .philosophy-commitment__copy { width: calc(100% - 40px); padding: 44px 0; }
  .philosophy-commitment h2 { font-size: 38px; }
}

.experiences-page { background: var(--cream); color: var(--forest); }
.experiences-page .site-header { min-height: 290px; }
.experiences-page .brand__mark,
.experiences-page .brand__name,
.experiences-page .brand__tagline { text-shadow: none; }

.experiences-hero {
  position: relative;
  display: grid;
  min-height: clamp(390px, 42vw, 570px);
  place-items: center;
  overflow: hidden;
  background: #67756b;
  color: var(--cream);
  text-align: center;
}

.experiences-hero::after,
.experiences-rest::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(18, 37, 29, 0.2);
  content: "";
  pointer-events: none;
}

.experiences-hero__placeholder,
.experiences-rest__placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.experiences-hero__placeholder { object-position: center 45%; }
.experiences-rest__placeholder { object-position: center 55%; }

.experiences-hero__copy {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 920px);
  padding: 42px 0 58px;
  transform: translateY(-34px);
}

.experiences-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.experiences-eyebrow span { width: min(110px, 16vw); height: 1px; background: rgba(189, 160, 120, 0.75); }

.experiences-eyebrow p {
  margin: 0;
  color: #786a50;
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.experiences-hero .experiences-eyebrow p { color: var(--cream); }

.experiences-hero h1 {
  display: block;
  margin: 24px 0 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(39px, 5.2vw, 66px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: none;
}

.experiences-hero__copy > p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(245, 241, 231, 0.94);
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.experiences-days {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
  padding: 4px 0 26px;
}

.experiences-day {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
  margin: 0 0 clamp(14px, 2vw, 28px);
}

.experiences-day--reverse .experiences-day__photo { order: 2; }
.experiences-day--reverse .experiences-day__copy { order: 1; }

.experiences-day__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 1px solid rgba(189, 160, 120, 0.54);
  object-fit: contain;
}

.experiences-day__copy {
  position: relative;
  max-width: 520px;
  padding: 40px 76px 40px 0;
}

.experiences-day__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.experiences-day__eyebrow i { width: 90px; height: 1px; background: rgba(18, 37, 29, 0.28); }

.experiences-day__copy h2 {
  margin: 16px 0 4px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.experiences-day__label {
  margin: 0;
  color: #766447;
  font-size: 10px;
  letter-spacing: 0.27em;
  line-height: 1.8;
  text-transform: uppercase;
}

.experiences-day__description {
  margin: 18px 0 0;
  color: rgba(18, 37, 29, 0.9);
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.52;
}

.experiences-day__link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bronze);
  color: var(--forest);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.experiences-day__link:hover { gap: 21px; color: #766447; }

.experiences-day__botanical {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 54px;
  height: 150px;
  fill: none;
  opacity: 0.38;
  pointer-events: none;
  stroke: #9f8b6b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.8;
  transform: translateY(-50%);
}

.experiences-rest {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  background: #223a2f;
  color: var(--cream);
  text-align: center;
}

.experiences-rest__copy { position: relative; z-index: 1; width: min(100% - 48px, 870px); padding: 62px 0; }
.experiences-rest .experiences-eyebrow p { color: var(--cream); }

.experiences-rest h2 {
  margin: 22px 0 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.experiences-rest__copy > p {
  max-width: 740px;
  margin: 0 auto;
  color: rgba(245, 241, 231, 0.94);
  font-family: var(--serif);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.experiences-day__link:focus-visible { outline: 2px solid #a88d65; outline-offset: 5px; }

@media (max-width: 980px) {
  .experiences-page .site-header { min-height: 290px; }
  .experiences-hero { min-height: 390px; }
  .experiences-days { width: min(100% - 40px, 740px); padding-top: 22px; }
  .experiences-day,
  .experiences-day--reverse { grid-template-columns: 1fr; gap: 18px; margin-bottom: 46px; }
  .experiences-day__photo,
  .experiences-day--reverse .experiences-day__photo { order: 0; }
  .experiences-day__copy,
  .experiences-day--reverse .experiences-day__copy { order: 1; max-width: none; padding: 6px 70px 10px 0; }
  .experiences-day__botanical { right: 4px; }
  .experiences-rest { min-height: 390px; }
}

@media (max-width: 760px) {
  .experiences-page .site-header { min-height: 290px; }
  .experiences-hero { min-height: 420px; }
  .experiences-hero__copy { width: calc(100% - 40px); padding: 36px 0 52px; }
  .experiences-eyebrow { gap: 12px; }
  .experiences-eyebrow p { font-size: 9px; letter-spacing: 0.28em; }
  .experiences-hero h1 { margin: 21px 0 12px; font-size: clamp(36px, 9vw, 48px); }
  .experiences-hero__copy > p { font-size: 17px; }
  .experiences-hero__copy { transform: translateY(-18px); }
  .experiences-day__copy,
  .experiences-day--reverse .experiences-day__copy { padding-right: 48px; }
  .experiences-day__copy h2 { font-size: 44px; }
  .experiences-day__description { font-size: 18px; }
  .experiences-day__botanical { width: 42px; height: 126px; right: -2px; opacity: 0.28; }
  .experiences-rest { min-height: 450px; }
  .experiences-rest__copy { width: calc(100% - 40px); padding: 48px 0; }
  .experiences-rest h2 { font-size: 38px; }
  .experiences-rest__copy > p { font-size: 17px; }
}

/* Gallery page styles are scoped so the existing pages remain unchanged. */
.gallery-page {
  background: var(--cream);
  color: var(--forest);
}

.gallery-page .site-header { min-height: 290px; }
.gallery-page .brand__mark,
.gallery-page .brand__name,
.gallery-page .brand__tagline { text-shadow: none; }

.gallery-hero {
  position: relative;
  display: flex;
  min-height: clamp(300px, 33vw, 430px);
  align-items: flex-end;
  overflow: hidden;
  background: #536458;
  color: var(--cream);
}

.gallery-hero__image,
.gallery-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-hero__image { object-fit: cover; object-position: center 50%; }
.gallery-hero__shade { background: linear-gradient(90deg, rgba(13, 27, 21, 0.78), rgba(13, 27, 21, 0.18) 78%), linear-gradient(0deg, rgba(12, 24, 19, 0.44), transparent 74%); }

.gallery-hero__copy {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 42px 0 50px;
}

.gallery-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gallery-eyebrow span { width: 35px; height: 1px; background: var(--bronze); }
.gallery-hero h1 { display: block; margin: 0; font-size: clamp(42px, 5.1vw, 72px); font-style: normal; font-weight: 400; letter-spacing: -0.035em; }
.gallery-hero__copy > p:last-child { max-width: 560px; margin: 8px 0 0; color: rgba(245, 241, 232, 0.93); font-family: var(--serif); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.45; }

.gallery-content { width: min(100% - 48px, 1440px); margin: 0 auto; padding: 26px 0 78px; }

.gallery-filters {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 25px;
}

.gallery-filters__rule { height: 1px; flex: 1 1 auto; background: rgba(18, 37, 29, 0.18); }
.gallery-filters__options { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 3.2vw, 48px); }

.gallery-filters button {
  position: relative;
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: rgba(18, 37, 29, 0.72);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.gallery-filters button::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--bronze); content: ""; transform: scaleX(0); transform-origin: center; transition: transform 220ms ease; }
.gallery-filters button:hover,
.gallery-filters button.is-selected { color: var(--forest); }
.gallery-filters button.is-selected::after { transform: scaleX(1); }
.gallery-filters button:focus-visible { outline: 1px solid #a88d65; outline-offset: 4px; }

.gallery-grid {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: clamp(54px, 5.3vw, 78px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 22px;
  align-items: stretch;
}

.gallery-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: stretch;
  gap: 5px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-card[hidden] { display: none; }
.gallery-card.is-hiding { opacity: 0; transform: translateY(8px) scale(0.99); }
.gallery-card--feature { grid-column: span 2; grid-row: span 4; }
.gallery-card--landscape { grid-row: span 3; }
.gallery-card--medium { grid-row: span 4; }
.gallery-card--portrait { grid-row: span 5; }
.gallery-card--square { grid-row: span 4; }

.gallery-card__trigger {
  display: block;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #d6d5c8;
  cursor: zoom-in;
}

.gallery-card__trigger img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery-card__trigger:hover img,
.gallery-card__trigger:focus-visible img { transform: scale(1.025); }
.gallery-card__trigger:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.gallery-card__title { margin: 0; color: rgba(18, 37, 29, 0.92); font-family: var(--serif); font-size: 16px; font-style: italic; line-height: 1.25; }
.gallery-card__subtitle { margin: 0; color: #766447; font-size: 8px; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; }

.gallery-lightbox {
  width: min(100vw, 1500px);
  max-width: none;
  height: min(100dvh, 1050px);
  max-height: none;
  padding: 34px;
  border: 0;
  background: rgba(14, 24, 19, 0.97);
  color: var(--cream);
  overflow: hidden;
}

.gallery-lightbox::backdrop { background: rgba(8, 14, 11, 0.82); backdrop-filter: blur(4px); }
.gallery-lightbox__inner { position: relative; display: grid; width: 100%; height: 100%; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 18px; }
.gallery-lightbox__figure { display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; margin: 0; }
.gallery-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.gallery-lightbox__caption { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 2px 2px; }
.gallery-lightbox__title { font-family: var(--serif); font-size: 20px; font-style: italic; }
.gallery-lightbox__subtitle { color: var(--bronze); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.gallery-lightbox__close,
.gallery-lightbox__arrow { display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid rgba(189, 160, 120, 0.55); border-radius: 0; background: transparent; color: var(--cream); cursor: pointer; font-family: var(--serif); font-size: 26px; transition: color 180ms ease, background-color 180ms ease; }
.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover { background: rgba(245, 241, 232, 0.08); color: #fff; }
.gallery-lightbox__close { position: absolute; z-index: 2; top: 0; right: 0; width: 42px; height: 42px; border: 0; font-size: 34px; }
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__arrow:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

@media (max-width: 1050px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(58px, 7.2vw, 80px); gap: 26px 18px; }
  .gallery-card--feature { grid-column: span 2; }
  .gallery-filters { gap: 18px; }
  .gallery-filters__options { gap: 22px; }
}

@media (max-width: 700px) {
  .gallery-page .site-header { min-height: 290px; }
  .gallery-hero { min-height: 320px; }
  .gallery-hero__copy { width: calc(100% - 40px); padding: 34px 0 38px; }
  .gallery-hero h1 { font-size: clamp(38px, 10vw, 54px); }
  .gallery-content { width: calc(100% - 32px); padding: 16px 0 54px; }
  .gallery-filters { align-items: stretch; margin-bottom: 19px; }
  .gallery-filters__rule { display: none; }
  .gallery-filters__options { width: 100%; justify-content: space-between; gap: 8px 16px; }
  .gallery-filters button { min-height: 44px; font-size: 9px; letter-spacing: 0.14em; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 58px; gap: 22px; }
  .gallery-card--feature { grid-column: span 1; grid-row: span 4; }
  .gallery-card--landscape { grid-row: span 4; }
  .gallery-card--medium,
  .gallery-card--square { grid-row: span 4; }
  .gallery-card--portrait { grid-row: span 5; }
  .gallery-card__title { font-size: 17px; }
  .gallery-card__subtitle { font-size: 8px; }
  .gallery-lightbox { width: 100vw; height: 100dvh; padding: 56px 14px 16px; }
  .gallery-lightbox__inner { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
  .gallery-lightbox__arrow { width: 40px; height: 48px; }
  .gallery-lightbox__close { top: -44px; right: 0; }
  .gallery-lightbox__caption { flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 11px; }
  .gallery-lightbox__title { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card,
  .gallery-card__trigger img,
  .gallery-filters button::after { transition-duration: 0.01ms !important; }
}
