/* =========================================================
   Sobuj Thikana — site styles
   Palette is fixed by the client (forest greens + warm sand).
   ========================================================= */

:root {
  /* client palette */
  --forest: #334127;
  --forest-deep: #2a3720;
  --moss: #364325;
  --olive: #748c63;
  --sand: #f3efe8;
  --sand-2: #e7dfd4;
  --linen: #f8f3ee;

  /* roles */
  --bg: var(--sand);
  --bg-alt: #ece6dc;
  --surface: var(--linen);
  --ink: #243d31;
  --text: #2d312d;
  --muted: #5b5d59;
  --line: rgba(55, 66, 60, 0.16);
  --on-forest: #f3efe8;
  --accent: #5f7650;
  --btn-bg: var(--forest);
  --btn-text: #f6f1ea;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 1px 2px rgba(20, 30, 24, 0.05), 0 16px 40px -12px rgba(20, 30, 24, 0.16);
  --shadow-lift: 0 2px 4px rgba(20, 30, 24, 0.06), 0 28px 60px -18px rgba(20, 30, 24, 0.28);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0f1511;
  --bg-alt: #141b16;
  --surface: #1a221c;
  --ink: #eef2ea;
  --text: #e3dfd6;
  --muted: #a6aba2;
  --line: rgba(231, 223, 212, 0.13);
  --accent: #a3c08f;
  --btn-bg: #4a6540;
  --btn-text: #f6f1ea;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 60px -18px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* Brand fonts (logo lockup only) */
@font-face {
  font-family: "Helvetica Black Condensed";
  src: url("assets/logo/Helvetica Black Condensed.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Brand";
  src: url("assets/logo/Helvetica.ttf") format("truetype");
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 400;
  padding: 10px 16px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text);
}
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.display { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.03; }
.title { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s ease, color 0.3s ease, box-shadow 0.35s var(--ease), border-color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 24px -10px rgba(51, 65, 39, 0.6); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(51, 65, 39, 0.7); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #f6f1ea; color: var(--forest); }
.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(243, 239, 232, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.4s ease;
}
html[data-theme="dark"] .site-header { background: rgba(15, 21, 17, 0.84); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.brand-logo { width: auto; height: 46px; }
html[data-theme="dark"] .site-header .brand-logo { filter: brightness(0) invert(0.93); }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; min-width: 0; }
.brand-title {
  font-family: "Helvetica Black Condensed", var(--font);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub {
  margin-top: 5px;
  font-family: "Helvetica Brand", var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.2s ease, background-color 0.25s ease;
}
.main-nav a:hover { opacity: 1; background: rgba(36, 61, 49, 0.07); }
.main-nav a[aria-current="page"] { opacity: 1; color: var(--ink); font-weight: 600; background: rgba(36, 61, 49, 0.08); }
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a[aria-current="page"] { background: rgba(238, 242, 234, 0.08); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* theme toggle (sun <-> moon, Lucide-style strokes, ISC licence) */
.theme-toggle, .menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.35s var(--ease), color 0.3s ease;
}
.theme-toggle:hover { background: rgba(36, 61, 49, 0.07); transform: rotate(14deg); }
.theme-toggle:active { transform: scale(0.9); }
.theme-icon { width: 22px; height: 22px; overflow: visible; }
.theme-icon .sun-disc { transform-origin: 12px 12px; transition: transform 0.6s var(--ease); }
.theme-icon .moon-cut { transform: translate(16px, -16px); transition: transform 0.6s var(--ease); }
.theme-icon .sun-rays { transform-origin: 12px 12px; transition: transform 0.6s var(--ease), opacity 0.3s ease; }
.theme-icon .star { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.2) rotate(-60deg); transition: opacity 0.3s ease, transform 0.5s ease; }
html[data-theme="dark"] .theme-toggle { color: #f2d98b; }
html[data-theme="dark"] .theme-toggle:hover { background: rgba(238, 242, 234, 0.08); }
html[data-theme="dark"] .theme-icon .sun-disc { transform: scale(1.55); }
html[data-theme="dark"] .theme-icon .moon-cut { transform: translate(4px, -4px); }
html[data-theme="dark"] .theme-icon .sun-rays { opacity: 0; transform: rotate(120deg) scale(0.3); }
html[data-theme="dark"] .theme-icon .star { opacity: 1; transform: none; transition-delay: 0.3s; }
@media (prefers-reduced-motion: no-preference) {
  .theme-icon .sun-rays { animation: sun-spin 24s linear infinite; }
  html[data-theme="dark"] .theme-icon .sun-rays { animation: none; }
  html[data-theme="dark"] .theme-icon .star-1 { animation: twinkle 2.6s ease-in-out 1s infinite; }
  html[data-theme="dark"] .theme-icon .star-2 { animation: twinkle 3.2s ease-in-out 1.6s infinite; }
}
@keyframes sun-spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.65) rotate(25deg); } }

/* hamburger */
.menu-toggle { display: none; position: relative; }
.menu-toggle span, .menu-toggle span::before {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span { top: 17px; transform: translateX(-50%); }
.menu-toggle span::before { content: ""; top: 6px; left: 0; transform: none; }
.menu-open .menu-toggle span { top: 20px; transform: translateX(-50%) rotate(45deg); }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(-90deg); }

/* full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 20px 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 12px 0;
  font-size: clamp(1.6rem, 7vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: 0.2s; }
.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: 0.24s; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mobile-menu-meta { margin-top: auto; padding-top: 28px; font-size: 0.95rem; color: var(--muted); }
.mobile-menu-meta a { display: block; padding: 6px 0; }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  height: calc(100svh - var(--header-h));
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #1c2419;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.06);
  animation: hero-settle 2.2s var(--ease) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero-media.is-active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 16, 12, 0.8) 0%, rgba(10, 16, 12, 0.35) 45%, rgba(10, 16, 12, 0) 72%),
    linear-gradient(90deg, rgba(10, 16, 12, 0.5) 0%, rgba(10, 16, 12, 0) 62%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 96px); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero p { max-width: 34rem; margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--bg-alt); transition: background-color 0.4s ease; }
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head-row .lead { margin-top: 14px; max-width: 34rem; }

/* intro statement */
.statement { text-align: center; }
.statement .display { max-width: 16ch; margin-inline: auto; }
.statement .lead { max-width: 40rem; margin: 24px auto 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: clamp(32px, 4vw, 48px) auto 0; }
.stat { padding: 28px 20px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 0.95rem; color: var(--muted); }

/* photo tiles */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 5 / 4;
  background: #1d2620;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 16, 12, 0.82) 0%, rgba(10, 16, 12, 0.25) 45%, rgba(10, 16, 12, 0) 65%);
}
a.tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
a.tile:hover img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); }
.tile-kicker { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.tile h3 { margin-top: 8px; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.tile p { margin-top: 8px; max-width: 30rem; color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; }
.tile .link-arrow { margin-top: 16px; color: #fff; }

/* bento (experiences) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 250px); gap: 16px; }
.bento .tile { aspect-ratio: auto; border-radius: var(--radius-lg); }
.bento .tile.big { grid-column: span 2; grid-row: span 2; }
.bento .tile.wide { grid-column: span 2; }
.bento .tile h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin-top: 0; }
.bento .tile.big h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bento .tile-body { padding: 20px 22px; }

/* horizontal scrollers (places, reviews) */
.scroller {
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, (100% - 1200px) / 2);
  padding: 6px max(24px, (100% - 1200px) / 2) 28px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller-places { grid-auto-columns: clamp(240px, 26vw, 320px); }
.scroller-reviews { grid-auto-columns: clamp(280px, 30vw, 360px); }
.scroller-nav { display: flex; gap: 10px; flex: none; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.icon-btn:hover { transform: scale(1.06); }
.icon-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.icon-btn svg { width: 18px; height: 18px; }

.place-card { display: block; }
.place-card figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--surface); box-shadow: var(--shadow-soft); }
.place-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.place-card:hover img { transform: scale(1.05); }
.place-card h3 { margin-top: 16px; font-size: 1.15rem; letter-spacing: -0.02em; }
.place-card p { margin-top: 4px; font-size: 0.92rem; color: var(--muted); }

/* split feature */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .title { margin-bottom: 20px; }
.split-copy p { color: var(--muted); }
.split-copy p + p { margin-top: 14px; }
.split-copy .btn, .split-copy .link-arrow { margin-top: 28px; }

/* reviews */
.review { display: flex; flex-direction: column; margin: 0; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.review .stars { color: #a07f1f; letter-spacing: 0.12em; font-size: 0.95rem; }
html[data-theme="dark"] .review .stars { color: #e2c060; }
.review blockquote { margin: 16px 0 22px; font-size: 1.05rem; line-height: 1.6; color: var(--text); }
.review figcaption { margin-top: auto; font-weight: 600; color: var(--ink); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 72px) clamp(24px, 6vw, 88px);
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 140% at 100% 0%, #4a5f39 0%, var(--forest) 45%, var(--forest-deep) 100%);
  color: var(--on-forest);
  text-align: center;
}
.cta-band h2 { color: #f6f1ea; }
.cta-band p { max-width: 36rem; margin: 18px auto 0; color: rgba(243, 239, 232, 0.85); font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- inner page hero ---------- */
.page-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3.5vw, 44px); text-align: center; }
.page-hero h1 { max-width: 18ch; margin-inline: auto; }
.page-hero .lead { max-width: 40rem; margin: 22px auto 0; }
.pill-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }

/* ---------- stay page ---------- */
.stay-block {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 4.5vw, 60px);
  border-top: 1px solid var(--line);
}
.stay-block:first-child { border-top: 0; padding-top: 0; }
.stay-block:nth-child(even) { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.stay-block:nth-child(even) .room-gallery { order: 2; }
.room-gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 10.5; }
.room-thumb { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--surface); cursor: zoom-in; }
.room-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.room-thumb:hover img { transform: scale(1.05); }
.room-thumb-large { grid-row: 1 / span 2; border-radius: var(--radius-lg); }
.room-thumb[data-more]::after {
  content: attr(data-more);
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 21, 17, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.stay-copy .eyebrow { margin-bottom: 10px; }
.stay-copy .title { margin-bottom: 16px; }
.stay-copy p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; color: var(--text); }
.chip svg { width: 15px; height: 15px; color: var(--accent); }
.stay-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.text-btn { padding: 0; border: 0; background: none; cursor: pointer; }

/* ---------- gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--surface); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item[hidden] { display: none; }
.photo-grid.is-filtering .gallery-item { animation: pop-in 0.5s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- experiences ---------- */
.story-list { display: grid; gap: clamp(44px, 6vw, 80px); }
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.story:nth-child(even) .story-media { order: 2; }
.story-media { overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft); background: var(--surface); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story:hover .story-media img { transform: scale(1.03); }
.story-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.story-copy .eyebrow b { color: var(--ink); opacity: 0.35; letter-spacing: 0.04em; }
.story-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; margin-bottom: 18px; }
.story-copy p { color: var(--muted); }
.story-copy p + p { margin-top: 12px; }

/* ---------- about ---------- */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.prose-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); }
.prose-block h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; }
.prose-block p { color: var(--muted); font-size: 1.08rem; }
.prose-block p + p { margin-top: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.value-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(116, 140, 99, 0.18); color: var(--accent); margin-bottom: 22px; flex: none; }
.value-icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.4rem; margin-bottom: 10px; }
.value p { color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-card .value-icon { margin: 0; }
.contact-card small { display: block; font-size: 0.8rem; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(116, 140, 99, 0.22); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(44px, 5vw, 64px) 0 28px;
  background: linear-gradient(180deg, var(--moss) 0%, var(--forest-deep) 100%);
  color: rgba(243, 239, 232, 0.8);
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: auto; height: 64px; flex: none; }
.footer-brand strong { display: block; font-family: "Helvetica Black Condensed", var(--font); font-weight: 900; letter-spacing: 0.1em; font-size: 1.25rem; color: #f6f1ea; }
.footer-brand span { display: block; margin-top: 6px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-brand p { margin-top: 14px; max-width: 18rem; }
.site-footer h4 { margin-bottom: 16px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f6f1ea; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; transition: color 0.2s ease; }
.footer-links a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.site-footer address a { display: inline-block; padding: 4px 0; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(243, 239, 232, 0.1); color: #f6f1ea; transition: background-color 0.25s ease, transform 0.3s var(--ease); }
.socials a:hover { background: rgba(243, 239, 232, 0.2); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom a { display: inline-block; padding: 12px 0; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 232, 0.14); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 9, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner { max-width: min(1200px, 92vw); }
.lightbox-inner img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox-close { top: 20px; right: 20px; font-size: 18px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; letter-spacing: 0.06em; }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: 0.32s; }
.js .reveal-stagger.is-visible > :nth-child(n + 6) { transition-delay: 0.4s; }

/* dark-mode photo polish */
html[data-theme="dark"] .tile img,
html[data-theme="dark"] .story-media img,
html[data-theme="dark"] .gallery-item img,
html[data-theme="dark"] .room-thumb img,
html[data-theme="dark"] .split-media img,
html[data-theme="dark"] .place-card img,
html[data-theme="dark"] .mosaic img { filter: brightness(0.93); }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* header: tagline only where there is room; hamburger below 960px */
@media (max-width: 1140px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 8px 11px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .brand-sub { display: block; font-size: 0.64rem; letter-spacing: 0.08em; }
  .brand-logo { height: 40px; }
  .brand-title { font-size: 1.3rem; }
}

@media (max-width: 960px) {
  .split, .story, .stay-block, .stay-block:nth-child(even), .contact-grid, .prose-block { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .story:nth-child(even) .story-media, .stay-block:nth-child(even) .room-gallery { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; max-width: 420px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand-sub-extra { display: none; }
  .hero { min-height: 560px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 5; }
  .bento { grid-auto-rows: 170px; gap: 12px; }
  .photo-grid { gap: 10px; }
  .gallery-item, .room-thumb { border-radius: 14px; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; }
  .room-thumb-large { grid-column: 1 / span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .room-thumb-small { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-count { bottom: 30px; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand { gap: 10px; }
}

/* ---------- accessibility helper ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- "Watch" section: our film big on the left, creator videos on the right ---------- */
.watch-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; }
.watch-grid.film-only { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.film-card { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 16 / 9; background: #0d120e; box-shadow: var(--shadow-lift); }
.film-card video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0d120e; }
.film-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 3vw, 34px);
  border: 0;
  background: linear-gradient(0deg, rgba(8, 12, 9, 0.72) 0%, rgba(8, 12, 9, 0.1) 45%, rgba(8, 12, 9, 0) 60%);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.film-play-text { display: grid; gap: 4px; }
.film-play-text strong { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.15; }
.film-play-text small { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); }
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}
.play-badge svg { width: 38%; height: 38%; margin-left: 6%; }
.film-play:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.film-card.is-playing .film-play { display: none; }

.watch-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 0; }
.watch-side[data-count="1"] { grid-template-rows: 1fr; }
.yt-card {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111;
  color: #fff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.yt-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.yt-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 12, 9, 0.85) 0%, rgba(8, 12, 9, 0.2) 55%, rgba(8, 12, 9, 0.05) 100%); }
.yt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.yt-card:hover img { transform: scale(1.05); }
.yt-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(8, 12, 9, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
}
.yt-badge svg { width: 12px; height: 12px; }
.yt-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 16px 18px; }
.yt-channel { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.yt-title { font-size: 0.95rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 960px) {
  .watch-grid { grid-template-columns: 1fr; }
  .watch-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .yt-card { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .watch-side { grid-template-columns: 1fr; }
  .yt-card { aspect-ratio: 16 / 9; }
  .film-card { border-radius: var(--radius-lg); }
  .film-play { padding: 16px 18px; }
  .film-play-text strong { font-size: 1.05rem; }
  .film-play-text small, .film-play-text .tile-kicker { display: none; }
  .play-badge { width: 56px; height: 56px; }
}

/* ---------- WhatsApp contact on every page ---------- */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 110;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #128c4a;
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { background: #0d733c; transform: translateY(-3px); }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.contact-card > span:last-child { min-width: 0; }
.site-footer address a, .mobile-menu a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---------- video player dialog ---------- */
.video-modal { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-modal::backdrop { background: rgba(8, 12, 9, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal[open] { animation: pop-in 0.4s var(--ease); }
.video-modal-inner { position: relative; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-close {
  position: absolute;
  right: 0;
  top: -58px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.video-close:hover { background: rgba(255, 255, 255, 0.2); }
.video-fallback { display: inline-block; margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.video-fallback:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-media { transform: none; }
}
