/* Courtyard Antiques & Collectables - Otley */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Syne:wght@500;600;700&display=swap");

:root {
  --ink: #241c16;
  --ink-soft: #3a2f26;
  --parchment: #f8f3ea;
  --parchment-dim: #5c4e40;
  --amber: #b8892f;
  --amber-hot: #c9a24a;
  --ember: #9a6230;
  --stone: #7a6a58;
  --night: #1c1611;
  --paper: #f2efe8;
  --paper-deep: #e6e1d6;
  --mist: #ddd8cf;
  --glass: rgba(36, 28, 22, 0.42);
  --line: rgba(36, 28, 22, 0.12);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-ui: "Syne", "Gill Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(201, 162, 74, 0.14), transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(126, 148, 154, 0.12), transparent 40%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--ember);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

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

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Nav --- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--parchment);
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.brand-place {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.9;
}

.nav-links {
  display: none;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--parchment);
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.nav-links a:hover {
  color: var(--amber-hot);
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(232, 220, 200, 0.35);
  border-radius: 999px;
  background: rgba(12, 9, 7, 0.45);
  color: var(--parchment);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.nav-toggle span {
  font-size: 1.15rem;
  line-height: 1;
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(244, 239, 230, 0.96);
  backdrop-filter: blur(14px);
  padding: 5rem 2rem 2rem;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- Hero: journey through the doorway into the treasure trove --- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--parchment);
  perspective: 1400px;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-style: preserve-3d;
  animation: stage-rush 7.5s var(--ease) both;
}

@keyframes stage-rush {
  0% { transform: scale(1) translateZ(0); }
  28% { transform: scale(1.08) translate3d(-1%, 1%, 40px); }
  55% { transform: scale(1.22) translate3d(2%, -1%, 120px); }
  78% { transform: scale(1.12) translate3d(0, 0, 40px); }
  100% { transform: scale(1.04) translateZ(0); }
}

.hero-exterior,
.hero-doorway,
.hero-interior,
.hero-treasures {
  position: absolute;
  inset: 0;
}

.hero-exterior {
  z-index: 1;
  animation: exterior-dive 7.5s var(--ease) both;
}

@keyframes exterior-dive {
  0% { opacity: 1; transform: scale(1.02); filter: brightness(1); }
  35% { opacity: 1; transform: scale(1.18) translate3d(-2%, 2%, 0); filter: brightness(1.05); }
  58% { opacity: 0.35; transform: scale(1.45) translate3d(-4%, 3%, 0); filter: brightness(0.7) blur(2px); }
  75%, 100% { opacity: 0; transform: scale(1.6); filter: brightness(0.4) blur(4px); }
}

.hero-exterior picture,
.hero-exterior-img {
  width: 100%;
  height: 100%;
}

.hero-exterior-img {
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.08);
  animation: exterior-focus 7.5s var(--ease) both;
  filter: saturate(1.18) contrast(1.04) brightness(1.12);
}

@keyframes exterior-focus {
  0% { object-position: center 42%; transform: scale(1.06); }
  30% { object-position: 52% 48%; transform: scale(1.14); }
  55% { object-position: 55% 52%; transform: scale(1.28); }
  100% { object-position: 55% 50%; transform: scale(1.35); }
}

.hero-doorway {
  z-index: 2;
  clip-path: inset(42% 38% 28% 42% round 40% 40% 8% 8%);
  opacity: 0;
  animation: doorway-reveal 7.5s var(--ease) both;
}

.hero-doorway-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.22) brightness(1.14);
  transform: scale(1.15);
  animation: doorway-pull 7.5s var(--ease) both;
}

@keyframes doorway-reveal {
  0%, 12% { opacity: 0; clip-path: inset(48% 46% 42% 46% round 50%); }
  28% { opacity: 0.95; clip-path: inset(22% 28% 18% 34% round 42% 42% 10% 10%); }
  48% { opacity: 1; clip-path: inset(0% 8% 0% 18%); }
  68% { opacity: 0.55; clip-path: inset(0% 0% 0% 0%); }
  85%, 100% { opacity: 0; clip-path: inset(0% 0% 0% 0%); }
}

@keyframes doorway-pull {
  0%, 15% { transform: scale(1.2); }
  45% { transform: scale(1.05); }
  70% { transform: scale(1.25); }
  100% { transform: scale(1.4); }
}

.hero-interior {
  z-index: 3;
  clip-path: circle(0% at 58% 50%);
  opacity: 0;
  animation: interior-enter 7.5s var(--ease) both;
}

.hero-interior-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.2) brightness(1.12);
  transform: scale(1.25);
  animation: interior-settle 12s ease-in-out 5.2s infinite alternate;
}

@keyframes interior-enter {
  0%, 18% { opacity: 0; clip-path: circle(0% at 58% 50%); transform: scale(1.3); }
  32% { opacity: 0.85; clip-path: circle(14% at 58% 48%); transform: scale(1.22); }
  48% { opacity: 1; clip-path: ellipse(36% 48% at 60% 46%); transform: scale(1.12); }
  62% { opacity: 1; clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%); transform: scale(1.04); }
  100% { opacity: 1; clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); transform: scale(1); }
}

@keyframes interior-settle {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(1.2%, -0.8%, 0); }
}

.hero-treasures {
  z-index: 4;
  opacity: 0;
  mix-blend-mode: soft-light;
  animation: treasures-wash 7.5s var(--ease) both;
  pointer-events: none;
}

.hero-treasures-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.15);
  animation: treasures-drift 14s ease-in-out 5.5s infinite alternate;
}

@keyframes treasures-wash {
  0%, 45% { opacity: 0; }
  62% { opacity: 0.55; }
  78% { opacity: 0.35; }
  100% { opacity: 0.22; }
}

@keyframes treasures-drift {
  from { transform: scale(1.1) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-1.5%, 1%, 0); }
}

.hero-portal {
  position: absolute;
  z-index: 5;
  width: min(18%, 180px);
  height: min(42%, 380px);
  left: 58%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 46% 46% 12% 12% / 28% 28% 8% 8%;
  box-shadow:
    0 0 40px 16px rgba(255, 196, 96, 0.45),
    0 0 100px 36px rgba(212, 140, 48, 0.28),
    inset 0 0 50px rgba(255, 230, 170, 0.35);
  opacity: 0;
  animation: portal-journey 7.5s var(--ease) both, portal-pulse 5s ease-in-out 6.5s infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes portal-journey {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  12% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.55); }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  45% { opacity: 0.95; transform: translate(-50%, -50%) scale(2.4); width: min(55%, 520px); height: min(75%, 720px); }
  62% { opacity: 0.35; transform: translate(-50%, -50%) scale(4.5); }
  78%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(6); }
}

@keyframes portal-pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0; }
}

.hero-light-shaft {
  position: absolute;
  z-index: 5;
  left: 48%;
  top: 10%;
  width: min(50%, 420px);
  height: 120%;
  background: linear-gradient(
    195deg,
    rgba(255, 220, 150, 0) 0%,
    rgba(255, 200, 110, 0.18) 35%,
    rgba(255, 180, 80, 0.08) 60%,
    transparent 85%
  );
  transform: translateX(-40%) rotate(-8deg);
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: shaft-flare 7.5s var(--ease) both;
}

@keyframes shaft-flare {
  0%, 15% { opacity: 0; }
  30% { opacity: 0.85; }
  55% { opacity: 1; }
  75% { opacity: 0.4; }
  100% { opacity: 0.2; }
}

.hero-burst-glow {
  position: absolute;
  z-index: 5;
  width: min(80%, 760px);
  height: min(80%, 760px);
  left: 55%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 210, 130, 0.55) 0%, rgba(181, 106, 42, 0.22) 36%, transparent 68%);
  filter: blur(8px);
  opacity: 0;
  animation: burst-bloom 7.5s var(--ease) both, pulse-glow 7s ease-in-out 6.5s infinite;
  pointer-events: none;
}

@keyframes burst-bloom {
  0%, 20% { opacity: 0; transform: translate(-50%, -50%) scale(0.35); }
  38% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.85); }
  55% { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
  78% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

/* Floating curios rushing out of the doorway toward the viewer */
.hero-flotilla {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
  perspective: 900px;
}

.floater {
  position: absolute;
  display: block;
  opacity: 0;
  left: 56%;
  top: 48%;
  transform: translate(-50%, -50%) scale(0.2);
  animation: floater-rush 2.4s cubic-bezier(0.16, 0.84, 0.28, 1) forwards, floater-drift 8s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
  will-change: transform, opacity;
}

.floater-frame {
  width: clamp(70px, 12%, 140px);
  height: clamp(90px, 15%, 170px);
  border: 10px solid #c9a45a;
  box-shadow: inset 0 0 0 3px #5a4020, 0 0 24px rgba(212, 160, 74, 0.4);
  background: rgba(20, 12, 6, 0.35);
  animation-delay: 2.55s, 4.9s;
  --tx: 28%;
  --ty: -18%;
  --tz: 180px;
  --rot: -22deg;
  --sc: 1.15;
}

.floater-card {
  width: 42px;
  height: 60px;
  background: linear-gradient(145deg, #f4ebe0, #d9c7a8);
  border: 1px solid #8a7350;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.floater-card::after {
  content: "♠";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #2a1810;
}

.floater-card-a {
  animation-delay: 2.7s, 5.05s;
  --tx: 34%;
  --ty: 10%;
  --tz: 220px;
  --rot: 32deg;
  --sc: 1.25;
}

.floater-card-b {
  animation-delay: 2.85s, 5.2s;
  --tx: 16%;
  --ty: -28%;
  --tz: 160px;
  --rot: -48deg;
  --sc: 1.1;
}

.floater-card-b::after {
  content: "♥";
  color: #8b2a1a;
}

.floater-key {
  width: 56px;
  height: 18px;
  background:
    radial-gradient(circle at 12% 50%, transparent 40%, #c9a45a 41%, #c9a45a 70%, transparent 71%),
    linear-gradient(90deg, transparent 18%, #c9a45a 18%, #c9a45a 100%);
  border-radius: 50% 4px 4px 50%;
  animation-delay: 2.75s, 5.1s;
  --tx: 36%;
  --ty: 16%;
  --tz: 240px;
  --rot: 62deg;
  --sc: 1.3;
}

.floater-key-b {
  width: 48px;
  animation-delay: 3s, 5.35s;
  --tx: -18%;
  --ty: -22%;
  --tz: 140px;
  --rot: -78deg;
  --sc: 1.05;
}

.floater-book {
  width: 54px;
  height: 72px;
  background: linear-gradient(90deg, #5c2e18 0%, #8b4518 12%, #a05a28 50%, #6b3410 100%);
  border-radius: 2px 4px 4px 2px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.45);
  animation-delay: 2.65s, 5s;
  --tx: 22%;
  --ty: 24%;
  --tz: 200px;
  --rot: 14deg;
  --sc: 1.2;
}

.floater-clock {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 6px solid #b8924a;
  background:
    radial-gradient(circle, #efe6d4 0%, #efe6d4 62%, #3a2a18 63%),
    conic-gradient(from 0deg, transparent 0 8deg, #2a1810 8deg 10deg, transparent 10deg);
  animation-delay: 2.95s, 5.3s;
  --tx: -22%;
  --ty: -6%;
  --tz: 170px;
  --rot: 28deg;
  --sc: 1.15;
}

.floater-photo {
  width: clamp(72px, 10%, 130px);
  height: clamp(72px, 10%, 130px);
  object-fit: cover;
  border: 3px solid rgba(232, 220, 200, 0.6);
  border-radius: 2px;
  animation-delay: 3.05s, 5.4s;
  --tx: 38%;
  --ty: -8%;
  --tz: 280px;
  --rot: 16deg;
  --sc: 1.35;
}

.floater-photo-b {
  animation-delay: 3.2s, 5.55s;
  --tx: 12%;
  --ty: 28%;
  --tz: 260px;
  --rot: -26deg;
  --sc: 1.4;
  width: clamp(64px, 9%, 116px);
  height: clamp(64px, 9%, 116px);
}

.floater-photo-c {
  animation-delay: 3.35s, 5.7s;
  --tx: 30%;
  --ty: -26%;
  --tz: 300px;
  --rot: 38deg;
  --sc: 1.45;
  width: clamp(56px, 8%, 104px);
  height: clamp(56px, 8%, 104px);
}

.floater-photo-d {
  animation-delay: 3.15s, 5.5s;
  --tx: -28%;
  --ty: 18%;
  --tz: 220px;
  --rot: -18deg;
  --sc: 1.25;
  width: clamp(58px, 8%, 108px);
  height: clamp(58px, 8%, 108px);
}

.floater-photo-e {
  animation-delay: 3.4s, 5.75s;
  --tx: -12%;
  --ty: -30%;
  --tz: 250px;
  --rot: 44deg;
  --sc: 1.3;
  width: clamp(52px, 7.5%, 96px);
  height: clamp(52px, 7.5%, 96px);
}

.floater-photo-f {
  animation-delay: 3.5s, 5.85s;
  --tx: 40%;
  --ty: 20%;
  --tz: 320px;
  --rot: -34deg;
  --sc: 1.5;
  width: clamp(60px, 8.5%, 112px);
  height: clamp(60px, 8.5%, 112px);
}

.floater-photo-g {
  animation-delay: 3.25s, 5.6s;
  --tx: -32%;
  --ty: -14%;
  --tz: 210px;
  --rot: 12deg;
  --sc: 1.28;
  width: clamp(64px, 9%, 118px);
  height: clamp(64px, 9%, 118px);
}

.floater-photo-h {
  animation-delay: 3.55s, 5.9s;
  --tx: 6%;
  --ty: -34%;
  --tz: 270px;
  --rot: -40deg;
  --sc: 1.35;
  width: clamp(50px, 7%, 92px);
  height: clamp(50px, 7%, 92px);
}

@keyframes floater-rush {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, -80px) scale(0.15) rotate(0deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0.95;
    transform: translate3d(calc(-50% + var(--tx)), calc(-50% + var(--ty)), var(--tz, 200px)) rotate(var(--rot)) scale(var(--sc, 1.2));
  }
}

@keyframes floater-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 8px -14px; }
}

.hero-dust {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  overflow: hidden;
}

.hero-dust span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150, 0.95), transparent 70%);
  opacity: 0;
  animation: float-dust linear infinite;
}

.hero-dust span:nth-child(1) { left: 55%; top: 70%; animation-duration: 11s; animation-delay: 2.2s; }
.hero-dust span:nth-child(2) { left: 62%; top: 58%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: 1.5s; }
.hero-dust span:nth-child(3) { left: 70%; top: 65%; animation-duration: 13s; animation-delay: 2.8s; }
.hero-dust span:nth-child(4) { left: 48%; top: 72%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 2s; }
.hero-dust span:nth-child(5) { left: 78%; top: 50%; animation-duration: 10s; animation-delay: 3.2s; }
.hero-dust span:nth-child(6) { left: 66%; top: 42%; width: 2px; height: 2px; animation-duration: 18s; animation-delay: 2.4s; }
.hero-dust span:nth-child(7) { left: 58%; top: 48%; animation-duration: 12s; animation-delay: 1.8s; }
.hero-dust span:nth-child(8) { left: 84%; top: 62%; animation-duration: 14s; animation-delay: 3.5s; }
.hero-dust span:nth-child(9) { left: 44%; top: 40%; animation-duration: 16s; animation-delay: 2.6s; }
.hero-dust span:nth-child(10) { left: 72%; top: 34%; width: 2px; height: 2px; animation-duration: 11s; animation-delay: 3.8s; }
.hero-dust span:nth-child(11) { left: 50%; top: 55%; animation-duration: 17s; animation-delay: 2.1s; }
.hero-dust span:nth-child(12) { left: 88%; top: 45%; animation-duration: 13s; animation-delay: 4s; }
.hero-dust span:nth-child(13) { left: 40%; top: 60%; animation-duration: 14s; animation-delay: 3s; }
.hero-dust span:nth-child(14) { left: 75%; top: 70%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 2.3s; }
.hero-dust span:nth-child(15) { left: 53%; top: 38%; animation-duration: 15s; animation-delay: 3.3s; }
.hero-dust span:nth-child(16) { left: 68%; top: 76%; width: 2px; height: 2px; animation-duration: 19s; animation-delay: 2.7s; }

@keyframes float-dust {
  0% { transform: translate3d(0, 30px, 0) scale(0.5); opacity: 0; }
  12% { opacity: 0.95; }
  70% { opacity: 0.5; }
  100% { transform: translate3d(-50px, -160px, 0) scale(1.35); opacity: 0; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 8;
  background:
    linear-gradient(90deg, rgba(28, 22, 17, 0.55) 0%, rgba(28, 22, 17, 0.18) 38%, rgba(28, 22, 17, 0.04) 58%, rgba(28, 22, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(28, 22, 17, 0.28) 0%, transparent 30%, transparent 48%, rgba(28, 22, 17, 0.68) 100%);
  pointer-events: none;
  animation: shade-ease 7.5s var(--ease) both;
}

@keyframes shade-ease {
  0%, 35% { opacity: 1; }
  55% { opacity: 0.75; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 9;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 10vh, 6rem);
  max-width: 36rem;
  margin-left: clamp(1.25rem, 6vw, 5rem);
  animation: rise-in 1.3s var(--ease) 0.2s both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
  margin: 0 0 1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.75);
}

.hero-brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-hot);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 0.85rem;
  color: var(--parchment);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--parchment-dim);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.45rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-hot);
  color: var(--ink);
}

.btn-ghost {
  background: rgba(255, 252, 247, 0.55);
  color: var(--ink);
  border-color: rgba(36, 28, 22, 0.22);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: var(--ember);
  border-color: var(--amber);
}

.hero .btn-ghost {
  background: rgba(28, 22, 17, 0.35);
  color: var(--parchment);
  border-color: rgba(248, 243, 234, 0.4);
}

.hero .btn-ghost:hover {
  color: var(--amber-hot);
  border-color: var(--amber);
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 220, 200, 0.65);
  text-decoration: none;
  animation: bob 2.4s ease-in-out 5s infinite;
  opacity: 0;
  animation-fill-mode: both;
}

@keyframes bob {
  0% { opacity: 0; transform: translate(-50%, 0); }
  12% { opacity: 1; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 7px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 700px) {
  .hero-exterior-img {
    object-position: center 48%;
  }

  @keyframes exterior-focus {
    0% { object-position: center 45%; transform: scale(1.08); }
    30% { object-position: 50% 50%; transform: scale(1.16); }
    55% { object-position: 52% 52%; transform: scale(1.28); }
    100% { object-position: 52% 50%; transform: scale(1.35); }
  }

  @keyframes interior-enter {
    0%, 18% { opacity: 0; clip-path: circle(0% at 52% 48%); transform: scale(1.3); }
    35% { opacity: 0.9; clip-path: circle(18% at 52% 46%); transform: scale(1.18); }
    55% { opacity: 1; clip-path: ellipse(48% 55% at 55% 45%); transform: scale(1.08); }
    70% { opacity: 1; clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); transform: scale(1.02); }
    100% { opacity: 1; clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); transform: scale(1); }
  }

  .floater-photo-h,
  .floater-photo-e,
  .floater-key-b {
    display: none;
  }

  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    max-width: none;
    width: auto;
  }
}

/* --- Sections --- */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0 0 1rem;
  color: var(--ink);
}

.section-lead {
  max-width: 38rem;
  color: var(--parchment-dim);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Discover */
.discover {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 74, 0.16), transparent 50%),
    linear-gradient(180deg, #faf6ef 0%, #f0ebe2 100%);
}

.discover-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .discover-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.discover-figure {
  position: relative;
  margin: 0;
}

.discover-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.02) brightness(1.06);
}

.discover-figure img.discover-storefront {
  object-position: center 42%;
}

.discover-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(36, 28, 22, 0.18);
  pointer-events: none;
}

.discover-caption {
  margin-top: 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.discover-copy p {
  color: var(--parchment-dim);
}

.discover-copy p:first-of-type {
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
}

.pull-quote {
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--amber-hot);
}

/* Collections — flowing image gallery */
.collections {
  background:
    linear-gradient(180deg, #f7f2e9 0%, #efe8db 100%);
}

.collection-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .collection-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

.collection-tile {
  margin: 0;
  min-width: 0;
}

.collection-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(1.06) saturate(1.08);
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.collection-tile:hover img {
  transform: scale(1.03);
  filter: brightness(1.1) saturate(1.12);
}

.collection-tile h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
}

.collection-tile p {
  margin: 0;
  color: var(--parchment-dim);
  font-size: 0.98rem;
  line-height: 1.4;
}

/* Finds — masonry-style flowing gallery */
.finds {
  background:
    radial-gradient(ellipse at 70% 10%, rgba(201, 162, 74, 0.14), transparent 50%),
    #faf6ef;
}

.finds-flow {
  column-count: 1;
  column-gap: 1.15rem;
  width: 100%;
}

@media (min-width: 560px) {
  .finds-flow {
    column-count: 2;
  }
}

@media (min-width: 920px) {
  .finds-flow {
    column-count: 3;
  }
}

.finds-flow figure {
  margin: 0 0 1.15rem;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.finds-flow img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.06);
}

.finds-flow .find-wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 45%;
}

.finds-flow .find-tall img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 28%;
}


.visit-photo-strip {
  margin: 2.5rem 0 0;
}

.finds-flow figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Atmosphere band */
.atmosphere {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 7rem) 1.5rem;
}

.atmosphere-bg {
  position: absolute;
  inset: 0;
}

.atmosphere-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.15);
  transform: scale(1.04);
  animation: slow-drift 28s ease-in-out infinite alternate;
}

@keyframes slow-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.atmosphere-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 17, 0.28), rgba(28, 22, 17, 0.42));
}

.atmosphere-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  color: var(--parchment);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.atmosphere-copy h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  font-style: italic;
}

.atmosphere-copy p {
  color: rgba(248, 243, 234, 0.92);
  margin: 0;
  font-size: 1.2rem;
}

/* Areas teaser */
.areas-teaser {
  background:
    linear-gradient(180deg, #f3ede3 0%, #ebe4d6 100%);
  text-align: left;
}

.areas-teaser .btn {
  margin-top: 0.25rem;
}

/* Visit */
.visit {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 74, 0.14), transparent 45%),
    #faf6ef;
}

.visit-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.visit-panel {
  padding: 0;
}

.visit-meta {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.visit-map {
  margin-top: 2.5rem;
}

.visit-photo {
  margin: 0;
}

.visit-photo img {
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: cover;
  object-position: center 22%;
}

.visit-photo figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.meta-block h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.meta-block p,
.meta-block a {
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.hours-table th {
  color: var(--parchment-dim);
  width: 45%;
}

.hours-table td {
  color: var(--ink);
}

.hours-table tr.is-closed td {
  color: var(--stone);
}

.contact-form {
  margin: 0;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.contact-form h3 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  color: var(--ink);
}

.contact-form > p {
  color: var(--parchment-dim);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.contact-form label {
  display: block;
  margin: 0.85rem 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(36, 28, 22, 0.16);
  border-radius: 2px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--amber);
  border-color: var(--amber);
}

.contact-form button {
  margin-top: 0.75rem;
}

.map-note {
  margin-top: 1.5rem;
  color: var(--parchment-dim);
  font-size: 1rem;
}

.shop-map-wrap {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.shop-map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 22rem;
  border: 0;
  border-radius: 0;
  background: var(--mist);
}

.shop-map-caption {
  margin: 0.75rem 0 0;
  color: var(--parchment-dim);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  background: #e8e2d6;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

/* Page hero (inner pages) */
.page-hero {
  min-height: 42vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 3rem;
}

.page-hero picture {
  position: absolute;
  inset: 0;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(0.78) saturate(1.12);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 17, 0.22) 0%, rgba(28, 22, 17, 0.55) 100%);
  pointer-events: none;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--parchment);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.page-hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0;
  color: var(--parchment);
}

/* --- Areas hub & location pages --- */
.areas-hub {
  background:
    linear-gradient(180deg, #faf6ef 0%, #f0ebe2 100%);
}

.area-groups {
  display: grid;
  gap: 2.5rem;
}

.area-group h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--amber-hot);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.area-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-link-grid a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
}

.area-link-grid a:hover {
  color: var(--amber);
}

.area-body {
  background:
    linear-gradient(180deg, #faf6ef 0%, #f0ebe2 100%);
}

.area-prose {
  max-width: 42rem;
}

.area-prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 2.25rem 0 0.85rem;
  color: var(--ink);
}

.area-prose p,
.area-prose li {
  color: var(--parchment-dim);
}

.area-prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1.25rem;
}

.area-photos {
  column-count: 1;
  column-gap: 1rem;
  margin: 2.5rem 0;
}

@media (min-width: 640px) {
  .area-photos {
    column-count: 2;
  }
}

.area-photos figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.area-photos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.area-photos figcaption {
  margin-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.area-cta-band {
  margin: 2.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.nearby-links a {
  color: var(--parchment-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
}

.nearby-links a:hover {
  color: var(--amber-hot);
}

.breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1.25rem;
}

.breadcrumbs a {
  color: var(--parchment-dim);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--amber);
}

.visit-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.visit-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--ink);
}

.visit-card p {
  margin: 0 0 0.5rem;
  color: var(--parchment-dim);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-exterior { opacity: 0; }
  .hero-doorway { opacity: 0; }
  .hero-interior {
    opacity: 1;
    clip-path: none;
  }
  .hero-treasures { opacity: 0.2; }
  .hero-portal,
  .hero-light-shaft,
  .hero-burst-glow { opacity: 0; }

  .floater {
    opacity: 0.85;
    transform: translate3d(calc(-50% + var(--tx, 10%)), calc(-50% + var(--ty, -5%)), 0) rotate(var(--rot, 10deg)) scale(var(--sc, 1));
  }
}
