/* ==========================================================================
   ARUNA BALI — stylesheet
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop), 1440px (wide)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #3A84B4;
  --blue-deep: #2C6A93;
  --mist: #E6EFF5;
  --mist-soft: #F3F7FA;
  --ink: #3A3A3A;
  --ink-soft: #8A8A8A;
  --line: #D9D9D9;
  --white: #FFFFFF;

  --serif: "Antic Didone", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 2.8vw, 40px);
  --max: 1600px;
  --radius: 12px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --fs-h1: clamp(2.6rem, 5.85vw, 5.25rem);
  --fs-h2: clamp(2.4rem, 5.4vw, 4.875rem);
  --fs-statement: clamp(1.75rem, 3.95vw, 3.5rem);
  --fs-body: clamp(.9375rem, 1.1vw, 1.0625rem);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.has-smooth) { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading, body.is-menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--white); color: var(--blue);
  border-radius: 6px; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.br-md { display: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-flower {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.3;
}

/* ---------- 3. Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.35vw, 1.3125rem);
  color: var(--blue);
  letter-spacing: -.005em;
}

.section-head { text-align: center; }
.section-head__desc {
  max-width: 600px;
  margin: clamp(20px, 3vw, 44px) auto 0;
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.6;
}

/* ---------- 4. Reveal utility (IntersectionObserver) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  filter: blur(10px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0s),
    transform 1.3s var(--ease) var(--d, 0s),
    filter 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 5. Buttons ---------- */
.btn-book {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 18px 4px 4px;
  background: var(--white); color: var(--blue);
  border-radius: 8px;
  font-weight: 400; font-size: 15px; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.btn-book__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--blue); color: var(--white);
  overflow: hidden;
  transition: background-color .4s var(--ease);
}
.btn-book__icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn-book:hover { background: var(--mist); }
.btn-book:hover .btn-book__icon { background: var(--blue-deep); }
.btn-book:hover .btn-book__icon svg { animation: arrow-loop .6s var(--ease); }

@keyframes arrow-loop {
  0% { transform: translateX(0); }
  45% { transform: translateX(140%); }
  46% { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}

.btn-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px;
  border-radius: 6px;
  background: var(--mist); color: var(--blue);
  font-weight: 400; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn-light:hover { background: var(--white); transform: translateY(-1px); }

/* Circle button with breathing ring */
.orb {
  --orb: clamp(132px, 13.9vw, 200px);
  position: relative;
  display: grid; place-items: center;
  width: var(--orb); height: var(--orb);
  border-radius: 50%;
  isolation: isolate;
}
.orb__ring {
  position: absolute; inset: -25%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: -1;
  animation: breathe 5s ease-in-out infinite;
}
.orb__core {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--white); color: var(--blue);
  box-shadow: 0 4px 40px rgba(153, 175, 187, .4);
  text-align: center; line-height: 1.3;
  font-weight: 400; font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  transition: transform .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.orb:hover .orb__core { transform: scale(.92); background: var(--blue); color: var(--white); }
.orb:hover .orb__ring { animation-duration: 2.4s; }

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(1.08); opacity: .5; }
}

/* ---------- 6. Intro curtain ---------- */
.curtain { display: none; }
.js .curtain {
  display: block;
  position: fixed; inset: 0; z-index: 150;
  pointer-events: none;
}
.curtain__panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--blue);
  transition: transform 1.35s var(--ease-in-out);
}
.curtain__panel--left { left: 0; }
.curtain__panel--right { right: 0; }
.curtain__mark {
  position: absolute; left: 50%; top: 50%;
  width: 84px; height: auto;
  transform: translate(-50%, -40%);
  opacity: 0;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.is-intro-mark .curtain__mark { opacity: 1; transform: translate(-50%, -50%); }
.is-intro-open .curtain__mark { opacity: 0; transform: translate(-50%, -60%); transition-duration: .45s; }
.is-intro-open .curtain__panel--left { transform: translateX(-101%); }
.is-intro-open .curtain__panel--right { transform: translateX(101%); }
.is-intro-done .curtain { visibility: hidden; }

/* ---------- 7. Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; justify-content: center;
  padding: 10px 12px 0;
  pointer-events: none;
  transition: transform 1.1s cubic-bezier(.45, 0, .2, 1);
}
.nav.is-hidden { transform: translateY(calc(-100% - 12px)); }
.nav__bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  padding: 6px 4px 6px 8px;
  border-radius: 14px;
  background: rgba(14, 14, 14, 0);
  transition:
    max-width 1.4s cubic-bezier(.45, 0, .2, 1),
    padding 1.4s cubic-bezier(.45, 0, .2, 1),
    background-color 1s ease,
    -webkit-backdrop-filter 1s ease,
    backdrop-filter 1s ease;
}
.js .nav__bar { opacity: 0; transform: translateY(-24px); }
.is-nav-in .nav__bar {
  opacity: 1; transform: none;
  transition:
    opacity 1s var(--ease), transform 1.1s var(--ease),
    max-width 1.4s cubic-bezier(.45, 0, .2, 1),
    padding 1.4s cubic-bezier(.45, 0, .2, 1),
    background-color 1s ease,
    -webkit-backdrop-filter 1s ease,
    backdrop-filter 1s ease;
}
.nav.is-scrolled .nav__bar {
  max-width: 980px;
  padding: 6px 6px 6px 14px;
  background: rgba(14, 14, 14, .42);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav__logo img { width: 128px; transition: width 1.4s cubic-bezier(.45, 0, .2, 1); }
.nav.is-scrolled .nav__logo img { width: 116px; }

.nav__toggle {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-content: center; gap: 8px;
  width: 48px; height: 44px;
}
.nav__toggle span {
  display: block; width: 34px; height: 1.5px; background: var(--white);
  transition: transform .5s var(--ease), width .4s var(--ease);
}
.nav__toggle:hover span:last-child { width: 22px; transform: translateX(6px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { width: 34px; transform: translateY(-4.75px) rotate(-45deg); }

.nav .btn-book__label { display: none; }
.nav .btn-book { padding-right: 4px; }

/* Menu dropdown */
.menu {
  position: fixed; z-index: 90;
  top: 84px; left: 50%;
  width: min(420px, calc(100vw - 24px));
  padding: 28px 24px 22px;
  border-radius: 16px;
  background: rgba(14, 14, 14, .55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px) scale(.97);
  transform-origin: 50% 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s;
}
.menu__inner { display: grid; gap: 22px; padding: 0; text-align: center; }
.menu__list { display: grid; gap: 4px; }
.menu__list a {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.3;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s;
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .2s; }
.menu__list a:hover { color: var(--mist); opacity: .7; }
.menu__meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px; opacity: .85;
}
.menu__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Book button inside the dropdown (mobile only) */
.menu__book { justify-self: center; margin-bottom: 16px; }
@media (min-width: 768px) {
  .menu__book { display: none; }
}

/* Mobile navbar: hide the book button, menu icon on the right */
@media (max-width: 767px) {
  .nav .btn-book { display: none; }
  .nav__bar { min-height: 56px; }
  .nav__toggle { left: auto; right: 4px; transform: translateY(-50%); }
}

/* ---------- 8. Hero (S1) ---------- */
.overlap { position: relative; }

.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  display: grid; place-items: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.14) 34%, rgba(0,0,0,.16) 64%, rgba(0,0,0,.5) 100%);
}
.js .hero__media img { transform: scale(1.18); transition: transform 2.6s var(--ease); }
.is-intro-open .hero__media img { transform: scale(1); }

.hero__inner {
  position: relative;
  text-align: center;
  padding: 0 var(--pad) 10vh;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -.005em;
}
.hero__line { display: block; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__desc {
  margin-top: clamp(20px, 2.6vw, 36px);
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.3;
  font-weight: 400;
}

.js .hero__line > span {
  opacity: 0; transform: translate3d(0, 55%, 0); filter: blur(14px);
  transition: opacity 1.3s var(--ease), transform 1.5s var(--ease), filter 1.3s var(--ease);
}
.js .hero__line:nth-child(2) > span { transition-delay: .14s; }
.js .hero__desc {
  opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(8px);
  transition: opacity 1s var(--ease) .95s, transform 1.1s var(--ease) .95s, filter 1s var(--ease) .95s;
}
.is-hero-in .hero__line > span,
.is-hero-in .hero__desc { opacity: 1; transform: none; filter: blur(0); }

.hero__contact {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
  width: calc(100% - 2 * var(--pad));
  max-width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(24, 24, 24, .34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 400;
}
.hero__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background-color .4s var(--ease);
}
.hero__link:hover { background: rgba(255, 255, 255, .12); }
.hero__divider { display: none; }
.hero__contact .btn-light { grid-column: 1 / -1; }

/* Mobile: phone + email balanced on one row, full-width button below */
@media (max-width: 767px) {
  .hero__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-size: 12.5px;
  }
  .hero__contact .btn-light { flex: 1 0 100%; }
  .hero__link { white-space: nowrap; gap: 6px; padding: 8px 0; }
  .hero__link .icon { width: 15px; height: 15px; }
}

.js .hero__contact {
  clip-path: inset(0 50% 0 50% round 10px);
  opacity: 0;
  transition: clip-path 1.3s var(--ease-in-out) 1.55s, opacity .5s ease 1.55s;
}
.is-hero-in .hero__contact { clip-path: inset(0 0 0 0 round 10px); opacity: 1; }
.js .hero__contact > * { opacity: 0; transition: opacity .8s var(--ease) 2.2s; }
.is-hero-in .hero__contact > * { opacity: 1; }

/* ---------- 9. Welcome (S2) ---------- */
.welcome {
  position: relative; z-index: 1;
  background: var(--white);
  padding-bottom: clamp(96px, 12vw, 180px);
}
.welcome__track { height: 230vh; }
.welcome__stage {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  overflow: hidden;
}
.welcome__head {
  display: flex; flex-direction: column; gap: 8px;
}
.welcome__kicker {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  color: var(--ink);
}
.welcome__statement {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-statement);
  line-height: 1.16;
  letter-spacing: -.005em;
  color: var(--ink);
}
.welcome__statement .w { display: inline-block; will-change: opacity, transform, filter; }
.pill-img {
  display: inline-block;
  vertical-align: -.08em;
  width: 2.25em; height: .82em;
  margin-inline: .12em;
  border-radius: 999px;
  overflow: hidden;
}
.pill-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

.welcome__body {
  position: relative; z-index: 1;
  display: grid; gap: 32px;
}
.welcome__media {
  position: relative;
  aspect-ratio: 500 / 700;
  max-height: 72vh;
  border-radius: 10px;
  overflow: hidden;
  clip-path: inset(0 0 var(--clip, 0%) 0 round 10px);
}
.welcome__media img { width: 100%; height: 100%; object-fit: cover; }

.welcome__text { max-width: 420px; }
.welcome__lead {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(1.625rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 340px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--blue);
  font-size: 15px; font-weight: 400; line-height: 1.3;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.tag .icon-flower { font-size: 14px; }
.tag:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.welcome__copy {
  margin-top: clamp(28px, 3vw, 40px);
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.05vw, 1rem);
  line-height: 1.55;
  max-width: 350px;
}

.welcome__rail { display: none; }

/* ---------- 10. Philosophy (S3) ---------- */
.philo { position: relative; }
.philo__track { height: 680vh; }
.philo__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--white);
  contain: layout paint;
}
.philo__media {
  position: absolute; left: 0; top: 0;
  width: 600px; height: 342px;
  border-radius: 14px;
  overflow: hidden;
  visibility: hidden;
  will-change: transform, width, height;
}
.philo__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  transform-origin: 50% 50%;
}
.philo__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.3) 65%, rgba(0,0,0,.55) 100%);
  opacity: 0;
}

[data-philo-item] {
  position: absolute; left: 0; top: 0;
  opacity: 0;
  will-change: transform;
}

.philo__toggle { display: flex; align-items: center; gap: 10px; pointer-events: none; }

.ptog__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid #E6EFF5;
  animation: 4s ease-in-out infinite;
}
.ptog__icon svg { width: 24px; height: 24px; }

/* default look (also used when animations are off) */
.ptog__icon--palm { color: #E6EFF5; background: transparent; animation-name: ptog-palm; }
.ptog__icon--bird { color: #3A84B4; background: #E6EFF5; animation-name: ptog-bird; }

.ptog__switch {
  position: relative;
  width: 118px; height: 50px; border-radius: 999px;
  background: #E6EFF5;
}
.ptog__knob {
  position: absolute;
  top: 4px; bottom: 4px; left: 72px; right: 4px;
  border-radius: 999px;
  background: #3A3A3A;
  animation: ptog-knob 4s cubic-bezier(.65, 0, .35, 1) infinite;
}

/* liquid knob: front edge moves first, back edge catches up */
@keyframes ptog-knob {
  0%, 30%  { left: 72px; right: 4px;  top: 4px; bottom: 4px; }
  42%      { left: 4px;  right: 40px; top: 6px; bottom: 6px; }
  50%, 80% { left: 4px;  right: 72px; top: 4px; bottom: 4px; }
  92%      { left: 40px; right: 4px;  top: 6px; bottom: 6px; }
  100%     { left: 72px; right: 4px;  top: 4px; bottom: 4px; }
}

/* knob right → bird filled, palm outline */
@keyframes ptog-bird {
  0%, 33%   { background: #E6EFF5; color: #3A84B4; }
  45%, 83%  { background: transparent; color: #E6EFF5; }
  95%, 100% { background: #E6EFF5; color: #3A84B4; }
}
/* knob left → palm filled, bird outline */
@keyframes ptog-palm {
  0%, 33%   { background: transparent; color: #E6EFF5; }
  45%, 83%  { background: #E6EFF5; color: #3A84B4; }
  95%, 100% { background: transparent; color: #E6EFF5; }
}

.ppill { pointer-events: auto; }
.ppill__inner {
  display: inline-block;
  padding: .32em .78em .38em;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.1vw, 1.9rem);
  line-height: 1.2;
  white-space: nowrap;
  color: var(--white);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .7s var(--ease), background-color .4s var(--ease);
  will-change: transform;
}
/* endless float */
.ppill__inner { animation: ppill-float 5s ease-in-out infinite; }
[data-pill="2"] .ppill__inner { animation-duration: 6s;   animation-delay: -2s; }
[data-pill="3"] .ppill__inner { animation-duration: 5.5s; animation-delay: -3.5s; }

/* frosted background: its own layer */
.ppill__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: var(--pv, 0);
}
.ppill__text { position: relative; }

@keyframes ppill-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33%      { transform: translate3d(3px, -8px, 0) rotate(-.6deg); }
  66%      { transform: translate3d(-3px, -4px, 0) rotate(.5deg); }
}
.philo__quote {
  width: min(600px, calc(100vw - 2 * var(--pad)));
  text-align: center;
  color: var(--white);
  pointer-events: none;
}
.philo__quote blockquote {
  font-size: clamp(.9375rem, 1.35vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.5;
}
.founder {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 4px 20px 4px 4px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--blue);
  font-size: 15px; font-weight: 400;
}
.founder__mark {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 4px;
  background: #3A3A3A;
}
.founder__mark img { width: 30px; }

.philo__final {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: clamp(28px, 5vh, 56px) calc(var(--pad) + 10px);
  text-align: center;
  color: var(--white);
  pointer-events: none;
}
[data-final-item] { opacity: 0; will-change: transform, opacity, filter; }
.philo__intro { font-size: clamp(.9375rem, 1.5vw, 1.375rem); font-weight: 400; line-height: 1.25; }
.philo__title {
  display: flex; align-items: center; justify-content: center; gap: .14em;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 11.6vw, 12rem);
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.philo__title > span { padding-bottom: .06em; }
.philo__flower { font-size: .22em; stroke-width: 1.2; }
.philo__outro {
  max-width: 980px;
  font-size: clamp(.9375rem, 1.35vw, 1.1875rem);
  font-weight: 400; line-height: 1.5;
}

/* ---------- 11. Rooms (S4) ---------- */
.rooms { padding-block: clamp(110px, 14vw, 200px) clamp(110px, 12vw, 180px); }
.rooms__grid { margin-top: clamp(56px, 5.6vw, 80px); }
.rooms__col { display: none; }
.rooms__list { display: grid; gap: 64px; }
.room { display: grid; gap: 20px; }
.room__media {
  width: 100%; max-width: 460px;
  aspect-ratio: 350 / 500;
  border-radius: 10px;
  overflow: hidden;
}
.room__media img {
  width: 100%; height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--py, -8%), 0);
  will-change: transform;
}
.room__name, .rooms__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  color: var(--ink);
}
.room__tag, .rooms__tag {
  margin-top: 10px;
  font-size: clamp(1.375rem, 2.35vw, 2.1rem);
  line-height: 1.18;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}
.room__spec, .rooms__spec {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
}

/* ---------- 12. Private spaces (S5) ---------- */
.spaces {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist) 0%, #F2F6FA 38%, var(--white) 70%);
  padding-top: clamp(72px, 5.2vw, 80px);
}

/* bottom fade — belongs to the section, not the parallax image */
.spaces { isolation: isolate; }
.spaces::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 35%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF 85%);
  z-index: 1;
  pointer-events: none;
}
.orb--spaces { z-index: 2; }

.spaces__text { max-width: 600px; position: relative; z-index: 2; }
.spaces__title { line-height: 1.12; }
.spaces__copy {
  margin-top: clamp(28px, 3.4vw, 50px);
  max-width: 590px;
  color: var(--ink-soft);
  font-size: clamp(.9375rem, 1.25vw, 1.125rem);
  line-height: 1.75;
}
.spaces__visual {
  position: relative;
  height: 128vw; max-height: 820px;
  margin-top: 24px;
}
.spaces__media {
  position: absolute; right: -10%; top: 0;
  width: 120%;
  will-change: transform;
}
.spaces__media img { width: 100%; }
.orb--spaces { position: absolute; left: 55%; top: 34%; transform: translate(-50%, -50%); }

/* ---------- 13. Experiences (S6) ---------- */
.exp { padding-block: clamp(80px, 8vw, 120px) clamp(120px, 14vw, 220px); }
.exp__list { margin-top: clamp(56px, 6vw, 96px); }
.exp__item {
  position: sticky;
  top: var(--exp-top, 88px);
}
.exp__card {
  display: grid; gap: 20px;
  padding: 40px 0 36px;
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
  transform-origin: 50% 0;
  will-change: transform;
}
.exp__card::after {
  content: ""; position: absolute; inset: -1px 0;
  background: var(--white);
  opacity: var(--fade, 0);
  pointer-events: none;
}
.exp__item:first-child .exp__card { padding-top: 0; border-top: 0; }
.exp__text { display: grid; gap: 16px; align-content: space-between; }
.exp__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.875rem, 3.35vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}
.exp__meta { display: grid; grid-template-columns: 64px 1fr; align-items: end; gap: 16px; }
.exp__num {
  font-weight: 300;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1;
  color: var(--ink-soft);
}
.exp__desc { color: var(--ink-soft); font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 1.6; max-width: 310px; }
.exp__desc em { font-style: italic; }
.exp__media {
  aspect-ratio: 780 / 350;
  border-radius: 10px;
  overflow: hidden;
  order: -1;
}
.exp__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.exp__card:hover .exp__media img { transform: scale(1.05); }

/* ---------- 14. Retreat — Spa & Dining (S7) ---------- */
.retreat__track { height: 460vh; }
.retreat__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.retreat__img {
  position: absolute; left: 0; top: 0;
  width: 300px; height: 300px;
  transform-origin: 0 0;
  overflow: hidden;
  will-change: transform, clip-path;
}
.retreat__img img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 0 0;
  will-change: transform;
}
[data-retreat-img="b"] { z-index: 2; }
.retreat__copy { position: absolute; left: 0; top: 0; }
.retreat__text { position: absolute; inset: 0 auto auto 0; width: 100%; }
.retreat__text .eyebrow { font-size: clamp(1rem, 1.35vw, 1.25rem); }
.retreat__title {
  margin-top: 6px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  color: var(--ink);
}
.retreat__body {
  margin-top: clamp(18px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.75;
  text-indent: clamp(48px, 6vw, 88px);
  max-width: 380px;
}
[data-rt-item] { opacity: 0; will-change: transform, opacity, filter; }

/* ---------- 15. CTA + Footer ---------- */
.finale { position: relative; }
.cta {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  min-height: 520px;
  color: var(--white);
  display: flex; align-items: center;
  overflow: hidden;
}
.cta__media {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 round var(--r, 0px) var(--r, 0px) 0 0);
  will-change: clip-path;
}
.cta__media img {
  width: 100%; height: 130%;
  object-fit: cover;
  transform: translate3d(0, var(--iy, 0px), 0) scale(var(--is, 1));
  transform-origin: 50% 0;
  will-change: transform;
}
.cta__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.08) 100%),
    rgba(10, 20, 30, var(--dim, 0));
}
.cta__content {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 72px;
  padding-top: 18vh;
  will-change: transform;
}
.cta__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.02;
  padding-left: clamp(0px, 5.5vw, 80px);
}
.orb--cta { align-self: flex-end; margin-right: 18%; }

.footer {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--blue);
  color: var(--white);
  font-weight: 400;
}
.footer a { transition: opacity .3s var(--ease); }
.footer a:hover { opacity: .7; }
.footer__top {
  display: grid; gap: 56px;
  padding-top: clamp(64px, 8vw, 90px);
  padding-bottom: clamp(56px, 6vw, 90px);
}
.footer__left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.footer__legal { display: grid; gap: 10px; }
.footer__copy { font-size: 15px; opacity: .9; }
.footer__right { display: grid; gap: 48px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.footer__cols > :last-child { grid-column: 1 / -1; }
.footer__label {
  font-size: 13px; font-weight: 400;
  letter-spacing: .02em; text-transform: uppercase;
  opacity: .85;
  margin-bottom: 20px;
}
.footer__links { display: grid; gap: 10px; }
.footer__address p { line-height: 1.5; }

.footer__bottom {
  display: grid; gap: 48px; align-items: end;
  padding-top: 56px; padding-bottom: 56px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.footer__logo { width: min(298px, 70vw); }
.signup { width: 100%; max-width: 520px; }
.signup__label {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.875rem);
  line-height: 1.1;
}
.signup__field {
  position: relative;
  display: flex; align-items: center;
  margin-top: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  transition: border-color .4s var(--ease);
}
.signup__field:focus-within { border-color: var(--white); }
.signup input {
  flex: 1; min-width: 0;
  padding: 8px 0 10px;
  background: transparent; border: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  color: var(--white);
}
.signup input::placeholder { color: rgba(255, 255, 255, .55); }
.signup input:focus { outline: none; }
.signup button {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  color: rgba(255, 255, 255, .8);
  transition: transform .5s var(--ease), color .3s;
}
.signup button svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.signup button:hover { transform: translateX(6px); color: var(--white); }
.signup__msg { min-height: 1.5em; margin-top: 10px; font-size: 15px; }

/* ==========================================================================
   TABLET ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  .br-md { display: inline; }

  .nav { padding: 12px 24px 0; }
  .nav .btn-book__label { display: inline; }
  .nav .btn-book { padding-right: 18px; }
  .nav__logo img { width: 160px; }
  .nav.is-scrolled .nav__logo img { width: 132px; }

  .hero__contact {
    display: flex; align-items: center; gap: 16px;
    width: auto; max-width: none;
    padding: 6px 6px 6px 20px;
    font-size: 15px;
  }
  .hero__contact .btn-light { margin-left: 8px; }
  .hero__divider { display: block; width: 1px; height: 24px; background: rgba(255, 255, 255, .45); }
  .hero__link { padding: 8px 4px; }

  .welcome__head { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .welcome__statement { text-align: right; }

  .welcome__body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(32px, 3.8vw, 64px);
    align-items: start;
  }

  .exp__card {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
  }
  .exp__media { order: 0; }
  .exp__meta { grid-template-columns: minmax(0, .37fr) minmax(0, 1fr); }

  .spaces__visual { height: 92vw; max-height: 900px; }
  .spaces__media { right: -6%; width: 92%; }

  .footer__cols { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px 56px; }
  .footer__cols > :last-child { grid-column: auto; }
  .footer__bottom { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   DESKTOP ≥ 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  .nav { padding: 12px 52px 0; }
  .nav__logo img { width: 186px; }
  .nav__bar { padding: 4px 0 4px 10px; }
  .nav.is-scrolled .nav__bar { padding: 6px 6px 6px 18px; }

  /* S2 */
  .welcome__body {
    grid-template-columns: minmax(0, 500fr) minmax(0, 340fr) minmax(0, 520fr);
    gap: clamp(40px, 3.6vw, 64px);
  }
  .welcome__media { max-height: none; aspect-ratio: 500 / 700; }
  .welcome__text { padding-top: 0; }
  .welcome__rail {
    --dot: 13px;       /* diamond size */
    --dot-gap: 12px;   /* space between a diamond and the line / logo */
    position: relative;
    display: block;
    align-self: stretch;
    justify-self: end;
    width: clamp(150px, 13.8vw, 200px);
  }
  /* dashed line runs the full height, stopping short of each diamond */
  .rail__line {
    position: absolute; left: 50%;
    top: calc(var(--dot) + var(--dot-gap));
    bottom: calc(var(--dot) + var(--dot-gap));
    width: 0;
    transform: translateX(-50%);
    border-left: 1.5px dashed #D3D9DE;
  }
  .rail__diamond {
    position: absolute; left: 50%;
    width: var(--dot); height: var(--dot);
    background: #D3D9DE;
    border-radius: 2px;
  }
  .rail__diamond--top { top: 0; transform: translateX(-50%) rotate(45deg); }
  .rail__diamond--bottom { bottom: 0; transform: translateX(-50%) rotate(45deg); }
  /* logo travels along the line (moved by JS) */
  .rail__mark {
  position: absolute; left: 0; top: 0;
    z-index: 1;
    width: 100%; height: auto;
    background: var(--white);
    border-radius: 50%;
    will-change: transform;
  }

  /* S4 rooms: pinned name / info columns, scrolling images */
  .rooms__grid {
    --img-h: clamp(420px, 34.7vw, 500px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 24.3vw, 350px) minmax(0, 1fr);
    gap: clamp(48px, 5.8vw, 104px);
  }
  .rooms__col {
    display: block;
    padding-block: calc(var(--img-h) / 2);
  }
  .rooms__sticky {
    position: sticky; top: 50vh; top: 50svh;
    height: 0;
  }
  .rooms__stack {
    display: grid;
    transform: translateY(-50%);
  }
  .rooms__stack > * {
    grid-area: 1 / 1;
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 26px, 0);
    transition: opacity .8s var(--ease), filter .8s var(--ease), transform 1s var(--ease);
  }
  .rooms__stack > .is-leaving { transform: translate3d(0, -26px, 0); }
  .rooms__stack > .is-active {
    opacity: 1; filter: blur(0); transform: none;
    transition-delay: .18s;
  }
  .rooms__col--info .rooms__stack { max-width: 400px; }
  .rooms__tag { margin-top: 0; }

  .rooms__list { gap: clamp(64px, 5.6vw, 80px); }
  .room__media { height: var(--img-h); aspect-ratio: auto; max-width: none; }
  .room__text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }

  /* S5 */
  .spaces { height: clamp(900px, 90vw, 1400px); padding-top: 12vw; }
  .spaces__inner { position: relative; z-index: 2; }
  .spaces__visual {
    position: absolute; top: 0; bottom: 0; left: 44vw; right: 0;
    height: auto; max-height: none;
    margin: 0;
  }
  .spaces__media { left: 0; right: auto; top: -7vw; width: 78.5vw; }
  .orb--spaces { left: 31.7vw; top: 48.6vw; }

  /* S6 */
  .exp__text { padding-right: 24px; }

  /* CTA */
  .cta__content {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    padding-top: 22vh;
  }
  .orb--cta { margin-right: clamp(80px, 13vw, 200px); }

  /* Footer */
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .footer__bottom { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .footer__cols { gap: 40px clamp(48px, 5.5vw, 80px); }
}

@media (min-width: 1440px) {
  :root { --pad: 40px; }
}

/* Mobile + tablet: button sits bottom-right so the photo stays clear */
  @media (max-width: 1023px) {
    .orb--spaces {
      left: auto; top: auto;
      right: calc(var(--pad) + var(--orb) * 0.25);
      bottom: calc(var(--orb) * 0.25 + 32px);
      transform: none;
    }
  }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .orb__ring { animation: none; }
  .js [data-reveal] { transform: none; filter: none; transition: opacity .6s ease; }
  .js .hero__line > span, .js .hero__desc { transform: none; filter: none; }
  .js .hero__media img { transform: none; }
  .rooms__stack > * { filter: none !important; transform: none !important; }
  .curtain__panel { transition-duration: .5s; }
  .ptog__knob, .ptog__icon { animation: none; }
  .ppill__inner { animation: none; }
}
