/* ==========================================================================
   Divintra Vista Hills
   Warm mountain-earth palette. Mobile-first. No framework, no build step.

   Contents
     01  Tokens
     02  Reset & base
     03  Typography helpers
     04  Buttons & icons
     05  Layout primitives
     06  Header & nav
     07  Hero
     08  About
     09  Rooms
     10  Amenities
     11  Gallery & lightbox
     12  Location
     13  Contact
     14  Footer
     15  404
     16  Reveal animation
     17  Responsive
     18  Print & reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   01  Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --cream:        #FAF7F2;
  --cream-2:      #F3EEE6;
  --cream-3:      #E8E0D4;
  --pine:         #2C3B32;
  --pine-2:       #222E27;
  --pine-3:       #1A241F;
  --brass:        #B08D57;
  --brass-2:      #9A7A48;
  --brass-soft:   #D9C4A3;
  --ink:          #2A2825;
  --ink-soft:     #5C574F;
  --ink-faint:    #8C857A;
  --line:         #DED5C7;
  --line-dark:    rgba(250, 247, 242, 0.16);

  /* Semantic */
  --bg:           var(--cream);
  --bg-alt:       var(--cream-2);
  --fg:           var(--ink);
  --fg-soft:      var(--ink-soft);
  --accent:       var(--brass);

  /* Type */
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-hero:   clamp(2.75rem, 9vw, 6rem);
  --fs-h2:     clamp(1.9rem, 4.2vw, 3.1rem);
  --fs-h3:     clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lede:   clamp(1rem, 1.5vw, 1.125rem);
  --fs-body:   1rem;
  --fs-sm:     0.875rem;
  --fs-xs:     0.78rem;

  /* Spacing */
  --gap:       1.5rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --wrap:      1220px;
  --wrap-pad:  clamp(1.25rem, 4vw, 2.5rem);

  /* Form */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow:    0 1px 2px rgba(42, 40, 37, 0.04),
               0 8px 24px -12px rgba(42, 40, 37, 0.14);
  --shadow-lg: 0 2px 4px rgba(42, 40, 37, 0.05),
               0 24px 60px -20px rgba(42, 40, 37, 0.28);

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h:  76px;
}

/* --------------------------------------------------------------------------
   02  Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Offset anchor targets so the sticky header never covers a heading. */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, address { margin: 0; }
address { font-style: normal; }
button {
  font: inherit; color: inherit; background: none;
  border: 0; padding: 0; cursor: pointer;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--pine);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   03  Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--brass-soft); }

.section-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section-title.light { color: var(--cream); }

.section-intro,
.lede {
  font-size: var(--fs-lede);
  color: var(--fg-soft);
  max-width: 56ch;
  margin-bottom: 1.1rem;
  text-wrap: pretty;
}
.section-intro.light { color: rgba(250, 247, 242, 0.72); }
.lede.muted { color: var(--ink-faint); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 62ch; }

/* --------------------------------------------------------------------------
   04  Buttons & icons
   -------------------------------------------------------------------------- */
.ico {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke-width: 1.5;
}
/* The whatsapp symbol is a filled path, not a stroked one. */
.ico use[href="#icon-whatsapp"] { }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.7rem 1.15rem; font-size: var(--fs-xs); }

.btn-primary {
  background: var(--pine);
  color: var(--cream);
  border-color: var(--pine);
}
.btn-primary:hover { background: var(--brass); border-color: var(--brass); }

.btn-outline {
  background: transparent;
  color: var(--pine);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--cream);
}

.btn-ghost {
  background: rgba(250, 247, 242, 0.1);
  color: var(--cream);
  border-color: rgba(250, 247, 242, 0.38);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--pine);
  border-color: var(--cream);
}

/* --------------------------------------------------------------------------
   05  Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

.section { padding-block: var(--section-y); position: relative; }

/* --------------------------------------------------------------------------
   06  Header & nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -8px rgba(42, 40, 37, 0.18);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}
.site-header.is-stuck .brand { color: var(--pine); }

.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 2px;
}

.site-nav ul { display: flex; gap: 1.9rem; }
.site-nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: rgba(250, 247, 242, 0.88);
  transition: color 0.28s var(--ease);
  padding-block: 0.4rem;
}
.site-header.is-stuck .site-nav a { color: var(--ink-soft); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--brass); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--cream);
  transition: color 0.28s var(--ease);
}
.site-header.is-stuck .header-phone { color: var(--pine); }
.header-phone:hover { color: var(--brass); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease),
              background 0.35s var(--ease);
}
.site-header.is-stuck .nav-toggle span,
body.nav-open .nav-toggle span { background: var(--pine); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   07  Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 10vh, 7rem);
  padding-top: var(--header-h);
  isolation: isolate;
}

/* Layering note: .hero is a stacking context (isolation: isolate), so a
   negative z-index child would paint BEHIND the hero's own background and
   vanish. All three layers therefore use positive z-index, and the dark
   fallback colour lives on .hero-media rather than on .hero. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--pine-3);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Warm grade, per the palette decision: cool-graded mountain photos read
     as a business hotel rather than a retreat. */
  filter: saturate(1.04) contrast(1.03) brightness(0.96) sepia(0.06);
  transform: scale(1.04);
  /* Kept short on purpose: the browser recomposites this filtered 2000px
     layer on every frame the animation runs, which on a mid-range phone is
     the most expensive thing on the page. 7s reads as a settle, not a
     Ken Burns pan, and costs a third of what a 24s drift did. */
  animation: heroDrift 7s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(26, 36, 31, 0.90) 0%,
      rgba(26, 36, 31, 0.55) 34%,
      rgba(26, 36, 31, 0.18) 64%,
      rgba(26, 36, 31, 0.45) 100%);
}

.hero-inner { position: relative; z-index: 2; color: var(--cream); }

.hero-kicker {
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: var(--brass-soft);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: var(--fs-lede);
  color: rgba(250, 247, 242, 0.8);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 24px; height: 54px;
  display: grid;
  place-items: end center;
}
.hero-scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom,
    rgba(250, 247, 242, 0) 0%,
    rgba(250, 247, 242, 0.65) 60%,
    rgba(250, 247, 242, 0) 100%);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
  50%      { opacity: 1;    transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   08  About
   -------------------------------------------------------------------------- */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.stat-row li { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--pine);
  /* Cormorant ships old-style figures by default, which sit below the
     baseline and read as ambiguous in numbers guests act on. Force lining
     figures anywhere a real quantity is shown. */
  font-variant-numeric: lining-nums;
}
.stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.about-figure { position: relative; }
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: saturate(1.03) sepia(0.04);
}
/* Thin brass frame offset behind the photo - a cheap, restrained detail
   that reads as considered rather than decorated. */
.about-figure-frame {
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--brass-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* --------------------------------------------------------------------------
   09  Rooms
   -------------------------------------------------------------------------- */
.rooms { background: var(--bg-alt); }

.room-grid {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.room-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-soft);
}

.room-media { overflow: hidden; background: var(--cream-3); }
.room-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.03) sepia(0.04);
  transition: transform 0.7s var(--ease);
}
.room-card:hover .room-media img { transform: scale(1.05); }

.room-body {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-name {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  color: var(--pine);
  margin-bottom: 0.9rem;
}

.room-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.room-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.room-facts .ico { color: var(--brass); }

.room-desc {
  font-size: var(--fs-sm);
  color: var(--fg-soft);
  margin-bottom: 1.25rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.room-amenities li {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.6rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}
.room-amenities .more { background: transparent; border-style: dashed; color: var(--brass-2); }

.room-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.room-rate { display: flex; align-items: baseline; gap: 0.32rem; }
.rate-from {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.rate-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--pine);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.rate-unit { font-size: var(--fs-xs); color: var(--ink-faint); }

.rates-note {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  max-width: 70ch;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   10  Amenities
   -------------------------------------------------------------------------- */
.amenities { background: var(--pine); }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.amenity {
  background: var(--pine);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: background 0.35s var(--ease);
}
.amenity:hover { background: var(--pine-2); }

.amenity-ico {
  width: 26px; height: 26px;
  color: var(--brass-soft);
  margin-bottom: 0.7rem;
  fill: none;
  stroke-width: 1.4;
}
.amenity-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
}
.amenity-note {
  font-size: var(--fs-xs);
  color: rgba(250, 247, 242, 0.55);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11  Gallery & lightbox
   -------------------------------------------------------------------------- */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-3);
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.03) sepia(0.04);
  transition: transform 0.75s var(--ease), filter 0.45s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(26, 36, 31, 0.72) 0%,
    rgba(26, 36, 31, 0.12) 46%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1rem 1.1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
  color: var(--cream);
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(21, 29, 25, 0.96);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.28s var(--ease);
}
.lightbox[hidden] { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-figure figcaption {
  font-size: var(--fs-sm);
  color: rgba(250, 247, 242, 0.72);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(250, 247, 242, 0.28);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.15rem;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.lightbox-close:hover { background: rgba(250, 247, 242, 0.14); border-color: var(--cream); }

.lightbox-nav {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(250, 247, 242, 0.28);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.3rem;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.lightbox-nav:hover { background: rgba(250, 247, 242, 0.14); border-color: var(--cream); }
.lightbox-nav.prev .ico { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   12  Location
   -------------------------------------------------------------------------- */
.location { background: var(--bg-alt); }

.location-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.location-address {
  display: flex;
  gap: 0.7rem;
  margin: 1.75rem 0;
  font-size: var(--fs-sm);
  color: var(--fg-soft);
  line-height: 1.75;
}
.location-address .ico {
  color: var(--brass);
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.3rem;
}

.travel-notes { margin-top: 2rem; display: grid; gap: 0.7rem; }
.travel-notes li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}
.travel-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.distance-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.distance-title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--pine);
  margin-bottom: 1.25rem;
}
.distance-list { display: grid; }
.distance-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.distance-row:last-child { border-bottom: 0; }
.distance-row dt { font-size: var(--fs-sm); color: var(--fg-soft); }
.distance-row dd {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--pine);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.distance-row dd .unset { color: var(--ink-faint); cursor: help; }
.distance-foot {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13  Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--pine-2); }
.contact .section-head { margin-inline: auto; text-align: center; }
.contact .section-intro { margin-inline: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(250, 247, 242, 0.03);
  transition: background 0.32s var(--ease), border-color 0.32s var(--ease),
              transform 0.32s var(--ease);
}
.contact-card:hover {
  background: rgba(250, 247, 242, 0.07);
  border-color: var(--brass);
  transform: translateY(-4px);
}
.contact-card.accent { border-color: rgba(176, 141, 87, 0.5); }

.contact-ico {
  width: 26px; height: 26px;
  color: var(--brass-soft);
  margin-bottom: 0.9rem;
  fill: none;
  stroke-width: 1.4;
}
.contact-card.accent .contact-ico { fill: var(--brass-soft); stroke: none; }

.contact-kind {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
}
.contact-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  word-break: break-word;
  line-height: 1.3;
  font-variant-numeric: lining-nums;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--brass-soft);
  transition: gap 0.28s var(--ease);
}
.contact-card:hover .contact-cta { gap: 0.8rem; }

/* --------------------------------------------------------------------------
   14  Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--pine-3); color: rgba(250, 247, 242, 0.72); }

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer-brand .brand-name {
  color: var(--cream);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.6rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass-soft);
  margin-bottom: 1.1rem;
}
.footer-address { font-size: var(--fs-sm); line-height: 1.8; color: rgba(250, 247, 242, 0.55); }

.footer-nav h4,
.footer-contact h4 {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.footer-nav ul,
.footer-contact ul { display: grid; gap: 0.65rem; }
.footer-nav a,
.footer-contact a {
  font-size: var(--fs-sm);
  transition: color 0.28s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--brass-soft); }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: rgba(250, 247, 242, 0.42);
}

/* --------------------------------------------------------------------------
   15  404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 70svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 4rem);
}
.error-page .btn { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   16  Reveal animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* If JS never runs, content must still be visible. main.js adds this class
   to <html> on load; without it, nothing is hidden. */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   17  Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-auto-rows: 200px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

@media (min-width: 860px) {
  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
  }
  .gallery-item.span-wide { grid-column: span 2; }
  .gallery-item.span-tall { grid-row: span 2; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .location-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Below 980px the horizontal nav does not fit alongside the brand and the
   phone number, so it becomes a full-screen panel. */
@media (max-width: 979px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.34s var(--ease), visibility 0.34s var(--ease);
  }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .site-nav a,
  .site-header.is-stuck .site-nav a {
    font-family: var(--serif);
    font-size: 1.9rem;
    color: var(--pine);
  }
  .header-actions { display: none; }
  .nav-toggle { display: flex; z-index: 2; }
  .brand { z-index: 2; }
  body.nav-open .brand { color: var(--pine); }
}

@media (max-width: 599px) {
  :root { --header-h: 64px; }
  .hero { align-items: flex-end; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox-figure { grid-row: 1; }
  .lightbox-nav.prev { grid-column: 1; justify-self: start; }
  .lightbox-nav.next { grid-column: 1; justify-self: end; }
  .lightbox-nav { grid-row: 2; }
  .about-figure-frame { inset: 1rem -1rem -1rem 1rem; }
  .room-foot { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   18  Print & reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-scroll, .lightbox, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .amenities, .contact, .site-footer { background: #fff !important; color: #000 !important; }
  .section-title.light, .eyebrow.light, .amenity-label, .contact-value { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
