/* ============================================================
   AUSSIE REST MOTEL — "Hunter Valley Dusk" design system
   ============================================================ */

:root {
  /* ── refined claret palette — sophisticated read of the logo ──
     deep claret wine · aubergine darks · muted grape-leaf olive · warm linen */
  --ink: #271A1F;
  --euca: #3E1322;
  --euca-deep: #290C16;
  --sand: #F6F1E8;
  --sand-deep: #E9DECE;
  --terra: #87183C;
  --terra-deep: #631230;
  --terra-rgb: 135, 24, 60;
  /* "gold" slot carries a muted, grown-up grape-leaf olive */
  --gold: #7F8838;
  --gold-deep: #646C2A;
  --gold-rgb: 127, 136, 56;
  --vine: #6F8B45;
  --plum: #6A2547;
  --mist: rgba(255, 253, 248, 0.72);
  --white: #FFFDF8;
  --ink-soft: rgba(36, 28, 26, 0.64);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* one calm radius scale — every box rounds to a step on this ladder */
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  /* layered, claret-tinted shadows — soft near-shadow + deep ambient (reads premium, not flat) */
  --shadow-soft: 0 1px 2px rgba(40, 18, 28, 0.05), 0 10px 30px rgba(40, 18, 28, 0.085);
  --shadow-lift: 0 2px 8px rgba(40, 18, 28, 0.09), 0 30px 64px rgba(40, 18, 28, 0.17);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 82px;
  --bar-h: 42px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
body.is-leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) { body { transition: none; } body.is-leaving { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.1;
  text-wrap: balance;
  font-optical-sizing: auto;
  font-feature-settings: "liga" 1, "dlig" 1, "kern" 1;
  font-kerning: normal;
}

p { text-wrap: pretty; }

/* ---------- layout helpers ---------- */
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(880px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(80px, 9.5vw, 144px) 0; }
.section--tight { padding: clamp(52px, 6vw, 88px) 0; }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: #E5B89E; }

.h-display { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.03; letter-spacing: -0.022em; }
.h-xl { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; }
.h-md { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; }

.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.62; color: var(--ink-soft); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--terra); color: #FFF6F0; box-shadow: 0 2px 8px rgba(var(--terra-rgb), 0.20), 0 10px 26px rgba(var(--terra-rgb), 0.26); }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(var(--terra-rgb), 0.26), 0 16px 36px rgba(var(--terra-rgb), 0.36); }
.btn--ghost { border-color: var(--euca); color: var(--euca); background: transparent; }
.btn--ghost:hover { background: var(--euca); color: var(--sand); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 253, 248, 0.85); color: #FFFDF8; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 253, 248, 0.96); color: var(--euca); transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: 15px; }

/* ---------- nav ---------- */
/* announcement bar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  background: var(--euca-deep);
  color: #F2EAD8;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .tb-dot { color: var(--gold); margin-right: 6px; font-size: 9px; vertical-align: middle; }
.topbar .tb-msg { opacity: 0.92; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .tb-phone { color: #F2EAD8; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color 0.2s; }
.topbar .tb-phone:hover { color: var(--gold); }
.topbar .ic { width: 15px; height: 15px; }
@media (max-width: 720px) { .topbar .tb-msg { font-size: 11.5px; } }
@media (max-width: 520px) { .topbar .tb-msg { display: none; } .topbar-inner { justify-content: center; } }

.site-nav {
  position: fixed;
  inset: var(--bar-h) 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 241, 230, 0.86);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(40, 18, 28, 0.06);
  color: var(--ink);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.site-nav .wrap { display: flex; align-items: center; gap: 28px; }
.site-nav.solid { background: rgba(247, 241, 230, 0.94); box-shadow: 0 1px 0 rgba(40, 18, 28, 0.07), 0 10px 30px rgba(40, 18, 28, 0.07); }

.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo .brand-img { height: 54px; width: auto; display: block; }

.nav-links { display: flex; gap: 22px; list-style: none; margin-inline: auto; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; opacity: 0.9; padding: 6px 2px; display: inline-flex; align-items: center; gap: 5px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s, opacity 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--terra); }
.nav-links a.active { border-bottom-color: var(--terra); color: var(--terra); }
.nav-links .caret { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; opacity: 0.6; transition: transform 0.25s var(--ease); }
.nav-links .has-sub:hover .caret { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; list-style: none; padding: 10px; margin: 0;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  border: 1px solid rgba(40, 18, 28, 0.07);
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.subnav::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-links .has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav li { display: block; }
.subnav a { display: block; padding: 9px 14px; border-radius: var(--radius-xs); font-size: 14px; font-weight: 600; opacity: 0.88; border: 0; }
.subnav a:hover { background: var(--sand-deep); opacity: 1; color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.ic { width: 18px; height: 18px; flex: none; vertical-align: middle; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.nav-burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.25s; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .site-nav .wrap { justify-content: space-between; }
  .nav-cta .btn { padding: 11px 22px; font-size: 15px; }
}
@media (max-width: 460px) {
  .nav-logo .brand-img { height: 46px; }
}

/* mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, var(--euca) 0%, var(--euca-deep) 42%, var(--plum) 76%, var(--terra-deep) 100%);
  color: #FFFDF8;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  gap: 22px;
  align-content: center;
}
.mobile-menu .mm-logo { margin-bottom: 4px; }
.mobile-menu .mm-logo .brand-img { height: 70px; }
.mobile-menu .mm-phone { display: inline-flex; align-items: center; gap: 9px; color: #FFFDF8; text-decoration: none; font-weight: 700; font-size: 17px; }
.mobile-menu .mm-phone .ic { width: 18px; height: 18px; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav ul { list-style: none; text-align: center; display: grid; gap: 8px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(30px, 7.5vw, 44px); text-decoration: none; display: inline-block; padding: 6px 14px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu nav a.active { color: var(--gold); }
.mobile-menu .mm-foot { margin-top: 34px; display: grid; gap: 14px; justify-items: center; }
.mobile-menu .mm-reassure { font-size: 13px; font-weight: 600; color: rgba(255, 253, 248, 0.78); letter-spacing: 0.01em; margin-top: -4px; }
.mobile-menu-close { position: absolute; top: 20px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 253, 248, 0.5); background: none; color: #FFFDF8; font-size: 22px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .mobile-menu, .mobile-menu nav a { transition: none; } }

/* ---------- sticky mobile booking bar ---------- */
.mobile-book-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(41, 12, 22, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-book-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15.5px; }
.mobile-book-bar .ic { width: 17px; height: 17px; }
.mobile-book-bar .mb-call { color: #FFFDF8; border: 1.5px solid rgba(255, 253, 248, 0.55); }
.mobile-book-bar .mb-book { background: var(--terra); color: #FFF8F2; }
/* honest reassurance line above the sticky buttons — de-risks the tap */
.mobile-book-bar .mb-reassure { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 600; color: rgba(245, 239, 228, 0.82); letter-spacing: 0.01em; }
.mobile-book-bar .mb-reassure .ic { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 760px) {
  .mobile-book-bar { display: grid; }
  body { padding-bottom: calc(102px + env(safe-area-inset-bottom)); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--euca-deep); color: rgba(245, 239, 228, 0.88); position: relative; }
.footer-vines { height: 22px; background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(var(--gold-rgb), 0.42) 26px 28px), linear-gradient(180deg, var(--sand) 0 46%, var(--euca-deep) 46%); }
.site-footer .wrap { padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.site-footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-brand .nav-logo { color: #FFFDF8; margin-bottom: 14px; }
/* The brand logo is dark claret; on dark surfaces (footer + mobile menu) render it in
   white so it stays legible. The header keeps the full-colour logo on its light bar. */
.site-footer .brand-img,
.mobile-menu .brand-img { filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand .nav-logo .brand-word { font-size: 23px; }
.footer-brand .nav-logo .brand-sub { opacity: 0.6; }
.footer-brand p { font-size: 15.5px; opacity: 0.85; max-width: 34ch; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; font-size: 15.5px; }
.trust-strip { display: grid; gap: 12px; font-size: 15px; }
.trust-strip .stars { color: var(--gold); letter-spacing: 2px; }
.footer-bottom { border-top: 1px solid rgba(245, 239, 228, 0.16); padding: 22px 0 30px; font-size: 13.5px; opacity: 0.7; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.footer-ack { font-size: 13.5px; font-style: italic; opacity: 0.7; padding-bottom: 22px; max-width: 72ch; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- image placeholders (warm-graded photography slots) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ph-sky, #E8C9A0) 0%, transparent 58%),
    radial-gradient(140% 100% at 50% 105%, var(--ph-ground, #5A6B4F) 0%, transparent 62%),
    linear-gradient(180deg, var(--ph-mid1, #D9A06B) 0%, var(--ph-mid2, #8A6B4F) 100%);
}
/* subtle hairline frame — makes every image feel intentionally placed */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(40, 18, 28, 0.07);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
/* gentle editorial bottom gradient — depth + legibility for any overlaid text */
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 18, 24, 0.22) 0%, rgba(31, 18, 24, 0.04) 36%, transparent 62%);
  pointer-events: none;
}
.ph-label {
  display: none; /* developer shot-list tags never render in production */
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 248, 0.92);
  background: rgba(31, 36, 33, 0.45);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
}
/* honest "photography coming soon" caption — an intentional, elegant note (not a dev tag) */
.ph-soon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: rgba(255, 253, 248, 0.88);
}
/* shot variants — muted, editorial duotones */
.ph--vines   { --ph-sky: #CFC6A8; --ph-mid1: #9FA277; --ph-mid2: #5E6B4E; --ph-ground: #3A4534; }
.ph--dusk    { --ph-sky: #C7A8A2; --ph-mid1: #976E74; --ph-mid2: #5C4452; --ph-ground: #2F2634; }
.ph--pool    { --ph-sky: #C2CEC9; --ph-mid1: #8FA8A6; --ph-mid2: #547370; --ph-ground: #34413D; }
.ph--room    { --ph-sky: #E0D2BC; --ph-mid1: #C2AE92; --ph-mid2: #8C7660; --ph-ground: #534434; }
.ph--golf    { --ph-sky: #D2CDAE; --ph-mid1: #A6AE86; --ph-mid2: #6E7E5C; --ph-ground: #3C4834; }
.ph--hosts   { --ph-sky: #DACBB6; --ph-mid1: #B89C82; --ph-mid2: #80614C; --ph-ground: #4A3A2E; }
.ph--wild    { --ph-sky: #D6C3A2; --ph-mid1: #B09A74; --ph-mid2: #7C6748; --ph-ground: #4C4434; }
.ph--food    { --ph-sky: #D9C5A8; --ph-mid1: #B58E6A; --ph-mid2: #7C5542; --ph-ground: #423030; }
.ph--garden  { --ph-sky: #CDC1A0; --ph-mid1: #9FA978; --ph-mid2: #5E7250; --ph-ground: #34442F; }
.ph--map     { --ph-sky: #EBE2D2; --ph-mid1: #D8CEB6; --ph-mid2: #B6AE96; --ph-ground: #8A9182; }

/* ── real regional photography (CC0 / public domain) ──
   These categories carry actual photos; motel-specific slots (room, pool,
   hosts, dusk exterior) stay as gradient placeholders for the owner's photos. */
.ph--vines   { background: #4A4F3A url("img/region-vines.jpg")        center/cover no-repeat; }
.ph--golf    { background: #46502F url("img/region-golf.jpg")         center/cover no-repeat; }
.ph--garden  { background: #4A4B2E url("img/region-garden.jpg")       center/cover no-repeat; }
.ph--wild    { background: #4C4434 url("img/region-wild.jpg")         center/cover no-repeat; }
.ph--food    { background: #2E2422 url("img/region-dining.jpg")       center/cover no-repeat; }
.ph--concert { background: #3A201A url("img/region-concert.jpg")      center/cover no-repeat; }
.ph--lights  { background: #14202A url("img/region-lights.jpg")       center/cover no-repeat; }
.ph--grapes  { background: #45503A url("img/region-grapes.jpg")       center/cover no-repeat; }
.ph--autumn  { background: #4E4A30 url("img/region-vines-autumn.jpg") center/cover no-repeat; }
.ph--golf2   { background: #46502F url("img/region-golf2.jpg")        center/cover no-repeat; }
.ph--golf3   { background: #46502F url("img/region-golf3.jpg")        center/cover no-repeat; }
.ph--forest  { background: #2E3A28 url("img/region-forest.jpg")       center/cover no-repeat; }
.ph--fire    { background: #2A1814 url("img/region-fire.jpg")         center/cover no-repeat; }
.ph--garden2 { background: #3A2A38 url("img/region-garden2.jpg")      center/cover no-repeat; }
.ph--lights2 { background: #241410 url("img/region-lights2.jpg")      center/cover no-repeat; }
/* breadcrumbs (deep pages) */
.crumbs { background: var(--sand-deep); }
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 0; font-size: 13.5px; }
.crumbs a { color: var(--euca); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--terra); text-decoration: underline; }
.crumbs .crumb-current { color: var(--ink-soft); }
.crumbs .crumb-sep { color: var(--ink-soft); opacity: 0.5; }

/* ---------- shared inner-page hero banner (one source of truth) ---------- */
.page-hero { background: var(--euca); color: var(--sand); padding: calc(var(--bar-h) + var(--nav-h) + clamp(52px, 7.5vw, 104px)) 0 clamp(52px, 6.5vw, 88px); }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 70px); }
.page-hero .lede { color: rgba(245, 239, 228, 0.82); margin-top: 18px; }

.ph--coffee  { background: #3A2A1E url("img/region-coffee.jpg")       center/cover no-repeat; }
.ph--swim    { background: #2A4452 url("img/region-swim.jpg")         center/cover no-repeat; }
/* real Aussie Rest property photos */
.ph--exterior  { background: #243A52 url("img/exterior-5.jpg")  center/cover no-repeat; }
.ph--exterior2 { background: #243A52 url("img/exterior-7.jpg")  center/cover no-repeat; }
.ph--reception { background: #3A2A30 url("img/reception-1.jpg") center/cover no-repeat; }
.ph--dusk      { background: #2A1A20 url("img/exterior-4.jpg")  center/cover no-repeat; }
.ph--hosts     { background: #3A2A30 url("img/reception-1.jpg") center/cover no-repeat; }
.ph--gk  { background: #241018 url("img/rooms/king-5.jpg")         center/cover no-repeat; }
.ph--gf  { background: #241018 url("img/rooms/family-2.jpg")       center/cover no-repeat; }
.ph--gdf { background: #241018 url("img/rooms/deluxefamily-2.jpg") center/cover no-repeat; }
.ph--gt  { background: #241018 url("img/rooms/twin-7.jpg")         center/cover no-repeat; }
/* with a real photo the dev "[ photo: … ]" label is hidden */
.ph--vines .ph-label, .ph--golf .ph-label, .ph--garden .ph-label, .ph--wild .ph-label,
.ph--food .ph-label, .ph--concert .ph-label, .ph--lights .ph-label,
.ph--grapes .ph-label, .ph--autumn .ph-label, .ph--golf2 .ph-label,
.ph--golf3 .ph-label, .ph--forest .ph-label, .ph--fire .ph-label,
.ph--garden2 .ph-label, .ph--lights2 .ph-label, .ph--coffee .ph-label,
.ph--swim .ph-label, .ph--exterior .ph-label, .ph--exterior2 .ph-label,
.ph--reception .ph-label, .ph--dusk .ph-label, .ph--hosts .ph-label,
.ph--gk .ph-label, .ph--gf .ph-label, .ph--gdf .ph-label, .ph--gt .ph-label { display: none; }

/* ken burns */
.kenburns { overflow: hidden; }
.kenburns > .ph, .kenburns > .kb-layer { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .kenburns > .ph, .kenburns > .kb-layer { animation: kenburns 26s var(--ease) infinite alternate; }
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.4%, 1.2%); }
}

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card .ph { transition: transform 0.7s var(--ease); }
.card:hover .ph { transform: scale(1.045); }

/* glass panel */
.glass {
  background: var(--mist);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(74, 22, 38, 0.3);
  background: transparent;
  color: var(--euca);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chip:hover { border-color: var(--euca); transform: translateY(-1px); }
.chip.on { background: var(--euca); border-color: var(--euca); color: var(--sand); }
.chip--terra.on { background: var(--terra); border-color: var(--terra); color: #FFF8F2; }

/* ---------- scroll reveal (single source of truth) ---------- */
.reveal { opacity: 0; transform: translateY(26px) scale(0.994); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--rv, 0) * 95ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- misc ---------- */
.stars { color: var(--gold); letter-spacing: 2px; }
.icon-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); display: inline-block; flex: none; }

.cta-band { background: var(--terra); color: #FFF8F2; }
.cta-band .h-lg, .cta-band .h-xl { color: #FFF8F2; }

.amenity-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--ink-soft); }
.amenity-row span { display: inline-flex; align-items: center; gap: 8px; }
.amenity-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

/* page-end booking band */
.book-band { position: relative; color: #FFFDF8; overflow: hidden; }
.book-band .ph { position: absolute; inset: 0; }
.book-band .band-inner { position: relative; z-index: 2; text-align: center; padding: clamp(90px, 12vw, 170px) 24px; display: grid; gap: 22px; justify-items: center; }
.book-band .band-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31, 36, 33, 0.25), rgba(31, 36, 33, 0.62)); }

::selection { background: var(--terra); color: #FFF8F2; }

/* ============================================================
   DEVICE HARDENING + POLISH (applies to every page)
   ============================================================ */

/* skip-to-content link — hidden until keyboard-focused */
.skip-link { position: fixed; top: -64px; left: 12px; z-index: 300; background: var(--terra); color: #FFF6F0; padding: 11px 20px; border-radius: 0 0 12px 12px; font-weight: 700; font-size: 14px; text-decoration: none; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 0; outline: 2px solid #FFF6F0; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* keyboard focus — visible, on-brand, never on mouse/touch */
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
.nav-links a:focus-visible, .subnav a:focus-visible, .site-footer a:focus-visible { outline-offset: 2px; }

/* kill the grey tap flash; let buttons/cards give a real press response */
a, button, .chip, .card, label, input, select, summary { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active { transform: scale(0.97); }
  .chip:active { transform: scale(0.96); }
  .card:active { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .room-link:active, .nav-links a:active { opacity: 0.7; }
}

/* fixed header must never hide an in-page anchor target */
[id] { scroll-margin-top: calc(var(--bar-h) + var(--nav-h) + 18px); }

/* long unbroken strings (emails, URLs) can't force a sideways scroll */
h1, h2, h3, p, li, a, .lede, .eyebrow { overflow-wrap: break-word; }

/* iOS Safari zooms the page when it focuses a sub-16px field — stop that */
@media (max-width: 600px) {
  input, select, textarea { font-size: 16px; }
}

/* crisper card edges against the warm paper background */
.card { border: 1px solid rgba(40, 18, 28, 0.05); }

/* comfortable minimum tap target for small text links in nav/footer */
@media (hover: none) and (max-width: 1080px) {
  .nav-cta .btn { min-height: 44px; }
}

/* tighter, intentional vertical rhythm on phones — premium spacing without dead air */
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .chip { min-height: 44px; }
}

/* every interactive chip clears the 44px thumb target on touch devices */
@media (hover: none) {
  .chip { min-height: 44px; }
}

/* generous gutters hold, but claw a little width back on tiny phones */
@media (max-width: 360px) {
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .btn { padding-inline: 24px; }
}

/* smoother momentum scroll inside the few scrollable panels */
.drawer, .mobile-menu { -webkit-overflow-scrolling: touch; }

/* ============================================================
   MOTION SYSTEM — professional, restrained, reduced-motion-safe
   ============================================================ */

/* opt-in directional variants for richer choreography */
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: scale(0.93); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal--left, .reveal--right, .reveal--scale { transform: none; }
}

/* animated nav underline that wipes in on hover (active state unchanged) */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--terra); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.32s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { display: none; }

/* primary button: the faintest, slow light sweep on hover — felt, not seen */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -65%; width: 48%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 253, 248, 0.16), transparent);
  transform: skewX(-18deg); transition: left 0.85s var(--ease);
}
.btn--primary:hover::before { left: 135%; }
@media (prefers-reduced-motion: reduce) { .btn--primary::before { display: none; } }

/* page-load entrance for fixed chrome + hero (never blocks content) */
@media (prefers-reduced-motion: no-preference) {
  .topbar { animation: barDown 0.6s var(--ease) backwards; }
  .site-nav { animation: barDown 0.7s var(--ease) 0.05s backwards; }
  @keyframes barDown { from { opacity: 0; transform: translateY(-10px); } }

  body.loaded [data-hero] .inner > * { animation: heroIn 0.85s var(--ease) backwards; }
  body.loaded [data-hero] .inner > *:nth-child(1) { animation-delay: 0.10s; }
  body.loaded [data-hero] .inner > *:nth-child(2) { animation-delay: 0.18s; }
  body.loaded [data-hero] .inner > *:nth-child(3) { animation-delay: 0.26s; }
  body.loaded [data-hero] .inner > *:nth-child(4) { animation-delay: 0.34s; }
  body.loaded [data-hero] .inner > *:nth-child(5) { animation-delay: 0.42s; }
  body.loaded [data-hero] .inner > *:nth-child(6) { animation-delay: 0.50s; }
  body.loaded [data-hero] .hero-figure { animation: figIn 1.3s var(--ease) backwards; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(20px); } }
  @keyframes figIn { from { opacity: 0; transform: scale(1.05); } }

  /* gentle staggered entrance for the simple page-heroes site-wide */
  body.loaded .page-hero .wrap > * { animation: heroIn 0.8s var(--ease) backwards; }
  body.loaded .page-hero .wrap > *:nth-child(1) { animation-delay: 0.10s; }
  body.loaded .page-hero .wrap > *:nth-child(2) { animation-delay: 0.18s; }
  body.loaded .page-hero .wrap > *:nth-child(3) { animation-delay: 0.26s; }
  body.loaded .page-hero .wrap > *:nth-child(4) { animation-delay: 0.34s; }
}

/* ---------- refined scrollbar (desktop pointers only) ---------- */
@media (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: rgba(135, 24, 60, 0.42) var(--sand-deep); }
  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-track { background: var(--sand-deep); }
  ::-webkit-scrollbar-thumb { background: rgba(135, 24, 60, 0.38); border-radius: 999px; border: 3px solid var(--sand-deep); }
  ::-webkit-scrollbar-thumb:hover { background: rgba(135, 24, 60, 0.60); }
}
