/* ==========================================================================
   The Mantissa Hotel — Design System
   Editorial boutique-hotel aesthetic. Fraunces (display) + Inter (text).
   Palette: cream / ink / Kimbrell's brick / brass.
   ========================================================================== */

/* ----- 1. Tokens --------------------------------------------------------- */

:root {
  /* Color */
  --c-cream:        #F8F4EC;
  --c-cream-2:      #EFE8DA;
  --c-paper:        #FBF8F2;
  --c-ink:          #1C1917;
  --c-ink-2:        #2B2724;
  --c-ink-soft:     #5A524C;
  --c-rule:         #D9D2C4;
  --c-brick:        #8E2820;
  --c-brick-deep:   #6F1C16;
  --c-brass:        #B89968;
  --c-brass-soft:   #D8C29A;

  /* Type */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Type scale (fluid) */
  --t-eyebrow: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --t-body:    clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --t-lead:    clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem);
  --t-h6:      clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --t-h5:      clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --t-h4:      clamp(1.55rem, 1.35rem + 0.85vw, 2rem);
  --t-h3:      clamp(2rem, 1.6rem + 1.7vw, 3rem);
  --t-h2:      clamp(2.7rem, 2.1rem + 2.6vw, 4.4rem);
  --t-h1:      clamp(3.4rem, 2.5rem + 4vw, 6.5rem);
  --t-display: clamp(4.5rem, 3.2rem + 5.6vw, 9rem);

  /* Space (8pt base) */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;
  --s-12: 192px;

  /* Layout */
  --container: 1320px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io:  cubic-bezier(0.85, 0, 0.15, 1);
  --dur-fast: 200ms;
  --dur:      400ms;
  --dur-slow: 800ms;

  /* Effects */
  --shadow-1: 0 1px 2px rgba(28, 25, 23, 0.04), 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-2: 0 8px 32px rgba(28, 25, 23, 0.08), 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-3: 0 24px 64px rgba(28, 25, 23, 0.18), 0 8px 24px rgba(28, 25, 23, 0.10);
  --radius-s: 4px;
  --radius:   8px;
  --radius-l: 16px;
}

/* ----- 2. Reset ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--c-brick); color: var(--c-cream); }

/* ----- 3. Type ----------------------------------------------------------- */

.display, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-feature-settings: "ss01", "ss02";
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--c-ink);
  text-wrap: balance;
}

.display { font-size: var(--t-display); letter-spacing: -0.035em; line-height: 0.96; font-variation-settings: "opsz" 144, "SOFT" 30; }
h1, .h1 { font-size: var(--t-h1); letter-spacing: -0.03em; }
h2, .h2 { font-size: var(--t-h2); letter-spacing: -0.025em; }
h3, .h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.08; }
h4, .h4 { font-size: var(--t-h4); line-height: 1.15; }
h5, .h5 { font-size: var(--t-h5); line-height: 1.2; }
h6, .h6 { font-size: var(--t-h6); line-height: 1.3; }

.italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }

.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brick);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.no-rule::before { display: none; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--c-ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.prose {
  max-width: 60ch;
  font-size: var(--t-body);
  color: var(--c-ink-2);
  line-height: 1.7;
}
.prose p + p { margin-top: 1.1em; }

.prose .dropcap::first-letter,
.dropcap::first-letter {
  font-family: var(--f-display);
  font-size: 5.5em;
  float: left;
  line-height: 0.85;
  margin: 0.06em 0.08em 0 -0.04em;
  color: var(--c-brick);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
}

blockquote, .quote {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-wrap: balance;
}
.quote-cite {
  display: block;
  font-family: var(--f-body);
  font-style: normal;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: var(--s-5);
}

a.link {
  position: relative;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-rule);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
a.link:hover { color: var(--c-brick); border-color: var(--c-brick); }

/* ----- 4. Layout primitives --------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 160px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-loose { padding-block: clamp(96px, 14vw, 220px); }

.bg-cream { background: var(--c-cream); }
.bg-cream-2 { background: var(--c-cream-2); }
.bg-paper { background: var(--c-paper); }
.bg-ink { background: var(--c-ink); color: var(--c-cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5, .bg-ink h6, .bg-ink .display { color: var(--c-cream); }
.bg-ink .eyebrow { color: var(--c-brass); }
.bg-ink .lead, .bg-ink .prose { color: rgba(248, 244, 236, 0.78); }
.bg-brick { background: var(--c-brick); color: var(--c-cream); }
.bg-brick .eyebrow { color: var(--c-brass-soft); }

.divider {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--c-rule);
  margin-block: var(--s-7);
}
.divider-brass { background: var(--c-brass); opacity: 0.5; }

/* Grids */
.grid { display: grid; gap: var(--s-7); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .col-span-2, .col-span-3, .col-span-4, .col-span-5,
  .col-span-6, .col-span-7, .col-span-8, .col-span-9 { grid-column: span 12; }
}

/* Editorial asymmetric helpers */
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.spread-asym {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.spread-asym.flip { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) {
  .spread, .spread-asym, .spread-asym.flip { grid-template-columns: 1fr; gap: var(--s-6); }
  /* The desktop zig-zag alternates DOM order (.flip puts the figure first), so
     stacked sections would show the photo above the text on some and below it
     on others. Lead with the photo consistently once the grid wraps. */
  .spread-asym > figure { order: -1; }
}

/* ----- 5. Navigation ----------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-5) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  transition: background var(--dur) var(--ease-out), backdrop-filter var(--dur) var(--ease-out), padding var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
  color: var(--c-cream);
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.55) 0%, rgba(28, 25, 23, 0.18) 70%, rgba(28, 25, 23, 0) 100%);
}
.nav:not(.is-scrolled) .nav-links a,
.nav:not(.is-scrolled) .nav-cta {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.nav.is-scrolled {
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding-block: var(--s-3);
  border-bottom-color: var(--c-rule);
  color: var(--c-ink);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  line-height: 0;
}
.nav-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: height var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
}
.nav.is-scrolled .nav-logo { height: 36px; }
@media (max-width: 700px) {
  .nav-logo { height: 36px; }
  .nav.is-scrolled .nav-logo { height: 30px; }
}
.nav-brand-mark {
  width: 26px; height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: var(--s-6);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease-out);
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.nav-cta:hover { background: currentColor; color: var(--c-cream); }
.is-scrolled .nav-cta:hover { color: var(--c-cream); background: var(--c-ink); }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  position: absolute; left: 5px; right: 0;
  transition: transform var(--dur) var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { bottom: 12px; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  /* Mobile dropdown panel — revealed by the hamburger (main.js toggles .is-open) */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-rule);
    box-shadow: var(--shadow-2);
    padding: var(--s-3) var(--gutter) var(--s-4);
  }
  .nav-links.is-open a {
    color: var(--c-ink);
    opacity: 1;
    text-shadow: none;
    font-size: 1.08rem;
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--c-rule);
  }
  .nav-links.is-open a:last-child { border-bottom: 0; }
  .nav-links.is-open a::after { display: none; }
  /* Animate hamburger → close (X) when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 15px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { bottom: 16px; transform: rotate(-45deg); }
}

/* ----- 6. Buttons -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 16px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  font-weight: 500;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-ink); color: var(--c-cream); }
.btn-primary:hover { background: var(--c-brick); }
.btn-brick { background: var(--c-brick); color: var(--c-cream); }
.btn-brick:hover { background: var(--c-brick-deep); }
.btn-outline { border-color: currentColor; }
.btn-outline:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.btn-ghost { color: var(--c-ink); }
.btn-ghost:hover { color: var(--c-brick); }
.btn-ghost::after { content: "→"; transition: transform var(--dur) var(--ease-out); letter-spacing: 0; font-family: var(--f-body); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ----- 7. Hero ----------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(28,25,23,0.55) 0%,
      rgba(28,25,23,0.20) 22%,
      rgba(28,25,23,0.10) 45%,
      rgba(28,25,23,0.55) 78%,
      rgba(28,25,23,0.85) 100%),
    linear-gradient(90deg,
      rgba(28,25,23,0.45) 0%,
      rgba(28,25,23,0.10) 45%,
      rgba(28,25,23,0) 70%);
  pointer-events: none;
}
.hero-headline { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-eyebrow  { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.page-hero h1, .page-hero .lead, .page-hero-eyebrow { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35); }

.hero-content {
  align-self: end;
  padding: 0 var(--gutter) clamp(40px, 8vh, 96px);
  color: var(--c-cream);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-7);
}
.hero-headline {
  font-size: var(--t-display);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--c-cream);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-meta {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-align: right;
}
.hero-meta span { display: block; }

.hero-eyebrow {
  position: absolute;
  top: clamp(80px, 14vh, 130px);
  left: var(--gutter);
  color: var(--c-cream);
  opacity: 0.85;
}
.hero-eyebrow.eyebrow::before { background: var(--c-cream); opacity: 0.5; }

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.scroll-indicator::after {
  content: "";
  width: 1px;
  height: 36px;
  background: currentColor;
  animation: scrollPulse 2.4s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

@media (max-width: 700px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero-meta { text-align: left; flex-direction: row; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
}

/* Page hero (smaller, used on internal pages) */
.page-hero {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: end;
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(56px, 10vh, 96px);
  color: var(--c-cream);
  isolation: isolate;
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,25,23,0.55) 0%, rgba(28,25,23,0.20) 35%, rgba(28,25,23,0.45) 75%, rgba(28,25,23,0.85) 100%),
    linear-gradient(90deg, rgba(28,25,23,0.40) 0%, rgba(28,25,23,0.10) 50%, rgba(28,25,23,0) 75%);
}
.page-hero-eyebrow { color: var(--c-cream); opacity: 0.85; margin-bottom: var(--s-5); }
.page-hero-eyebrow.eyebrow::before { background: var(--c-cream); }
.page-hero h1 { color: var(--c-cream); max-width: 18ch; }
.page-hero .lead { color: rgba(248, 244, 236, 0.85); margin-top: var(--s-5); max-width: 50ch; }

/* ----- 8. Cards / Tiles -------------------------------------------------- */

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-cream-2);
}
.tile-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.tile:hover .tile-media img { transform: scale(1.08); }
.tile-body { padding: var(--s-5) var(--s-2) 0; }
.tile-eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--s-3);
}
.tile-title { font-size: var(--t-h4); margin-bottom: var(--s-2); }
.tile-desc { color: var(--c-ink-soft); font-size: 0.95rem; }

.suite-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--s-5);
}
.suite-card .tile-media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.suite-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-rule);
  font-family: var(--f-body);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--c-ink-soft);
  text-transform: uppercase;
}
.suite-num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--c-ink-soft);
  font-feature-settings: "tnum";
}

/* ----- 9. Image patterns ------------------------------------------------- */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-cream-2);
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.aspect-portrait  { aspect-ratio: 3 / 4; }
.aspect-landscape { aspect-ratio: 3 / 2; }
.aspect-wide      { aspect-ratio: 16 / 9; }
.aspect-square    { aspect-ratio: 1 / 1; }
.aspect-tall      { aspect-ratio: 4 / 5; }
.aspect-photo     { aspect-ratio: 4 / 3; } /* matches the suite photography's native ratio, so cover-fit crops almost nothing */
.media-cap { margin-top: var(--s-3); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--c-ink-soft); font-style: italic; text-align: center; }

.media-credit {
  position: absolute;
  bottom: var(--s-4); right: var(--s-4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-cream);
  background: rgba(28,25,23,0.55);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.parallax-img {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* ----- 10. Stat / list / row patterns ----------------------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7);
  padding-block: var(--s-7);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
.stat .stat-num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-brick);
  display: block;
  font-feature-settings: "ss01";
}
.stat .stat-label {
  display: block;
  margin-top: var(--s-3);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
@media (max-width: 800px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

.spec-list { display: grid; gap: var(--s-2); }
.spec-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-rule);
  align-items: baseline;
  font-size: 0.95rem;
}
.spec-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-brass);
  align-self: center;
  margin-left: 4px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-rule);
}
.timeline-item {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--c-rule);
  align-items: start;
}
.timeline-year {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  font-feature-settings: "tnum";
  color: var(--c-brick);
  line-height: 1;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}
.timeline-body h3 { font-size: var(--t-h4); margin-bottom: var(--s-3); }
.timeline-body p  { color: var(--c-ink-soft); max-width: 64ch; }
@media (max-width: 700px) {
  .timeline-item { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ----- 11. Footer -------------------------------------------------------- */

.footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: var(--s-10) var(--gutter) var(--s-7);
  margin-top: var(--s-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  max-width: var(--container);
  margin-inline: auto;
  padding-bottom: var(--s-9);
  border-bottom: 1px solid rgba(216, 194, 154, 0.2);
}
.footer h4 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brass);
  margin-bottom: var(--s-5);
  font-weight: 500;
}
.footer-brand .display-mark {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 2rem + 1.4vw, 3.5rem);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
}
.footer-brand .lead {
  color: rgba(248, 244, 236, 0.7);
  max-width: 36ch;
}
.footer-list li { padding: 6px 0; }
/* .footer-list is also reused for in-page link hubs on light backgrounds
   (hartsville "Plan your visit", journeys/experiences "Related" blocks),
   so the base link color must be readable on cream. */
.footer-list a {
  color: var(--c-ink-2);
  transition: color var(--dur) var(--ease-out);
  display: inline-block;
}
.footer-list a:hover { color: var(--c-brick); }
/* Inside the ink-dark footer itself, keep the original cream links. */
.footer .footer-list a { color: rgba(248, 244, 236, 0.78); }
.footer .footer-list a:hover { color: var(--c-brass-soft); }

.footer-bottom {
  max-width: var(--container);
  margin: var(--s-7) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(248, 244, 236, 0.55);
  flex-wrap: wrap;
  gap: var(--s-4);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- 12. Floating reserve CTA ----------------------------------------- */

.reserve-fab {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  background: var(--c-brick);
  color: var(--c-cream);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-3);
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.reserve-fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.reserve-fab:hover { background: var(--c-brick-deep); transform: translateY(-2px); }
.reserve-fab::after { content: "→"; }

/* ----- 13. Reveal animations -------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.55s; }

.reveal-mask { overflow: hidden; }
.reveal-mask > .reveal-mask-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 1.1s var(--ease-out);
}
.reveal-mask.is-in > .reveal-mask-inner { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > *, .reveal-mask > .reveal-mask-inner {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----- 14. Forms -------------------------------------------------------- */

.field {
  display: grid;
  gap: var(--s-2);
}
.field label {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-rule);
  padding: 14px 0;
  font-size: 1rem;
  font-family: var(--f-body);
  color: var(--c-ink);
  border-radius: 0;
  width: 100%;
  outline: none;
  transition: border-color var(--dur) var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-ink); }

.booking-bar {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.9fr auto;
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  align-items: end;
}
@media (max-width: 900px) {
  .booking-bar { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .booking-bar .field-cta { grid-column: 1 / -1; }
}

/* ----- 15. Misc ---------------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--c-rule);
  background: var(--c-paper);
  color: var(--c-ink-soft);
}

.kbd {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  padding: 2px 8px;
  border: 1px solid var(--c-rule);
  border-radius: 4px;
  background: var(--c-paper);
}

.marquee {
  --marq-dur: 40s;
  display: flex;
  overflow: hidden;
  gap: var(--s-7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  user-select: none;
}
.marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--s-7);
  animation: marqueeScroll var(--marq-dur) linear infinite;
}
.marquee-track > * {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 1.7rem + 3vw, 5rem);
  letter-spacing: -0.02em;
  color: var(--c-ink);
  font-variation-settings: "opsz" 144;
}
.marquee-track > *::after {
  content: "❋";
  margin-left: var(--s-7);
  color: var(--c-brass);
  font-style: normal;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* Print */
@media print {
  .nav, .reserve-fab, .footer { display: none; }
  body { background: white; color: black; }
}

/* ----- 16. Utility ------------------------------------------------------- */

.text-center { text-align: center; }
.text-right { text-align: right; }
.justify-self-end { justify-self: end; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-end { align-items: end; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-5 { gap: var(--s-5); }
.gap-7 { gap: var(--s-7); }
.mt-3 { margin-top: var(--s-3); }
.mt-5 { margin-top: var(--s-5); }
.mt-7 { margin-top: var(--s-7); }
.mt-9 { margin-top: var(--s-9); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-7 { margin-bottom: var(--s-7); }
.mb-9 { margin-bottom: var(--s-9); }
.relative { position: relative; }
.sticky-top { position: sticky; top: clamp(80px, 12vh, 120px); }
.hidden { display: none; }
@media (max-width: 700px) { .sm-hidden { display: none; } }
@media (min-width: 701px) { .lg-hidden { display: none; } }

/* Breadcrumb — shared by generated guide/story pages and hand-authored landing pages */
.crumb { padding-top: var(--s-7); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; list-style: none; font-size: .78rem; letter-spacing: .02em; color: var(--c-ink-soft); margin: 0; padding: 0; }
.crumb li { display: flex; align-items: center; gap: .55rem; }
.crumb li + li::before { content: "/"; color: var(--c-rule); }
.crumb a { color: var(--c-ink-soft); transition: color var(--dur) var(--ease-out); }
.crumb a:hover { color: var(--c-brick); }
.crumb [aria-current="page"] { color: var(--c-ink); }

/* Inline editorial links inside body prose (not buttons) — subtle brick underline */
.prose a:not(.btn), .article a:not(.btn) { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-brick); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--dur) var(--ease-out); }
.prose a:not(.btn):hover, .article a:not(.btn):hover { color: var(--c-brick); }
/* External links stay visibly links even outside .prose (FAQ answers, spec lists, etc.) */
a[href^="http"][target="_blank"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--c-brick); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--dur) var(--ease-out); }
a[href^="http"][target="_blank"]:not(.btn):hover { color: var(--c-brick); }

/* ----- 15. Consent bar -------------------------------------------------- */
/* Injected by assets/js/analytics.js only when GA4 is configured and the
   visitor has not yet chosen. A slim bottom bar rather than a modal: this site
   sells its first impression, and an interstitial over the hero is the wrong
   first thing to see. Sits above content but below nothing that matters. */
#consent-bar {
  position: fixed;
  left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  max-width: 720px;
  margin-inline: auto;
  padding: var(--s-4) var(--s-5);
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.28);
  animation: consent-in 0.4s var(--ease-out) both;
}
#consent-bar p {
  margin: 0;
  font-family: var(--f-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--c-cream);
  flex: 1 1 22ch;
}
#consent-bar a { color: var(--c-brass-soft); text-decoration: underline; }
.consent-actions { display: flex; gap: var(--s-3); flex-shrink: 0; }
.consent-btn {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 1px solid var(--c-cream);
  background: var(--c-cream);
  color: var(--c-ink);
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.consent-btn:hover { background: var(--c-brass); border-color: var(--c-brass); }
/* Decline is styled as a peer of Accept, not a hidden link — a notice that
   only really offers "yes" is not consent. */
.consent-btn.ghost { background: transparent; color: var(--c-cream); }
.consent-btn.ghost:hover { background: rgba(248, 244, 236, 0.14); border-color: var(--c-cream); }
#consent-bar.is-out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #consent-bar { animation: none; } }
@media (max-width: 560px) {
  #consent-bar { flex-direction: column; align-items: stretch; text-align: left; }
  .consent-actions { justify-content: flex-end; }
}
