/* ============================================================
   Casa Los Curazaos — boho-chic mediterráneo + naturaleza
   Archetype: Editorial Light Cream (variante cálida)
   ============================================================ */

/* -- 1. Tokens ------------------------------------------------ */
:root {
  /* Palette */
  --bg:          #f3ece0;   /* arena clara cálida */
  --bg-2:        #ebe0cc;   /* arena tostada */
  --bg-3:        #e4d6bd;   /* arena profunda */
  --paper:       #fbf7ef;   /* papel para tarjetas */
  --ink:         #1f1b16;   /* tinta cálida */
  --ink-soft:    #2e2820;
  --ink-mute:    #6e6356;
  --ink-faint:   #968871;
  --line:        rgba(31, 27, 22, 0.13);
  --line-strong: rgba(31, 27, 22, 0.28);

  --accent:      #b6603a;   /* terracota */
  --accent-2:    #7a8268;   /* salvia / moss */
  --accent-3:    #c69566;   /* miel */
  --accent-soft: rgba(182, 96, 58, 0.12);

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container:   min(1400px, 100% - 3rem);
  --container-narrow: min(960px, 100% - 3rem);
  --nav-height:  72px;
  --section-pad: clamp(4rem, 8vw, 8.5rem);
  --radius-sm:   6px;
  --radius:      14px;
  --radius-lg:   22px;
}

/* -- 2. Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100vh;
}
img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.012em; font-weight: 400; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -- 3. Utilities --------------------------------------------- */
.container { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.6rem;
  vertical-align: middle;
  translate: 0 -1px;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.7rem 1.2rem; background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -- 4. Typography -------------------------------------------- */
.h-display {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.h-section {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.h-section em { font-style: italic; color: var(--accent); font-weight: 300; }
.h-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* -- 5. Buttons & forms --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft),
              background 0.35s var(--ease-out), color 0.35s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn::after {
  content: "→";
  font-family: var(--serif);
  font-size: 1rem;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover::after { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(31,27,22,0.18), 0 1px 3px rgba(31,27,22,0.1);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(31,27,22,0.24), 0 8px 18px rgba(182,96,58,0.18);
  background: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-3px);
}
.btn-accent {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(182,96,58,0.28), 0 1px 3px rgba(31,27,22,0.08);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(182,96,58,0.36);
  background: #9d4f2d;
}
.btn-small { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.btn-large { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

/* Inline link */
.link-underline {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size 0.45s var(--ease-soft), color 0.3s;
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }

/* -- 6. Navigation -------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: background 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              padding 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(243, 236, 224, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 0.55rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.nav-brand-mark {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-right: 0.3rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--ink-soft);
  transition: color 0.3s;
  padding: 0.4rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-soft);
}
.nav-link:hover, .nav-link.is-active {
  color: var(--ink);
}
.nav-link:hover::after, .nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  display: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.3s, transform 0.3s;
}
@media (min-width: 720px) { .nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; } }
.nav-cta:hover { background: var(--accent); transform: translateY(-2px); }

/* Mobile hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  position: relative;
  z-index: 10001;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
body.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-soft);
}
body.is-menu-open .nav-mobile {
  clip-path: inset(0);
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.nav-mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}
.nav-mobile-link.is-active { color: var(--accent); }
.nav-mobile-foot {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* -- 7. Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.06);
  animation: ambientZoom 32s ease-in-out infinite;
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.06) translate3d(0,0,0); }
  50%      { transform: scale(1.14) translate3d(-1.2%, -1.2%, 0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(20,16,12, 0.55) 0%,
      rgba(20,16,12, 0.30) 35%,
      rgba(20,16,12, 0.55) 70%,
      rgba(20,16,12, 0.85) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(182,96,58, 0.22), transparent 55%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--paper);
  max-width: 920px;
}
.hero-content .eyebrow {
  color: rgba(251, 247, 239, 0.85);
  margin-bottom: 1.3rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--paper);
  display: block;
  margin-top: 0.1em;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.45;
  color: rgba(251, 247, 239, 0.84);
  margin-top: 1.8rem;
  max-width: 36ch;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(251, 247, 239, 0.18);
  font-size: 0.86rem;
  color: rgba(251, 247, 239, 0.78);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.55);
}
.hero-meta-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--paper);
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-actions .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.hero-actions .btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}
.hero-actions .btn-ghost {
  border-color: rgba(251, 247, 239, 0.45);
  color: var(--paper);
}
.hero-actions .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(251, 247, 239, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
@media (min-width: 960px) { .hero-scroll { display: flex; } }
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(251, 247, 239, 0.65), transparent);
  animation: scrollHint 2.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.6; }
  50%      { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Hero variant for non-home pages */
.hero-page {
  position: relative;
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-page-eyebrow { color: var(--ink-mute); margin-bottom: 1rem; }
.hero-page-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.hero-page-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-page-sub {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* -- 8. Sections ---------------------------------------------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
@media (min-width: 960px) {
  .section-head { grid-template-columns: 1.4fr 1fr; }
}
.section-head .lede { justify-self: start; }
.section-tonal {
  background: var(--bg-2);
}
.section-deep {
  background: var(--bg-3);
}
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .eyebrow { color: rgba(251, 247, 239, 0.7); }
.section-dark .h-section { color: var(--paper); }
.section-dark .h-section em { color: var(--accent-3); }
.section-dark .lede { color: rgba(251, 247, 239, 0.75); }

/* -- 9. Intro manifesto --------------------------------------- */
.manifesto {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .manifesto { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}
.manifesto-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}
.manifesto-text {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.manifesto-text em { font-style: italic; color: var(--accent); }
.manifesto-foot {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--ink-mute);
  max-width: 50ch;
}

/* -- 10. Cabin showcase (home) -------------------------------- */
.cabanas-strip {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .cabanas-strip { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.cabana-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-soft);
}
.cabana-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 60px -28px rgba(31, 27, 22, 0.32),
    0 12px 28px -12px rgba(182, 96, 58, 0.16),
    0 0 0 1px rgba(31, 27, 22, 0.04);
}
.cabana-card-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.cabana-card-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-soft), filter 0.6s;
}
.cabana-card:hover .cabana-card-figure img {
  transform: scale(1.08);
  filter: saturate(1.12) brightness(1.03);
}
.cabana-card-num {
  position: absolute;
  top: 1.2rem; left: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  background: rgba(31, 27, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  z-index: 1;
}
.cabana-card-body {
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}
.cabana-card-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.018em;
}
.cabana-card-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.cabana-card-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.cabana-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.cabana-card-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cabana-card-cta {
  margin-top: auto;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}
.cabana-card-cta .link-underline { color: var(--ink); font-weight: 500; }
.cabana-card-cta .arrow {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.4s var(--ease-out);
}
.cabana-card:hover .cabana-card-cta .arrow { transform: translateX(6px); }

/* Casa completa card */
.casa-card {
  margin-top: 2.5rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  gap: 0;
}
@media (min-width: 720px) {
  .casa-card { grid-template-columns: 1fr 1fr; }
}
.casa-card-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.casa-card-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-soft);
}
.casa-card:hover .casa-card-figure img { transform: scale(1.06); }
.casa-card-body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.casa-card-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.02;
}
.casa-card-title em { font-style: italic; color: var(--accent-3); font-weight: 300; }
.casa-card-desc {
  color: rgba(251, 247, 239, 0.78);
  font-size: 0.98rem;
  line-height: 1.6;
}
.casa-card .btn-accent { align-self: flex-start; margin-top: 0.8rem; }

/* -- 11. Cabin detail page ------------------------------------ */
.cabin-detail-hero {
  position: relative;
  padding: calc(var(--nav-height) + 3rem) 0 0;
}
.cabin-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .cabin-detail-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
.cabin-detail-intro .eyebrow { margin-bottom: 1rem; }
.cabin-detail-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.022em;
}
.cabin-detail-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.cabin-detail-tagline {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  color: var(--ink-soft);
}
.cabin-detail-desc {
  margin-top: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
}
.cabin-detail-meta {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.cabin-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}
.cabin-meta-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.cabin-detail-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.cabin-detail-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.cabin-detail-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}

/* Amenities grid */
.amenities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem 2rem;
}
@media (min-width: 600px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenity {
  display: flex;
  gap: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.amenity::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  translate: 0 2px;
}

/* Gallery in detail page */
.cabin-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .cabin-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
  }
  .cabin-gallery > *:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .cabin-gallery > *:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .cabin-gallery > *:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .cabin-gallery > *:nth-child(4) { grid-column: span 3; grid-row: span 2; }
  .cabin-gallery > *:nth-child(5) { grid-column: span 3; grid-row: span 1; }
  .cabin-gallery > *:nth-child(6) { grid-column: span 6; grid-row: span 2; }
}
@media (min-width: 960px) {
  .cabin-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
  }
}
.cabin-gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.cabin-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-soft), filter 0.5s;
  cursor: zoom-in;
}
.cabin-gallery figure:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1.02); }

/* -- 12. Lightbox --------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 12, 8, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(251, 247, 239, 0.12);
  color: var(--paper);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(251, 247, 239, 0.22);
}
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(251, 247, 239, 0.7);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

/* -- 13. El lugar / Entorno ----------------------------------- */
.entorno-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 720px) {
  .entorno-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .entorno-grid { grid-template-columns: repeat(4, 1fr); }
}
.entorno-card {
  padding: 2rem 1.6rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-soft), border-color 0.4s, box-shadow 0.5s;
}
.entorno-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -20px rgba(182, 96, 58, 0.28);
}
.entorno-time {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.entorno-place {
  margin-top: 0.6rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* -- 14. Booking engine --------------------------------------- */
.booking {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.8rem);
  box-shadow:
    0 30px 60px -30px rgba(31,27,22,0.18),
    0 8px 20px -8px rgba(31,27,22,0.08),
    0 0 0 1px rgba(31,27,22,0.04);
}
.booking-step {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.booking-step:last-child { border-bottom: none; }
.booking-step-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.booking-step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.booking-step-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 350;
  letter-spacing: -0.01em;
}

.booking-cabin-options {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) { .booking-cabin-options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .booking-cabin-options { grid-template-columns: repeat(4, 1fr); } }
.booking-cabin-option {
  position: relative;
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.booking-cabin-option:hover { border-color: var(--accent); background: var(--paper); }
.booking-cabin-option input { position: absolute; opacity: 0; pointer-events: none; }
.booking-cabin-option:has(input:checked),
.booking-cabin-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 4px 16px rgba(182,96,58,0.18);
}
.booking-cabin-option-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 350;
  letter-spacing: -0.01em;
}
.booking-cabin-option-pax {
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.booking-cabin-option-price {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.booking-cabin-option-price .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Calendar */
.booking-calendar-shell {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .booking-calendar-shell { grid-template-columns: 1fr 1fr; }
}
.booking-calendar {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--line);
}
.booking-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.booking-calendar-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}
.booking-calendar-nav {
  display: flex;
  gap: 0.3rem;
}
.booking-cal-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.booking-cal-btn:hover { background: var(--paper); border-color: var(--accent); color: var(--accent); }
.booking-cal-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 0.85rem;
}
.booking-cal-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 0.5rem;
}
.booking-cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.booking-cal-day:hover:not(.is-disabled):not(.is-busy):not(.is-out) {
  background: var(--accent-soft);
  color: var(--accent);
}
.booking-cal-day.is-out { color: transparent; pointer-events: none; }
.booking-cal-day.is-disabled,
.booking-cal-day.is-past {
  color: var(--ink-faint);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--ink-faint);
}
.booking-cal-day.is-busy {
  color: var(--ink-faint);
  cursor: not-allowed;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 4px,
    rgba(31,27,22,0.08) 4px, rgba(31,27,22,0.08) 5px
  );
}
.booking-cal-day.is-start,
.booking-cal-day.is-end {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.booking-cal-day.is-range {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 0;
}
.booking-cal-day.is-start { border-radius: 6px 0 0 6px; }
.booking-cal-day.is-end { border-radius: 0 6px 6px 0; }
.booking-cal-day.is-start.is-end { border-radius: 6px; }
.booking-cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.booking-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.booking-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.booking-legend i {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--ink);
}
.booking-legend i.busy {
  background: repeating-linear-gradient(-45deg, transparent 0px, transparent 2px, rgba(31,27,22,0.32) 2px, rgba(31,27,22,0.32) 3px);
  border: 1px solid var(--line);
}
.booking-legend i.range { background: var(--accent-soft); }

.booking-guests {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.booking-counter {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.booking-counter button {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.booking-counter button:hover:not(:disabled) { background: var(--accent); color: var(--paper); }
.booking-counter button:disabled { opacity: 0.4; cursor: not-allowed; }
.booking-counter .val {
  font-family: var(--mono);
  min-width: 36px;
  text-align: center;
  font-weight: 500;
}

.booking-summary {
  display: grid;
  gap: 0.8rem;
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  font-size: 0.95rem;
}
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}
.booking-summary-row:last-child { border-bottom: none; }
.booking-summary-label { color: var(--ink-mute); font-size: 0.85rem; }
.booking-summary-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.booking-summary-total {
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.booking-summary-total .booking-summary-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
}

.booking-field {
  display: grid;
  gap: 0.4rem;
}
.booking-field label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.booking-field input,
.booking-field textarea,
.booking-field select {
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
  font-family: inherit;
}
.booking-field input:focus,
.booking-field textarea:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}
.booking-field textarea { resize: vertical; min-height: 110px; }
.booking-fields-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) { .booking-fields-row { grid-template-columns: 1fr 1fr; } }

.booking-submit {
  width: 100%;
  justify-content: center;
  padding: 1.2rem 2rem;
  font-size: 1.05rem;
}
.booking-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.55;
}
.booking-note strong { color: var(--ink); font-weight: 500; }

.booking-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-mute);
  font-style: italic;
  font-family: var(--serif);
}

/* -- 14b. Carousel ------------------------------------------ */
.carousel {
  position: relative;
  isolation: isolate;
}
.carousel-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.carousel-track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: pan-y;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft);
}
.carousel-slide:hover img { transform: scale(1.03); }
.carousel-slide-num {
  position: absolute;
  bottom: 1rem; left: 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  background: rgba(31, 27, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  width: 48px; height: 48px;
  transform: translateY(-50%);
  background: rgba(251, 247, 239, 0.92);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(31,27,22,0.22);
  transition: background 0.25s, transform 0.25s, opacity 0.25s;
  z-index: 4;
}
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }
.carousel-prev:hover, .carousel-next:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-50%) scale(1.06);
}
.carousel-prev:disabled, .carousel-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(251, 247, 239, 0.5);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-faint);
  transition: width 0.35s var(--ease-out), background 0.35s;
}
.carousel-dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 999px;
}
.carousel-counter {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  background: rgba(31, 27, 22, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}

/* -- 14c. Booking — extras nuevos --------------------------- */
.booking-cabin-option-price-split {
  display: flex;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 0.55rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}
.booking-cabin-option-price-split span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
}
.booking-cabin-option-price-split i {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  font-style: normal;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.booking-cabin-option-realcap {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-style: italic;
}
.booking-cal-day.is-weekend {
  font-weight: 600;
  color: var(--accent);
}
.booking-cal-day.is-weekend.is-disabled,
.booking-cal-day.is-weekend.is-past,
.booking-cal-day.is-weekend.is-busy {
  color: var(--ink-faint);
  font-weight: 400;
}
.booking-cal-day.is-weekend.is-start,
.booking-cal-day.is-weekend.is-end {
  color: var(--paper);
  font-weight: 600;
}

/* Bold mount */
.bold-mount {
  margin-top: 1.5rem;
  padding: 1.6rem 1.4rem;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.bold-mount:empty { display: none; }
.bold-mount-inner { text-align: center; }
.bold-mount-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.bold-mount-sub {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.bold-mount-sub strong { color: var(--accent); font-weight: 500; }
#bold-button-host {
  margin: 1.4rem 0 0.8rem;
  display: flex;
  justify-content: center;
}
.bold-mount-foot {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.booking-submit.is-loading {
  opacity: 0.7;
  cursor: progress;
}

/* -- 15. Big gallery (galería page integrated in experiencia) */
.big-gallery {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .big-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .big-gallery { grid-template-columns: repeat(4, 1fr); } }
.big-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: zoom-in;
}
.big-gallery figure:nth-child(4n+1) { aspect-ratio: 4 / 5; }
.big-gallery figure:nth-child(5n+2) { aspect-ratio: 1; }
.big-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-soft), filter 0.5s;
}
.big-gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* -- 16. Contact ---------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}
.contact-channels {
  display: grid;
  gap: 1.1rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-soft), border-color 0.3s, box-shadow 0.4s;
}
.contact-channel:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px -16px rgba(182, 96, 58, 0.28);
}
.contact-channel-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-channel-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-channel-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.1;
}

/* -- 17. Footer ----------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(251, 247, 239, 0.78);
  padding: clamp(3.5rem, 6vw, 6rem) 0 2.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--paper);
  line-height: 1;
}
.footer-tagline {
  margin-top: 0.7rem;
  color: rgba(251, 247, 239, 0.6);
  max-width: 30ch;
  line-height: 1.5;
}
.footer-title {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.55);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-list a {
  color: rgba(251, 247, 239, 0.78);
  transition: color 0.3s;
}
.footer-list a:hover { color: var(--accent-3); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(251, 247, 239, 0.5);
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; align-items: center; }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

/* -- 18. Splash ----------------------------------------------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: opacity 0.9s var(--ease-out), clip-path 1.1s var(--ease-soft);
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.splash-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: splashIn 0.8s 0.1s var(--ease-out) forwards;
}
.splash-line {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: splashIn 0.8s 0.3s var(--ease-out) forwards;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -- 19. Reveal on scroll ------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* Defensive: reveal + data-split combos */
.reveal[data-split],
[data-reveal][data-split] {
  opacity: 1;
  transform: none;
}

/* -- 20. Marquee ---------------------------------------------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
  will-change: transform;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--ink);
}
.marquee-track span.sep {
  color: var(--accent);
  font-style: normal;
}

/* -- 21. Reduced motion (intrusive only) ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-scroll-line { animation: none; }
  .splash { animation: splashSafety 0.01s 1.5s forwards; }
}

/* -- 22. View transitions ------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* -- 23. Helpers ---------------------------------------------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
