/* =====================================================================
   ROGER'S BEACH HOUSE — "Golden Hour"
   Dusk-sea ink, warm sand, amber. Bodoni Moda + Manrope.
   ===================================================================== */

:root {
  --ink: #0E1B21;
  --ink-2: #14232A;
  --ink-3: #0B161B;
  --ink-4: #1C2E36;
  --sand: #EFE6D8;
  --sand-2: #E6DAC6;
  --amber: #E9B47A;
  --amber-hi: #F7CB97;
  --text: #EFE6D8;
  --text-soft: #D9CFC0;
  --text-mute: #BFB4A4;
  --line: rgba(239, 230, 216, 0.16);
  --on-sand: #14232A;
  --on-sand-soft: #4D4136;
  --on-sand-mute: #6A5A49;
  --on-sand-accent: #8A5A2B;
  --sand-line: #CBBDA6;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(96px, 11vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--amber); }
a:hover { color: var(--amber-hi); }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 1100px; }
.wrap--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sand { background: var(--sand); color: var(--on-sand); }
.serif { font-family: var(--serif); }

/* ---------- type ---------- */
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.kicker--dark { color: var(--on-sand-accent); }
.kicker--plain { color: var(--text-mute); letter-spacing: .22em; font-size: 11px; margin-bottom: 8px; }
.sand .kicker--plain { color: var(--on-sand-mute); }
.display-2, .display-3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.display-2 { font-size: clamp(42px, 5.6vw, 84px); }
.display-3 { font-size: clamp(38px, 4.8vw, 68px); }
.display-2 em, .display-3 em { color: var(--amber-hi); }
.sand .display-3 em { color: var(--on-sand-accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-hi); color: var(--ink); }
.btn--light { background: var(--sand); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--text); color: var(--text); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(239, 230, 216, .3);
  font-size: 18px; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.round:hover { background: var(--sand); color: var(--ink); }
.round[disabled] { opacity: .35; pointer-events: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; animation: drift 14s var(--ease) both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.03); } }
/* Two layers keep every line of hero text readable on any photo */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(8, 18, 22, .55), rgba(8, 18, 22, 0) 70%),
    linear-gradient(180deg, rgba(8, 18, 22, .66) 0%, rgba(8, 18, 22, .22) 22%, rgba(8, 18, 22, .38) 40%, rgba(8, 18, 22, .8) 62%, rgba(8, 18, 22, .94) 100%);
}

.topbar { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px var(--pad); }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.topbar__nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.topbar__nav a:hover { color: var(--amber-hi); }
.brand { justify-self: center; text-align: center; color: var(--text); text-decoration: none; line-height: 1.05; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.brand:hover { color: var(--text); }
.brand__name { display: block; font-family: var(--serif); font-style: italic; font-size: 32px; }
.brand__sub { display: block; font-size: 10px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; margin-top: 2px; }
.topbar__cta { justify-self: end; }
.menu-btn { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(14, 27, 33, .5); cursor: pointer; }
.menu-btn span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--text); transition: transform .45s var(--ease); }
.menu-btn span:first-child { transform: translate(-50%, -4px); }
.menu-btn span:last-child { transform: translate(-50%, 3px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

.hero__body { position: relative; z-index: 2; padding: 0 var(--pad) 40px; display: flex; flex-direction: column; gap: 34px; }
.hero__copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 8.4vw, 132px); line-height: .92; letter-spacing: -.02em;
  color: #FBF6EE; max-width: 980px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
  animation: rise 1.4s var(--ease) .2s both;
}
.hero__title em { color: var(--amber-hi); }
.hero__lead { max-width: 340px; font-size: 17px; font-weight: 500; line-height: 1.55; color: #F3EBDD; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); animation: rise 1.4s var(--ease) .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.quick {
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; align-items: stretch;
  padding: 8px; border-radius: 999px;
  background: rgba(10, 20, 25, .8);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(239, 230, 216, .22), 0 30px 60px -30px rgba(0, 0, 0, .6);
  animation: rise 1.4s var(--ease) .65s both;
}
.quick__field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 26px; border-right: 1px solid var(--line); cursor: pointer; min-width: 0; }
.quick__field--guests { border-right: 0; }
.quick__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.quick input, .quick select { width: 100%; border: 0; background: transparent; padding: 0; font-size: 17px; color: var(--text); outline: none; color-scheme: dark; cursor: pointer; }
.quick select option { background: var(--ink); }
.quick__go { min-height: 60px; padding: 0 34px; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #E2D9CB; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero__sun { color: var(--amber-hi); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 110px 28px 40px; background: rgba(11, 22, 27, .96); opacity: 0; transition: opacity .4s var(--ease); }
.menu.open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: 40px; line-height: 1.25; color: var(--text); text-decoration: none; }
.menu .btn { align-self: flex-start; }
.menu__close { position: absolute; top: 18px; right: 16px; }
body.locked { overflow: hidden; }

/* =====================================================================
   STATEMENT
   ===================================================================== */
.welcome { padding: var(--sec) 0; }
.welcome__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.welcome__letter { display: flex; flex-direction: column; gap: 22px; }
.welcome__letter .kicker { margin: 0; }
.welcome__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -.02em; }
.welcome__letter > p:not(.kicker):not(.welcome__sign) { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: #2B2A26; max-width: 520px; }
.welcome__sign { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--on-sand-accent); }
.welcome__photos { position: relative; min-height: 560px; }
.welcome__main { position: absolute; top: 0; right: 0; width: 82%; height: 430px; object-fit: cover; border-radius: 3px; }
.welcome__snap { position: absolute; left: 0; bottom: 0; width: 46%; margin: 0; padding: 12px 12px 14px; background: #FBF7F0; box-shadow: 0 30px 50px -28px rgba(40, 25, 10, .5); transform: rotate(-2deg); }
.welcome__snap img { width: 100%; height: 250px; object-fit: cover; }
.welcome__snap figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--on-sand-soft); }

/* =====================================================================
   ROOM TOUR
   ===================================================================== */
.tour { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--ink); }
.tour__media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tour__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.tour__media img.is-active { opacity: 1; transform: none; }
.tour__count { position: absolute; left: 28px; bottom: 26px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 27, 33, .7); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.tour__chapters { padding: var(--sec) clamp(24px, 5vw, 88px); display: flex; flex-direction: column; gap: 22vh; }
.tour__chapters .kicker { margin-bottom: -12vh; }
.chapter { display: flex; flex-direction: column; gap: 14px; opacity: .4; transition: opacity .6s var(--ease); padding-left: 24px; border-left: 2px solid transparent; }
.chapter.is-active { opacity: 1; border-left-color: var(--amber); }
.chapter__img { display: none; }
.chapter__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--amber); }
.chapter__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.4vw, 60px); line-height: 1; }
.chapter p { max-width: 440px; color: var(--text-soft); }

/* =====================================================================
   SUNSETS (sand: reads like a printed almanac)
   ===================================================================== */
.sunset { background: var(--sand); color: var(--on-sand); padding: var(--sec) 0; }
.sunset .kicker { color: var(--on-sand-accent); }
.sunset__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sunset__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.sunset__photo figcaption { margin-top: 12px; font-size: 14px; color: var(--on-sand-mute); font-style: italic; font-family: var(--serif); }
.sunset__copy .display-3 { max-width: 560px; }
.sunset__lead { margin-top: 20px; max-width: 520px; color: var(--on-sand-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.almanac { margin-top: 40px; border-top: 2px solid var(--on-sand); }
.almanac__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-sand-mute); border-bottom: 1px solid var(--sand-line); }
.almanac table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.almanac th { padding: 12px 8px 8px 0; text-align: left; font-size: 12px; font-weight: 600; color: var(--on-sand-mute); border-bottom: 1px solid var(--sand-line); }
.almanac td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--sand-line); font-size: 16px; color: var(--on-sand-soft); }
.almanac th:last-child, .almanac td:last-child { text-align: right; padding-right: 0; }
.almanac td:last-child { font-weight: 700; color: var(--on-sand); }
.almanac tr.is-today td { color: var(--on-sand); font-weight: 600; }
.almanac tr.is-today td:first-child::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--on-sand); color: var(--sand); font-size: 11px; font-weight: 700; letter-spacing: .08em; vertical-align: 2px; }
.almanac tr.is-today td:last-child { color: var(--on-sand-accent); }
.almanac__note { margin-top: 14px; font-size: 13px; color: var(--on-sand-mute); max-width: 520px; }

/* =====================================================================
   FILM STRIP
   ===================================================================== */
.film { padding: var(--sec) 0; background: var(--ink); }
.film__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 44px; }
.film__head > span.kicker { margin: 0; }
.film__head em { color: var(--amber-hi); }
/* the strip starts in line with the heading above it, and snapping respects that edge */
.film__track {
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  display: flex; align-items: flex-end; gap: 20px; overflow-x: auto; padding: 0 var(--edge) 8px;
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; outline: none;
}
.film__track::-webkit-scrollbar { display: none; }
.film__track.dragging { cursor: grabbing; scroll-snap-type: none; }
.frame { flex: none; width: min(420px, 78vw); scroll-snap-align: start; user-select: none; }
.frame img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; pointer-events: none; }
.frame--wide { width: min(520px, 84vw); }
.frame--wide img { height: 400px; }
.frame--tall { width: min(330px, 70vw); }
.frame--tall img { height: 480px; }
.frame figcaption { margin-top: 12px; font-size: 14px; color: var(--text-mute); }
.frame figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); margin-right: 6px; }

/* =====================================================================
   AMENITIES
   ===================================================================== */
.amenities { padding: var(--sec) 0; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 56px; }
.split-head p { max-width: 360px; color: var(--on-sand-soft); }
.split-head--dark p { color: var(--text-soft); }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--sand-line); border-left: 1px solid var(--sand-line); }
.amen li { display: flex; flex-direction: column; gap: 18px; padding: 34px 28px; border-right: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); font-size: 17px; font-weight: 600; }
.amen svg { width: 32px; height: 32px; fill: none; stroke: var(--on-sand-accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   EXPLORE
   ===================================================================== */
.explore { padding: var(--sec) 0; background: var(--ink); }
.explore em { color: var(--amber-hi); }
.explore__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 56px; }
.explore__head p { max-width: 440px; color: var(--text-soft); }
.place__tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.credit { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--text-mute); }
.credit a { color: var(--text-mute); text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--text); }

/* Apo Reef feature: big photo + spec sheet, three photos below */
.feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
/* the photo stretches to the full height of the text column, so both line up top and bottom */
.feature__main { grid-column: span 2; display: flex; flex-direction: column; }
.feature__main img { flex: 1 1 0; min-height: 420px; width: 100%; object-fit: cover; border-radius: 4px; }
.feature__text { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.feature__text .place__tag { line-height: 1; }
.feature__text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.feature__text > p { color: var(--text-soft); }
.feature__side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.specs { margin-top: 6px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); padding-top: 3px; }
.specs dd { color: var(--text); }

/* three more places */
.spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.spot { display: flex; flex-direction: column; background: var(--ink-2); border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.spot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spot__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.spot h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.spot p { color: var(--text-soft); font-size: 15px; }
/* travel time + credit sit on the same line across all cards */
.spot .trip { margin-top: auto; padding-top: 12px; }
.spot .credit { margin-top: 4px; font-size: 12px; }

.trip { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: .02em; color: var(--amber-hi) !important; }
.trip::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 15 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.8' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 15 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.8' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.also__list .trip { margin-top: 6px; }

/* also in Sablayan */
.also { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 48px; }
.also__title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.also__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.also__list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.also__list strong { font-size: 16px; }
.also__list span { color: var(--text-soft); font-size: 15px; }
.also__note { grid-column: 2; font-size: 14px; color: var(--amber-hi); }

/* =====================================================================
   GOOD TO KNOW
   ===================================================================== */
.know { padding: var(--sec) 0; }
.know__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.times { display: flex; gap: 40px; margin: 28px 0 36px; }
.times dt { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-sand-mute); }
.times dd { font-family: var(--serif); font-size: 32px; }
.know__sub { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 14px; }
.rules { counter-reset: r; display: flex; flex-direction: column; gap: 12px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; color: var(--on-sand-soft); }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--on-sand-accent); }
.faq { align-self: start; border-top: 1px solid var(--sand-line); }
.faq details { border-bottom: 1px solid var(--sand-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--on-sand-accent); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--on-sand-soft); }

/* =====================================================================
   GETTING HERE
   ===================================================================== */
.visit { padding: var(--sec) 0; background: var(--ink); }
.visit .display-3 { margin-bottom: 44px; }
.visit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.route { padding: 26px 28px; border-radius: 4px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-soft); }
.addr { display: block; margin-top: 10px; color: var(--text); }

/* map: dark-toned Google map + "find the gate" card */
.mapwrap { position: relative; height: 520px; border-radius: 4px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.92) contrast(.92); }
.map__card {
  position: absolute; left: 24px; bottom: 24px; width: min(360px, calc(100% - 48px));
  display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 4px;
  background: rgba(14, 27, 33, .94); box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -24px rgba(0, 0, 0, .7);
}
.map__card .kicker { margin: 0; }
.map__name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.map__addr { display: flex; flex-direction: column; font-size: 14px; color: var(--text-soft); }
.map__near { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 4px; }
.map__near li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.map__near li span:last-child { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.map__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* =====================================================================
   RESERVE (sand section: dark calendar panel + light "Your stay" card)
   ===================================================================== */
.reserve { padding: var(--sec) 0; background: var(--sand); color: var(--on-sand); }
.reserve .split-head { margin-bottom: 44px; }
.reserve .split-head p { color: var(--on-sand-soft); }
.reserve .kicker { color: var(--on-sand-accent); margin-bottom: 16px; }
.reserve .display-2 em { color: var(--on-sand-accent); }
.reserve__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.reserve__cal { padding: 26px; border-radius: 4px; background: var(--ink); color: var(--text); }
.reserve__cal .cal__hint { font-family: var(--serif); font-size: 18px; color: var(--text); }
.reserve__cal .fine:empty { display: none; }
.fine { margin-top: 14px; font-size: 13px; color: var(--text-mute); }

.stay { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 4px; background: #FBF7F0; color: var(--on-sand); box-shadow: inset 0 0 0 1px var(--sand-line), 0 30px 60px -36px rgba(40, 25, 10, .45); }
.stay__title { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.stay__dates { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--on-sand); }
.stay__dates > div { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--sand-line); }
.stay__dates > div + div { padding-left: 16px; border-left: 1px solid var(--sand-line); }
.stay__dates small, .stay__row small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-sand-mute); }
.stay__dates strong { font-size: 17px; }
.stay__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stay__row > span:first-child { display: flex; flex-direction: column; }
.stay__row small { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.stay__stepper { display: flex; align-items: center; gap: 12px; }
.stay__stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand-2); color: var(--on-sand); font-size: 20px; cursor: pointer; }
.stay__stepper button:hover { background: var(--sand-line); }
.stay__stepper button[disabled] { opacity: .35; pointer-events: none; }
.stay__stepper output { min-width: 18px; text-align: center; font-weight: 700; font-size: 18px; }
.stay__price { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--sand-line); font-size: 15px; }
.stay__price div { display: flex; justify-content: space-between; gap: 12px; }
.stay__price dt { color: var(--on-sand-soft); }
.stay__price .total { padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--sand-line); align-items: baseline; }
.stay__price .total dt { color: var(--on-sand); font-weight: 700; }
.stay__price .total dd { font-family: var(--serif); font-size: 28px; }
.stay__go { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--ink); color: var(--sand); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s var(--ease); }
.stay__go:hover { background: #1F3540; color: var(--sand); }
.stay__fine { font-size: 13px; color: var(--on-sand-soft); text-align: center; }

/* =====================================================================
   CALENDAR (shared by homepage, booking page and admin)
   ===================================================================== */
.cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.cal__hint { text-align: center; color: var(--text-soft); font-size: 15px; }
.month h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 12px; }
.grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.grid7 .dow { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--text-mute); padding-bottom: 6px; }
.cell {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px; border: 0; border-radius: 12px; cursor: pointer;
  background: transparent; color: var(--text); font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(239, 230, 216, .12);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.reserve__cal .cell { aspect-ratio: auto; height: 52px; }
.cell:hover { box-shadow: inset 0 0 0 1.5px var(--amber); }
.cell[disabled] { cursor: default; color: rgba(239, 230, 216, .25); box-shadow: none; }
.cell.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.cell.is-booked { background: #2A3B42; color: #8C8579; text-decoration: line-through; box-shadow: none; }
.cell.is-pending { color: var(--text-mute); box-shadow: none; background-image: repeating-linear-gradient(135deg, rgba(233, 180, 122, .18) 0 5px, transparent 5px 10px); }
.cell.is-in { background: rgba(233, 180, 122, .3); box-shadow: none; }
.cell.is-edge { background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 16px; height: 16px; border-radius: 5px; }
.sw--free { box-shadow: inset 0 0 0 1px rgba(239, 230, 216, .4); }
.sw--pending { background-image: repeating-linear-gradient(135deg, rgba(233, 180, 122, .5) 0 4px, transparent 4px 8px); box-shadow: inset 0 0 0 1px rgba(233, 180, 122, .4); }
.sw--booked { background: #2A3B42; box-shadow: inset 0 0 0 1px #4A5B62; }
.sw--sel { background: var(--amber); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink-3); padding-top: 100px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.footer__links a { color: var(--text); text-decoration: none; }
.footer__links a:hover { color: var(--amber-hi); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-mute); }
.footer__base a { color: var(--text-mute); }
.footer__word { margin-top: 48px; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 21vw, 330px); line-height: .78; letter-spacing: -.04em; color: #1C3038; text-align: center; white-space: nowrap; user-select: none; }

.float-cta { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); transform: translateY(160%); transition: transform .6s var(--ease); }
.float-cta.show { transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .menu-btn { display: block; justify-self: start; }
  .quick { grid-template-columns: 1fr 1fr; border-radius: 26px; }
  .quick__field { padding: 12px 18px; border-bottom: 1px solid var(--line); }
  .quick__field:nth-child(2) { border-right: 0; }
  .quick__field--guests { grid-column: 1 / -1; }
  .quick__go { grid-column: 1 / -1; margin-top: 6px; border-radius: 18px; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature__main, .feature__text { grid-column: 1 / -1; }
  .feature__main img { flex: none; min-height: 0; aspect-ratio: 3 / 2; }
  .feature__side:last-child { display: none; }
  .spots { grid-template-columns: 1fr 1fr; }
  .spots .spot:last-child { grid-column: 1 / -1; }
  .also { grid-template-columns: 1fr; }
  .also__note { grid-column: auto; }
}

@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour__media { display: none; }
  .tour__chapters { gap: 64px; padding-top: 88px; padding-bottom: 88px; }
  .tour__chapters .kicker { margin-bottom: 0; }
  .chapter { opacity: 1; padding-left: 0; border-left: 0; }
  .chapter__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
  .know__grid, .visit__grid, .footer__grid { grid-template-columns: 1fr; }
  .sunset__grid, .welcome__grid, .reserve__grid { grid-template-columns: 1fr; }
  .sunset__photo img { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  .topbar { padding: 16px 16px; }
  .topbar__cta { padding: 0 18px; min-height: 44px; }
  .brand__name { font-size: 26px; }
  .brand__sub { font-size: 8px; }
  .hero__body { padding: 0 16px 22px; gap: 22px; }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  .hero__lead { font-size: 16px; }
  .quick__field { padding: 10px 14px; }
  .quick input, .quick select { font-size: 16px; }
  .welcome__photos { min-height: 400px; }
  .welcome__main { width: 88%; height: 290px; }
  .welcome__snap { width: 56%; padding: 8px 8px 10px; }
  .welcome__snap img { height: 170px; }
  .welcome__snap figcaption { font-size: 13px; margin-top: 6px; }
  .amen { grid-template-columns: 1fr 1fr; }
  .amen li { padding: 22px 16px; gap: 12px; font-size: 15px; }
  .spots, .also__list { grid-template-columns: 1fr; }
  .spots .spot:last-child { grid-column: auto; }
  .feature { grid-template-columns: 1fr; padding-bottom: 48px; }
  .feature__side { display: none; }
  .feature__side:nth-of-type(2) { display: block; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .almanac td, .almanac th { font-size: 14px; }
  .almanac tr.is-today td:first-child::after { display: none; }
  .frame img, .frame--wide img { height: 300px; }
  .frame--tall img { height: 380px; }
  .day { width: 68px; }
  .day span { font-size: 24px; }
  .mapwrap { height: auto; display: flex; flex-direction: column; }
  .map__frame { position: relative; inset: auto; height: 300px; }
  .map__card { position: static; width: auto; border-radius: 0; box-shadow: none; }
  .reserve__cal { padding: 16px; }
  .reserve__cal .cell { height: 44px; }
  .stay { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* while online booking is off (no Firebase yet) */
body.offline [data-online] { display: none !important; }
