/* =========================================================
   POSADA DOÑA MARINA — Design System
   Paleta: beige · arena · blanco cálido · verde olivo · negro
   ========================================================= */
:root {
  --ivory: #FAF7F1;
  --cream: #F3EDE2;
  --beige: #E8DFD0;
  --sand: #D6C5A6;
  --gold: #B39A6E;
  --gold-d: #9A8257;
  --olive: #5C6142;
  --olive-d: #3D412C;
  --green: #2E6B3F;   /* verde de botones de reserva y WhatsApp */
  --green-d: #1F4D2B;
  --ink: #141412;
  --ink-2: #23221E;
  --muted: #6F6A5F;
  --line: rgba(20, 20, 18, .12);
  --line-light: rgba(250, 247, 241, .2);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(1.25rem, 5vw, 6rem);
  --radius: 2px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--olive); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* Subtle film grain over the whole site */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 10% { transform: translate(-5%,-10%) } 30% { transform: translate(3%,-15%) }
  50% { transform: translate(12%,9%) } 70% { transform: translate(9%,4%) } 90% { transform: translate(-1%,7%) }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--olive);
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--sand); }
.hero__eyebrow::before { display: none; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  line-height: 1.02; letter-spacing: -.015em; color: var(--ink);
  margin-bottom: 1.8rem;
}
.display em { color: var(--olive); font-weight: 300; }
.display--xl { font-size: clamp(3rem, 7.5vw, 7rem); }
.section--dark .display, .dining__title .display, .cta .display { color: var(--ivory); }
.section--dark .display em, .dining__title .display em, .cta .display em { color: var(--sand); }
.lead { font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.5; color: var(--ink); font-weight: 400; }
.fineprint { font-size: .78rem; color: var(--muted); margin-top: 2rem; }
.fineprint code { font-size: .74rem; background: var(--beige); padding: .1em .4em; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.15rem 2.2rem; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--radius); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: .85rem 1.5rem; font-size: .68rem; }
.btn--gold { background: var(--green); color: var(--ivory); }
.btn--gold::before { background: var(--green-d); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark::before { background: var(--olive); }
.btn--ghost-light { border: 1px solid rgba(250,247,241,.5); color: var(--ivory); }
.btn--ghost-light::before { background: var(--ivory); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--ivory); }
.btn--wa { background: var(--green); color: var(--ivory); }
.btn--wa::before { background: var(--green-d); }
.btn--wa svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink); color: var(--ivory);
  display: grid; place-items: center; transition: clip-path 1.2s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { text-align: center; display: grid; justify-items: center; gap: .4rem; }
.loader__eyebrow, .loader__place { font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; color: var(--sand); opacity: 0; animation: fadeUp 1s var(--ease) .2s forwards; }
.loader__place { animation-delay: .9s; }
.loader__name { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 300; line-height: 1; opacity: 0; animation: fadeUp 1.2s var(--ease) .4s forwards; }
.loader__line { width: 0; height: 1px; background: var(--gold); margin: 1rem 0; animation: line 1.4s var(--ease) .6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes line { to { width: 120px; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--pad); color: var(--ivory);
  transition: background .6s var(--ease), height .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), box-shadow .6s;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(250, 247, 241, .9); color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.brand { display: grid; line-height: 1; text-align: center; }
.brand__small { font-size: .58rem; letter-spacing: .55em; text-transform: uppercase; margin-bottom: .3rem; padding-left: .55em; opacity: .8; }
.brand__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; letter-spacing: .02em; }
.nav { display: flex; gap: 2.4rem; }
.nav a { position: relative; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 1.6rem; }
.header__phone { font-size: .78rem; letter-spacing: .08em; opacity: .85; }
.burger { display: none; width: 42px; height: 42px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
body.menu-open .header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 110; pointer-events: none; color: var(--ivory); }
.menu__bg { position: absolute; inset: 0; background: var(--olive-d); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-io); }
.menu__nav { position: relative; display: grid; gap: .2rem; padding: calc(var(--header-h) + 2rem) var(--pad) 0; }
.menu__nav a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.25; font-weight: 300; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu__nav em { font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .2em; color: var(--sand); margin-right: 1rem; vertical-align: middle; }
.menu__foot { position: absolute; bottom: 2rem; left: var(--pad); right: var(--pad); display: grid; gap: .3rem; font-size: .85rem; opacity: 0; transition: opacity .6s .5s; }
body.menu-open .menu { pointer-events: auto; }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
body.menu-open .menu__foot { opacity: .8; }
.menu__nav a:nth-child(1) { transition-delay: .25s } .menu__nav a:nth-child(2) { transition-delay: .3s } .menu__nav a:nth-child(3) { transition-delay: .35s }
.menu__nav a:nth-child(4) { transition-delay: .4s } .menu__nav a:nth-child(5) { transition-delay: .45s } .menu__nav a:nth-child(6) { transition-delay: .5s }
.menu__nav a:nth-child(7) { transition-delay: .55s } .menu__nav a:nth-child(8) { transition-delay: .6s } .menu__nav a:nth-child(9) { transition-delay: .65s }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden; color: var(--ivory); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.25); filter: brightness(.9) saturate(.95);
}
body.is-ready .hero__img { animation: kenburns 24s ease-out forwards; }
@keyframes kenburns { 0% { transform: scale(1.25); } 100% { transform: scale(1.04) translateY(-1%); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,18,.55) 0%, rgba(20,20,18,0) 28%),
    linear-gradient(90deg, rgba(20,20,18,.78) 0%, rgba(20,20,18,.45) 40%, rgba(20,20,18,0) 70%),
    linear-gradient(0deg, rgba(20,20,18,.88) 0%, rgba(20,20,18,.35) 45%, rgba(20,20,18,.05) 75%),
    radial-gradient(ellipse at 20% 80%, rgba(61,65,44,.35), transparent 60%);
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) clamp(9rem, 18vh, 12rem); max-width: 1100px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3.1rem, 8.2vw, 8.4rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 2rem; }
.hero__title em { color: var(--sand); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
body.is-ready .line > span { transform: none; }
body.is-ready .line:nth-child(2) > span { transition-delay: .12s; }
body.is-ready .line:nth-child(3) > span { transition-delay: .24s; }
.hero__eyebrow, .hero__lead, .hero__ctas, .hero__rating, .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
body.is-ready .hero__eyebrow { opacity: 1; transform: none; }
body.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .5s; }
body.is-ready .hero__ctas { opacity: 1; transform: none; transition-delay: .65s; }
body.is-ready .hero__rating, body.is-ready .hero__scroll { opacity: 1; transform: none; transition-delay: .9s; }
.hero__lead { max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(250,247,241,.82); font-weight: 300; margin-bottom: 2.6rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__rating { position: absolute; right: var(--pad); bottom: clamp(9rem, 18vh, 12rem); z-index: 2; text-align: right; font-size: .78rem; letter-spacing: .08em; color: rgba(250,247,241,.85); }
.hero__rating strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ivory); }
.stars { color: var(--gold); letter-spacing: .2em; font-size: .9rem; }
.star-part { position: relative; color: rgba(179,154,110,.3); }
.star-part::before { content: "★"; position: absolute; left: 0; width: 20%; overflow: hidden; color: var(--gold); }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; z-index: 2; display: grid; justify-items: center; gap: .7rem; margin-left: -2rem; width: 4rem; font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 54px; background: rgba(250,247,241,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ivory); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ---------- Booking ---------- */
.booking {
  position: relative; z-index: 5; margin: -5.2rem var(--pad) 0;
  background: var(--ivory); box-shadow: 0 40px 80px -30px rgba(20,20,18,.35);
  padding: 1.6rem; scroll-margin-top: 110px;
}
.booking__form { display: grid; grid-template-columns: 1fr 1fr .9fr 1.4fr auto; align-items: stretch; }
.field { display: grid; align-content: center; gap: .3rem; padding: .6rem 1.6rem; border-right: 1px solid var(--line); }
.field label { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select {
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); background: transparent; border: 0; padding: 0; width: 100%;
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 2rem;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C6142' stroke-width='1.3'/%3E%3C/svg%3E") right center no-repeat; padding-right: 1.4rem; }
.field input:focus, .field select:focus { outline: none; }
.field:focus-within { background: var(--cream); }
.field.is-invalid label { color: #9b3d2c; }
.stepper { display: flex; align-items: center; gap: .6rem; }
.stepper button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 1rem; line-height: 1; transition: background .3s, color .3s; }
.stepper button:hover { background: var(--ink); color: var(--ivory); }
.stepper input { width: 2rem; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.booking__submit { margin-left: 1.2rem; padding-inline: 2.2rem; }
.booking__result {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding: 1.6rem; background: var(--cream); border-left: 2px solid var(--olive);
  animation: fadeUp .7s var(--ease);
}
.booking__summary .eyebrow { margin-bottom: .4rem; }
.booking__line { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0; }
.booking__total { margin: .3rem 0 0; display: grid; }
.booking__total span { font-family: var(--serif); font-size: 2rem; color: var(--olive); line-height: 1.2; }
.booking__total small { font-size: .72rem; color: var(--muted); }
.booking__note { margin: 1rem 0 0; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(5.5rem, 12vw, 10rem) var(--pad); position: relative; }
.section--sand { background: var(--cream); }
.section--dark { background: var(--ink); color: rgba(250,247,241,.75); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: clamp(3rem, 6vw, 5rem); flex-wrap: wrap; }
.section__head .display { margin-bottom: 0; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section__head--center .eyebrow::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; }
.section__intro { max-width: 26rem; color: var(--muted); margin: 0; }

/* ---------- Concept ---------- */
.concept__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.concept__text p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 32rem; }
.signature { margin-top: 2.6rem; display: grid; }
.signature__name { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--olive); line-height: 1; }
.signature__role { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.concept__media { position: relative; height: clamp(520px, 62vw, 760px); }
.concept__img { position: absolute; margin: 0; overflow: hidden; }
.concept__img img { width: 100%; height: 115%; object-fit: cover; }
.concept__img--a { top: 0; right: 0; width: 72%; height: 82%; }
.concept__img--b { left: 0; bottom: 0; width: 46%; height: 44%; border: 10px solid var(--ivory); z-index: 2; }
.concept__img--b img { height: 100%; }
.concept__badge { position: absolute; left: 14%; top: 10%; width: 150px; height: 150px; z-index: 3; display: grid; place-items: center; }
.concept__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.concept__badge text { font-size: 15px; letter-spacing: 4.2px; text-transform: uppercase; fill: var(--ink); font-family: var(--sans); font-weight: 500; }
.concept__badge span { font-family: var(--serif); font-size: 1.8rem; font-style: italic; color: var(--ivory); width: 74px; height: 74px; border-radius: 50%; background: var(--olive); display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(4rem, 8vw, 7rem) 0 0; border-top: 1px solid var(--line); }
.stat { padding: 2rem 1.5rem 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 0 0 .4rem; font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1; color: var(--ink); font-weight: 300; }
.stat dd small { font-size: .45em; color: var(--olive); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--olive); color: var(--ivory); padding: 1.6rem 0; }
.marquee__track { display: flex; width: max-content; gap: 3rem; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--sand); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rooms ---------- */
.rooms__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
.room { position: relative; display: flex; flex-direction: column; }
.room:nth-child(even) { margin-top: clamp(0rem, 8vw, 8rem); }
.room:nth-child(odd):not(:first-child) { margin-top: clamp(-8rem, -8vw, 0rem); }
.room__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--beige); }
.room__media img, .room__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s; }
.room:hover .room__media img, .room:hover .room__media .ph { transform: scale(1.06); }
.room__tag { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; background: var(--ivory); color: var(--ink); padding: .45rem .9rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.room__num { position: absolute; right: 1.2rem; bottom: .6rem; z-index: 2; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--ivory); opacity: .9; font-weight: 300; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.room__body { padding: 2rem 0 0; display: grid; gap: 1.1rem; }
.room__name { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.05; color: var(--ink); }
.room__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.room__meta span { display: inline-flex; gap: .5rem; align-items: center; }
.room__meta svg { width: 16px; height: 16px; fill: none; stroke: var(--olive); stroke-width: 1.3; }
.room__desc { color: var(--muted); margin: 0; max-width: 34rem; }
.room__feats { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.room__feats li { font-size: .74rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2); }
.room__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line); margin-top: .4rem; flex-wrap: wrap; }
.room__price small { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.room__price strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
.room__price span { font-size: .8rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink); padding-bottom: .3rem; border-bottom: 1px solid var(--ink); transition: gap .5s var(--ease), color .3s, border-color .3s; }
.link-arrow:hover { gap: 1.3rem; color: var(--olive); border-color: var(--olive); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Placeholder for future photography ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.55), transparent 55%),
    repeating-linear-gradient(135deg, rgba(92,97,66,.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--beige), var(--sand));
  display: grid; place-items: center; overflow: hidden;
}
.ph::before {
  content: ""; width: 44px; height: 44px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233D412C' stroke-width='1.2'%3E%3Crect x='5' y='12' width='38' height='28' rx='2'/%3E%3Ccircle cx='24' cy='26' r='8'/%3E%3Cpath d='M17 12l3-5h8l3 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-14px);
}
.ph::after {
  content: "Fotografía · " attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 18px); white-space: nowrap;
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--olive-d); font-weight: 600;
}
.ph--dark { background: radial-gradient(ellipse at 30% 20%, rgba(179,154,110,.25), transparent 60%), repeating-linear-gradient(135deg, rgba(250,247,241,.03) 0 2px, transparent 2px 14px), linear-gradient(160deg, #2c2d22, #1a1a16); }
.ph--dark::before { filter: invert(1); opacity: .4; }
.ph--dark::after { color: var(--sand); }

/* ---------- Amenities ---------- */
.amenities__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { padding: 2.6rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .6s var(--ease); position: relative; }
.amenity:hover { background: var(--ivory); }
.amenity svg { width: 40px; height: 40px; fill: none; stroke: var(--olive); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; transition: transform .6s var(--ease); }
.amenity:hover svg { transform: translateY(-4px); }
.amenity h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-bottom: .4rem; }
.amenity p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Experiences ---------- */
.slider-ctrl { display: flex; gap: .8rem; }
.circle-btn { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--ivory); transition: background .4s, color .4s, border-color .4s; }
.circle-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.circle-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.exp-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 32vw, 460px); gap: clamp(1.2rem, 2.5vw, 2.2rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad);
  scroll-padding: 0 var(--pad); cursor: grab;
}
.exp-track::-webkit-scrollbar { display: none; }
.exp-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.exp { scroll-snap-align: start; user-select: none; }
.exp__media { aspect-ratio: 3 / 4; overflow: hidden; background: #222; }
.exp__media img, .exp__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); pointer-events: none; }
.exp:hover .exp__media img, .exp:hover .exp__media .ph { transform: scale(1.06); }
.exp__body { padding-top: 1.6rem; }
.exp__num { font-size: .68rem; letter-spacing: .3em; color: var(--gold); }
.exp h3 { font-family: var(--serif); font-size: 1.9rem; color: var(--ivory); margin: .5rem 0 .6rem; line-height: 1.1; }
.exp p { font-size: .9rem; margin: 0; max-width: 24rem; }
.progress { height: 1px; background: var(--line-light); margin-top: 3.5rem; position: relative; }
.progress span { position: absolute; left: 0; top: 0; height: 1px; width: 20%; background: var(--sand); transition: width .3s; }

/* ---------- Dining ---------- */
.dining__hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; background: var(--ink); }
.dining__hero img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.dining__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.85), rgba(20,20,18,.1) 60%); }
.dining__title { position: relative; padding: 0 var(--pad) clamp(3rem, 8vw, 6rem); }
.dining__body { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.menu-list { list-style: none; padding: 0; margin: 2.4rem 0 2.8rem; }
.menu-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-list span { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.menu-list i { flex: 1; border-bottom: 1px dotted var(--sand); transform: translateY(-4px); }
.menu-list em { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--olive); }
.dining__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.dining__gallery figure { margin: 0; overflow: hidden; }
.dining__gallery figure:first-child { aspect-ratio: 3/4; margin-top: 5rem; }
.dining__gallery figure:last-child { aspect-ratio: 3/4.3; }
.dining__gallery img { width: 100%; height: 100%; object-fit: cover; }
.spaces { padding-top: 0; }
.spaces__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.space figure { margin: 0 0 1.3rem; aspect-ratio: 4/5; overflow: hidden; }
.space img, .space .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.space:hover img, .space:hover .ph { transform: scale(1.06); }
.space h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.space p { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { padding: .65rem 1.2rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line); border-radius: 100px; transition: all .4s var(--ease); }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.masonry { columns: 4; column-gap: 1rem; }
.g-item { position: relative; overflow: hidden; display: block; background: var(--beige); margin-bottom: 1rem; break-inside: avoid; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.g-item img { width: 100%; height: auto; transition: transform 1.4s var(--ease), filter .8s; }
.g-item::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0; padding: 3rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(20,20,18,.7), transparent); color: var(--ivory);
  font-family: var(--serif); font-size: 1.2rem; opacity: 0; transform: translateY(10px); transition: all .6s var(--ease);
}
a.g-item { cursor: zoom-in; }
a.g-item:hover img { transform: scale(1.07); }
a.g-item:hover::after { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(14,14,12,.96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 88vw; max-height: 84vh; display: grid; justify-items: center; gap: 1rem; }
.lightbox img { max-width: 88vw; max-height: 76vh; object-fit: contain; transform: scale(.96); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.lightbox.is-open img.is-loaded { transform: none; opacity: 1; }
.lightbox figcaption { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); font-style: italic; }
.lb-close { position: absolute; top: 1.2rem; right: 1.6rem; font-size: 2.6rem; color: var(--ivory); font-weight: 200; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; color: var(--ivory); transition: background .3s, color .3s; }
.lb-prev:hover, .lb-next:hover { background: var(--ivory); color: var(--ink); }
.lb-prev { left: 2vw; } .lb-next { right: 2vw; }
.lb-prev svg, .lb-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lb-count { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .3em; color: var(--sand); }

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.reviews__head { display: grid; justify-items: center; gap: .5rem; margin-bottom: 3.5rem; }
.reviews__head .eyebrow::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; }
.google-badge { display: flex; align-items: center; gap: 1rem; text-align: left; }
.google-badge strong { font-family: var(--serif); font-size: 3.4rem; font-weight: 300; line-height: 1; color: var(--ink); }
.google-badge small { display: block; font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.quotes { position: relative; max-width: 980px; margin: 0 auto; min-height: 15rem; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 0 2rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.25; color: var(--ink); }
.quote figcaption { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.quote figcaption span { color: var(--olive); font-weight: 600; }
.quotes__nav { display: flex; gap: .8rem; justify-content: center; margin-top: 2.6rem; }
.quotes__nav button { width: 38px; height: 2px; background: var(--line); position: relative; overflow: hidden; padding: 0; }
.quotes__nav button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--olive); animation: fill 6s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo-tag { display: inline-block; margin-top: 2.8rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: #8a5a2b; border: 1px dashed #c9a57a; padding: .5rem 1rem; background: rgba(201,165,122,.08); }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(3rem, 6vw, 6rem); align-items: stretch; }
.location address { font-style: normal; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--ink); margin-bottom: 2rem; }
.location address small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.nearby { list-style: none; margin: 0; padding: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.nearby li span { color: var(--ink); }
.nearby li em { font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); white-space: nowrap; }
.location .fineprint { margin: 1rem 0 2rem; }
.location__map { position: relative; min-height: 520px; overflow: hidden; background: var(--beige); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(.95) brightness(1.02); transition: filter .8s; }
.location__map:hover iframe { filter: none; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 8rem); }
.faq__grid > div:first-child p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }
.faq__grid > div:first-child { position: sticky; top: 120px; align-self: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.7rem 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: var(--ink); transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--olive); }
.accordion summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform .5s var(--ease), background .4s; }
.accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.accordion summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.accordion details[open] summary i { background: var(--ink); color: var(--ivory); }
.accordion details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.accordion details > div { overflow: hidden; }
.accordion details p { color: var(--muted); padding: 0 3rem 1.8rem 0; margin: 0; }
.todo { background: rgba(201,165,122,.18); color: #8a5a2b; padding: .05em .4em; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 88vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--ink); padding: 8rem var(--pad); }
.cta img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.cta__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20,20,18,.45), rgba(20,20,18,.82)); }
.cta__content { position: relative; display: grid; justify-items: center; }
.cta .eyebrow::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; }
.cta .hero__ctas { justify-content: center; opacity: 1; transform: none; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact__list li { display: grid; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact__list small { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); word-break: break-word; }
.contact__list a:hover { color: var(--olive); }
.contact__form { display: grid; gap: 1.6rem; align-content: start; background: var(--cream); padding: clamp(1.8rem, 4vw, 3.5rem); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.contact__form label { display: grid; gap: .4rem; }
.contact__form label span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__form input, .contact__form select, .contact__form textarea {
  font: inherit; font-size: 1rem; background: transparent; border: 0; border-bottom: 1px solid rgba(20,20,18,.25);
  padding: .6rem 0; color: var(--ink); border-radius: 0; transition: border-color .4s; resize: vertical; width: 100%;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--olive); }
.contact__form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(250,247,241,.65); padding: 6rem var(--pad) 2rem; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line-light); }
.brand--footer { color: var(--ivory); text-align: left; }
.brand--footer .brand__name { font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; }
.brand--footer .brand__small { padding-left: 0; }
.footer__claim { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sand); margin: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3.5rem 0; }
.footer__cols div { display: grid; gap: .6rem; align-content: start; }
.footer__cols h4 { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sand); margin-bottom: .6rem; font-weight: 600; }
.footer__cols a { width: fit-content; transition: color .3s; word-break: break-word; }
.footer__cols a:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .76rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }

/* ---------- Floating WA + Mobile bar ---------- */
.wa-float {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
  display: flex; align-items: center; gap: .7rem; height: 58px; padding: 0 17px;
  background: var(--green); color: var(--ivory); border-radius: 100px; box-shadow: 0 18px 40px -12px rgba(20,20,18,.5);
  transition: transform .5s var(--ease), background .4s, opacity .5s; transform: translateY(220%); opacity: 0;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; transition: max-width .6s var(--ease); }
.wa-float:hover { background: var(--green-d); }
.wa-float:hover span { max-width: 160px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--green); animation: pulse 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.mbar { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img:not(.concept__img) { position: relative; }
.reveal-img::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--reveal-bg, var(--ivory)); transform-origin: top; transition: transform 1.6s var(--ease-io); pointer-events: none; }
.section--sand .reveal-img { --reveal-bg: var(--cream); }
.reveal-img img { transform: scale(1.3); transition: transform 2.2s var(--ease); }
.reveal-img.is-in::after { transform: scaleY(0); }
.reveal-img.is-in img { transform: scale(1); }
img[data-parallax] { transform: translate3d(0, var(--py, 0), 0); will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .booking__form { grid-template-columns: 1fr 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); padding: 1rem; }
  .field--wide { grid-column: span 2; }
  .booking__submit { grid-column: span 2; margin: 1.2rem 0 0; }
  .amenity { padding: 2rem 1.4rem; }
  .spaces__grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 3; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .concept__grid, .dining__body, .location__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .concept__media { height: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .rooms__grid { grid-template-columns: 1fr; }
  .room:nth-child(n) { margin-top: 0; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid > div:first-child { position: static; }
  .hero__rating { display: none; }
  .location__map { min-height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header .btn--sm { display: none; }
  .brand__name { font-size: 1.45rem; }
  .hero { min-height: 600px; }
  .hero__content { padding-bottom: 7.5rem; }
  .hero__eyebrow { letter-spacing: .22em; gap: .6rem; font-size: .64rem; white-space: nowrap; }
  .hero__title { font-size: clamp(2.7rem, 12vw, 3.4rem); }  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .booking { margin: -3.5rem 1rem 0; padding: 1rem; }
  .booking__form { grid-template-columns: 1fr 1fr; }
  .field--wide, .booking__submit { grid-column: span 2; }
  .field { padding: .8rem .6rem; }
  .field input, .field select { font-size: 1.15rem; }
  .booking__result { padding: 1.2rem; }
  .booking__result .btn { width: 100%; }
  .concept__media { height: 420px; }
  .concept__badge { width: 110px; height: 110px; left: 4%; top: 4%; }
  .concept__badge text { font-size: 18px; }
  .concept__badge span { width: 54px; height: 54px; font-size: 1.3rem; }
  .stat dd { font-size: 2.6rem; }
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .amenity { padding: 1.8rem 1.1rem; }
  .amenity h3 { font-size: 1.2rem; }
  .amenity p { font-size: .8rem; }
  .exp-track { grid-auto-columns: 78vw; }
  .slider-ctrl { display: none; }
  .dining__hero { height: 75vh; }
  .dining__gallery figure:first-child { margin-top: 2.5rem; }
  .spaces__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .space h3 { font-size: 1.25rem; }
  .space p { font-size: .8rem; }
  .masonry { columns: 2; column-gap: .6rem; }
  .g-item { margin-bottom: .6rem; }
  .filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: .4rem; scrollbar-width: none; }
  .filters button { flex: none; }
  .cf-row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; width: 48px; height: 48px; }
  .wa-float { bottom: 5.6rem; right: 1rem; height: 54px; padding: 0 15px; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; justify-content: space-between;
    padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); background: rgba(20,20,18,.94); color: var(--ivory);
    backdrop-filter: blur(10px); transform: translateY(100%); transition: transform .6s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin: 0 .3rem; }
  .mbar small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
  .footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img::after { display: none; }
}
