/* ===================================
   H Hotel El Nido — Main Stylesheet
   Japanese Minimalist Aesthetic
=================================== */

/* === CSS Variables === */
:root {
  --washi:        #FFFFFF;
  --sumi:         #000000;
  --kareki:       #A89880;
  --mist:         #D8D4CC;
  --kokedama:     #8A9B7E;
  --coral:        #C2B49A;
  --fog:          #F2F2F2;
  --body-text:    #333333;

  --font-serif:   'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
  --font-sans:    'Open Sans', 'Noto Sans TC', system-ui, sans-serif;

  --gap-section:  80px;
  --gap-block:    80px;
  --container:    1400px;
  --pad-x:        4vw;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; scroll-padding-top: 110px; }
/* <picture> wrappers (added for mobile-size <source> swapping) shouldn't
   affect the layout box that every existing img selector was written
   against — collapse them out of the box model entirely. */
picture { display: contents; }
br.mobile-break { display: none; }
@media (max-width: 768px) {
  br.mobile-break { display: block; }
}
body {
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; cursor: default; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* No underline on nav, buttons, logos, cards, image-only links */
.nav__logo:hover,
.nav__links a:hover,
.nav__book:hover,
.nav__mobile a:hover,
.btn:hover,
.home-room-card:hover,
.day-in-life__item:hover,
.explore-toc-item:hover,
.partner-block a:hover,
.service-item__icon a:hover,
.room-card:hover,
.room-card a:hover,
.full-bleed a:hover,
.footer__brand-wrap a:hover,
.footer__social a:hover,
.footer__nav-links a:hover { text-decoration: none; }
ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
h1 { font-size: clamp(45px, 5.95vw, 82px); }
h2 { font-size: clamp(30px, 3.23vw, 48px); letter-spacing: 0.08em; }
h3 { font-size: clamp(20px, 1.87vw, 28px); letter-spacing: 0.08em; }
h4 { font-size: clamp(15px, 1.36vw, 19px); letter-spacing: 0.12em; }
/* Repeated per-section heading (same tier as .partner-block__title, used
   on Wellness/Explore/Dining) — for pages like Home/About that introduce
   each section with a plain heading instead of a partner-block. Keeps
   that heading tier consistent site-wide instead of falling back to the
   larger bare h2/h3 size, which is reserved for one-off statement headings. */
h2.section-heading, h3.section-heading { font-size: clamp(26px, 2.8vw, 43px); }
p  { font-size: clamp(14px, 1.06vw, 16px); line-height: 1.9; color: var(--body-text); }

.eyebrow {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kareki);
  display: block;
  margin-bottom: 16px;
}
.caption {
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--kareki);
  text-transform: uppercase;
}
.italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

/* === Language Toggle === */
body.lang-en    .zh    { display: none; }
body.lang-en    .zh-cn { display: none; }
body.lang-zh    .en    { display: none; }
body.lang-zh    .zh-cn { display: none; }
body.lang-zh-cn .en    { display: none; }
body.lang-zh-cn .zh    { display: none; }

/* === Container === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ===========================
   NAVIGATION
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease-out), padding 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav__logo { justify-self: start; grid-column: 1; }
.nav__links { justify-self: center; grid-column: 2; }
.nav__right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav.scrolled {
  background: var(--sumi);
  padding: 18px var(--pad-x);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

/* Logo */
.nav__logo {
  font-family: 'Jost', var(--font-sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--washi);
  line-height: 1.2;
  display: flex; align-items: center; gap: 14px;
}
.nav__logo-img {
  height: 42px; width: auto;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  border: none;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease-out);
}
.nav.scrolled .nav__logo-img { filter: none; }
.nav__logo-text { display: flex; flex-direction: column; }
.nav__logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-family: var(--font-sans);
  color: var(--coral);
  opacity: 1;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Footer logo */
.footer__brand-wrap { margin-bottom: 16px; }
.footer__brand-img {
  height: 30px; width: auto;
  object-fit: contain;
  display: block;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.85);
  transition: color 0.3s ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.lang-zh .nav__links a .zh { font-size: 14px; letter-spacing: 0.06em; }

/* Language dropdown (desktop) */
.nav__lang { position: relative; }
.nav__lang-trigger {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.85);
  background: none;
  border: none;
  cursor: default;
  font-family: var(--font-sans);
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav__lang-trigger:hover { color: var(--washi); }
.nav__lang-flag { font-size: 26px; line-height: 1; display: block; }

.nav__lang:hover .nav__lang-dropdown,
.nav__lang:focus-within .nav__lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__lang-dropdown .lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: default;
  padding: 11px 26px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-sans);
  color: var(--sumi);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__lang-dropdown .lang-option:hover { color: var(--kareki); background: rgba(44,44,42,0.04); }
.nav__lang-dropdown .lang-option.active { color: var(--kareki); }

/* Book Now btn */
.nav__book {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 11px 28px;
  border: none;
  border-radius: 2px;
  color: #fff;
  cursor: default;
  background: var(--coral);
  font-family: var(--font-sans);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(200, 180, 154, 0.45);
}
.nav__book:hover {
  background: #b8a08a;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(200, 180, 154, 0.6);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: default;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--washi);
  transition: background 0.3s var(--ease-out);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed; inset: 0;
  background: var(--washi);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 110px 24px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: 0.08em;
  color: var(--sumi);
  transition: color 0.3s ease;
}
.nav__mobile a:hover { color: var(--kareki); }
.nav__close {
  position: absolute;
  top: 28px; right: var(--pad-x);
  font-size: 28px;
  cursor: default;
  background: none;
  border: none;
  color: var(--sumi);
  line-height: 1;
  font-family: var(--font-sans);
  font-weight: 300;
}
/* Desktop dropdown */
.nav__links li.has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute;
  top: 100%; left: 0;
  transform: translateY(6px);
  min-width: 230px;
  padding: 10px 0;
  background: rgba(247, 244, 239, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav__links li.has-dropdown:hover .nav__dropdown,
.nav__links li.has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__dropdown li { display: block; }
.nav__dropdown a {
  display: block;
  padding: 11px 26px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav .nav__dropdown a,
.nav.scrolled .nav__dropdown a { color: var(--sumi); }
.nav__dropdown a::after { content: none; }
.nav__dropdown a:hover { color: var(--kareki); background: rgba(44,44,42,0.04); }

/* Mobile grouped submenu */
.nav__mobile-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.nav__mobile-group__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.nav__mobile-toggle {
  background: none;
  border: none;
  color: var(--sumi);
  cursor: default;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__mobile-toggle span {
  display: block;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--sumi);
  border-bottom: 1.5px solid var(--sumi);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}
.nav__mobile-group.open .nav__mobile-toggle span { transform: rotate(-135deg); margin-top: 4px; }
.nav__mobile-sub {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: -2px;
}
.nav__mobile-group.open .nav__mobile-sub { display: flex; }
.nav__mobile-sub a {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kareki);
}
.nav__mobile-sub a:hover { color: var(--sumi); }

/* Language dropdown (mobile) */
.nav__mobile-lang-label {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: 0.08em;
  color: var(--sumi);
}
.nav__mobile-sub .lang-option {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kareki);
  background: none;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__mobile-sub .lang-option:hover { color: var(--sumi); }
.nav__mobile-sub .lang-option.active { color: var(--sumi); font-weight: 500; }

/* ===========================
   HERO (Homepage)
=========================== */
.hero {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
  /* Mobile downloads the small --bg-mobile file; desktop swaps in the
     full-size --bg-desktop file. Only the one actually used gets fetched. */
  background-image: var(--bg-mobile);
}
@media (min-width: 769px) {
  .hero__bg { background-image: var(--bg-desktop); }
}
.hero__bg.loaded { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(44,44,42,0.65) 0%,
    rgba(44,44,42,0.15) 55%,
    transparent 100%
  );
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad-x) 220px;
  max-width: var(--container);
  margin: 0 auto; width: 100%;
}
.hero__eyebrow {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 20px;
}
.hero__title {
  color: var(--washi);
  font-size: clamp(41px, 6.38vw, 89px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.0;
  max-width: 960px;
}
.hero__sub {
  color: rgba(247,244,239,0.75);
  font-size: clamp(13px, 1.19vw, 17px);
  letter-spacing: 0.04em;
  margin-top: 28px;
  max-width: 960px;
  font-family: var(--font-serif);
  font-style: italic;
  white-space: nowrap;
}
.hero__scroll {
  position: absolute;
  bottom: 52px; right: var(--pad-x);
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  color: rgba(247,244,239,0.55);
  font-size: 8px; letter-spacing: 0.22em;
  text-transform: uppercase; z-index: 2;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 52px;
  background: rgba(247,244,239,0.4);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%  { opacity: 1;   transform: scaleY(0.4); transform-origin: top; }
  100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
}

/* ===========================
   BOOKING BAR (Home hero — quick Cloudbeds search)
=========================== */
.booking-bar-wrap {
  /* Same box model as .hero__content (max-width + centered margin + pad-x
     padding) so the bar's left edge lines up exactly with the hero text
     above it, regardless of viewport width. */
  position: absolute;
  left: 0; right: 0; bottom: 110px;
  z-index: 6;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.booking-bar {
  /* Explicit width (sum of the fixed-basis fields below + Search + the
     right padding + border) instead of width:fit-content — Safari/WebKit
     miscalculates fit-content on a flex container with fixed-basis
     children, sizing the box smaller than its actual content and leaving
     Search rendering outside the visible border. Search rounds its own
     right corners (see .booking-bar__search) rather than this container
     clipping via overflow:hidden — that combo (flex + overflow:hidden +
     border-radius) triggers a separate Safari/WebKit paint bug where the
     button's background fails to composite across its full width. */
  display: flex;
  width: 944px;
  align-items: stretch;
  background: var(--washi);
  border: 1px solid var(--mist);
  border-radius: 2px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.16);
}
.booking-bar__field {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 28px;
  border-right: 1px solid var(--mist);
  position: relative;
}
.booking-bar__field--dates { flex: 0 0 580px; }
.booking-bar__field--occupancy { flex: 0 0 220px; }
.booking-bar__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 8px; letter-spacing: 0.26em;
  text-transform: uppercase;
  /* Darker than --kareki (#A89880) — that muted tone reads fine against
     photo captions elsewhere, but at this small size on plain white it's
     too low-contrast to read. */
  color: #7A6B54;
  margin-bottom: 6px;
}
.booking-bar__dates-row { display: flex; align-items: center; gap: 14px; }
.booking-bar__date-inputs { display: flex; align-items: center; gap: 14px; flex: 1 1 0; min-width: 0; }
.booking-bar__date-inputs .date-picker { flex: 1 1 0; min-width: 0; }
.booking-bar__date-input {
  width: 100%; background: none; border: none; padding: 0;
  font-family: var(--font-sans); font-size: 13px; color: var(--sumi);
  cursor: pointer;
}
.booking-bar__date-sep { color: var(--mist); font-size: 11px; flex-shrink: 0; }
/* Only the actual date inputs grey out/disable when "Dates flexible" is
   checked — the checkbox itself (a sibling, not a descendant of this
   wrapper) must stay clickable so it can be unchecked again. */
.booking-bar__date-inputs.is-disabled { opacity: 0.4; pointer-events: none; }
.booking-bar__flexible {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  padding-left: 14px;
  border-left: 1px solid var(--fog);
  font-family: var(--font-sans); font-size: 10px;
  color: #7A6B54; cursor: pointer;
  white-space: nowrap;
}
.booking-bar__flexible input { accent-color: var(--sumi); cursor: pointer; }

.booking-bar__occupancy-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; background: none; border: none; padding: 0;
  font-family: var(--font-sans); font-size: 13px; color: var(--sumi);
  cursor: pointer;
}
.booking-bar__chevron { width: 16px; height: 16px; color: var(--kareki); flex-shrink: 0; transition: transform 0.25s ease; }
.booking-bar__field--occupancy.open .booking-bar__chevron { transform: rotate(180deg); }

/* Fixed positioning (not absolute) so the popover escapes any clipping
   ancestor — e.g. the hero section's overflow:hidden. JS sets its exact
   top/left/width to line up under the trigger on open. */
.booking-bar__popover {
  display: none;
  position: fixed;
  z-index: 9999;
  background: var(--washi);
  border: 1px solid var(--mist);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  padding: 20px 24px;
}
.booking-bar__field--occupancy.open .booking-bar__popover { display: block; }
.booking-bar__stepper-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fog);
  font-family: var(--font-sans); font-size: 12px; color: var(--sumi);
}
.booking-bar__stepper-row:last-of-type { border-bottom: none; }
.booking-bar__stepper { display: flex; align-items: center; gap: 16px; }
.booking-bar__stepper-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--mist); background: none;
  color: var(--sumi); font-size: 14px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.booking-bar__stepper-btn:hover:not(:disabled) { border-color: var(--sumi); }
.booking-bar__stepper-btn:disabled { opacity: 0.3; cursor: default; }
.booking-bar__stepper-value {
  min-width: 16px; text-align: center;
  font-family: var(--font-sans); font-size: 12px; color: var(--sumi);
}
.booking-bar__done {
  margin-top: 16px; width: 100%;
  padding: 12px; border: 1px solid var(--sumi); background: none;
  font-family: var(--font-sans); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sumi); cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.booking-bar__done:hover { background: var(--sumi); color: var(--washi); }

.booking-bar__search {
  /* Fixed flex-basis instead of auto — with overflow:hidden gone (see
     .booking-bar), Safari/WebKit's width:fit-content on the parent
     miscalculates around an auto-sized flex child with heavy padding,
     leaving the button rendering outside the container's own border box. */
  flex: 0 0 142px;
  padding: 0;
  text-align: center;
  border: none;
  border-radius: 0 2px 2px 0;
  background: var(--sumi);
  color: var(--washi);
  font-family: var(--font-sans);
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
.booking-bar__search:hover { background: #333; }

@media (max-width: 900px) {
  .booking-bar-wrap { bottom: 20px; }
  .booking-bar { display: flex; width: 100%; flex-direction: column; padding-right: 0; }
  .booking-bar__field {
    border-right: none;
    border-bottom: 1px solid var(--mist);
  }
  .booking-bar__field--dates,
  .booking-bar__field--occupancy { flex: 1 1 auto; }
  .booking-bar__dates-row { flex-wrap: wrap; row-gap: 10px; }
  .booking-bar__date-inputs { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .booking-bar__date-sep { display: none; }
  .booking-bar__flexible { border-left: none; padding-left: 0; }
  .booking-bar__search { flex: 0 0 auto; padding: 20px; width: 100%; border-radius: 0 0 2px 2px; }
}

/* ===========================
   PAGE HERO (sub-pages)
=========================== */
.page-hero {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: var(--bg-mobile);
}
@media (min-width: 769px) {
  .page-hero__bg { background-image: var(--bg-desktop); }
}
.page-hero__bg--wellness { background-position: center 55%; }
@media (max-width: 768px) {
  .page-hero__bg--wellness { background-position: 15% 55%; }
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(44,44,42,0.65) 0%,
    rgba(44,44,42,0.15) 55%,
    transparent 100%
  );
}
.page-hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad-x) 88px;
  max-width: var(--container);
  margin: 0 auto; width: 100%;
}
.page-hero__title {
  color: var(--washi);
  font-size: clamp(37px, 5.1vw, 67px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.05;
}
.page-hero__badges {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.page-hero__badges .dining-awards__badge { width: 135px; height: 135px; }
@media (max-width: 768px) {
  .page-hero__badges .dining-awards__badge { width: 105px; height: 105px; }
}

/* ===========================
   SECTION LABEL
=========================== */
.section-label {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 48px;
}
.section-label::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--kareki);
}
.section-label span {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kareki);
  font-family: var(--font-sans);
}

/* ===========================
   INTRO TEXT (pull-quote block)
=========================== */
.intro-text {
  padding: 100px var(--pad-x) 72px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex; justify-content: flex-end;
}
.intro-text__inner {
  max-width: 52%;
  border-left: 2px solid var(--kareki);
  padding-left: 40px;
}
.intro-text__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.21vw, 30px);
  line-height: 1.55;
  color: var(--sumi);
  margin-bottom: 24px;
  font-weight: 300;
}
.intro-text__body { font-size: 15px; line-height: 1.9; }

/* Explore page — intro text, followed by a photo-tile table of contents
   (each tile links down to its section further on the page). */
.explore-toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.explore-toc-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.explore-toc-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.explore-toc-item:hover img { transform: scale(1.06); }
.explore-toc-item__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1) 55%);
  pointer-events: none;
}
.explore-toc-item__content {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 1;
}
.explore-toc-item__title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.53vw, 20px);
  color: var(--washi);
  margin-bottom: 8px;
}
.explore-toc-item__desc {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(247,244,239,0.8);
}
@media (max-width: 900px) {
  .explore-toc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .explore-toc-grid { grid-template-columns: 1fr; }
}

/* ===========================
   HOME ROOMS STRIP + DINING & EXPLORE (Homepage)
=========================== */
.home-rooms {
  padding: var(--gap-section) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.home-rooms__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.home-rooms__head h2 {
  font-size: clamp(22px, 2.55vw, 32px);
  font-weight: 300;
  margin-top: 8px;
}

.home-rooms__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Day in the Life — numbered itinerary teaser, Home page only.
   Solid black section; each card is text on top, one large photo below. */
.day-in-life {
  background: var(--sumi);
  color: var(--washi);
  padding: var(--gap-section) 0;
}
.day-in-life__head { max-width: 1050px; margin: 0 auto 56px; text-align: center; }
.day-in-life__head .eyebrow { color: var(--kareki); }
.day-in-life__head h2 { color: var(--washi); margin-bottom: 16px; }
.day-in-life__head p { color: rgba(247,244,239,0.75); }
.day-in-life__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.day-in-life__item {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--sumi);
  border-top: 1px solid rgba(247,244,239,0.35);
  border-right: 1px solid rgba(247,244,239,0.14);
  cursor: default;
}
.day-in-life__item:nth-child(4n) { border-right: none; }
.day-in-life__item--active { border-top: 2px solid var(--kareki); }
.day-in-life__item-tint {
  position: absolute; inset: 0;
  z-index: 1;
  background: var(--kareki);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.day-in-life__item:hover .day-in-life__item-tint { opacity: 0.16; }
.day-in-life__item-text { padding: 32px 28px 24px; }
.day-in-life__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--kareki);
  margin-bottom: 20px;
}
.day-in-life__item h3 {
  font-size: clamp(15px, 1.36vw, 19px);
  color: var(--washi);
  margin-bottom: 12px;
}
.day-in-life__item p { color: rgba(247,244,239,0.75); font-size: 14px; line-height: 1.8; }
/* Shared big photo below the grid — swaps to match whichever card is
   hovered. Reuses .feature-switcher__media's crossfade behaviour
   (position/opacity rules), overridden here for a full-width strip. */
.day-in-life__media.feature-switcher__media {
  aspect-ratio: 21 / 9;
  margin-top: 40px;
  border-radius: 2px;
}
.day-in-life__media img[data-index="1"] { object-position: center 78%; }
.day-in-life__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
@media (max-width: 900px) {
  .day-in-life__grid { grid-template-columns: repeat(2, 1fr); }
  .day-in-life__media.feature-switcher__media { aspect-ratio: 4 / 3; }
  .day-in-life__item { border-right: 1px solid rgba(247,244,239,0.14); }
  .day-in-life__item:nth-child(4n) { border-right: 1px solid rgba(247,244,239,0.14); }
  .day-in-life__item:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .day-in-life__grid { grid-template-columns: 1fr; }
  .day-in-life__item,
  .day-in-life__item:nth-child(2n) { border-right: none; }
}
.home-room-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.home-room-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.home-room-card:hover img { transform: scale(1.06); }
.home-room-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0) 65%);
  pointer-events: none;
}
.home-room-card__info {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
}
.home-room-card__label {
  display: block;
  color: var(--washi);
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.home-room-card__desc {
  color: rgba(247,244,239,0.8);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home-rooms__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0 5vw;
    scrollbar-width: none;
  }
  .home-rooms__grid::-webkit-scrollbar { display: none; }
  .home-room-card {
    flex: 0 0 72vw;
    aspect-ratio: 3 / 2;
    scroll-snap-align: start;
  }
  .home-rooms__head { flex-direction: column; align-items: flex-start; }
}

/* ===========================
   LINK ARROW
=========================== */
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sumi);
  transition: gap 0.3s ease;
}
.link-arrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.link-arrow:hover { gap: 16px; }
.link-arrow:hover::after { width: 44px; }
.link-arrow--white { color: var(--washi); }
.partner-block__hours-label { display: block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kareki); margin-bottom: 6px; }
.partner-block__hours-value { font-size: 13px; color: var(--sumi); }

/* ===========================
   PARTNER BLOCKS (Explore)
=========================== */
.partner-block {
  padding: 72px 0;
  overflow: hidden;
}
.partner-block__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 8vw;
  align-items: center;
}
.partner-block--reverse .partner-block__inner {
  grid-template-columns: 45fr 55fr;
}
.partner-block--reverse .partner-block__image { order: 2; }
.partner-block--reverse .partner-block__text  { order: 1; }

.partner-block__image {
  position: relative; overflow: hidden;
}
.partner-block__image img {
  width: 100%; height: 520px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.partner-block__image:hover img { transform: scale(1.04); }
.partner-block__image::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(44,44,42,0);
  transition: background 0.3s var(--ease-out);
  pointer-events: none;
}
.partner-block__image:hover::after { background: rgba(44,44,42,0.12); }

.partner-block__text { padding: 32px 0; }
.partner-block__title {
  font-size: clamp(26px, 2.8vw, 43px);
  font-weight: 300; margin-bottom: 8px;
}
.partner-block__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(13px, 1.19vw, 17px);
  color: var(--kareki);
  margin-bottom: 28px;
}
.partner-block__text p { margin-bottom: 28px; max-width: 42ch; }

/* ===========================
   DOUBLE COLUMN CARDS
=========================== */
.double-col {
  padding: 72px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.double-col__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.double-col__card { display: flex; flex-direction: column; }
.double-col__image { overflow: hidden; margin-bottom: 28px; position: relative; }
.partner-block__image { position: relative; }
.photo-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  background: var(--washi);
  color: var(--sumi);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  border-radius: 2px;
}
.photo-tag strong { display: block; font-weight: 600; }

/* Mosaic photo layout — an alternative to .photo-carousel: several
   photos shown at once in a uniform grid instead of a cycling
   slideshow. Modifiers set the column count to fit the photo total. */
.partner-block__photo-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  height: 640px;
}
.partner-block__photo-grid--2col { grid-template-columns: repeat(2, 1fr); }
.partner-block__photo-grid--3col { grid-template-columns: repeat(3, 1fr); }
.partner-block__photo-grid figure {
  margin: 0; overflow: hidden; position: relative;
}
.partner-block__photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.partner-block__photo-grid figure:hover img { transform: scale(1.04); }
@media (max-width: 768px) {
  .partner-block__photo-grid {
    height: 400px;
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
  }
}
.double-col__image img {
  width: 100%; height: 380px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.double-col__card:hover .double-col__image img { transform: scale(1.04); }
.double-col__title {
  font-size: clamp(20px, 2.04vw, 31px);
  margin-bottom: 14px; font-weight: 300;
}
.double-col__text { font-size: 14px; line-height: 1.85; margin-bottom: 24px; flex: 1; }
.double-col__meta { margin-bottom: 20px; }
.double-col__meta p { font-size: 11px; color: var(--kareki); margin-bottom: 4px; }
.double-col__meta strong { color: var(--sumi); font-weight: 600; }
.dining-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}
@media (max-width: 900px) {
  .dining-cta-row { flex-wrap: wrap; }
}

/* ===========================
   TRIPLE COLUMN CARDS
=========================== */
.triple-col {
  padding: 72px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.triple-col__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.triple-col__card { display: flex; flex-direction: column; }
.triple-col__image { overflow: hidden; margin-bottom: 20px; }
.triple-col__image img {
  width: 100%; height: 300px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.triple-col__card:hover .triple-col__image img { transform: scale(1.04); }
.triple-col__title {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 300;
  margin-bottom: 10px; letter-spacing: 0.05em;
}
.triple-col__text { font-size: 14px; line-height: 1.8; flex: 1; margin-bottom: 18px; }

/* ===========================
   OUR IMPACT (horizontal scroll)
=========================== */
.impact-section { padding: 100px 0 120px; }
.impact-scroll {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
}
.impact-scroll::-webkit-scrollbar { height: 6px; }
.impact-scroll::-webkit-scrollbar-track { background: transparent; }
.impact-scroll::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 4px; }
.impact-scroll__track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 0 var(--pad-x);
}
.impact-card {
  scroll-snap-align: start;
  width: min(360px, 78vw);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.impact-card__image { overflow: hidden; margin-bottom: 22px; }
.impact-card__image img {
  width: 100%; height: 260px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.impact-card:hover .impact-card__image img { transform: scale(1.04); }
.impact-card__title {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 300;
  margin: 8px 0 10px;
  letter-spacing: 0.03em;
}
.impact-card__text { font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.impact-card .link-arrow { margin-top: auto; }

/* ===========================
   FULL BLEED
=========================== */
.full-bleed {
  position: relative;
  width: 100%; height: 62vh; min-height: 420px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.full-bleed--facilities { height: auto; min-height: 0; padding: 100px 0; }
.full-bleed__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.full-bleed__overlay {
  position: absolute; inset: 0;
  background: rgba(44,44,42,0.42);
}
.full-bleed__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--washi); padding: 0 var(--pad-x);
}
.full-bleed__title {
  font-size: clamp(30px, 4.59vw, 64px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300; margin-bottom: 16px;
}
.full-bleed__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14px, 1.27vw, 19px);
  color: rgba(247,244,239,0.8);
}
.full-bleed__sub a { border-bottom: 1px solid rgba(247,244,239,0.4); transition: border-color 0.3s ease; }
.full-bleed__sub a:hover { border-color: rgba(247,244,239,0.9); }
.intro-text__body a { font-weight: 600; transition: color 0.3s ease; }
.intro-text__body a:hover { color: var(--kareki); }

/* Recommendations — full-bleed background photo behind left-aligned text */
.recommendations-bg {
  position: relative;
  padding-top: calc(var(--gap-section) + 40px);
  padding-bottom: calc(var(--gap-section) + 40px);
  overflow: hidden;
}
.recommendations-bg__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.recommendations-bg__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,18,0.88) 0%, rgba(20,20,18,0.72) 45%, rgba(20,20,18,0.5) 100%);
}
.recommendations-bg .container { position: relative; z-index: 2; }
.recommendations-bg .section-label span { color: var(--kareki); }
.recommendations-bg h2,
.recommendations-bg h4 { color: var(--washi); }
.recommendations-bg p { color: rgba(247,244,239,0.82); }

/* ===========================
   HALF SPLIT
=========================== */
.half-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px; overflow: hidden;
}
.half-split__image { overflow: hidden; }
.half-split__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.half-split:hover .half-split__image img { transform: scale(1.03); }
.half-split__text {
  background: var(--washi);
  padding: 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.half-split__text h2 { margin-bottom: 16px; }
.half-split__text .italic-serif {
  font-size: clamp(14px, 1.27vw, 19px);
  color: var(--kareki); margin-bottom: 32px;
}
.half-split__text p { margin-bottom: 36px; max-width: 44ch; }
.half-split__map { overflow: hidden; }
.half-split__map iframe {
  width: 100%;
  height: calc(100% + 72px);
  margin-top: -72px;
  border: 0;
  display: block;
}

.about-heart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 44ch;
}
.about-heart-list li {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--body-text);
}
.about-heart-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--kareki);
}

/* ===========================
   ROOMS GRID
=========================== */
.room-card {
  cursor: default;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.room-card--reverse { grid-template-columns: 1fr 1.15fr; }
.room-card__image { overflow: hidden; position: relative; }
.room-card__image img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.room-card:hover .room-card__image img { transform: scale(1.04); }
.room-card__image .photo-carousel { aspect-ratio: 16 / 10; height: auto; }
.room-card__content { padding: 0 var(--pad-x); }
.room-card__title { font-size: 24px; font-weight: 300; margin-bottom: 12px; }
.room-card__desc { font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
.room-card__amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  margin-bottom: 32px;
}
.room-card__amenities li {
  font-size: 12px;
  color: var(--body-text);
  display: flex; align-items: center; gap: 10px;
}
.room-card__amenities li::before { content: '+'; color: var(--kareki); font-weight: 600; }

/* ===========================
   ABOUT — STORY SECTION
=========================== */
.about-story { padding: 120px 0; }
.about-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-story__img img {
  width: 100%; height: 600px;
  object-fit: cover;
}

/* ===========================
   SERVICES GRID
=========================== */
.about-services { background: #F2EFE9; padding: 120px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 56px;
}
.service-item { display: flex; flex-direction: column; gap: 14px; }
.service-item__icon {
  height: 112px;
  display: flex; align-items: center;
  margin-bottom: 20px;
  background: transparent; border: none;
}
.service-item__icon img {
  height: 100%; width: auto; max-width: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  display: block;
}
.service-item__icon--photo {
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-item__icon--photo a { width: 100%; height: 100%; }
.service-item__icon--photo img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  mix-blend-mode: normal;
}
.service-item__icon a {
  display: flex; align-items: center; height: 100%;
  position: relative; z-index: 2;
  cursor: default;
  isolation: isolate;
}
.service-item__title a {
  color: inherit; text-decoration: none;
  cursor: default;
  display: inline-block;
  position: relative; z-index: 2;
}
.service-item__title a:hover { color: var(--kareki); }
.service-item__title {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 300;
  letter-spacing: 0.05em;
}
.service-item__text { font-size: 14px; line-height: 1.85; }

/* ===========================
   RESTAURANT
=========================== */
.restaurant-feature {
  padding: 120px 0;
}
.restaurant-feature .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.restaurant-feature__img img {
  width: 100%; height: 560px;
  object-fit: cover;
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .menu-list { grid-template-columns: 1fr; gap: 0; }
}
.menu-category { margin-bottom: 56px; }
.menu-category__title {
  font-size: 8px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--kareki);
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 1px solid var(--mist);
}
.menu-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(216,212,204,0.5);
}
.menu-item__name {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 300;
  letter-spacing: 0.03em; margin-bottom: 4px;
}
.menu-item__desc { font-size: 12px; color: #6A6865; line-height: 1.6; }
.menu-item__tags {
  font-size: 8px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--kareki);
  margin-top: 6px;
}

/* ===========================
   MAP SECTION
=========================== */
.map-card {
  position: absolute;
  top: 48px; left: var(--pad-x);
  background: var(--washi);
  padding: 40px 48px;
  min-width: 280px;
  box-shadow: 0 8px 48px rgba(44,44,42,0.12);
}
.map-card__title {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 300;
  letter-spacing: 0.08em; margin-bottom: 24px;
}
.map-card__list { display: flex; flex-direction: column; gap: 12px; }
.map-card__list li {
  font-size: 11px; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 10px;
}
.map-card__list li::before {
  content: ''; display: block;
  width: 5px; height: 5px;
  border-radius: 50%; background: var(--kareki); flex-shrink: 0;
}

/* ===========================
   MAP SPLIT (Explore page)
=========================== */
.map-split__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}
.map-split__photo { overflow: hidden; position: relative; height: 480px; }
.map-split__photo img {
  width: 100%; height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center 80%;
  display: block;
}
.map-split__map { position: relative; height: 480px; }
.map-split__frame { height: 480px; overflow: hidden; }
.map-split__frame iframe {
  width: 100%; height: 540px;
  margin-top: -72px;
  border: none; display: block;
  filter: grayscale(0.25) sepia(0.08);
}
.map-split__map .map-card { left: -60px; }
@media (max-width: 768px) {
  .map-split__grid { grid-template-columns: 1fr; }
  .map-split__photo { height: 420px; }
  .map-split__photo img { min-height: 420px; }
  .map-split__map { height: auto; }
}

/* ===========================
   CONTACT
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
  padding: var(--gap-section) var(--pad-x);
  max-width: var(--container); margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-item__label {
  font-size: 8px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--kareki); margin-bottom: 8px;
}
.contact-item__value {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.65; font-weight: 300;
}
.contact-item__value a { white-space: nowrap; }

/* Form */
.form-group { margin-bottom: 36px; }
.form-group label {
  display: block; font-size: 8px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--kareki); margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--mist);
  padding: 12px 0;
  font-size: 14px; font-family: var(--font-sans);
  color: var(--sumi); outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--sumi); }
.form-group textarea { resize: none; height: 110px; }

/* ===========================
   BUTTON
=========================== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; font-family: var(--font-sans);
  padding: 15px 36px;
  cursor: default; border: none; background: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.3s var(--ease-out);
}
.btn-dark {
  border: 1px solid var(--sumi); color: var(--sumi);
}
.btn-dark::before {
  content: ''; position: absolute; inset: 0;
  background: var(--sumi);
  transform: translateX(-101%);
  transition: transform 0.3s var(--ease-out);
  z-index: -1;
}
.btn-dark:hover::before { transform: translateX(0); }
.btn-dark:hover { color: var(--washi); }

.btn-light {
  border: 1px solid var(--washi); color: var(--washi);
}
.btn-light::before {
  content: ''; position: absolute; inset: 0;
  background: var(--washi);
  transform: translateX(-101%);
  transition: transform 0.3s var(--ease-out);
  z-index: -1;
}
.btn-light:hover::before { transform: translateX(0); }
.btn-light:hover { color: var(--sumi); }

/* ===========================
   DIVIDERS & UTILITIES
=========================== */
.hr { border: none; border-top: 1px solid var(--mist); margin: 0; }
.hr-cta {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 20px;
}
.hr-cta .btn { margin-bottom: 40px; }
.hr-cta__line { border: none; border-top: 1px solid var(--mist); width: 100%; margin: 0; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.section-pad { padding: var(--gap-section) 0; }
.block-pad { padding: var(--gap-block) 0; }

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--sumi); color: var(--washi);
  padding: 80px var(--pad-x) 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,244,239,0.1);
}
.footer__brand {
  font-family: var(--font-serif);
  font-size: 22px; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic; font-size: 13px;
  color: rgba(247,244,239,0.55);
  line-height: 1.75; max-width: 340px; margin-bottom: 28px;
}
.footer__social { display: flex; align-items: center; gap: 18px; }
.footer__social a {
  display: inline-flex;
  color: rgba(247,244,239,0.45);
  transition: color 0.3s ease;
}
.footer__social a:hover { color: var(--washi); }
.footer__social svg { width: 19px; height: 19px; display: block; }
.footer__nav-title {
  font-size: 8px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--kareki);
  margin-bottom: 22px;
}
.footer__nav-links { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-links a {
  font-size: 12px; color: rgba(247,244,239,0.65);
  letter-spacing: 0.04em; transition: color 0.3s ease;
  white-space: nowrap;
}
.footer__nav-links a:hover { color: var(--washi); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer__copy {
  font-size: 10px; color: rgba(247,244,239,0.35);
  letter-spacing: 0.05em;
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.60s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  :root { --pad-x: 6vw; --gap-section: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partner-block__inner { gap: 6vw; }
  .hero__sub { white-space: normal; max-width: 560px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 5vw; --gap-section: 40px; }
  .nav__links, .nav__lang { display: none; }
  .nav__hamburger { display: flex; }
  .nav__book {
    font-size: 10px;
    padding: 9px 16px;
    white-space: nowrap;
  }

  .hero__title { font-size: 34px; }
  .hero__content { padding-bottom: 340px; }
  .double-col__grid,
  .triple-col__grid,
  .rooms-grid,
  .about-story .container,
  .restaurant-feature .container,
  .contact-grid,
  .services-grid { grid-template-columns: 1fr; gap: 48px; }

  .partner-block__inner,
  .partner-block--reverse .partner-block__inner { grid-template-columns: 1fr; gap: 32px; }
  .partner-block--reverse .partner-block__image { order: 0; }
  .partner-block--reverse .partner-block__text  { order: 0; }

  /* Wellness SPA/GYM blocks set an inline fr-split + inline photo-grid
     height for desktop; inline styles beat any external rule above, so
     override them explicitly here to force text-first, single-column
     stacking on mobile. */
  #h-signature-spa .partner-block__inner,
  #gym .partner-block__inner { grid-template-columns: 1fr !important; }
  #h-signature-spa .partner-block__text,
  #gym .partner-block__text { order: 1; }
  #h-signature-spa .partner-block__image,
  #gym .partner-block__image { order: 2; }
  #h-signature-spa .partner-block__photo-grid,
  #gym .partner-block__photo-grid { height: 400px !important; }

  .wellness-menu-grid { grid-template-columns: 1fr !important; gap: 0 !important; }

  .half-split { grid-template-columns: 1fr; }
  .half-split__image img { height: 380px; }
  .half-split__map { height: 380px; }
  .half-split__text { padding: 60px var(--pad-x); }

  .intro-text { justify-content: flex-start; }
  .intro-text__inner { max-width: 100%; }

  .full-bleed__bg { background-attachment: scroll; }

  .map-card { position: static; transform: none; margin: 24px var(--pad-x); }
  .map-split__frame { height: 260px; }
  .map-split__frame iframe { height: 332px; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-story__img img,
  .restaurant-feature__img img { height: 340px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .page-hero__title { font-size: 29px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .photo-grid-2 { grid-template-columns: 1fr; }
}

/* ===========================
   GUEST REVIEWS
=========================== */
.reviews-section { background: var(--sumi); padding: var(--gap-section) 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.review-card {
  background: var(--washi);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--mist);
}
.review-card__stars {
  font-size: 12px; letter-spacing: 0.08em; color: var(--kareki);
}
.review-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14px, 1.27vw, 17px);
  line-height: 1.7; font-weight: 300;
  color: var(--sumi); flex: 1;
}
.review-card__name {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sumi);
}
.review-card__meta {
  font-size: 9px; letter-spacing: 0.1em;
  color: var(--kareki); margin-top: 4px;
}
.review-rating-hero {
  text-align: center;
  margin-bottom: 56px;
}
.reviews-grid--extra { margin-top: 32px; }
.reviews-load-more { text-align: center; margin-top: 48px; }
.review-rating-hero__num {
  font-family: var(--font-serif);
  font-size: 68px; font-weight: 300; line-height: 1;
  color: var(--sumi);
}
.review-rating-hero__label {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--kareki);
  margin-top: 12px;
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   FAQ
=========================== */
.faq-section { padding: var(--gap-section) 0; }

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 6vw;
  align-items: start;
}
.faq-layout__img {
  margin-top: 32px;
  overflow: hidden;
  border-radius: 2px;
}
.faq-layout__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-layout__img .photo-carousel { aspect-ratio: 3 / 4; height: auto; }

.faq-list { max-width: none; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--mist);
}
.faq-item:first-child { border-top: 1px solid var(--mist); }
.faq-item__q {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.61vw, 20px);
  font-weight: 300; letter-spacing: 0.03em;
  padding: 28px 0;
  cursor: default;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  color: var(--sumi); line-height: 1.4;
}
.faq-item__q::after {
  content: '';
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-right: 1.5px solid var(--kareki);
  border-bottom: 1.5px solid var(--kareki);
  transform: rotate(45deg);
  transition: transform 0.35s ease;
  margin-right: 3px;
}
.faq-item.open .faq-item__q::after { transform: rotate(225deg); margin-right: 0; margin-top: 6px; }
.faq-item__a {
  font-size: 14px; line-height: 1.9;
  color: var(--body-text);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.faq-item.open .faq-item__a { max-height: 300px; padding-bottom: 28px; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout__img { display: none; }
}

/* ===========================
   RESTAURANT PHOTO GRID
=========================== */
.photo-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 72px;
}
.photo-grid-2 img {
  width: 100%; height: 420px; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.photo-grid-2 figure:hover img { transform: scale(1.03); }
.photo-grid-2 figure { overflow: hidden; }
.photo-slot-empty {
  height: 420px;
  background: #EDE9E3;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.photo-slot-empty span {
  font-size: 9px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--kareki);
}
@media (max-width: 768px) { .photo-grid-2 { grid-template-columns: 1fr; } }

/* ===========================
   ROOMS — FEATURED LAYOUT
=========================== */
.rooms-featured { display: flex; flex-direction: column; gap: 72px; }
@media (max-width: 768px) {
  .room-card { grid-template-columns: 1fr; gap: 32px; }
  .room-card__image { order: 1; }
  .room-card__content { order: 2; }
}

/* ===========================
   ROOM GALLERY BUTTONS
=========================== */
.room-card__actions {
  display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap;
}
.room-card__actions .btn {
  flex: 1; min-width: 140px; text-align: center; font-size: 9px; padding: 12px 20px;
}
.btn-filled {
  border: 1px solid var(--sumi); color: var(--washi) !important; background: var(--sumi);
}
.btn-filled:hover { background: #444; border-color: #444; text-decoration: none; }

.btn-accent {
  border: 1px solid var(--kareki); color: var(--sumi) !important; background: var(--kareki);
}
.btn-accent:hover { background: #B8A788; border-color: #B8A788; text-decoration: none; }

/* ===========================
   BOOK DIRECT CTA (Explore page)
=========================== */
.book-direct {
  position: relative;
  color: var(--washi);
  padding: var(--gap-section) 0;
  text-align: center;
  overflow: hidden;
}
.book-direct__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.book-direct__overlay {
  position: absolute; inset: 0;
  background: rgba(20,20,18,0.72);
}
.book-direct .container { position: relative; z-index: 2; }
.book-direct .section-label::before { background: var(--kareki); }
.book-direct .section-label span { color: var(--kareki); }
.book-direct__title {
  color: var(--washi);
  margin-bottom: 20px;
}
.book-direct__title span { color: var(--kareki); }
.book-direct__sub {
  max-width: 560px;
  margin: 0 auto 8px;
  color: rgba(247,244,239,0.75);
  font-size: 13px;
}
.book-direct__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(20,20,18,0.94);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; gap: 20px;
}
.lightbox__img {
  width: 80vw; height: 85vh;
  object-fit: contain; display: block;
  border-radius: 2px;
}
.lightbox__btn {
  background: none; border: none; color: rgba(247,244,239,0.7);
  font-size: 27px; cursor: default; padding: 12px;
  transition: color 0.2s ease; line-height: 1; flex-shrink: 0;
  font-family: var(--font-sans); font-weight: 300;
}
.lightbox__btn:hover { color: var(--washi); }
.lightbox__close {
  position: absolute; top: -48px; right: 0;
  background: none; border: none; color: rgba(247,244,239,0.7);
  font-size: 24px; cursor: default; padding: 8px;
  transition: color 0.2s ease; font-family: var(--font-sans); font-weight: 300;
}
.lightbox__close:hover { color: var(--washi); }
.lightbox__counter {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.2em; color: rgba(247,244,239,0.5);
  font-family: var(--font-sans);
}

/* ===========================
   TRANSPORT GRID (About page)
=========================== */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 100%;
}
.transport-item {
  border: 1px solid var(--mist);
  padding: 40px 36px;
  border-radius: 2px;
}
.transport-item__icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
  line-height: 1;
  color: var(--kareki);
}
.transport-item__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--sumi);
}
.transport-item__desc {
  font-size: 12px;
  line-height: 1.85;
  color: var(--body-text);
  margin-bottom: 20px;
}
.transport-item__cta {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kareki);
  display: inline-block;
}
.transport-item__cta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .transport-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   HOME ABOUT SECTION
=========================== */
.home-about__grid {
  display: block;
  max-width: 760px;
  margin-top: 48px;
}
.home-about__image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .home-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .home-about__image img { height: 320px; }
}

/* ===========================
   FACILITIES ICONS (full-bleed strip)
=========================== */
.facilities-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 48px 32px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(247,244,239,0.2);
}
.facilities-icon__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(247,244,239,0.9);
}
.facilities-icon__item svg {
  width: 48px; height: 48px;
  color: rgba(247,244,239,0.85);
}
.facilities-icon__item span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: rgba(247,244,239,0.75);
  text-align: center;
}
@media (max-width: 640px) {
  .facilities-icons { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .facilities-icon__item svg { width: 36px; height: 36px; }
}

/* ===========================
   RESTAURANT VISIT INFO
=========================== */
.restaurant-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.restaurant-info__item {
  border-left: 1px solid var(--mist);
  padding-left: 32px;
}
.restaurant-info__label {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
  font-family: var(--font-sans);
}
.restaurant-info__value {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.19vw, 17px);
  color: var(--sumi);
  line-height: 1.6;
  font-weight: 300;
}
@media (max-width: 768px) {
  .restaurant-info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .restaurant-info__item {
    border-left: none;
    border-top: 1px solid var(--mist);
    padding-left: 0;
    padding-top: 28px;
  }
  .restaurant-info__item:first-child { border-top: none; padding-top: 0; }
}

/* ===========================
   FAMILY BRAND GRID
=========================== */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--mist);
}
.family-category {
  padding: 48px 48px 48px 0;
  border-right: 1px solid var(--mist);
}
.family-category:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 48px;
}
.family-category:nth-child(2) {
  padding-left: 48px;
}
.family-category__label {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--kareki);
  margin-bottom: 24px;
  font-family: var(--font-sans);
}
.family-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.family-list li {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--sumi);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.family-list li a {
  color: var(--sumi);
  text-decoration: none;
}
.family-list li a:hover {
  color: var(--kareki);
  text-decoration: none;
}
@media (max-width: 768px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
  .family-category,
  .family-category:last-child,
  .family-category:nth-child(2) {
    padding: 36px 0;
    border-right: none;
    border-bottom: 1px solid var(--mist);
  }
  .family-category:last-child { border-bottom: none; }
}

/* ===========================
   SERVICES GRID 4-COL + CATEGORIES
=========================== */
.services-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 64px;
}
.services-category-label {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kareki);
  font-family: var(--font-sans);
  padding: 48px 0 28px;
  border-top: 1px solid var(--mist);
  margin-top: 16px;
}
.service-item__icon--text {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--kareki);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 8px 16px;
  width: fit-content;
  height: auto !important;
  min-height: 40px;
}
.family-footer {
  border-top: 1px solid var(--mist);
  margin-top: 16px;
  padding-top: 64px;
  padding-bottom: 16px;
}
.family-footer__inner {
  max-width: 640px;
}
.family-footer__inner h3 {
  margin: 12px 0 24px;
}
@media (max-width: 900px) {
  .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid--4 { grid-template-columns: 1fr; }
}

/* ===========================
   MOBILE CARD CAROUSELS
   (peek-style horizontal scroll)
=========================== */
@media (max-width: 768px) {
  .transport-grid,
  .services-grid--4,
  .double-col__grid,
  .triple-col__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .transport-grid::-webkit-scrollbar,
  .services-grid--4::-webkit-scrollbar,
  .double-col__grid::-webkit-scrollbar,
  .triple-col__grid::-webkit-scrollbar { display: none; height: 0; }

  .transport-grid > .transport-item,
  .services-grid--4 > .service-item,
  .double-col__grid > .double-col__card,
  .triple-col__grid > .triple-col__card {
    flex: 0 0 84%;
    max-width: 84%;
    scroll-snap-align: start;
  }

  /* Lightbox: stack nav row below the photo, full-width centered image */
  .lightbox__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "img img img" "prev counter next";
    max-width: 94vw;
    max-height: none;
    gap: 16px;
    align-items: center;
    justify-items: center;
  }
  .lightbox__img {
    grid-area: img;
    width: 90vw;
    max-width: 90vw;
    height: 60vh;
  }
  .lightbox__btn:first-of-type { grid-area: prev; justify-self: end; }
  .lightbox__btn:last-of-type { grid-area: next; justify-self: start; }
  .lightbox__close { top: -40px; }
  .lightbox__counter {
    grid-area: counter;
    position: static;
    transform: none;
    white-space: nowrap;
  }
}

/* Chat widget (front-end only — quick actions link to real booking/WhatsApp/email/FAQ, the message form hands off to WhatsApp with the text pre-filled) */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 950; }

.chat-widget__fab {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--sumi);
  color: var(--washi);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transition: background 0.3s ease, transform 0.2s ease;
}
.chat-widget__fab:hover { background: var(--kareki); transform: translateY(-1px); }
.chat-widget__fab svg { width: 24px; height: 24px; }

.chat-widget__teaser {
  position: absolute;
  right: 0; bottom: 72px;
  width: 240px;
  background: var(--washi);
  color: var(--sumi);
  border-radius: 14px 14px 4px 14px;
  padding: 16px 32px 16px 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.5;
}
.chat-widget__teaser.hidden { display: none; }
.chat-widget__teaser-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none;
  color: var(--sumi); opacity: 0.5;
  font-size: 10px; line-height: 1; padding: 4px;
}
.chat-widget__teaser-close:hover { opacity: 1; }

.chat-widget__panel {
  position: absolute;
  right: 0; bottom: 72px;
  width: 340px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: var(--washi);
  color: var(--sumi);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.chat-widget__panel.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.chat-widget__header {
  background: var(--sumi); color: var(--washi);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  flex-shrink: 0;
}
.chat-widget__close { background: none; border: none; color: var(--washi); opacity: 0.7; font-size: 12px; padding: 4px; }
.chat-widget__close:hover { opacity: 1; }

.chat-widget__body { padding: 18px; overflow-y: auto; flex: 1; }
.chat-widget__bubble {
  background: var(--fog);
  border-radius: 4px 14px 14px 14px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.chat-widget__actions { display: flex; flex-direction: column; gap: 10px; }
.chat-widget__option {
  display: block;
  text-align: center;
  border: 1px solid var(--sumi);
  border-radius: 999px;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 9px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sumi);
  transition: background 0.2s ease, color 0.2s ease;
}
.chat-widget__option:hover { background: var(--sumi); color: var(--washi); text-decoration: none; }

.chat-widget__form {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--mist);
  flex-shrink: 0;
}
.chat-widget__form input {
  flex: 1; border: none; background: none;
  font-family: var(--font-sans); font-size: 12px; color: var(--body-text);
  padding: 8px 4px;
}
.chat-widget__form input::placeholder { color: var(--kareki); opacity: 0.8; }
.chat-widget__form button {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--sumi); color: var(--washi);
  display: flex; align-items: center; justify-content: center;
}
.chat-widget__form button svg { width: 15px; height: 15px; }
.chat-widget__form button:hover { background: var(--kareki); }

.chat-widget__footer {
  padding: 0 18px 16px;
  font-family: var(--font-sans);
  font-size: 9px; color: var(--kareki);
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .chat-widget { right: 16px; bottom: 16px; }
  .chat-widget__fab { width: 48px; height: 48px; }
  .chat-widget__teaser, .chat-widget__panel { bottom: 60px; }
  .chat-widget__panel { width: calc(100vw - 32px); }
}

/* Feature switcher — a text list on one side, a photo that swaps to match
   the hovered/active item on the other. Used for Rooms Facilities and the
   Explore category picker. */
.feature-switcher {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  align-items: start;
}
.feature-switcher__list { display: flex; flex-direction: column; }
.feature-switcher__item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid var(--mist);
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--sumi);
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.feature-switcher__list a.feature-switcher__item { text-decoration: none; }
.feature-switcher__list a.feature-switcher__item:hover { text-decoration: none; }
.feature-switcher__item:last-child { border-bottom: 1px solid var(--mist); }
.feature-switcher__item.active,
.feature-switcher__item:hover { opacity: 1; color: var(--kareki); }
.feature-switcher__item .feature-switcher__tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}

.feature-switcher__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.feature-switcher__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feature-switcher__media img.active { opacity: 1; }
.feature-switcher__media-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.55);
  color: var(--washi);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 3px;
  z-index: 2;
}

@media (max-width: 900px) {
  .feature-switcher { grid-template-columns: 1fr; gap: 32px; }
  .feature-switcher__media { order: -1; aspect-ratio: 16 / 10; }
  .feature-switcher__item { font-size: 16px; padding: 16px 0; }
}

/* Rooms "Beyond the Room" — keep list + photo/desc panel side by side even
   on mobile (narrower columns, smaller type) instead of stacking full-width. */
@media (max-width: 900px) {
  #beyond-the-room .feature-switcher {
    grid-template-columns: 34% 1fr;
    gap: 5vw;
    align-items: start;
  }
  #beyond-the-room .feature-switcher__item {
    font-size: 13px;
    padding: 14px 0;
  }
  #beyond-the-room .feature-switcher__item .feature-switcher__tag {
    font-size: 8px;
  }
  #beyond-the-room .feature-switcher__desc-panel--inline {
    margin-top: 0;
  }
  #beyond-the-room .feature-switcher__desc-photo { margin-bottom: 14px; }
  #beyond-the-room .feature-switcher__desc-panel [data-index] { font-size: 12px; line-height: 1.75; }
  #beyond-the-room .spaces-cta { margin-top: 20px; }
}

/* Small dark tag badge overlaid on a card photo (Soneva-style corner label) */
.photo-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0,0,0,0.55);
  color: var(--washi);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  z-index: 2;
}

/* Feature switcher — text-description variant (no photo, e.g. Getting Here) */
.feature-switcher__media--text {
  aspect-ratio: auto;
  padding: 8px 0 8px 6vw;
  border-left: 1px solid var(--mist);
}
.feature-switcher__desc {
  display: none;
  font-size: 13px;
  line-height: 1.9;
  color: var(--body-text);
}
.feature-switcher__desc.active { display: block; }
@media (max-width: 900px) {
  .feature-switcher__media--text { padding: 0; border-left: none; }
}

/* Feature switcher — description panel below the whole switcher, revealed
   on click (used where a photo swap alone isn't enough, e.g. Rooms
   "Beyond the Room" which combines the old Spaces + Facilities sections) */
.feature-switcher__desc-panel {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--mist);
}
.feature-switcher__desc-panel [data-index] {
  display: none;
  font-size: 13px;
  line-height: 1.9;
  color: var(--body-text);
  max-width: 62ch;
}
.feature-switcher__desc-panel [data-index].active { display: block; }

/* Copy-to-clipboard email (click copies the address instead of opening a
   mail client — used wherever the address itself is the visible text) */
.copy-email { color: inherit; cursor: pointer; }
.copy-email:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Photo carousel — one reusable component for "multiple photos, one spot".
   Height is set per placement context below; default is a standalone block. */
.photo-carousel {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.photo-carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.photo-carousel__slide.active { opacity: 1; z-index: 1; }
.photo-carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-carousel__arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none; border: none;
  color: var(--washi);
  filter: drop-shadow(0 1px 5px rgba(0,0,0,0.65));
  padding: 10px;
  transition: opacity 0.2s ease;
}
.photo-carousel__arrow:hover { opacity: 0.7; }
.photo-carousel__arrow svg { width: 22px; height: 22px; display: block; }
.photo-carousel__arrow--prev { left: 6px; }
.photo-carousel__arrow--next { right: 6px; }

.partner-block__image .photo-carousel { height: 520px; }
.double-col__image .photo-carousel { height: 380px; }
.dining-carousel .photo-carousel { height: 420px; }
.menu-list__carousel { height: auto; aspect-ratio: 3 / 4; margin-top: 32px; border-radius: 2px; }
@media (max-width: 768px) {
  .partner-block__image .photo-carousel { height: 340px; }
  .dining-carousel .photo-carousel { height: 300px; }
  .menu-list__carousel { aspect-ratio: 4 / 5; }
}

/* Feature switcher — description panel as the switcher's whole right
   column (Rooms "Beyond the Room"): one large portrait photo, then text,
   then an optional link pinned bottom-right, in that order per item. */
.feature-switcher__desc-panel--inline { margin-top: 0; padding-top: 0; border-top: none; }
.feature-switcher__desc-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 0 20px;
}
.feature-switcher__desc-photo--shift-right { object-position: 75% center; }
.feature-switcher__desc-link { display: flex; justify-content: flex-end; margin-top: 16px; }
.spaces-cta { margin-top: 32px; }

/* Custom date picker — replaces native <input type="date"> so the
   calendar UI follows the site's own EN/ZH toggle instead of the
   visitor's OS/browser locale (contact.html check-in/check-out). */
.date-picker { position: relative; }
.date-picker__display { cursor: pointer; }
.date-picker__calendar {
  /* position:fixed (not absolute) + JS-computed coordinates (see
     initDatePicker in main.js) so the calendar escapes any ancestor's
     overflow:hidden — e.g. the homepage hero, which clips overflow for
     its background zoom effect and would otherwise cut the calendar off. */
  display: none;
  position: fixed;
  z-index: 9999;
  width: 280px;
  background: var(--washi);
  border: 1px solid var(--mist);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  padding: 16px;
}
.date-picker.open .date-picker__calendar { display: block; }
.date-picker__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 15px; letter-spacing: 0.04em;
  color: var(--sumi);
  margin-bottom: 12px;
}
.date-picker__nav {
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--kareki);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.date-picker__nav:hover { color: var(--sumi); }
.date-picker__weekdays,
.date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-picker__weekdays span {
  font-family: var(--font-sans);
  font-size: 8px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kareki);
  text-align: center;
  padding-bottom: 8px;
}
.date-picker__day {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px; color: var(--sumi);
  aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.date-picker__day:hover:not(:disabled) { background: var(--fog); }
.date-picker__day.active { background: var(--sumi); color: var(--washi); }
.date-picker__day:disabled { color: var(--mist); cursor: default; }

.dining-awards { text-align: center; margin-bottom: 32px; }
.dining-awards__badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.dining-awards__badge { display: block; width: 50px; height: 50px; object-fit: contain; }
.dining-awards__badge.dining-awards__badge--sm { width: 64px; height: 64px; }
.dining-awards__text {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kareki);
}

/* Google rating badge — placeholder rating, confirm against the live
   listing before launch (Explore page's Travel & Tours / H Signature SPA). */
.google-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 18px;
}
.google-rating__stars {
  color: #F5B400;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}
.google-rating__text {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--kareki);
}
