@font-face { font-family: "Philosopher"; src: url("../font/philosopher.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Lato"; src: url("../font/lato.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #18372b; --forest: #173c2c; --forest-dark: #102c21; --leaf: #7f9b62;
  --sage: #d8e0ce; --cream: #f5f1e7; --paper: #fbfaf6; --gold: #c6a15b;
  --white: #fff; --muted: #647069; --line: rgba(24, 55, 43, 0.16);
  --shadow: 0 28px 70px rgba(20, 45, 33, 0.12); --serif: "Philosopher", Georgia, serif; --sans: "Lato", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-160%); background: var(--white); padding: 10px 16px; border-radius: 2px; }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 118px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(251, 250, 246, .94); border-bottom: 1px solid rgba(24, 55, 43, .1); position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--forest); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.official-logo { width: auto; height: 105px; object-fit: contain; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--leaf); }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: .04em; }
.brand-copy small { margin-top: 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.primary-nav a { position: relative; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--leaf); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 13px 19px; border: 1px solid var(--forest); transition: .25s ease; }
.nav-cta:hover { background: var(--forest); color: white; }
.nav-toggle { display: none; background: none; border: 0; padding: 9px; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: currentColor; transition: .25s; }

.hero { min-height: 94vh; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 24, 17, .82) 0%, rgba(7, 24, 17, .6) 42%, rgba(7, 24, 17, .04) 78%), linear-gradient(0deg, rgba(7, 24, 17, .24), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 165px; padding-bottom: 90px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 20px; color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow.light { color: #d8dfc3; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 86px); line-height: .98; font-weight: 400; letter-spacing: -.035em; }
h1 em, h2 em { color: #cdd7b7; font-style: italic; font-weight: 400; }
.hero-copy { max-width: 630px; margin: 28px 0 34px; color: rgba(255,255,255,.82); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 1px; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-solid { background: var(--cream); color: var(--forest); }
.button-solid:hover { background: var(--white); }
.button-ghost { border-color: rgba(255,255,255,.58); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-dark); }
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { background: var(--forest); color: white; }
.button-light { background: white; color: var(--forest); }
.hero-location { margin: 52px 0 0; display: flex; align-items: center; gap: 9px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.72); }
.hero-location span { color: #d8dfc3; font-size: 18px; }
.hero-scroll { position: absolute; z-index: 2; right: 4vw; bottom: 42px; display: flex; flex-direction: column; align-items: center; gap: 13px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { display: block; height: 62px; width: 1px; background: rgba(255,255,255,.55); }

.booking-wrap { position: relative; z-index: 10; margin-top: -44px; padding: 0 24px; }
.booking-bar { width: min(1240px, 100%); margin: 0 auto; padding: 24px 28px; display: grid; grid-template-columns: 1.2fr repeat(3, .7fr) auto auto; align-items: end; gap: 20px; background: var(--cream); box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); }
.booking-heading h2 { margin: 2px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.kicker, .booking-bar label span { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.booking-bar input, .booking-bar select { width: 100%; min-height: 42px; border: 0; border-bottom: 1px solid rgba(24,55,43,.35); background: transparent; color: var(--ink); outline: none; }
.booking-bar input:focus, .booking-bar select:focus { border-color: var(--forest); }
.whatsapp-link { align-self: center; white-space: nowrap; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #527b47; }

.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(50px, 8vw, 120px); align-items: center; }
.image-stack { min-height: 650px; position: relative; }
.image-main { height: 610px; object-fit: cover; box-shadow: var(--shadow); }
.welcome-gallery-viewport { height: 610px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; box-shadow: var(--shadow); }
.welcome-gallery-viewport::-webkit-scrollbar { display: none; }
.welcome-gallery-track { height: 100%; display: flex; }
.welcome-gallery-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.welcome-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.welcome-gallery-control { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(10,45,33,.76); color: white; font-size: 19px; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.welcome-gallery-control:hover { background: var(--forest); transform: translateY(-50%) scale(1.06); }
.welcome-gallery-control:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.welcome-gallery-prev { left: 16px; }
.welcome-gallery-next { right: 16px; }
.welcome-gallery-dots { position: absolute; left: 20px; bottom: 62px; z-index: 2; display: flex; gap: 7px; }
.welcome-gallery-dot { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; }
.welcome-gallery-dot.active { background: white; transform: scale(1.18); }
.image-note { position: absolute; right: -35px; bottom: 0; width: 245px; padding: 24px; background: var(--forest); color: white; }
.image-note strong, .image-note span { display: block; }
.image-note strong { font-family: var(--serif); font-size: 23px; }
.image-note span { margin-top: 7px; color: rgba(255,255,255,.67); font-size: 13px; }
.content-block h2, .section-intro h2, .section-heading h2, .retreat-copy h2, .review-heading h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); line-height: 1.04; font-weight: 400; letter-spacing: -.025em; }
.content-block h2 em, .section-intro h2 em, .section-heading h2 em, .retreat-copy h2 em, .review-heading h2 em { color: var(--leaf); }
.lead { margin: 28px 0; color: #4d5d55; font-size: 18px; }
.leaf-list { margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; list-style: none; }
.leaf-list li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 700; }
.leaf-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 7px; border: solid var(--leaf); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.text-link { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link.light { color: white; }

.heritage { min-height: 830px; position: relative; display: grid; align-items: center; color: white; overflow: hidden; }
.heritage > img, .heritage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heritage-video { pointer-events: none; background: url("../img/yasasa-heritage.png") center / cover no-repeat; }
.heritage-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,21,.9) 0%, rgba(10,29,21,.73) 48%, rgba(10,29,21,.22) 100%); }
.heritage-content { position: relative; z-index: 1; padding: 100px 0; }
.heritage h2 { max-width: 820px; margin: 0 0 30px; font-family: var(--serif); font-size: clamp(45px, 6.4vw, 91px); line-height: .95; font-weight: 400; }
.heritage h2 span { color: #d5b66f; }
.heritage-copy { max-width: 650px; }
.heritage-copy h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.heritage-copy p { color: rgba(255,255,255,.75); }
.heritage-facts { max-width: 720px; margin: 45px 0 34px; padding: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.heritage-facts div { display: grid; gap: 5px; }
.heritage-facts strong { font-family: var(--serif); font-size: 38px; color: #d5b66f; }
.heritage-facts span { max-width: 140px; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.4; }

.why { background: #eef1e8; }
.section-intro { max-width: 680px; margin-bottom: 58px; }
.section-intro.centered { margin-inline: auto; text-align: center; }
.section-intro.centered .eyebrow { justify-content: center; }
.section-intro p:last-child { color: var(--muted); font-size: 17px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit { min-height: 220px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.38); transition: background .25s ease, transform .25s ease; }
.benefit:hover { background: white; transform: translateY(-4px); }
.benefit > span { color: var(--leaf); font-family: var(--serif); font-size: 16px; }
.benefit h3 { margin: 44px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.section-heading { margin-bottom: 52px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 17px; }
.room-grid { display: grid; grid-template-columns: 1.35fr .9fr; grid-template-rows: 310px 310px; gap: 20px; }
.room-card { position: relative; overflow: hidden; color: white; }
.room-card-large { grid-row: 1 / 3; }
.room-card > img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.room-card:not(.room-card-large):nth-child(2) > img { object-position: 65% center; transform: scale(1.18); }
.room-card:not(.room-card-large):nth-child(3) > img { object-position: 20% center; transform: scale(1.25); }
.room-card:hover > img { transform: scale(1.05); }
.room-card:not(.room-card-large):hover > img { transform: scale(1.28); }
.room-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,19,.84), transparent 67%); }
.room-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.room-info span { color: #d8dfc3; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.room-info h3 { margin: 7px 0 2px; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.room-info p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.room-info a { position: absolute; right: 27px; bottom: 29px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.centered-buttons { margin-top: 35px; justify-content: center; }

.ayurveda-feature { min-height: 800px; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--forest-dark); color: white; }
.ayurveda-photo { min-height: 680px; }
.ayurveda-photo img { height: 100%; object-fit: cover; object-position: center 30%; }
.ayurveda-panel { padding: clamp(70px, 8vw, 120px) clamp(42px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.ayurveda-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); line-height: 1.04; font-weight: 400; }
.ayurveda-panel h2 em { color: #cad5b2; }
.ayurveda-panel > p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 17px; }
.treatment-list { margin: 32px 0; border-top: 1px solid rgba(255,255,255,.18); }
.treatment-list a { padding: 14px 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); font-family: var(--serif); font-size: 18px; }
.treatment-list a span { color: #b6c99b; font-family: var(--sans); font-size: 10px; }
.treatment-list a i { font-style: normal; opacity: .55; transition: transform .2s; }
.treatment-list a:hover i { transform: translate(3px, -3px); }
.treatment-booking-form { margin: 4px 0 28px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.treatment-booking-title { grid-column: 1 / -1; margin: 0 0 3px; color: white; font-family: var(--serif); font-size: 22px; }
.treatment-booking-form label { display: grid; gap: 7px; }
.treatment-booking-form label:nth-of-type(1) { grid-column: 1 / -1; }
.treatment-booking-form label > span { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.treatment-booking-form input, .treatment-booking-form select { width: 100%; min-width: 0; height: 46px; padding: 0 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 0; background: rgba(255,255,255,.08); color: white; font: inherit; }
.treatment-booking-form select option { color: var(--ink); }
.treatment-booking-form input::-webkit-calendar-picker-indicator { filter: invert(1); }
.treatment-booking-form input:focus, .treatment-booking-form select:focus { outline: 2px solid #b6c99b; outline-offset: 1px; }
.treatment-booking-form .button { grid-column: 1 / -1; margin: 2px 0 0; border: 0; cursor: pointer; }

.retreats { background: var(--cream); }
.retreat-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.retreat-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.retreat-options { margin: 30px 0 36px; border-top: 1px solid var(--line); }
.retreat-options a { padding: 15px 0; display: grid; grid-template-columns: 85px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.retreat-options strong { color: var(--leaf); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.retreat-options span { font-family: var(--serif); font-size: 18px; }
.retreat-options i { font-style: normal; transition: transform .2s; }
.retreat-options a:hover i { transform: translate(3px, -3px); }
.retreat-image { margin: 0; position: relative; }
.retreat-image img { min-height: 690px; object-fit: cover; }
.retreat-video { width: 100%; height: 690px; display: block; object-fit: cover; background: url("../img/yasasa-retreat.png") center / cover no-repeat; }
.retreat-image figcaption { position: absolute; left: -32px; bottom: 34px; max-width: 250px; padding: 20px 24px; background: var(--paper); color: var(--forest); font-family: var(--serif); font-size: 22px; line-height: 1.25; box-shadow: var(--shadow); }

.experience-strip { padding: 100px 0; background: var(--forest); color: white; text-align: center; }
.experience-strip .eyebrow { justify-content: center; }
.experience-strip h2 { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; font-family: var(--serif); font-size: clamp(44px, 7vw, 86px); line-height: 1; font-weight: 400; }
.experience-strip h2 i { color: var(--gold); font-style: normal; }
.experience-cards { margin-top: 55px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.2); }
.experience-cards div { padding: 27px 34px 0; border-right: 1px solid rgba(255,255,255,.18); }
.experience-cards div:last-child { border: 0; }
.experience-cards strong { color: #d8dfc3; font-family: var(--serif); font-size: 23px; }
.experience-cards p { margin-bottom: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.kandy-section { min-height: 760px; position: relative; display: grid; align-items: center; color: white; }
.kandy-section > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.kandy-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,18,.86), rgba(9,25,18,.32) 64%, rgba(9,25,18,.05)); }
.kandy-content { position: relative; z-index: 1; padding: 90px 0; }
.kandy-content h2 { max-width: 750px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 82px); line-height: 1; font-weight: 400; }
.kandy-content h2 em { color: #d8dfc3; }
.kandy-grid { width: min(700px, 100%); margin: 42px 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.27); }
.kandy-grid span { padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.27); font-size: 14px; }

.reviews { background: var(--paper); }
.review-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 10vw, 150px); align-items: center; }
.rating { margin-top: 30px; color: var(--gold); letter-spacing: .18em; }
.review-card { position: relative; padding: 55px 60px; background: var(--cream); border-left: 3px solid var(--gold); }
.quote-mark { position: absolute; right: 28px; top: 5px; color: rgba(127,155,98,.17); font-family: Georgia, serif; font-size: 140px; line-height: 1; }
.review-card blockquote { position: relative; margin: 0 0 30px; font-family: var(--serif); font-size: clamp(23px, 3vw, 34px); line-height: 1.35; }
.review-author { display: grid; gap: 2px; }
.review-author span { color: var(--muted); font-size: 12px; }

.gallery-section { padding: 120px 0; background: var(--forest-dark); color: white; }
.light-heading h2 em { color: #cdd7b7; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.gallery-filters button { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.gallery-filters button.active, .gallery-filters button:hover { background: white; border-color: white; color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 230px; gap: 12px; }
.gallery-item { margin: 0; position: relative; overflow: hidden; }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .55s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 15px; bottom: 13px; padding: 5px 8px; background: rgba(12,35,25,.78); color: white; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gallery-item.hidden { display: none; }

.final-cta { min-height: 650px; position: relative; display: grid; place-items: center; text-align: center; color: white; }
.final-cta > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.final-cta-overlay { position: absolute; inset: 0; background: rgba(7,28,20,.65); }
.final-cta-content { position: relative; z-index: 1; padding: 100px 0; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(50px, 7vw, 92px); }
.final-cta p:not(.eyebrow) { margin: 24px auto 35px; max-width: 620px; color: rgba(255,255,255,.75); font-size: 18px; }
.final-cta .button-row { justify-content: center; }

.site-footer { padding: 80px 0 22px; background: #0d281d; color: rgba(255,255,255,.9); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo { width: fit-content; padding: 0; background: transparent; color: white; }
.footer-official-logo { height: 155px; filter: none; }
.footer-logo .brand-copy small { color: rgba(255,255,255,.5); }
.footer-brand > p { max-width: 360px; margin: 22px 0 0; color: white; font-family: var(--serif); font-size: 20px; }
.footer-brand .footer-note { color: rgba(255,255,255,.78); font-family: var(--sans); font-size: 13px; }
.footer-grid h3 { margin: 0 0 15px; color: #f0f3e8; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.footer-grid a, .footer-grid span { color: rgba(255,255,255,.88); font-size: 13px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.68); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.footer-bottom span { color: inherit; }
.floating-whatsapp { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 100; min-height: 56px; padding: 0 20px 0 15px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; background: #25d366; color: #082d1b; box-shadow: 0 12px 30px rgba(0,0,0,.28); font-size: 13px; font-weight: 800; letter-spacing: .04em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.floating-whatsapp img { width: 36px; height: 36px; display: block; object-fit: contain; }
.floating-whatsapp:hover { transform: translateY(-3px); background: #35e477; color: #082d1b; box-shadow: 0 16px 36px rgba(0,0,0,.34); }
.floating-whatsapp:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* Contact page */
.contact-header { position: absolute; }
.contact-hero { min-height: 650px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; }
.contact-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 55%; }
.contact-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,24,17,.9), rgba(7,24,17,.4) 62%, rgba(7,24,17,.15)), linear-gradient(0deg, rgba(7,24,17,.62), transparent 55%); }
.contact-hero-content { position: relative; z-index: 1; padding-top: 190px; padding-bottom: 90px; }
.contact-hero h1 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(60px, 8vw, 106px); line-height: .94; font-weight: 400; letter-spacing: -.035em; }
.contact-hero-content > p:last-child { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: 19px; }
.contact-main { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px, 8vw, 110px); align-items: start; }
.contact-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 67px); line-height: 1.04; font-weight: 400; }
.contact-copy > p:not(.eyebrow) { margin: 26px 0 0; color: var(--muted); font-size: 17px; }
.contact-details { margin-top: 42px; border-top: 1px solid var(--line); }
.contact-detail { min-height: 82px; padding: 16px 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 13px; align-items: center; border-bottom: 1px solid var(--line); }
.contact-detail-number { color: var(--leaf); font-size: 10px; font-weight: 800; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-detail strong { overflow-wrap: anywhere; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.contact-detail i { font-style: normal; transition: transform .2s ease; }
a.contact-detail:hover i { transform: translate(3px, -3px); }
.contact-socials { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; }
.contact-socials span { width: 100%; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-socials a { padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--forest); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-enquiry-form { padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; background: var(--forest); color: white; box-shadow: var(--shadow); }
.contact-enquiry-form > .eyebrow, .contact-enquiry-form > h2, .contact-form-intro { grid-column: 1 / -1; }
.contact-enquiry-form h2 { margin: -7px 0 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); line-height: 1; font-weight: 400; }
.contact-form-intro { margin: -6px 0 12px; color: rgba(255,255,255,.72); }
.contact-enquiry-form label { display: grid; gap: 7px; }
.contact-enquiry-form label > span { color: rgba(255,255,255,.76); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-enquiry-form input, .contact-enquiry-form select, .contact-enquiry-form textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 0; background: rgba(255,255,255,.08); color: white; font: inherit; outline: none; }
.contact-enquiry-form input, .contact-enquiry-form select { height: 49px; }
.contact-enquiry-form textarea { min-height: 145px; resize: vertical; }
.contact-enquiry-form select option { color: var(--ink); }
.contact-enquiry-form input::-webkit-calendar-picker-indicator { filter: invert(1); }
.contact-enquiry-form input:focus, .contact-enquiry-form select:focus, .contact-enquiry-form textarea:focus { border-color: #d7e2bd; box-shadow: 0 0 0 2px rgba(215,226,189,.22); }
.contact-enquiry-form textarea::placeholder { color: rgba(255,255,255,.42); }
.contact-field-full { grid-column: 1 / -1; }
.contact-enquiry-form .button { width: 100%; border: 0; }
.contact-form-note { margin: -8px 0 0; color: rgba(255,255,255,.58); font-size: 11px; }
.contact-visit { min-height: 670px; position: relative; display: grid; align-items: center; overflow: hidden; color: white; }
.contact-visit > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.contact-visit-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,20,.9), rgba(8,28,20,.48) 55%, rgba(8,28,20,.15)); }
.contact-visit-content { position: relative; z-index: 1; padding-block: 100px; }
.contact-visit h2 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(50px, 7vw, 88px); line-height: .98; font-weight: 400; }
.contact-visit-content > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 34px; color: rgba(255,255,255,.78); font-size: 18px; }

/* Room details */
.room-header { position: absolute; }
.room-detail-hero { min-height: 760px; position: relative; display: grid; align-items: end; color: white; overflow: hidden; }
.room-detail-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.room-detail-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,25,18,.88), rgba(7,25,18,.1) 72%), linear-gradient(90deg, rgba(7,25,18,.45), transparent); }
.room-detail-hero-content { position: relative; z-index: 1; padding-top: 190px; padding-bottom: 80px; }
.room-back { display: inline-block; margin-bottom: 48px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.room-detail-hero h1 { margin: 0; max-width: 850px; font-family: var(--serif); font-size: clamp(64px, 8vw, 112px); line-height: .92; font-weight: 400; }
.room-detail-hero-content > p:last-child { max-width: 620px; margin: 25px 0 0; color: rgba(255,255,255,.76); font-size: 19px; }
.room-detail-layout { display: grid; grid-template-columns: 1.2fr .7fr; gap: clamp(55px, 9vw, 130px); align-items: start; }
.room-story h2 { margin: 0; max-width: 720px; font-family: var(--serif); font-size: clamp(42px, 5vw, 67px); line-height: 1.05; font-weight: 400; }
.room-story h3 { margin: 50px 0 20px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.room-highlights { margin: 42px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.room-highlights div { min-height: 112px; padding: 20px; display: grid; align-content: center; gap: 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-highlights span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.room-highlights strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.room-feature-badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.room-feature-badges span { padding: 8px 11px; border: 1px solid var(--line); background: var(--cream); color: var(--forest); font-size: 12px; font-weight: 700; }
.room-sleep-info { margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-sleep-info p { margin: 0; }
.room-sleep-info p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.room-sleep-info p:first-child span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.room-sleep-info p:first-child strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.room-comfort-score { margin-top: 12px !important; color: var(--leaf); font-size: 13px; font-weight: 700; }
.room-spec-sections { margin-top: 4px; }
.room-spec-group { padding-top: 1px; }
.room-spec-group h3 { margin: 38px 0 13px; font-size: 24px; }
.amenity-grid { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; list-style: none; }
.amenity-grid li { position: relative; padding: 11px 0 11px 23px; border-bottom: 1px solid var(--line); }
.amenity-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 800; }
.room-smoking { margin: 38px 0 0; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--cream); }
.room-smoking strong { margin-right: 8px; }
.room-booking-card { position: sticky; top: 25px; padding: 38px; background: var(--cream); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.room-booking-card h2 { margin: 6px 0 15px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.room-booking-card > p:not(.kicker) { color: var(--muted); font-size: 14px; }
.room-booking-card .button { width: 100%; margin: 16px 0 24px; }
.room-booking-form { margin: 24px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.room-booking-form label:last-of-type { grid-column: 1 / -1; }
.room-booking-form label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.room-booking-form input, .room-booking-form select { width: 100%; min-height: 42px; padding: 0; border: 0; border-bottom: 1px solid rgba(24,55,43,.35); border-radius: 0; background: transparent; color: var(--ink); outline: none; }
.room-booking-form input:focus, .room-booking-form select:focus { border-color: var(--forest); }
.room-booking-form .button { grid-column: 1 / -1; margin: 4px 0 0; }
.booking-note { margin-top: 34px; padding-top: 22px; display: grid; gap: 5px; border-top: 1px solid var(--line); }
.booking-note strong { font-family: var(--serif); font-size: 18px; }
.booking-note span { color: var(--muted); font-size: 12px; }
.room-gallery-band { display: grid; grid-template-columns: 1.4fr .8fr .8fr; height: 520px; gap: 10px; background: var(--forest-dark); }
.room-gallery-band img { height: 100%; object-fit: cover; }
.room-gallery-band img:nth-child(2) { object-position: 70% center; }
.room-gallery-band.expanded { height: auto; padding: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 8px; background: var(--paper); }
.room-gallery-band.expanded img { min-height: 0; border-radius: 2px; object-position: center; }
.room-gallery-band.expanded img:nth-child(1), .room-gallery-band.expanded img:nth-child(8), .room-gallery-band.expanded img:nth-child(15) { grid-column: span 2; grid-row: span 2; }
.room-gallery-band.expanded img:nth-child(6), .room-gallery-band.expanded img:nth-child(12), .room-gallery-band.expanded img:nth-child(19) { grid-column: span 2; }
@media (min-width: 981px) {
  .room-gallery-band.expanded[data-count="22"] img:last-child { grid-column: span 3; }
  .room-gallery-band.expanded[data-count="25"] img:last-child { grid-column: span 4; }
}
.room-next { padding: 110px 0; background: var(--forest); color: white; text-align: center; }
.room-next .eyebrow { justify-content: center; }
.room-next h2 { margin: 0 auto 35px; max-width: 760px; font-family: var(--serif); font-size: clamp(45px, 6vw, 76px); line-height: 1; font-weight: 400; }
.room-next h2 em { color: #cad5b2; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .primary-nav { gap: 17px; font-size: 11px; }
  .primary-nav a:nth-child(5), .primary-nav a:nth-child(6) { display: none; }
  .booking-bar { grid-template-columns: 1fr repeat(3,.75fr); }
  .booking-bar .button { grid-column: 3 / 4; }
  .whatsapp-link { grid-column: 4 / 5; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }
  .section { padding: 88px 0; }
  .site-header { height: 98px; padding-inline: 20px; }
  .official-logo { height: 86px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--paper); transform: translateX(100%); visibility: hidden; transition: .35s ease; font-size: 15px; }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav a:nth-child(5), .primary-nav a:nth-child(6) { display: block; }
  .nav-open .nav-toggle > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle > span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 880px; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,24,17,.82), rgba(7,24,17,.36)), linear-gradient(0deg, rgba(7,24,17,.36), transparent); }
  .hero-scroll { display: none; }
  .booking-wrap { margin-top: -30px; padding: 0 16px; }
  .booking-bar { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; }
  .booking-heading { grid-column: 1 / -1; }
  .booking-bar label:nth-of-type(3) { grid-column: 1 / 2; }
  .booking-bar .button { grid-column: 2 / 3; }
  .whatsapp-link { grid-column: 1 / -1; text-align: center; }
  .split-grid, .retreat-layout, .review-layout { grid-template-columns: 1fr; }
  .image-stack { min-height: 590px; }
  .image-main { height: 560px; }
  .welcome-gallery-viewport { height: 560px; }
  .welcome-gallery-dots { bottom: 52px; }
  .image-note { right: 0; }
  .content-block { padding-top: 20px; }
  .heritage { min-height: 900px; }
  .heritage-facts { grid-template-columns: 1fr 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 470px 340px; }
  .room-card-large { grid-row: auto; grid-column: 1 / -1; }
  .ayurveda-feature { grid-template-columns: 1fr; }
  .ayurveda-photo { height: 560px; min-height: 0; }
  .retreat-layout { gap: 60px; }
  .retreat-image { order: -1; }
  .retreat-image img { min-height: 540px; }
  .retreat-video { height: 540px; }
  .contact-hero { min-height: 600px; }
  .contact-hero-content { padding-top: 155px; padding-bottom: 70px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-enquiry-form { margin-top: 5px; }
  .contact-visit { min-height: 620px; }
  .experience-cards { grid-template-columns: 1fr; }
  .experience-cards div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 25px; }
  .kandy-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.gallery-tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .room-detail-layout { grid-template-columns: 1fr; }
  .room-booking-card { position: static; }
  .room-gallery-band { grid-template-columns: 1fr 1fr; height: auto; padding: 10px; }
  .room-gallery-band img { height: 360px; }
  .room-gallery-band img:first-child { grid-column: 1 / -1; }
  .room-gallery-band.expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .room-gallery-band.expanded img { height: 100%; }
  .room-gallery-band.expanded img:nth-child(n) { grid-row: span 1; }
  .room-gallery-band.expanded img:nth-child(1), .room-gallery-band.expanded img:nth-child(8), .room-gallery-band.expanded img:nth-child(15) { grid-column: span 2; grid-row: span 2; }
  .room-gallery-band.expanded[data-count="25"] img:last-child { grid-column: span 2; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .official-logo { height: 78px; }
  .footer-official-logo { height: 145px; }
  .hero { min-height: 810px; }
  .hero-content { padding-top: 155px; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 16px; }
  .booking-bar { grid-template-columns: 1fr; }
  .booking-heading, .booking-bar label:nth-of-type(3), .booking-bar .button, .whatsapp-link { grid-column: auto; }
  .button { width: 100%; }
  .button-row { align-items: stretch; }
  .image-stack { min-height: 500px; }
  .image-main { height: 465px; }
  .welcome-gallery-viewport { height: 465px; }
  .welcome-gallery-control { width: 40px; height: 40px; }
  .welcome-gallery-dots { bottom: 57px; }
  .image-note { width: 220px; }
  .leaf-list { grid-template-columns: 1fr; }
  .heritage { min-height: 1020px; }
  .heritage-facts { grid-template-columns: 1fr; }
  .heritage-facts div { grid-template-columns: 85px 1fr; align-items: center; }
  .heritage-facts span { max-width: none; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: auto; }
  .benefit h3 { margin-top: 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .room-grid { display: flex; flex-direction: column; }
  .room-card { min-height: 430px; }
  .room-info a { position: static; display: inline-block; margin-top: 15px; }
  .ayurveda-photo { height: 430px; }
  .ayurveda-panel { padding: 70px 24px; }
  .treatment-booking-form { grid-template-columns: 1fr; }
  .treatment-booking-title, .treatment-booking-form .button { grid-column: auto; }
  .retreat-image img { min-height: 480px; }
  .retreat-video { height: 480px; }
  .contact-hero { min-height: 570px; }
  .contact-hero h1 { font-size: 55px; }
  .contact-hero-content > p:last-child { font-size: 16px; }
  .contact-enquiry-form { padding: 34px 22px; grid-template-columns: 1fr; }
  .contact-enquiry-form > .eyebrow, .contact-enquiry-form > h2, .contact-form-intro, .contact-field-full { grid-column: auto; }
  .contact-detail { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .contact-visit { min-height: 580px; }
  .contact-visit h2 { font-size: 50px; }
  .retreat-image figcaption { left: 12px; right: 12px; }
  .experience-strip h2 { gap: 9px; font-size: 42px; }
  .kandy-section { min-height: 820px; }
  .review-card { padding: 42px 26px; }
  .gallery-section { padding: 90px 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-item.gallery-wide { grid-column: span 1; }
  .final-cta { min-height: 700px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-whatsapp { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 56px; padding: 0; justify-content: center; }
  .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .room-detail-hero { min-height: 710px; }
  .room-detail-hero-content { padding-top: 160px; padding-bottom: 60px; }
  .room-detail-hero h1 { font-size: 58px; }
  .room-detail-hero-content > p:last-child { font-size: 16px; }
  .room-highlights { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .room-gallery-band { grid-template-columns: 1fr; }
  .room-gallery-band img, .room-gallery-band img:first-child { grid-column: auto; height: 300px; }
  .room-gallery-band.expanded { grid-template-columns: 1fr; grid-auto-rows: auto; padding: 5px; }
  .room-gallery-band.expanded img:nth-child(n) { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: 4 / 3; }
}

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