/* ==========================================================================
   The Gallery Inn — homepage prototype
   "Rustic artist enclave / captain's quarters" — warm, candlelit, lived-in.
   ========================================================================== */

:root {
  --plaster:   #F2EADB;
  --parchment: #E9DCC4;
  --paper:     #FBF6EC;
  --ink:       #2A2018;
  --ink-soft:  #5C5044;
  --terra:     #B4552E;
  --clay:      #8A3D20;
  --ochre:     #C08A3E;
  --ochre-lt:  #C9A36A;
  --ocean:     #3C6360;
  --line:      #D8CBB3;
  --espresso:  #1F1812;
  --cocoa:     #3A2A1E;
  --cream:     #F4E9D6;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;

  --measure: 64ch;
  --shell: 1240px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* height:auto is critical — without it the HTML width/height attributes pin a fixed
   pixel height and vertically stretch the image. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.005em;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

/* Skip link ------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Keyboard focus — warm brass ring, consistent across links, buttons & controls.
   Only shows for keyboard users (:focus-visible); mouse clicks stay clean. */
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
/* on dark surfaces (heroes, dark bands) lift to lighter brass for contrast */
.hero :focus-visible, .cc-hero :focus-visible, .band :focus-visible,
.manifesto-dark :focus-visible, .site-header :focus-visible { outline-color: var(--ochre-lt); }

/* Eyebrow / labels ------------------------------------------------------ */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clay);
  margin: 0 0 1.1rem;
  display: inline-block;
}
.eyebrow--light { color: var(--ochre-lt); }
.tick { display: block; width: 38px; height: 2px; background: var(--terra); margin: 1.4rem 0 0; }
.tick--center { margin-inline: auto; }

/* ===========================================================================
   Header / navigation
   =========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background-color .5s ease, padding .4s ease, box-shadow .5s ease, color .5s ease;
  color: var(--cream);
}
.site-header.scrolled {
  background: rgba(31,24,18,0.92);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 rgba(201,163,106,0.18);
}
.brand {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  letter-spacing: 0.18em;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand small { display: block; font-size: 0.5rem; letter-spacing: 0.34em; opacity: 0.8; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav__links { display: flex; gap: clamp(1rem, 1.8vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: inherit; font-size: 0.85rem; letter-spacing: 0.05em;
  text-transform: uppercase; opacity: 0.92; position: relative; padding-block: 4px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ochre-lt); transition: width .35s ease;
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { width: 100%; }
/* active page — subtle ochre shift + persistent underline */
.nav__links a[aria-current="page"] { color: var(--ochre-lt); }
.nav__links a[aria-current="page"]::after { width: 100%; background: var(--ochre-lt); }

.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.84rem;
  letter-spacing: 0.06em; cursor: pointer; border: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn--reserve {
  background: var(--terra); color: var(--cream);
  padding: 0.7rem 1.5rem; border-radius: 40px;
}
.btn--reserve:hover { background: var(--clay); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1px solid currentColor; padding: 0.85rem 1.9rem; border-radius: 40px;
}
.btn--ghost:hover { background: rgba(244,233,214,0.1); }
.btn--ink { color: var(--clay); border-color: var(--clay); }
.btn--ink:hover { background: var(--clay); color: var(--paper); }
.btn--link {
  color: var(--terra); border-bottom: 1px solid var(--terra);
  padding-bottom: 2px; border-radius: 0; letter-spacing: 0.04em;
}
.btn--link:hover { color: var(--clay); border-color: var(--clay); }

.nav-toggle {
  display: none; background: none; border: none; color: inherit;
  font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 4px 6px;
}

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden;
  padding-bottom: clamp(3rem, 8vh, 7rem);
}
.hero__bg {
  position: absolute; inset: -8% 0 0 0; z-index: 0;
  background: url("../images/gallery-inn.jpg") center 38%/cover no-repeat;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(20,14,9,0.88) 0%, rgba(20,14,9,0.35) 42%, rgba(20,14,9,0.45) 100%),
    radial-gradient(120% 90% at 50% 30%, rgba(20,14,9,0) 35%, rgba(20,14,9,0.55) 100%);
}
.hero__map {
  position: absolute; inset: 0; z-index: 2;
  background: url("../textures/harbor-map.svg") center/cover no-repeat;
  opacity: 0.07; mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 3; max-width: 46rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: 0.02em; text-transform: uppercase;
}
.hero__tag {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 2rem); color: var(--cream);
  max-width: 24ch; margin: 1.2rem 0 0; line-height: 1.25;
}
.hero__sub { max-width: 46ch; margin: 1.4rem 0 2rem; color: rgba(244,233,214,0.86); font-size: 1.02rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 3;
  transform: translateX(-50%); color: var(--ochre-lt);
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(var(--ochre-lt), transparent); }

/* ===========================================================================
   Generic section scaffolding
   =========================================================================== */
.section { position: relative; padding: clamp(4.5rem, 11vh, 9rem) 0; }
.section--tight { padding-block: clamp(3.5rem, 8vh, 6rem); }

.section-head { max-width: 48rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p + p { margin-top: 1.1rem; }

/* Texture layers (faint, decorative) ------------------------------------ */
.tx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tx--map  { background: url("../textures/harbor-map.svg") center/cover no-repeat; opacity: 0.05; }
/* Real antique San Juan Harbor chart (brown linework on transparency) — aged cartography
   under the page. Faint on light sections only. */
.tx--chart { background: url("../textures/harbor-map.png") center/cover no-repeat; opacity: 0.07; }
.tx--chart.faint { opacity: 0.05; }
.tx--music{ background: url("../images/sheet-band-1.jpg") center/680px repeat; opacity: 0.06; }
.tx--music-dark { background: url("../images/sheet-band-1.jpg") center/720px repeat; opacity: 0.10; mix-blend-mode: screen; }
.section > .shell { position: relative; z-index: 1; }

/* Manifesto -------------------------------------------------------------- */
.manifesto { text-align: center; background: var(--parchment); }
.manifesto .shell { max-width: 60rem; }
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.34; color: var(--ink); margin: 0;
  letter-spacing: 0.004em;
}
.manifesto .drop::first-letter {
  font-size: 1.2em; color: var(--terra); font-style: italic;
}
/* Scoped illuminated initial (test — Stay intro only). Inline, not floated,
   so the centered paragraph layout is preserved. */
.manifesto .drop--initial::first-letter {
  font-size: 2.3em; color: var(--terra); font-style: italic;
  font-weight: 400; line-height: 0.9; padding-right: 0.04em;
}
.manifesto em { font-style: italic; color: var(--clay); }

/* Stats / The House ------------------------------------------------------ */
.house { background: var(--plaster); }
.house__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.house__media { position: relative; }
.house__media img { border-radius: 6px; }
.stats {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
.stats .num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--terra); line-height: 1; }
.stats .cap { display: block; margin-top: 0.4rem; font-size: 0.9rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }

/* Atmosphere mosaic (courtyards / pools / hidden corners) ---------------
   Asymmetric "discovered fragments" — one wide pool banner over two tiles,
   each at a ratio close to the photo's own so nothing is awkwardly cropped. */
.atmos-mosaic {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
  margin-top: clamp(2rem, 5vw, 3.4rem);
}
.atmos-mosaic figure { margin: 0; display: flex; flex-direction: column; }
.atmos-mosaic img {
  width: 100%; object-fit: cover; border-radius: 6px;
}
.atmos-mosaic .tile-wide { grid-column: 1 / -1; }
.atmos-mosaic .tile-wide img { aspect-ratio: 16 / 7; object-position: center 58%; }
.atmos-mosaic .tile img { aspect-ratio: 3 / 2; }
.atmos-mosaic figcaption {
  margin-top: 0.9rem; font-size: 0.8rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* Framed image ----------------------------------------------------------- */
.framed {
  background: var(--paper); padding: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 11px var(--paper), 0 0 0 12px var(--clay);
  border-radius: 3px;
}
.framed img { border-radius: 1px; }
.caption { margin-top: 1.4rem; font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); }
.caption--light { color: var(--ochre-lt); }

/* Alternating feature rows ---------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media img { border-radius: 6px; width: 100%; object-fit: cover; }
.feature__body h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 1.2rem; }
.stay__cta { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

/* ---- "Jan sketches the room into existence" (Stay section only) --------
   Progressive enhancement: default state below is the clean, bookable photo.
   JS adds .sketch-armed (pre-state) then .sketch-play (the reveal). No JS,
   no IntersectionObserver, or reduced-motion => clean photo, no layout shift. */
.sketch-reveal { position: relative; border-radius: 6px; overflow: hidden; }
.sketch-reveal img { width: 100%; display: block; border-radius: 0; }
.sketch-wash {
  position: absolute; inset: 0; background: var(--parchment);
  opacity: 0; pointer-events: none;
}
.sketch-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none;
  mix-blend-mode: multiply;  /* residue lines read as drawn *under* the photo */
}
.sketch-overlay path,
.sketch-overlay rect,
.sketch-overlay circle {
  fill: none; stroke: var(--clay); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}

/* Pre-state: parchment over a dimmed photo, sketch lines visible but undrawn */
.sketch-reveal.sketch-armed img { opacity: 0.10; filter: sepia(0.35); }
.sketch-reveal.sketch-armed .sketch-wash { opacity: 0.82; }
.sketch-reveal.sketch-armed .sketch-overlay { opacity: 0.95; }

/* Play: lines draw in (staggered via --d), then the real room materialises */
.sketch-reveal.sketch-play img {
  opacity: 1; filter: none;
  transition: opacity 1.4s ease 1.5s, filter 1.4s ease 1.5s;
}
.sketch-reveal.sketch-play .sketch-wash {
  opacity: 0; transition: opacity 1.4s ease 1.55s;
}
/* Faint residue: the artist's drawing stays barely visible under the photo */
.sketch-reveal.sketch-play .sketch-overlay {
  opacity: 0.05; transition: opacity 1.6s ease 1.7s;
}
.sketch-reveal.sketch-play .sketch-overlay path,
.sketch-reveal.sketch-play .sketch-overlay rect,
.sketch-reveal.sketch-play .sketch-overlay circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s ease;
  transition-delay: var(--d, 0s);
}

/* Dark immersive bands --------------------------------------------------- */
.band { position: relative; color: var(--cream); overflow: hidden; }
.band--music { background: var(--espresso); }
.band--final { background: var(--cocoa); text-align: center; }
.band--quote { background: var(--espresso); text-align: center; }
.band .eyebrow { color: var(--ochre-lt); }
.band h2 { color: var(--cream); }
.band .prose { color: rgba(244,233,214,0.82); }

.music__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.venues { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.venues li { border-top: 1px solid rgba(201,163,106,0.28); padding-top: 1.1rem; }
.venues h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: 0.3rem; }
.venues p { margin: 0; color: rgba(244,233,214,0.74); font-size: 0.98rem; }

/* Rooftop split ---------------------------------------------------------- */
.rooftop { background: var(--cocoa); color: var(--cream); }
.rooftop .eyebrow { color: var(--ochre-lt); }
.rooftop h2 { color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__media { min-height: 56vh; background-size: cover; background-position: center 38%; }
.split__body { padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.split__body .prose { color: rgba(244,233,214,0.82); }

/* Quote ------------------------------------------------------------------ */
.quote blockquote { margin: 0; max-width: 40rem; margin-inline: auto; }
.quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.4; color: var(--cream);
}
.quote cite { display: block; margin-top: 1.6rem; font-style: normal; font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-lt); }

/* Explore ---------------------------------------------------------------- */
.explore { background: var(--parchment); }
.explore .shell { position: relative; z-index: 1; }
.explore__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.6rem; margin-top: 2.6rem; }
.explore__grid li { list-style: none; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.explore__grid h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.explore__grid p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.explore ul { padding: 0; margin: 0; }

/* Final reserve ---------------------------------------------------------- */
.band--final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; margin-inline: auto; }
.band--final .prose { margin: 1.4rem auto 2.2rem; max-width: 46ch; }

/* ===========================================================================
   Footer
   =========================================================================== */
.site-footer { background: var(--espresso); color: rgba(244,233,214,0.78); position: relative; overflow: hidden; }
.site-footer .tx--map { opacity: 0.04; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 7vh, 5rem); }
.site-footer .brand { color: var(--cream); }
.footer__col h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--ochre-lt); margin: 0 0 1rem; }
.footer__col a { color: rgba(244,233,214,0.78); display: block; padding: 3px 0; font-size: 0.95rem; }
.footer__col a:hover { color: var(--cream); }
.footer__note { position: relative; z-index: 1; border-top: 1px solid rgba(201,163,106,0.2); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.84rem; color: rgba(244,233,214,0.72); }
.footer__charity { font-style: italic; font-family: var(--serif); color: var(--ochre-lt); }

/* ===========================================================================
   Stay page
   =========================================================================== */
.room { position: relative; }
.room__kicker { color: var(--clay); }
.room-facts {
  list-style: none; margin: 1.5rem 0; padding: 1.3rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.3rem 2rem;
}
.room-facts li { font-size: 0.97rem; color: var(--ink-soft); line-height: 1.3; }
.room-facts li b {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 3px;
}
.room-cta { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }

/* primary image + an optional "tucked-in" supporting thumbnail (collected feel) */
.room-media { position: relative; }
.room-media img.room-primary { width: 100%; border-radius: 6px; }
.room-media.has-thumb { padding: 0 2.2rem 2.8rem 0; }
.room-media .room-thumb {
  position: absolute; right: 0; bottom: 0; width: 44%;
  background: var(--paper); padding: 7px; border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line);
}
.room-media .room-thumb img { width: 100%; border-radius: 2px; }

/* good-to-know strip */
.goodtoknow { background: var(--parchment); }
.gtk-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 2.2rem; margin-top: 2.2rem; }
.gtk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gtk-grid li { border-top: 2px solid var(--terra); padding-top: 1rem; }
.gtk-grid h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }
.gtk-grid p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }

/* in-every-room amenities */
.amenities-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; margin-top: 2.2rem; }
.amenities-grid li { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 1rem; color: var(--ink); }
.amenities-grid li span { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* full-bleed photo quote band */
.photo-band { position: relative; color: var(--cream); overflow: hidden; }
.photo-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-band__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,14,9,0.9) 0%, rgba(20,14,9,0.6) 55%, rgba(20,14,9,0.4) 100%); }
.photo-band .shell { position: relative; z-index: 1; }
.photo-band blockquote { margin: 0; max-width: 36rem; }
.photo-band p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.35; color: var(--cream); }
.photo-band cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-lt); }

/* mobile sticky reserve bar (Stay page only) */
.reserve-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 0.7rem; align-items: center;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(26,19,13,0.96); border-top: 1px solid rgba(201,163,106,0.25);
  transform: translateY(115%); transition: transform 0.4s cubic-bezier(.16,.7,.3,1);
}
.reserve-bar .btn { flex: 1; text-align: center; padding-block: 0.8rem; }
.reserve-bar.show { transform: none; }
@media (max-width: 760px) { .reserve-bar { display: flex; } }

/* ===========================================================================
   Music page (darker / candlelit; reuses feature, room-media, photo-band)
   =========================================================================== */
.band--cocoa { background: var(--cocoa); color: var(--cream); }
.section--parchment { background: var(--parchment); }

/* centered dark manifesto */
.manifesto-dark { text-align: center; }
.manifesto-dark .shell { max-width: 62rem; }
.manifesto-dark p { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.36; color: var(--cream); margin: 0; }
.manifesto-dark em { font-style: italic; color: var(--ochre-lt); }

/* make reused light-section components legible on dark bands */
.band .lead { color: rgba(244,233,214,0.88); }
.band .room-facts { border-top-color: rgba(201,163,106,0.28); }
.band .room-facts li { color: rgba(244,233,214,0.82); }
.band .room-facts li b { color: var(--ochre-lt); }
.band .gtk-grid li { border-top-color: var(--terra); }
.band .gtk-grid h3 { color: var(--cream); }
.band .gtk-grid p { color: rgba(244,233,214,0.8); }

/* ===========================================================================
   Art & History page
   =========================================================================== */
/* watercolor-wash fade — applied to artwork images only; blooms when its
   parent .reveal enters view. Honors reduced-motion (see media query below). */
.wc-art {
  opacity: 0; filter: blur(7px) saturate(0.55); transform: scale(1.015);
  transition: opacity 1.4s ease, filter 1.6s ease, transform 1.6s ease;
}
.reveal.is-visible .wc-art { opacity: 1; filter: none; transform: none; }

/* the two artworks, matted like pieces on a wall */
.art-stack { display: flex; flex-direction: column; gap: 1.6rem; }
.art-stack figure { margin: 0; }
.art-stack .art-bronze-fig { width: 66%; }
.art-stack figcaption {
  margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ===========================================================================
   The Cannon Club page (dark, candlelit, theatrical)
   =========================================================================== */
:root { --garnet: #7a2230; }

/* candlelight-rise hero: the room warms up from near-dark on load. Pure CSS,
   reduced-motion-safe (final state is simply the lit room). No transform here,
   so it never fights the hero parallax. */
/* focal point: keep the cocktail + Reservado card (lower band of the portrait
   image) in the desktop crop; the chandelier glow is carried by the cc-glows.
   One position for arrival and final state — the reveal animates filter only,
   so the crop never jumps. On mobile the full image height is visible. */
.cc-hero .hero__bg { background-position: center 60%; }
@media (min-aspect-ratio: 16/9) {
  .cc-hero .hero__bg { background-position: center 64%; }
}
.cc-hero .hero__bg { animation: cc-candlelight 2.1s ease-out both; }
@keyframes cc-candlelight {
  0%   { filter: brightness(0.26) saturate(0.82); }
  100% { filter: brightness(1) saturate(1); }
}
.cc-hero__dark {
  position: absolute; inset: 0; z-index: 2; background: #0b0705;
  opacity: 0; pointer-events: none; animation: cc-darkfade 2.3s ease-out both;
}
@keyframes cc-darkfade { 0% { opacity: 0.9; } 55% { opacity: 0.42; } 100% { opacity: 0; } }

/* thin brass/garnet line that draws in under the headline */
.cc-hero__rule {
  height: 2px; width: 0; margin: 1.5rem 0 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--garnet), var(--ochre), var(--ochre-lt), transparent);
  animation: cc-rule 1.3s cubic-bezier(.16,.7,.3,1) 0.9s both;
}
@keyframes cc-rule { to { width: clamp(140px, 32vw, 360px); } }

/* candlelight energy — soft warm glow points (chandelier + candles) and a slow
   cocktail/Reservado highlight. Decorative, screen-blended, GPU-cheap (only
   opacity/transform animate — no blur or scroll-tied filters). */
.cc-glows { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.cc-glow {
  position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0;
  transform: translate(-50%, -50%) scale(0.96); will-change: opacity, transform;
  background: radial-gradient(circle, rgba(255,206,138,0.60) 0%, rgba(255,176,86,0.18) 42%, transparent 70%);
  animation: cc-flicker 5.2s ease-in-out infinite;
}
.cc-glow--1 { top: 13%; left: 48%; width: 92px; height: 92px; animation-duration: 4.7s; animation-delay: .2s; }
.cc-glow--2 { top: 19%; left: 55%; width: 62px; height: 62px; animation-duration: 6.2s; animation-delay: 1.2s; }
.cc-glow--3 { top: 15%; left: 60%; width: 48px; height: 48px; animation-duration: 5.4s; animation-delay: 2.1s; }
.cc-glow--4 { top: 38%; left: 69%; width: 46px; height: 46px; animation-duration: 5.9s; animation-delay: .7s; }
.cc-glow--5 { top: 30%; left: 43%; width: 40px; height: 40px; animation-duration: 6.7s; animation-delay: 1.7s; }
@keyframes cc-flicker {
  0%, 100% { opacity: 0.16; transform: translate(-50%,-50%) scale(0.95); }
  45%      { opacity: 0.40; transform: translate(-50%,-50%) scale(1.06); }
  62%      { opacity: 0.27; transform: translate(-50%,-50%) scale(1.00); }
}
.cc-glow--cocktail {
  top: 70%; left: 52%; width: 240px; height: 170px;
  background: radial-gradient(ellipse at center, rgba(255,196,120,0.42) 0%, rgba(255,168,78,0.12) 46%, transparent 72%);
  animation: cc-breathe 7.5s ease-in-out infinite .8s;
}
@keyframes cc-breathe {
  0%, 100% { opacity: 0.14; transform: translate(-50%,-50%) scale(0.97); }
  50%      { opacity: 0.36; transform: translate(-50%,-50%) scale(1.05); }
}

/* tactile hero CTAs — scoped to the Cannon Club hero so other pages are untouched */
.cc-hero .btn--reserve { transition: background-color .3s ease, box-shadow .35s ease, transform .25s ease; }
.cc-hero .btn--reserve:hover, .cc-hero .btn--reserve:focus-visible {
  box-shadow: 0 0 0 1px rgba(201,163,106,0.5), 0 8px 24px -8px rgba(201,163,106,0.6);
  transform: translateY(-1px);
}
.cc-hero .btn--ghost { transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .35s ease; }
.cc-hero .btn--ghost:hover, .cc-hero .btn--ghost:focus-visible {
  border-color: var(--ochre-lt); color: #fff;
  box-shadow: 0 0 20px -5px rgba(201,163,106,0.5);
}

@media (prefers-reduced-motion: reduce) {
  .cc-hero .hero__bg { animation: none; }
  .cc-hero__dark { animation: none; opacity: 0; }
  .cc-hero__rule { animation: none; width: clamp(140px, 32vw, 360px); }
  .cc-glow, .cc-glow--cocktail { animation: none; opacity: 0.12; }
}

/* ===========================================================================
   FAQ page
   =========================================================================== */
.hero--compact { min-height: 58svh; }

.faq-intro { max-width: 62rem; }

/* category jump links */
.faq-jump { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.faq-jump a {
  display: inline-block; font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 40px; padding: 0.5rem 1.05rem;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.faq-jump a:hover, .faq-jump a:focus-visible { color: var(--ink); border-color: var(--ochre); background: var(--paper); }

/* category blocks */
.faq-cat { scroll-margin-top: 90px; }
.faq-cat + .faq-cat { margin-top: clamp(2.5rem, 6vh, 4.5rem); }
.faq-cat > h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.3rem; }

/* accordion (native details/summary) */
.faq-list { border-top: 1px solid var(--line); margin-top: 1.1rem; }
.faq-q { border-bottom: 1px solid var(--line); }
.faq-q > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  padding: 1.05rem 0; font-family: var(--serif); font-size: 1.12rem;
  color: var(--ink); line-height: 1.3;
}
.faq-q > summary::-webkit-details-marker { display: none; }
.faq-q > summary::after {
  content: "+"; flex: none; font-family: var(--sans); font-weight: 400;
  font-size: 1.4rem; line-height: 1.1; color: var(--ochre);
}
.faq-q[open] > summary::after { content: "\2212"; }
.faq-q > summary:hover { color: var(--clay); }
.faq-a { padding: 0 0 1.25rem; margin: 0; max-width: 66ch; color: var(--ink-soft); }
.faq-a + .faq-a { margin-top: 0.7rem; }
.faq-a a { color: var(--terra); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.faq-a a:hover { color: var(--clay); }
@media (prefers-reduced-motion: no-preference) {
  .faq-q[open] .faq-a { animation: faq-open .28s ease both; }
  @keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* ===========================================================================
   Dining — Café Galería morning note (small real photo, shown at native
   size so the 447px source never upscales)
   =========================================================================== */
.cafe-note { display: flex; gap: clamp(1.8rem, 4.5vw, 3.6rem); align-items: center; }
.cafe-note__img { flex: 0 0 auto; width: min(420px, 44%); }
.cafe-note__img img { border-radius: 6px; box-shadow: 0 12px 30px rgba(31, 24, 18, 0.16); }
.cafe-note__body { max-width: 34rem; }
.cafe-note__body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 0.9rem; }
.cafe-note__body .lead { margin: 0; }
@media (max-width: 760px) {
  .cafe-note { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .cafe-note__img { width: min(380px, 100%); }
}

/* ===========================================================================
   Dining — Studio Hall living-photograph video (sits in the feature slot
   exactly like a still: full column width, natural ratio, no chrome)
   =========================================================================== */
.room-media video.room-video-inline {
  display: block; width: 100%; height: auto; border-radius: 6px;
  background: var(--espresso);
}

/* ===========================================================================
   Portrait video cards — intentional 9:16 vertical cards, not cropped
   landscape slots. `.room-media--video` sits inside a feature column
   (Stay terraces); `.plate-video` is a quiet standalone centered plate
   with a small-caps caption (Explore El Morro).
   =========================================================================== */
.room-media--video { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
.room-media--video .room-video,
.plate-video .room-video {
  display: block; width: 330px; max-width: 100%; height: auto;
  aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 8px; background: var(--espresso);
  box-shadow: 0 18px 44px rgba(20, 14, 9, 0.22);
}
.plate-video { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.plate-video .room-video { width: 372px; }
.plate-video figcaption {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
@media (max-width: 760px) {
  .room-media--video .room-video,
  .plate-video .room-video { width: auto; max-height: 68vh; }
}

/* ===========================================================================
   Inquiry forms (Netlify Forms) — general inquiry on faq.html (light) and
   private-event inquiry on cannon-club.html (dark band variant). Warm tokens
   only; labels echo the eyebrow small-caps convention.
   =========================================================================== */
.inq-form { max-width: 560px; margin-top: 1.8rem; display: grid; gap: 1rem; }
.inq-form label {
  display: grid; gap: 0.35rem; font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.inq-form input, .inq-form select, .inq-form textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 0.65rem 0.8rem; width: 100%;
}
.inq-form textarea { min-height: 7.5rem; resize: vertical; }
.inq-form input:focus, .inq-form select:focus, .inq-form textarea:focus {
  outline: 2px solid var(--terra); outline-offset: 1px;
}
.inq-form .inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inq-form .inq-hp { display: none; }
.inq-form button.btn {
  justify-self: start; cursor: pointer; appearance: none; -webkit-appearance: none;
  font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0.06em;
}
.inq-form button.btn--ink { background: transparent; padding: 0; }
@media (max-width: 560px) { .inq-form .inq-row { grid-template-columns: 1fr; } }
.band .inq-form label { color: inherit; opacity: 0.85; }
.band .inq-form input, .band .inq-form select, .band .inq-form textarea {
  background: rgba(242, 234, 219, 0.07); border-color: rgba(242, 234, 219, 0.28); color: inherit;
}
.band .inq-form input:focus, .band .inq-form select:focus, .band .inq-form textarea:focus {
  outline-color: var(--ochre-lt);
}

/* ===========================================================================
   Cannon Club — OpenTable reservation widget (final Reserve band only).
   Container styling only; the widget's internal UI is OpenTable's own.
   min-height reserves space for the standard widget to avoid layout shift.
   =========================================================================== */
.cc-ot-embed {
  display: flex; justify-content: center;
  margin: 2.2rem auto 0.6rem; min-height: 302px;
  max-width: 100%; overflow-x: hidden;
}
.cc-ot-embed iframe { max-width: 100%; border-radius: 6px; }
.cc-ot-embed noscript a { color: var(--ochre-lt); border-bottom: 1px solid var(--ochre-lt); }

/* ===========================================================================
   Cannon Club arrival — "eyes adjusting" candlelight reveal
   First visit per session: the room is visible from the first frame, dim and
   moody, then warms to full candlelight as if your eyes are adjusting on
   stepping inside. A soft amber bloom near the cocktail/chandelier leads the
   light in, then dissipates. Gated by html.cc-arrival-on (pre-paint script
   in cannon-club.html); replay with ?ccarrival=1. Repeat visits keep the
   standard candlelight-rise.
   =========================================================================== */
.cc-adjust { display: none; }

/* warm bloom that leads the light in, focused near the cocktail/chandelier */
html.cc-arrival-on .cc-adjust {
  display: block; position: absolute; inset: 0; z-index: 2;
  pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background:
    radial-gradient(42% 38% at 40% 58%, rgba(201,163,106,0.55) 0%, rgba(192,138,62,0.22) 45%, transparent 72%),
    radial-gradient(30% 26% at 55% 20%, rgba(201,163,106,0.35) 0%, transparent 70%);
  animation: cc-bloom 1.6s ease-out both;
}
/* the room, dim but recognizable from frame one, warming to full */
html.cc-arrival-on .cc-hero .hero__bg { animation: cc-eyes-adjust 1.5s ease-out both; }
html.cc-arrival-on .cc-hero__dark { animation: cc-dim-lift 1.3s ease-out both; }
html.cc-arrival-on .cc-hero__rule { animation-delay: 0.8s; animation-duration: 0.9s; }
html.cc-arrival-on .cc-hero .hero__inner {
  animation: cc-inner-rise 0.7s cubic-bezier(0.16, 0.7, 0.3, 1) 0.45s both;
}

@keyframes cc-eyes-adjust {
  0%   { filter: brightness(0.42) saturate(0.75) contrast(1.05); }
  60%  { filter: brightness(0.85) saturate(0.94) contrast(1.01); }
  100% { filter: brightness(1) saturate(1) contrast(1); }
}
@keyframes cc-dim-lift  { 0% { opacity: 0.55; } 100% { opacity: 0; } }
@keyframes cc-bloom     { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cc-inner-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
  html.cc-arrival-on .cc-adjust {
    background:
      radial-gradient(56% 34% at 46% 56%, rgba(201,163,106,0.5) 0%, rgba(192,138,62,0.2) 45%, transparent 72%),
      radial-gradient(40% 24% at 55% 18%, rgba(201,163,106,0.32) 0%, transparent 70%);
  }
}

/* reduced motion: no dim phase, no bloom — straight to the finished hero
   (the base .cc-hero reduced-motion rules already cover the standard rise) */
@media (prefers-reduced-motion: reduce) {
  html.cc-arrival-on .cc-adjust { display: none; animation: none; }
  html.cc-arrival-on .cc-hero .hero__bg { animation: none; }
  html.cc-arrival-on .cc-hero__dark { animation: none; opacity: 0; }
  html.cc-arrival-on .cc-hero .hero__inner { animation: none; }
}

/* ===========================================================================
   Cannon Club — the printed menu (ivory sheet, cocktail leaf, cellar lists)
   =========================================================================== */
/* link inside the lead line */
.cc-menu-call { color: var(--ochre-lt); border-bottom: 1px solid var(--ochre-lt); padding-bottom: 1px; }
.cc-menu-call:hover { color: var(--cream); border-color: var(--cream); }

/* the sheet: a printed supper-club menu on warm paper */
.cc-sheet {
  position: relative; margin-top: 2.4rem;
  background: var(--paper); color: var(--ink);
  border-radius: 3px; box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.4rem, 5vw, 3.4rem);
}
.cc-sheet::after { /* thin inner rule, like a printed frame */
  content: ""; position: absolute; inset: 12px;
  border: 1px solid var(--line); border-radius: 2px; pointer-events: none;
}
.cc-sheet__head { text-align: center; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.cc-sheet__mark {
  display: block; font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay);
}
.cc-sheet__sub {
  display: block; margin-top: 0.45rem; font-size: 0.6rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft);
}
.cc-sheet__cols { columns: 2; column-gap: clamp(2.2rem, 5vw, 4.2rem); }
.cc-course { margin: 0 0 1.9rem; }
.cc-course h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: var(--terra);
  border-bottom: 1px solid var(--line); padding-bottom: 0.45rem; margin-bottom: 1rem;
  break-after: avoid;
}
.cc-dish { margin-bottom: 1.05rem; break-inside: avoid; }
.cc-dish__row { display: flex; align-items: baseline; }
.cc-dish__name { font-family: var(--serif); font-size: 1.05rem; }
.cc-dish__dots {
  flex: 1; min-width: 1.4rem; margin: 0 0.45rem;
  border-bottom: 1px dotted rgba(92, 80, 68, 0.45);
  align-self: center; transform: translateY(0.18em);
}
.cc-dish__price { font-family: var(--serif); color: var(--clay); white-space: nowrap; }
.cc-dish p { margin: 0.28rem 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
.cc-sheet__note {
  margin: 1.4rem 0 0; text-align: center; font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.7;
}

/* the cocktail page: the menu's dark back leaf */
.cc-barpage {
  margin-top: 2rem; border-radius: 3px; color: var(--cream);
  background: linear-gradient(160deg, var(--garnet), #4a1420 70%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  padding: clamp(1.8rem, 4.5vw, 3rem) clamp(1.4rem, 5vw, 3.4rem);
}
.cc-barpage h3 {
  text-align: center; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.5rem; color: var(--ochre-lt); margin: 0 0 1.4rem;
}
.cc-barpage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem clamp(2rem, 5vw, 4rem); }
.cc-barpage .cc-dish { margin-bottom: 0.4rem; }
.cc-barpage .cc-dish__name { color: var(--cream); }
.cc-barpage .cc-dish__dots { border-bottom-color: rgba(244, 233, 214, 0.3); }
.cc-barpage .cc-dish__price { color: var(--ochre-lt); }
.cc-barpage .cc-dish p { color: rgba(244, 233, 214, 0.75); }

/* the cellar: compact wine, beer & drinks lists on the dark band */
.cc-cellar {
  margin-top: 2.4rem; display: grid; grid-template-columns: 2.1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem); color: var(--cream);
}
.cc-cellar h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.25rem;
  color: var(--ochre-lt); border-bottom: 1px solid rgba(216, 203, 179, 0.25);
  padding-bottom: 0.4rem; margin: 0 0 0.9rem;
}
.cc-cellar__side h4 + ul + h4 { margin-top: 1.6rem; }
.cc-cellar__legend { margin: -0.3rem 0 0.9rem; font-size: 0.72rem; letter-spacing: 0.05em; color: rgba(244, 233, 214, 0.6); }
.cc-cellar__winecols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.6rem, 4vw, 3rem); }
.cc-cellar ul { list-style: none; margin: 0; padding: 0; }
.cc-cellar li { display: flex; align-items: baseline; padding: 0.26rem 0; font-size: 0.93rem; }
.cc-cellar li .cc-dish__dots { border-bottom-color: rgba(244, 233, 214, 0.22); }
.cc-cellar li b { font-weight: 400; font-family: var(--serif); color: var(--ochre-lt); white-space: nowrap; }

@media (max-width: 860px) {
  .cc-sheet__cols { columns: 1; }
  .cc-barpage__grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .cc-cellar { grid-template-columns: 1fr; }
  .cc-cellar__winecols { grid-template-columns: 1fr; gap: 0; }
}

/* ===========================================================================
   Stay — room-life image pair (parlor + portrait view), shown inside the
   "The rooms" intro section
   =========================================================================== */
.stay-mood__pair {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem); align-items: end; margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.stay-mood figure { margin: 0; }
.stay-mood img { width: 100%; height: auto; display: block; border-radius: 6px; }
.stay-mood__view img { aspect-ratio: 3 / 4; object-fit: cover; }
.stay-mood figcaption {
  margin-top: 0.6rem; font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 760px) {
  .stay-mood__pair { grid-template-columns: 1fr; gap: 1.4rem; }
  .stay-mood__view { text-align: center; }
  .stay-mood__view img { width: auto; max-height: 66vh; margin-inline: auto; }
}

/* ===========================================================================
   Reveal animations
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.16,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* slow texture drift */
@keyframes drift { from { transform: translate3d(0,0,0) scale(1.06); } to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.06); } }
.tx.drift { animation: drift 64s ease-in-out infinite alternate; }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 920px) {
  .house__grid, .feature, .music__grid, .split, .explore__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .split__media { min-height: 50vh; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .explore__grid { grid-template-columns: 1fr 1fr; }
  .gtk-grid, .amenities-grid { grid-template-columns: 1fr 1fr; }
  .room-media.has-thumb { padding: 0; }
  .room-media .room-thumb { position: static; width: 58%; margin: 0.9rem 0 0 auto; }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: rgba(26,19,13,0.98); flex-direction: column; gap: 0;
    padding: 5.5rem 2rem 2rem; transform: translateX(100%);
    transition: transform .45s cubic-bezier(.16,.7,.3,1);
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid rgba(201,163,106,0.15); width: 100%; font-size: 1rem; }
  .nav-toggle { display: block; z-index: 110; }
  .site-header { background: rgba(31,24,18,0.92); }
}

@media (max-width: 620px) {
  .atmos-mosaic { grid-template-columns: 1fr; gap: 1.4rem; }
  .atmos-mosaic .tile-wide img,
  .atmos-mosaic .tile img { aspect-ratio: 16 / 10; object-position: center; }

  /* Simplified sketch on mobile: keep the room clearly legible throughout */
  .sketch-reveal.sketch-armed img { opacity: 0.32; filter: sepia(0.25); }
  .sketch-reveal.sketch-armed .sketch-wash { opacity: 0.55; }
  .sketch-reveal.sketch-armed .sketch-overlay { opacity: 0.8; }
}

@media (max-width: 560px) {
  .footer__grid, .explore__grid, .stats, .gtk-grid, .amenities-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  .hero__scroll { display: none; }
  .hero { min-height: 92svh; }
}

/* ===========================================================================
   Reduced motion
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tx.drift { animation: none; }
  .hero__bg { transform: none !important; }
  .sketch-wash, .sketch-overlay { display: none !important; }
  .sketch-reveal img { opacity: 1 !important; filter: none !important; }
  .wc-art { opacity: 1 !important; filter: none !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}
