/* =========================================================
   MONTERA — The Grandeur of Home
   Mobile-first. Sections follow the page order.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --cream: #FFFBF5;
  --beige: #EDE3D3;
  --green: #4A6351;
  --green-deep: #3E5446;
  --ink: #232323;
  --muted: #6E6A64;
  --line: rgba(35, 35, 35, 0.14);
  --white: #FFFBF5;

  --ff-display: "Kalnia", "Times New Roman", serif;
  --ff-script: "Corinthia", cursive;
  --ff-body: "Krub", system-ui, sans-serif;

  --gutter: clamp(20px, 2.8vw, 40px);
  --maxw: 1440px;
  --section-space: clamp(120px, 17vw, 250px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: clamp(72px, 7vw, 100px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: var(--cream); padding: 10px 16px; transition: top .3s;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Type ---------- */
.h-xl, .h-lg, .welcome__title, .about__statement, .room__title,
.exp__title, .statement__line, .cta__line, .footer__h, .faq__q {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: 0;
}
.h-xl { font-size: clamp(42px, 5vw, 72px); line-height: 1; }
.h-lg { font-size: clamp(38px, 4.45vw, 64px); line-height: 1.08; }
.eyebrow { font-size: clamp(17px, 1.4vw, 20px); color: var(--green); font-weight: 400; }

/* Underline-on-hover links */
.link-line {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  transition: background-size .5s var(--ease-out);
  padding-bottom: 2px;
}
.link-line:hover, .link-line:focus-visible { background-size: 100% 1px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; height: 58px; padding: 0 28px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 16px; font-weight: 400;
  overflow: hidden; isolation: isolate;
  transition: color .8s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green);
  opacity: 0;
  transition: opacity .8s ease;
}
.btn:hover, .btn:focus-visible { color: var(--cream); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn--light { border-color: rgba(255, 251, 245, .9); color: var(--white); }
.btn--light::before { background: var(--cream); }
.btn--light:hover, .btn--light:focus-visible { color: var(--ink); }

/* Bullet-separated inline list */
.dots { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--green); font-size: 16px; font-weight: 400; }
.dots li { display: inline-flex; align-items: center; }
.dots li + li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .75; margin: 0 14px;
}

/* ---------- Reveal (generic) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Images that rise from below (not cropped) */
.frame { overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
[data-rise] {
  opacity: 0;
  transform: translate3d(0, 22%, 0);
  transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-out);
}
[data-rise].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--nav-h);
  color: var(--white);
  transition: transform .6s var(--ease-out), background-color .5s, color .5s, box-shadow .5s, height .5s var(--ease-out);
}
.nav__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
}
.nav__mark { transition: opacity .4s, visibility .4s; }
.nav.is-solid .nav__mark { opacity: 0; visibility: hidden; }
.nav.is-menu .nav__mark { opacity: 1; visibility: visible; color: inherit; }
.nav.is-solid { height: 64px; background: rgba(255, 251, 245, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-101%); }
.nav.is-menu { height: var(--nav-h); background: transparent; color: var(--cream); box-shadow: none; transform: none; }

.nav__menu { display: inline-flex; align-items: center; gap: 14px; justify-self: start; font-size: 15px; font-weight: 400; }
.nav__burger { display: grid; gap: 5px; width: 30px; }
.nav__burger span {
  height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.nav__burger span:nth-child(1) { width: 100%; }
.nav__burger span:nth-child(2) { width: 80%; }
.nav__burger span:nth-child(3) { width: 55%; }
.nav__menu:hover .nav__burger span { width: 100%; }
.nav.is-menu .nav__burger span:nth-child(1) { width: 100%; transform: translateY(6.5px) rotate(45deg); }
.nav.is-menu .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-menu .nav__burger span:nth-child(3) { width: 100%; transform: translateY(-6.5px) rotate(-45deg); }

.nav__mark svg {
  width: clamp(48px, 5.2vw, 74px); height: auto; aspect-ratio: 103 / 100;
  transition: transform 1.2s var(--ease-out);
}
.nav__mark:hover svg { transform: rotate(45deg); }
.nav__contacts { display: none; justify-self: end; gap: 40px; font-size: 15px; font-weight: 400; }

@media (min-width: 900px) {
  .nav__contacts { display: flex; }
}
@media (max-width: 899px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__mark { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav__menu { grid-column: 2; grid-row: 1; justify-self: end; flex-direction: row-reverse; }
}

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--green); color: var(--cream);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-in-out); }
.menu__inner {
  height: 100%; display: grid; align-content: center; gap: 48px;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  max-width: var(--maxw); margin-inline: auto;
}
.menu__links { display: grid; gap: 16px; }
.menu__links a {
  display: inline-block;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.2;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .8s var(--ease-out), padding .5s var(--ease-out);
}
.menu__links a:hover { padding-left: 24px; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(1) a { transition-delay: .35s; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .40s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: .45s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: .50s; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: .55s; }
.menu.is-open .menu__links li:nth-child(6) a { transition-delay: .60s; }
.menu.is-open .menu__links li:nth-child(7) a { transition-delay: .65s; }
.menu__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 16px; }
.menu__script { font-family: var(--ff-script); font-size: 40px; line-height: 1; width: 100%; }
@media (max-width: 899px) {
  .menu__inner { grid-template-rows: 1fr auto; align-content: stretch; }
  .menu__links { align-self: center; }
  .menu__meta { align-self: end; }
  .menu__script { font-size: 32px; text-align: center; }
  .menu__meta .btn { width: 100%; }
}
.menu__meta a:not(.btn) {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease-out);
}
.menu__meta a:not(.btn):hover,
.menu__meta a:not(.btn):focus-visible { background-size: 100% 1px; }

@media (min-width: 900px) {
  .menu__inner { grid-template-columns: 1fr auto; align-items: end; }
  .menu__meta { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   1 + 2  HERO & WELCOME
   ========================================================= */
.intro { position: relative; background: var(--cream); }

/* The shared image. JS drives top/left/width/height from hero → welcome slot. */
.intro__track { position: absolute; top: 0; left: 0; right: 0; z-index: 1; }
.intro__media {
  position: sticky; top: 0;
  width: 100%; height: 100vh; height: 100svh;
  overflow: hidden;
  will-change: clip-path;
}
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__shade { position: absolute; inset: 0; background: rgba(28, 22, 16, .42); pointer-events: none; }

.hero {
  position: relative; z-index: 2;
  height: 100vh; height: 100svh; min-height: 520px;
  display: grid; place-items: center;
  color: var(--white);
}
.hero__content {
  position: absolute; inset: 0;
  align-content: center;
  color: var(--white);
  width: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px;
  will-change: transform, opacity;
}
.hero__title img { width: min(850px, 88vw); height: auto; }
.hero__title {
  animation: heroIn 1.8s var(--ease-out) .2s both;
}
.hero__rule {
  height: 1px; background: currentColor; opacity: .8;
  transform-origin: var(--o, left);
  animation: ruleIn 1.6s var(--ease-out) .7s both;
}
.hero__rule--l { --o: left; }
.hero__rule--r { --o: right; }
@media (max-width: 899px) {
  .hero__content { grid-template-columns: 1fr; justify-items: center; }
  .hero__rule { display: none; }
}
@media (max-width: 599px) {
  .dots { display: grid; gap: 6px; }
  .dots li + li::before { display: none; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 22px;
  font-size: 15px; font-weight: 400;
}
.hero__scroll-line { animation: fadeIn 1.2s var(--ease-out) 1.2s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero__scroll-text { animation: breathe 3.6s ease-in-out infinite; }
.hero__scroll-line { position: relative; width: 1px; height: 64px; overflow: hidden; }
.hero__scroll-line::before, .hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: currentColor; }
.hero__scroll-line::before { opacity: .3; }
.hero__scroll-line::after { animation: drip 3.6s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes breathe {
  0%, 100% { opacity: .5; letter-spacing: 0.02em; transform: scale(.98); }
  50% { opacity: 1; letter-spacing: 0.08em; transform: scale(1); }
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Welcome */
.welcome {
  position: relative; z-index: 2;
  display: grid; gap: 64px;
  padding: 96px var(--gutter) var(--section-space);
  max-width: var(--maxw); margin-inline: auto;
}
.welcome__slot {
  position: relative;
  display: none;
}
.welcome__tile {
  position: absolute; left: 0; bottom: 0;
  width: 100%; aspect-ratio: 1;
  background: var(--beige); color: var(--green);
  display: grid; place-items: center;
}
.welcome__tile svg { width: 51%; height: auto; aspect-ratio: 103 / 100; }
.welcome__tile.is-away { visibility: hidden; }

[data-welcome] {
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.welcome__tile {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.welcome.is-in [data-welcome] { opacity: 1; transform: none; }
.welcome.is-in .welcome__tile { clip-path: inset(0 0 0 0); transition-delay: .15s; }
.welcome.is-in [data-welcome]:nth-child(2) { transition-delay: .1s; }
.welcome.is-in [data-welcome]:nth-child(3) { transition-delay: .2s; }
.welcome.is-in [data-welcome]:nth-child(4) { transition-delay: .3s; }

.welcome__text { display: grid; gap: 24px; max-width: 450px; color: var(--muted); }
.welcome__title { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.02; color: var(--ink); margin-bottom: 16px; }
.welcome__quote { font-style: italic; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--green); margin-top: 8px; }

@media (min-width: 900px) {
  .welcome {
    grid-template-columns: 1fr minmax(320px, 500px);
    align-items: end;
    padding-top: clamp(150px, 17.4vw, 250px);
    padding-right: 0;
  }
  .welcome__slot { display: block; order: 0; width: 100%; margin: 0; aspect-ratio: 2 / 3; }
  .welcome__tile { left: -40%; width: 40%; }
}

/* =========================================================
   3  ABOUT — three stages (pinned)
   ========================================================= */
.about { position: relative; height: 800vh; background: var(--cream); }
.about__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--cream);
}
.about__bg { position: absolute; inset: 0; background: var(--green); opacity: 0; }
.about__tile {
  position: absolute; left: 50%; top: 50%;
  width: var(--tw, 200px); height: var(--th, 200px);
  transform: translate(-50%, -50%);
  background: var(--beige); color: var(--green);
  display: grid; place-items: center;
}
.about__mark {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  width: var(--mw, 103px); max-width: none; height: auto; aspect-ratio: 103 / 100;
}
.about__tile { overflow: hidden; }
.about__content {
  position: absolute; inset: 0; z-index: 2;
  display: grid; align-content: center;
  color: var(--white);
  opacity: 0;
  padding-inline: clamp(20px, 8.3vw, 120px);
}
.about__statement {
  font-size: clamp(30px, 3.9vw, 56px);
  line-height: 1.02;
  max-width: 1160px;
}
.about__statement .w { opacity: var(--wo, .18); transition: opacity .25s linear; }
.about__points {
  display: grid; gap: 22px;
  margin-top: clamp(48px, 5.5vw, 80px);
  font-size: clamp(16px, 1.4vw, 20px); font-weight: 500;
  color: rgba(255, 251, 245, .72);
}
.about__points li {
  display: flex; align-items: center; gap: 18px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}
.about__points li.is-in { opacity: 1; transform: none; }
.about__points svg { width: 16px; height: auto; aspect-ratio: 103/100; opacity: .8; }

@media (min-width: 900px) {
  .about__points { justify-self: end; margin-right: clamp(0px, 0.5vw, 10px); }
}

/* =========================================================
   4  ROOMS — locked stack
   ========================================================= */
.rooms__head {
  text-align: center;
  padding-top: var(--section-space);
  padding-bottom: clamp(48px, 5vw, 72px);
  display: grid; justify-items: center; gap: clamp(28px, 3vw, 44px);
}
.rooms__head p { max-width: 490px; color: var(--muted); font-size: 16px; }

.rooms__track { position: relative; height: 400vh; }
.rooms__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: #1d1915;
}
.room {
  position: absolute; inset: 0;
  will-change: clip-path;
}
.room:not(:first-child) { clip-path: inset(100% 0 0 0); }
.room__media { position: absolute; inset: 0; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--rs, 1.08)); will-change: transform; }
.room__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(24, 19, 14, calc(.42 + var(--rd, 0)));
}
.room__body {
  position: relative; z-index: 1; height: 100%;
  display: grid; place-content: center; justify-items: center; text-align: center;
  gap: 24px;
  padding: 0 var(--gutter);
  color: var(--white);
}
.room__title { font-size: clamp(44px, 4.45vw, 64px); line-height: 1; margin-bottom: 18px; }
.room__body p { max-width: 480px; font-size: 16px; font-weight: 400; }
.room__meta { display: flex; justify-content: center; font-size: 16px; font-weight: 400; }
.room__meta li + li::before { content: "•"; margin: 0 14px; }
.room .btn { margin-top: 48px; }

.rooms__progress {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; gap: 12px;
}
.rooms__progress li {
  width: 2px; height: 28px; background: rgba(255, 251, 245, .3);
  position: relative; overflow: hidden;
}
.rooms__progress li::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out);
}
.rooms__progress li.is-active::after { transform: scaleY(1); }

/* =========================================================
   5 + 6  DINING / EVENTS — split layouts
   ========================================================= */
.split {
  display: grid; gap: 56px;
  padding-top: var(--section-space);
}
.split__small .frame { aspect-ratio: 1; width: min(400px, 72vw); }
.split__tall .frame { aspect-ratio: 580 / 900; width: 100%; }
.split__text { display: grid; gap: 24px; justify-items: start; color: var(--muted); }
.split__text .h-lg { color: var(--ink); margin-bottom: 20px; }
.split__text p { font-size: 16px; max-width: 690px; }
.split__text .btn { margin-top: 18px; }

.split--events .split__small { justify-self: end; }

@media (max-width: 899px) {
  .split { grid-template-columns: repeat(12, 1fr); gap: 0; }
  .split__tall { grid-column: 1 / span 9; grid-row: 1; margin-top: 18vw; }
  .split__small { grid-column: 7 / -1; grid-row: 1; align-self: start; justify-self: stretch; z-index: 2; }
  .split--events .split__small { justify-self: stretch; }
  .split__small .frame { width: 100%; border: 8px solid var(--cream); }
  .split__text { grid-column: 1 / -1; grid-row: 2; padding-top: 48px; }
}

@media (min-width: 900px) {
  .split { column-gap: clamp(40px, 5.5vw, 80px); row-gap: 0; }

  .split--dining { grid-template-columns: 1fr minmax(0, 580px); grid-template-rows: auto 1fr; }
  .split--dining .split__small { grid-column: 1; grid-row: 1; }
  .split--dining .split__text  { grid-column: 1; grid-row: 2; align-self: end; padding-top: 80px; }
  .split--dining .split__tall  { grid-column: 2; grid-row: 1 / span 2; }

  .split--events { grid-template-columns: minmax(0, 580px) 1fr; grid-template-rows: auto 1fr; padding-top: clamp(150px, 17.4vw, 250px); }
  .split--events .split__tall  { grid-column: 1; grid-row: 1 / span 2; }
  .split--events .split__small { grid-column: 2; grid-row: 1; justify-self: end; }
  .split--events .split__text  { grid-column: 2; grid-row: 2; align-self: end; padding-top: 80px; }
  .split--events .split__text p { max-width: 660px; }
  .split__small .frame { width: min(400px, 28vw); }
}

/* =========================================================
   7  EXPERIENCES — text first, images rise over it (pinned)
   ========================================================= */
.exp { position: relative; height: 500vh; margin-top: var(--section-space); }
.exp__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.exp__text {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; justify-items: center; text-align: center;
  padding-inline: var(--gutter);
  color: var(--green);
}
.exp__script {
  font-family: var(--ff-script);
  font-size: clamp(64px, 8.4vw, 120px);
  line-height: .9;
  margin-bottom: 0.3em;
  position: relative; z-index: 3;
}
.exp__title {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  max-width: 830px;
}
.exp__text [data-exp-text] { opacity: 0; transform: translateY(50px); will-change: transform, opacity; }

.exp__img {
  position: absolute; z-index: 2; overflow: hidden; margin: 0;
  will-change: transform;
  transform: translate3d(0, 110vh, 0);
}
.exp__img img { width: 100%; height: 100%; object-fit: cover; }
/* mobile positions */
.exp__img--arcade  { width: 46vw; aspect-ratio: 4/3; left: 4vw;  top: 13%; }
.exp__img--spa     { width: 34vw; aspect-ratio: 3/4; right: 4vw; top: 7%; }
.exp__img--balcony { width: 36vw; aspect-ratio: 1;   left: 6vw;  bottom: 6%; }
.exp__img--fire    { width: 50vw; aspect-ratio: 5/3; right: 4vw; bottom: 10%; }

@media (min-width: 900px) {
  .exp__img--arcade  { width: min(27.8vw, 44vh); left: 10.4vw; top: 20%; }
  .exp__img--spa     { width: min(20.8vw, 34vh); right: 2.8vw; top: 6%; }
  .exp__img--balcony { width: min(20.8vw, 33vh); left: 2.8vw; bottom: 4%; }
  .exp__img--fire    { width: min(34.7vw, 55vh); left: 54.9vw; right: auto; bottom: 8%; }
}

/* =========================================================
   8  FAQ — expanded card accordion
   ========================================================= */
.faq {
  display: grid; gap: 48px;
  padding-top: var(--section-space);
}
.faq__head { display: grid; gap: 24px; align-content: start; }
.faq__item {
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: padding .6s var(--ease-out), border-color .6s, background-color .6s;
}
.faq__item.is-open { background: #FFFFFF; border-color: #E2DDD5; padding-inline: clamp(20px, 2.3vw, 32px); }
.faq__item:has(+ .faq__item.is-open) { border-bottom-color: transparent; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 0;
  text-align: left;
  font-size: clamp(19px, 1.55vw, 22px); line-height: 1.3;
  color: var(--green-deep);
  transition: padding .5s var(--ease-out), color .4s;
}
/* hover gap on the left — unselected only */
.faq__item:not(.is-open) .faq__q:hover,
.faq__item:not(.is-open) .faq__q:focus-visible { padding-left: 24px; color: var(--green); }
.faq__chev {
  flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .5s var(--ease-out);
}
.faq__item.is-open .faq__chev { transform: translateY(2px) rotate(-135deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease-out);
}
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 32px; color: var(--muted); font-size: 16px; max-width: 540px; margin-top: 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr minmax(0, 600px); column-gap: 80px; }
  .faq__head { position: sticky; top: 120px; align-self: start; }
}

/* =========================================================
   9  STATEMENT — triggered scroll
   ========================================================= */
.statement { position: relative; height: 420vh; margin-top: var(--section-space); }
.statement__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.statement__lines {
  position: absolute; inset: 0; z-index: 1;
  display: grid; align-content: center; justify-items: center;
  color: var(--ink);
  pointer-events: none;
}
.statement__lines--light { color: var(--white); z-index: 3; }
.statement__line {
  font-size: clamp(26px, 6.7vw, 96px);
  line-height: 1.12;
  white-space: nowrap;
  will-change: transform, opacity;
}
.statement__window {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(var(--ct, 15%) var(--cr, 32%) var(--cb, 15%) var(--cl, 32%));
  will-change: clip-path;
}
.statement__window > img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--is, 1.15)); }
.statement__gradient {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(10, 8, 6, .72) 0%, rgba(10, 8, 6, .25) 45%, rgba(10, 8, 6, 0) 75%);
  opacity: 0;
}
.statement__values {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 64px); z-index: 4;
  display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 28px;
  padding-inline: var(--gutter);
  color: var(--white);
  max-width: var(--maxw); margin-inline: auto;
}
.statement__values li {
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(20px, 2.5vw, 36px); line-height: 1;
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}
.statement__values li.is-in { opacity: 1; transform: none; }
.statement__values svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 900px) {
  .statement__values { grid-template-columns: repeat(4, 1fr); }
  .statement__values svg { width: 28px; height: 28px; }
  .statement__values li + li { border-left: 1px solid rgba(255, 251, 245, .45); }
}

/* =========================================================
   10  CTA
   ========================================================= */
.cta {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  padding-inline: clamp(20px, 8.3vw, 120px);
  color: var(--green);
}
.cta__title { display: grid; font-weight: 300; }
.cta__line { font-family: var(--ff-display); font-weight: 400; font-size: clamp(40px, 7vw, 104px); line-height: 1; letter-spacing: 0; }
@media (min-width: 900px) { .cta__line { white-space: nowrap; } }
.cta__script { font-family: var(--ff-script); font-weight: 400; font-size: clamp(76px, 11.5vw, 166px); line-height: .82; margin-top: .06em; }
.cta__row {
  display: grid; gap: 40px;
  margin-top: clamp(48px, 6vw, 88px);
}
.cta__row p { color: var(--muted); font-size: 16px; max-width: 470px; }
.cta__links { display: grid; gap: 14px; }
.cta__link {
  display: inline-flex; align-items: center;
  font-size: clamp(20px, 1.55vw, 22px); font-weight: 600;
  color: var(--green);
}
.cta__arrow {
  position: relative; flex: none;
  width: 18px; height: 12px; margin-right: 18px;
  overflow: hidden;
  transition: width .5s var(--ease-out), margin .5s var(--ease-out), opacity .35s;
}
.cta__arrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.cta__arrow::after {
  content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.cta__link:hover .cta__arrow,
.cta__link:focus-visible .cta__arrow { width: 0; margin-right: 0; opacity: 0; }
.cta__link span + * { transition: transform .5s; }

@media (min-width: 900px) {
  .cta__row { grid-template-columns: 1fr minmax(0, 470px) 202px; column-gap: 70px; align-items: start; }
  .cta__link { white-space: nowrap; }
  .cta__row p { grid-column: 2; }
}

/* =========================================================
   FOOTER — inset first, then full width
   ========================================================= */
.footer {
  background: var(--beige);
  color: var(--ink);
  clip-path: inset(0 var(--fx, 0px) 0 var(--fx, 0px));
  will-change: clip-path;
}
.footer__inner { padding-top: clamp(72px, 7vw, 100px); padding-bottom: 72px; }
.footer__top, .footer__mid { display: grid; gap: 40px; }
.footer__mid { margin-top: 64px; grid-template-columns: 1fr 1fr; }
.footer__logo img { width: min(422px, 80vw); height: auto; }
.footer__h { font-size: 21px; color: var(--green); margin-bottom: 24px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col, .footer__col a, .footer address { font-size: 16px; font-weight: 400; }
.footer__dl { display: grid; gap: 12px; }
.footer__dl div { display: flex; gap: 16px; }
.footer__dl dt { color: var(--muted); font-weight: 300; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  margin-top: 80px; font-size: 16px;
}
.footer__bottom p { color: var(--muted); }
.footer__bottom ul { display: flex; gap: 40px; font-weight: 400; }
[data-ft] {
  opacity: 0; transform: translateY(16px); filter: blur(4px);
  transition: opacity 1.4s ease, transform 1.6s var(--ease-out), filter 1.4s ease;
  transition-delay: var(--d, 0s);
}
[data-ft].is-in { opacity: 1; transform: none; filter: none; }

@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1fr 337px; align-items: start; }
  .footer__mid { grid-template-columns: 212px 178px 1fr 337px; margin-top: 90px; }
  .footer__col--loc { grid-column: 4; }
  .footer__bottom { margin-top: 100px; }
}

/* =========================================================
   Reduced motion: keep layout, drop movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-rise], [data-ft], [data-welcome] { opacity: 1; transform: none; }
  .welcome__tile { clip-path: none; }
}
