/* Saint Michael's Cabin — timber, limestone & cave-light
   Signature: coral hand-painted signage on timber, one cave-light dark flip. */

:root {
  /* timber (from the stacked-log building) */
  --timber-900: #2a1b12;
  --timber-800: #3a2618;
  --timber-700: #4a3120;
  --timber-500: #7a5233;

  /* coral — the real hand-painted signage red */
  --coral: #d9503a;
  --coral-deep: #b33e2c;
  --coral-soft: #e7715e;

  /* limestone / parchment ground */
  --limestone: #e8e2d5;
  --parchment: #f4efe3;
  --parchment-2: #efe8d8;

  /* text */
  --ink: #2a1b12;
  --ink-soft: #574636;
  --stone: #8a8071;

  /* cave-light */
  --cave-ground: #150f22;
  --cave-magenta: #e0287a;
  --cave-blue: #3a49c9;

  --line: rgba(74, 49, 32, 0.16);
  --line-soft: rgba(74, 49, 32, 0.1);

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: min(1180px, calc(100% - 3rem));
  --header-h: 3.6rem;
  --radius: 3px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 1000;
  background: var(--timber-900);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

/* Waypoint label — place-anchored eyebrow with a coral routed rule */
.waypoint {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.waypoint::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  flex: none;
}

.waypoint--light {
  color: var(--coral-soft);
}

.waypoint--light::before {
  background: var(--coral);
}

.waypoint--cave {
  color: #f2b8cf;
}

.waypoint--cave::before {
  background: var(--cave-magenta);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--coral);
  border: 2px solid var(--coral);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline--dark {
  color: var(--timber-900);
  border-color: rgba(42, 27, 18, 0.4);
}

.btn-outline--dark:hover {
  background: var(--timber-900);
  border-color: var(--timber-900);
  color: #fff;
}

.btn-cave {
  background: var(--cave-magenta);
  border-color: var(--cave-magenta);
}

.btn-cave:hover {
  background: #fff;
  border-color: #fff;
  color: var(--cave-ground);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-block-sm {
  align-self: flex-start;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

/* Header — floating pill */
.site-header {
  position: fixed;
  inset: 0.85rem 0.85rem auto;
  z-index: 100;
  pointer-events: none;
}

.header-shell {
  pointer-events: auto;
  width: min(1180px, 100%);
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 0.45rem 0 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  background: rgba(244, 239, 227, 0.88);
  border: 1px solid rgba(74, 49, 32, 0.12);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(42, 27, 18, 0.14);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.site-header.is-scrolled .header-shell {
  background: rgba(244, 239, 227, 0.96);
  box-shadow: 0 12px 36px rgba(42, 27, 18, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
}

.brand-kicker {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--timber-900);
}

.brand-text--light .brand-kicker {
  color: var(--coral-soft);
}

.brand-text--light .brand-name {
  color: #fff;
}

.nav-desktop {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--ink);
  background: rgba(74, 49, 32, 0.08);
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: var(--coral);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
  grid-column: 3;
  justify-self: end;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--coral-deep);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 0;
  justify-self: end;
  grid-column: 3;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--timber-900);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(21, 15, 10, 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(21rem, 88vw);
  height: 100%;
  padding: 0 1.5rem 2rem;
  background: var(--timber-900);
  color: #fff;
  border-left: 4px solid var(--coral);
  box-shadow: -14px 0 44px rgba(21, 15, 10, 0.4);
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: calc(0.85rem + var(--header-h));
  padding: 0.85rem 0 0;
}

.nav-close {
  position: absolute;
  top: calc(0.85rem + (var(--header-h) - 2.5rem) / 2);
  right: calc(0.85rem + 0.45rem);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  font-size: 1.85rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
}

.nav-mobile-links a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-mobile-links a:hover {
  color: var(--coral-soft);
}

.nav-mobile-note {
  margin: auto 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--timber-900);
  margin-bottom: -1px;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  transform: scale(1.05);
  animation: hero-settle 16s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 90% at 12% 48%,
      rgba(21, 15, 10, 0.88) 0%,
      rgba(21, 15, 10, 0.62) 38%,
      rgba(21, 15, 10, 0.22) 68%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(21, 15, 10, 0.28) 0%,
      transparent 32%,
      rgba(21, 15, 10, 0.38) 100%
    );
}

.hero-beam {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(6.5rem, 14vh, 8.5rem) clamp(1.5rem, 6vw, 5rem)
    clamp(2.5rem, 6vh, 4rem);
  animation: rise 0.9s var(--ease) 0.15s both;
}

.hero-beam-inner {
  max-width: 38rem;
}

.hero-title {
  font-size: clamp(2.75rem, 7.5vw, 5.4rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-title span {
  color: var(--coral-soft);
}

.hero-sub {
  max-width: 32rem;
  margin: 0 0 1.45rem;
  font-size: clamp(1.02rem, 1.55vw, 1.14rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

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

.hero-facts {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.hero-facts li {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}

.hero-facts span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 0.15rem;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ ACCESS ============ */
.access {
  background: var(--timber-900);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  margin-top: -3px;
  box-shadow: 0 -6px 0 var(--timber-900);
}

.access-inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 0;
  font-size: 0.94rem;
}

.access-inner p {
  margin: 0;
}

.access-inner strong {
  color: var(--coral-soft);
  font-weight: 700;
}

.access-mark {
  flex: none;
  margin-top: 0.1rem;
  color: var(--coral-soft);
}

/* ============ STORY ============ */
.story {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.story-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.story-lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.story-body p {
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 0.9rem;
}

.story-alias {
  margin: 1.15rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--stone);
  max-width: none;
}

.story-alias em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--coral-deep);
}

.story-figure {
  margin: 0;
}

.story-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  border: 5px solid var(--parchment);
  box-shadow: 0 24px 55px rgba(42, 27, 18, 0.22);
}

.story-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--stone);
}

/* ============ CAVE (dark flip) ============ */
.cave {
  position: relative;
  overflow: hidden;
  background: var(--cave-ground);
  display: flex;
  align-items: center;
  min-height: 78vh;
}

.cave-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cave-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(21, 15, 34, 0.94) 0%,
      rgba(21, 15, 34, 0.78) 38%,
      rgba(21, 15, 34, 0.25) 72%,
      rgba(21, 15, 34, 0.15) 100%
    );
}

.cave-copy {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  max-width: none;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  color: #fff;
}

.cave-copy > * {
  max-width: 34rem;
}

.cave-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.cave-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

/* ============ KITCHEN ============ */
.kitchen {
  background: var(--timber-900);
  color: #fff;
}

.kitchen-grid {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  align-items: center;
}

.kitchen-board {
  display: flex;
  flex-direction: column;
}

.kitchen-head .waypoint {
  color: var(--coral-soft);
}

.kitchen-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: #fff;
  margin-bottom: 0.85rem;
}

.kitchen-note {
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin-bottom: 1.25rem;
}

.kitchen-lede {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  margin: 0 0 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.02rem;
}

.kitchen-figure {
  margin: 0;
}

.kitchen-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
}

/* ============ GALLERY MOSAIC ============ */
.gallery {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.gallery-head {
  margin-bottom: 2rem;
}

.gallery-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.tile {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--timber-800);
  border: none;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.tile-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1.4rem 1rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(21, 15, 10, 0.82));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.tile:hover img,
.tile:focus-visible img {
  transform: scale(1.05);
}

.tile:hover .tile-caption,
.tile:focus-visible .tile-caption {
  opacity: 1;
  transform: translateY(0);
}

.tile img {
  aspect-ratio: 3 / 2;
}

.tile--wide {
  grid-column: 1 / -1;
}

.tile--wide img {
  aspect-ratio: 16 / 7;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 3.5rem 1.25rem 1.5rem;
  background: rgba(21, 15, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(1100px, 100%);
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.lightbox-caption {
  margin: 0;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.lightbox-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  width: 2.85rem;
  height: 2.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(42, 27, 18, 0.75);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
}

body.lightbox-open {
  overflow: hidden;
}

/* ============ VISIT ============ */
.visit {
  background: var(--parchment);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 5.5rem;
}

.visit-inner {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.visit-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.visit-lede {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.visit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 0 14px 36px rgba(42, 27, 18, 0.08);
  max-width: 34rem;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 1rem;
  background: var(--timber-900);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
}

.open-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #58c07a;
}

.visit-details {
  margin: 0 0 1.35rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.visit-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.visit-details dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0;
}

.visit-details dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.4;
}

.visit-details a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 80, 58, 0.35);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.visit-details a:hover {
  color: var(--coral-deep);
  border-color: var(--coral);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.visit-photo {
  margin: 0;
}

.visit-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid var(--parchment-2);
  box-shadow: 0 20px 45px rgba(42, 27, 18, 0.18);
}

.visit-photo figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--stone);
}

.visit-map {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.visit-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  height: clamp(280px, 42vw, 360px);
  border: 5px solid var(--timber-800);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(42, 27, 18, 0.18);
  background: var(--limestone);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--timber-900);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: var(--wrap);
  margin-inline: auto;
  padding: 1.35rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--coral-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-credit {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #fff;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (min-width: 760px) {
  .story {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .cave-copy > * {
    max-width: 30rem;
  }

  .kitchen-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
  }

  .tile--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .tile--wide img {
    aspect-ratio: auto;
    height: 100%;
  }

  .tile:not(.tile--wide) img {
    aspect-ratio: 1;
  }

  .visit-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .site-header {
    inset: 1rem 1.25rem auto;
  }

  .header-shell {
    padding: 0 0.4rem 0 1rem;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-beam-inner {
    max-width: 36rem;
  }
}

@media (max-width: 759px) {
  .hero {
    margin-bottom: -2px;
  }

  .access {
    margin-top: -2px;
  }

  .hero-photo img {
    object-position: 42% 38%;
  }

  .hero-veil {
    background:
      radial-gradient(
        ellipse 120% 85% at 30% 55%,
        rgba(21, 15, 10, 0.82) 0%,
        rgba(21, 15, 10, 0.55) 45%,
        rgba(21, 15, 10, 0.28) 75%,
        rgba(21, 15, 10, 0.35) 100%
      ),
      linear-gradient(
        180deg,
        rgba(21, 15, 10, 0.35) 0%,
        rgba(21, 15, 10, 0.45) 40%,
        rgba(21, 15, 10, 0.78) 100%
      );
  }

  .hero-beam {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .story-figure img {
    aspect-ratio: 4 / 3;
  }

  .kitchen-figure {
    order: -1;
  }

  .visit-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .visit-actions .btn {
    flex: 1 1 auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo img,
  .hero-beam,
  .reveal,
  .tile img,
  .nav-mobile,
  .nav-backdrop {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-photo img {
    transform: none;
  }
}

/* Temporary: menu CTAs muted until live menu is accurate (MENU_LIVE in main.js) */
body.menu-offline [data-menu-cta] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
