/* ==========================================================================
   Mizpah Cottages — main stylesheet
   ========================================================================== */

:root {
	--white: #ffffff;
	--sand: #e9e8e4;
	--sand-2: #f7f6f5;
	--sand-3: #edeae6;
	--mist: #e8eaed;
	--line: #d0ccc5;
	--ink: #000000;
	--ink-2: #1f2124;
	--text: #333333;
	--muted: #666666;
	--blue: #6992b2;
	--blue-dark: #557a97;

	--f-display: "Italiana", "Didot", "Bodoni 72", serif;
	--f-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 84px;
	--gutter: clamp(20px, 4vw, 56px);
	--section: clamp(80px, 11vw, 160px);
	--radius: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--f-body);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
section[id], div[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
::selection { background: var(--blue); color: var(--white); }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Type ---------- */
.display {
	font-family: var(--f-display);
	font-size: clamp(38px, 5.4vw, 72px);
	line-height: 1.02;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
	text-align: center;
}
.display--left { text-align: left; font-size: clamp(34px, 4.2vw, 58px); }
.display--light { color: var(--white); }
.display--sm { font-size: clamp(28px, 3vw, 40px); }

.eyebrow {
	font-family: var(--f-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }

.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 84px); }
.section-head__sub {
	margin: 22px 0 0;
	font-size: clamp(18px, 1.7vw, 23px);
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 300;
	color: var(--muted);
}
.section-head__sub--left { text-align: left; margin-bottom: 22px; }
.section-head__text { margin: 22px auto 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 34px;
	font-family: var(--f-body); font-size: 13px; font-weight: 400;
	letter-spacing: .16em; text-transform: uppercase; line-height: 1;
	border: 1px solid transparent; border-radius: var(--radius);
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -12px rgba(52, 86, 112, .55); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--line { border-color: currentColor; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 12px;
	font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
	padding-bottom: 6px; position: relative;
}
.link-arrow::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
	background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }

.round-btn {
	width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ink);
	display: inline-grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease);
}
.round-btn:hover { background: var(--ink); color: var(--white); }
.round-btn .icon { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	color: var(--white);
	transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease);
}
.site-header::before {
	content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
	transition: opacity .5s var(--ease);
}
.site-header__inner {
	position: relative; height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.site-header__logo { grid-column: 1; }
.primary-nav { grid-column: 2; justify-self: center; }
.site-header__actions { grid-column: 3; display: flex; align-items: center; gap: 18px; }

.body-not-hero .site-header, body:not(.has-hero) .site-header,
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .97); color: var(--ink);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body:not(.has-hero) .site-header::before, .site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: inherit; }
.logo__name { font-family: var(--f-display); font-size: 30px; letter-spacing: .2em; text-transform: uppercase; margin-right: -.2em; }
.logo__sub { font-size: 9px; letter-spacing: .6em; text-transform: uppercase; margin-top: 6px; margin-right: -.6em; font-weight: 400; }
.custom-logo { max-height: 56px; width: auto; }

/* SVG logo: light over the hero, dark on the solid (scrolled) header, inner pages and open menu */
.logo--svg { position: relative; display: inline-block; line-height: 0; }
.logo__img { display: block; height: 50px; width: auto; transition: opacity .5s var(--ease); }
.logo__img--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-scrolled .logo__img--light,
body:not(.has-hero) .site-header .logo__img--light,
.nav-open .site-header .logo__img--light { opacity: 0; }
.site-header.is-scrolled .logo__img--dark,
body:not(.has-hero) .site-header .logo__img--dark,
.nav-open .site-header .logo__img--dark { opacity: 1; }
.site-footer .logo__img { height: 64px; }
@media (max-width: 640px) { .logo__img { height: 40px; } .site-footer .logo__img { height: 54px; } }

.primary-nav__list { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.primary-nav__list a {
	position: relative; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0;
}
.primary-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.primary-nav__list a:hover::after, .primary-nav__list .is-current a::after, .primary-nav__list .current-menu-item a::after { transform: scaleX(1); }

.icon-link { display: inline-grid; place-items: center; width: 34px; height: 34px; }
.icon-link .icon { width: 21px; height: 21px; }
.icon-link:hover { opacity: .6; }
.site-header__book { color: inherit; }
.site-header:not(.is-scrolled) .site-header__book:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.nav-toggle { display: none; width: 34px; height: 34px; position: relative; }
.nav-toggle__bars { position: absolute; inset: 9px 5px; display: flex; flex-direction: column; justify-content: space-between; }
.nav-toggle__bars span { height: 1px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
	position: fixed; inset: 0; z-index: 90; background: var(--sand);
	display: flex; align-items: center; justify-content: center; text-align: center;
	clip-path: inset(0 0 100% 0); visibility: hidden;
	transition: clip-path .8s var(--ease-out), visibility 0s .8s;
}
.nav-open .mobile-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-out); }
.nav-open .site-header { background: transparent; color: var(--ink); box-shadow: none; transform: none; }
.nav-open .site-header::before { opacity: 0; }
.nav-open { overflow: hidden; }
.mobile-nav__inner { padding: calc(var(--header-h) + 20px) 24px 40px; display: grid; gap: 32px; justify-items: center; }
.mobile-nav__list li { overflow: hidden; }
.mobile-nav__list a {
	display: block; font-family: var(--f-display); font-size: clamp(30px, 8vw, 46px); text-transform: uppercase;
	letter-spacing: .06em; line-height: 1.3; color: var(--ink);
	transform: translateY(105%); transition: transform .8s var(--ease-out);
}
.nav-open .mobile-nav__list a { transform: none; }
.nav-open .mobile-nav__list li:nth-child(2) a { transition-delay: .05s; }
.nav-open .mobile-nav__list li:nth-child(3) a { transition-delay: .1s; }
.nav-open .mobile-nav__list li:nth-child(4) a { transition-delay: .15s; }
.nav-open .mobile-nav__list li:nth-child(5) a { transition-delay: .2s; }
.nav-open .mobile-nav__list li:nth-child(6) a { transition-delay: .25s; }
.nav-open .mobile-nav__list li:nth-child(7) a { transition-delay: .3s; }
.nav-open .mobile-nav__list li:nth-child(8) a { transition-delay: .35s; }
.mobile-nav__meta { display: grid; gap: 4px; font-size: 13px; letter-spacing: .08em; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
	display: flex; flex-direction: column; justify-content: center;
	color: var(--white); background: var(--ink-2);
}
.hero__media {
	position: absolute; inset: -6% 0 0; will-change: transform;
	background-color: var(--ink-2); background-size: cover; background-position: center;
}
/* Cover photo (the .hero__media background) shows until the video is actually playing, then the video fades in. */
.hero__video {
	width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 1.2s var(--ease);
	transform: scale(1.12); animation: heroZoom 2.8s var(--ease-out) forwards;
}
.hero__video.is-playing { opacity: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .55) 100%),
		radial-gradient(ellipse at center, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 70%);
}
.hero__content { position: relative; z-index: 2; text-align: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 150px; }
.hero__title {
	font-family: var(--f-display); color: var(--white);
	font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: .04em; text-transform: uppercase;
	max-width: 1100px; margin: 0 auto;
}
.hero__lead { max-width: 660px; margin: 28px auto 12px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 400; letter-spacing: .02em; }
.hero__text { max-width: 640px; margin: 0 auto; font-size: 14px; opacity: .88; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

.hero__info {
	position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, .28);
	background: rgba(0, 0, 0, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__info li {
	display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px;
	font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; text-align: left;
}
.hero__info li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.hero__info .icon { width: 22px; height: 22px; flex: none; }

.hero__toggle {
	position: absolute; z-index: 3; right: var(--gutter); bottom: 96px;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6);
	display: grid; place-items: center; color: var(--white); transition: background .3s;
}
.hero__toggle:hover { background: rgba(255, 255, 255, .15); }
.hero__toggle .icon { width: 14px; height: 14px; }
.hero__toggle .is-play { display: none; }
.hero__toggle.is-paused .is-play { display: block; }
.hero__toggle.is-paused .is-pause { display: none; }

.hero__scroll {
	position: absolute; z-index: 3; left: 50%; bottom: 92px; width: 1px; height: 46px; transform: translateX(-50%);
	background: rgba(255, 255, 255, .3); overflow: hidden;
}
.hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--white); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

[data-hero-in] { opacity: 0; transform: translateY(30px); }
.is-loaded [data-hero-in] {
	opacity: 1; transform: none;
	transition: opacity 1.4s var(--ease-out) var(--d, 0s), transform 1.4s var(--ease-out) var(--d, 0s);
}
.hero__info[data-hero-in] { transform: translateY(100%); }
.is-loaded .hero__info[data-hero-in] { transform: none; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.2s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
[data-reveal-img] { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out); }
[data-reveal-img] img { transform: scale(1.25); transition: transform 2.2s var(--ease-out); }
[data-reveal-img].is-in { clip-path: inset(0 0 0 0); }
[data-reveal-img].is-in img { transform: scale(1.08); }
[data-parallax-img] { will-change: transform; }

.no-js [data-reveal], .no-js [data-hero-in] { opacity: 1; transform: none; }
.no-js [data-reveal-img] { clip-path: none; }
.no-js [data-reveal-img] img { transform: none; }

/* ---------- Facts strip ---------- */
.facts { background: var(--sand); border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts__item { padding: 48px 24px; text-align: center; }
.facts__item + .facts__item { border-left: 1px solid var(--line); }
.facts__icon { width: 30px; height: 30px; margin: 0 auto 18px; color: var(--ink); }
.facts__title { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.facts__item p { margin: 0 auto; font-size: 13px; line-height: 1.6; max-width: 210px; color: var(--muted); }

/* ---------- Room showcase ---------- */
.rooms-anchor { position: relative; top: 0; }
.room { background: var(--sand); padding: var(--section) 0; }
.room + .room { padding-top: 0; }
.room--flip { background: var(--sand); }
.room__grid {
	display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center;
}
.room--flip .room__grid { grid-template-columns: 7fr 5fr; }
.room--flip .room__text { order: 2; }
.room__text { text-align: center; max-width: 380px; justify-self: center; font-size: 15px; }
.room__media { position: relative; }
.room__media .img-reveal { aspect-ratio: 4 / 3; }
.badge-circle {
	position: absolute; left: 0; bottom: 0; transform: translate(-30%, 30%);
	width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: var(--white);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	font-size: 12px; font-weight: 500; letter-spacing: .16em; line-height: 1.25; text-transform: uppercase; text-align: center;
	transition: transform .6s var(--ease-out), background .4s var(--ease);
	z-index: 2;
}
.room--flip .badge-circle { left: auto; right: 0; transform: translate(30%, 30%); }
.badge-circle .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.badge-circle:hover { transform: translate(-30%, 30%) scale(1.08); background: var(--blue); }
.room--flip .badge-circle:hover { transform: translate(30%, 30%) scale(1.08); }
.badge-circle:hover .icon { transform: translateY(4px); }

.room__foot {
	display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: center; margin-top: clamp(60px, 8vw, 120px);
}
.room--flip .room__foot { grid-template-columns: 5fr 7fr; }
.room--flip .room__thumb { order: 2; }
.room__thumb { aspect-ratio: 16 / 9; max-width: 560px; justify-self: end; width: 100%; }
.room--flip .room__thumb { justify-self: start; }
.room__aside {
	font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; color: var(--ink);
	max-width: 420px; margin: 0; letter-spacing: .02em;
}

/* ---------- Suite ---------- */
.suite { background: var(--white); }
.suite__banner { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--white); }
.suite__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.suite__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.suite__banner-inner { position: relative; z-index: 1; }
.suite__sub { font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .16em; text-transform: uppercase; margin-top: 22px; }
.suite__body {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
	padding-top: var(--section); padding-bottom: var(--section);
}
.suite__intro { max-width: 460px; font-size: 16px; }
.suite__intro .btn { margin-top: 18px; }
.suite__media { aspect-ratio: 4 / 5; margin-top: calc(var(--section) * -1.6); position: relative; z-index: 2; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.suite__points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.suite__points li { padding: 44px 36px 8px 0; position: relative; }
.suite__points li + li { padding-left: 36px; border-left: 1px solid var(--line); }
.suite__num { position: absolute; top: 44px; right: 36px; font-family: var(--f-display); font-size: 40px; color: var(--line); line-height: 1; }
.suite__points .icon { width: 30px; height: 30px; margin-bottom: 22px; color: var(--ink); }
.suite__points h3 { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.suite__points p { font-size: 14px; color: var(--muted); max-width: 300px; }

/* ---------- Amenities ---------- */
.amenities { background: var(--sand-2); padding: var(--section) 0; }
.amenities__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; margin-bottom: clamp(60px, 7vw, 100px); }
.amenities__head p:last-child { max-width: 480px; margin-top: 28px; }
.amenities__media { aspect-ratio: 3 / 2; }
.amenities__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.amenity { padding: 40px 28px 0 0; }
.amenity + .amenity { padding-left: 28px; border-left: 1px solid var(--line); }
.amenity__icon { width: 28px; height: 28px; margin-bottom: 20px; color: var(--ink); }
.amenity__title { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
.amenity li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.amenity li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--blue); }

/* ---------- Dining ---------- */
.dining { background: var(--white); padding: var(--section) 0; }
.dining__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.dining__media { aspect-ratio: 4 / 5; }
.dining__list { margin: 34px 0 28px; border-top: 1px solid var(--line); }
.dining__list li { display: grid; grid-template-columns: 34px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.dining__list .icon { width: 28px; height: 28px; color: var(--ink); }
.dining__list h3 { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 6px; }
.dining__list p { margin: 0; font-size: 14px; }
.dining__note { font-family: var(--f-display); font-size: 24px; color: var(--ink); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--sand); padding: var(--section) 0; overflow: hidden; }
.gallery__filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery__filter { padding: 22px 28px; text-align: center; position: relative; display: grid; gap: 4px; }
.gallery__filter + .gallery__filter { border-left: 1px solid var(--line); }
.gallery__filter-name { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.gallery__filter-sub { font-size: 11px; color: var(--muted); opacity: .8; letter-spacing: .04em; }
.gallery__filter::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.gallery__filter.is-active .gallery__filter-name, .gallery__filter:hover .gallery__filter-name { color: var(--ink); }
.gallery__filter.is-active::after { transform: scaleX(1); }

.slider { position: relative; }
.slider__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 0 var(--gutter); scrollbar-width: none; cursor: grab;
	scroll-padding-left: var(--gutter);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slider__slide { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.slider__slide:nth-child(3n+2) { flex-basis: clamp(300px, 38vw, 560px); }
.slider__slide.is-hidden { display: none; }
.slider__open { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.slider__slide:nth-child(3n+2) .slider__open { aspect-ratio: 5 / 4; }
.slider__open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); user-select: none; }
.slider__open:hover img { transform: scale(1.06); }
.slider__slide figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.slider__controls { display: flex; align-items: center; gap: 32px; margin-top: 44px; }
.slider__progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.slider__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--ink); transition: transform .3s var(--ease), width .3s var(--ease); }
.slider__arrows { display: flex; gap: 12px; }

/* ---------- Booking ---------- */
.booking { background: var(--white); padding: var(--section) 0; }
.room-options {
	display: grid; grid-template-columns: 220px repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: clamp(60px, 7vw, 100px);
}
.room-options__head {
	background: var(--blue); color: var(--white); display: grid; place-items: center; padding: 24px;
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; text-align: center;
}
.room-option {
	display: grid; gap: 8px; align-content: start; text-align: center; padding: 36px 28px;
	border-left: 1px solid var(--line); transition: background .4s var(--ease);
}
.room-option:hover, .room-option.is-selected { background: var(--sand-2); }
.room-option__name { font-family: var(--f-display); font-size: 34px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); line-height: 1.1; }
.room-option__count { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
.room-option__desc { font-size: 13px; color: var(--muted); max-width: 240px; margin: 4px auto 0; }
.room-option__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.room-option__cta .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.room-option:hover .room-option__cta .icon { transform: translateX(5px); }
.room-option.is-selected .room-option__cta { color: var(--blue); }

.booking__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.booking__intro p { margin-top: 22px; max-width: 360px; }
.booking__quick { display: grid; gap: 12px; margin-top: 32px; max-width: 320px; }
.booking__quick .icon { width: 18px; height: 18px; }

.enquiry {
	display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px;
	background: var(--sand-2); padding: clamp(28px, 4vw, 56px);
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	padding: 10px 0; outline: none; transition: border-color .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right center; background-size: 18px; padding-right: 26px;
}
.field textarea { resize: vertical; min-height: 80px; }
.phone-field { display: grid; grid-template-columns: minmax(96px, 42%) 1fr; gap: 14px; }
.phone-field select { font-size: 14px; text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.enquiry__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.enquiry__actions .icon { width: 18px; height: 18px; }
.enquiry__notice { grid-column: 1 / -1; margin: 0; padding: 14px 18px; font-size: 14px; border-left: 2px solid; }
.enquiry__notice--ok { border-color: var(--blue); background: rgba(105, 146, 178, .1); }
.enquiry__notice--err { border-color: #b3261e; background: rgba(179, 38, 30, .06); }
.field.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { border-color: var(--line); } 30% { border-color: var(--blue); box-shadow: 0 2px 0 var(--blue); } }

/* ---------- About ---------- */
.about { background: var(--mist); padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__content header { margin-bottom: 32px; }
.about__content p { max-width: 560px; }
.about__close { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); color: var(--ink); margin-top: 28px; letter-spacing: .03em; }
.about__media { aspect-ratio: 4 / 5; }
.discover { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }
.discover__label { font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.discover__circle { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .4s; }
.discover__circle .icon { width: 20px; height: 20px; }
.discover:hover .discover__circle { transform: scale(1.12); background: var(--blue); }

/* ---------- Location ---------- */
.location { background: var(--white); padding: var(--section) 0; }
.location__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.location__content header p { margin-top: 28px; max-width: 460px; }
.location__address { margin: 36px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location__address address { font-size: 16px; line-height: 1.8; color: var(--ink); }
.location__link { margin-top: 18px; font-size: 13px; }
.location__link a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.location__link a:hover { border-color: var(--ink); }
.location__map { aspect-ratio: 4 / 3; background: var(--sand); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.55) contrast(1.05); transition: filter .6s; }
.location__map:hover iframe { filter: none; }

/* ---------- Nearby ---------- */
.nearby { background: var(--sand-3); padding: var(--section) 0; }
.nearby__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 36px; }
.place__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; }
.place__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.place:hover .place__media img { transform: scale(1.07); }
.place__num { position: absolute; left: 18px; bottom: 12px; font-family: var(--f-display); font-size: 44px; color: var(--white); line-height: 1; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.place__title { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.place p { font-size: 14px; margin: 0; max-width: 380px; }

/* ---------- Local flavours ---------- */
.local { background: var(--white); padding: var(--section) 0; }
.local__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.local__list li { padding: 48px 40px; text-align: center; }
.local__list li + li { border-left: 1px solid var(--line); }
.local__list .icon { width: 30px; height: 30px; margin: 0 auto 20px; color: var(--ink); }
.local__list h3 { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px; }
.local__list p { margin: 0 auto; font-size: 14px; color: var(--muted); max-width: 280px; }

/* ---------- Airport ---------- */
.airport { position: relative; overflow: hidden; color: var(--white); padding: var(--section) 0; }
.airport__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.airport__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18, 24, 30, .62), rgba(18, 24, 30, .78)); }
.airport__inner { position: relative; z-index: 1; }
.airport .section-head__text { color: rgba(255, 255, 255, .9); }
.airport__label { text-align: center; }
.airport__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .25); }
.airport__list li { padding: 40px 28px 0; text-align: center; }
.airport__list li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.airport__list .icon { width: 30px; height: 30px; margin: 0 auto 18px; }
.airport__list h3 { color: var(--white); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.airport__list p { font-size: 14px; color: rgba(255, 255, 255, .82); margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; background: var(--sand); padding: var(--section) var(--gutter); display: grid; place-items: center; min-height: 90vh; overflow: hidden; }
.final-cta__media { position: absolute; inset: 0; }
.final-cta__media.is-in img { transform: scale(1.04); }
.final-cta__card {
	position: relative; z-index: 1; background: var(--white); text-align: center;
	padding: clamp(40px, 6vw, 84px) clamp(28px, 6vw, 90px); max-width: 780px;
	box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .5);
}
.final-cta__card .display { font-size: clamp(30px, 3.8vw, 52px); margin-bottom: 26px; }
.final-cta__card > p:not(.eyebrow) { max-width: 480px; margin-left: auto; margin-right: auto; }
.final-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.final-cta__btns .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); color: var(--text); padding: clamp(70px, 8vw, 110px) 0 30px; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer .logo { color: var(--ink); align-items: flex-start; }
.site-footer .logo__name, .site-footer .logo__sub { margin-right: 0; }
.site-footer__tag { margin: 22px 0 18px; max-width: 280px; }
.site-footer__address { font-size: 14px; line-height: 1.8; }
.site-footer .eyebrow { color: var(--ink); margin-bottom: 22px; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a { position: relative; }
.footer-links a:hover { color: var(--blue); }
.footer-links--contact span { display: inline-block; min-width: 86px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.site-footer__follow { margin-top: 34px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .35s, color .35s, border-color .35s; }
.social a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.site-footer__bottom p { margin: 0; }

/* ---------- Floating CTA ---------- */
.float-cta {
	position: fixed; z-index: 80; left: 50%; bottom: 26px;
	transform: translate(-50%, 140%); opacity: 0;
	background: var(--blue); color: var(--white);
	min-height: 56px; padding: 0 44px; display: inline-flex; align-items: center;
	font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
	box-shadow: 0 16px 40px -14px rgba(30, 55, 75, .7);
	transition: transform .7s var(--ease-out), opacity .5s var(--ease), background .3s;
}
.float-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
.float-cta:hover { background: var(--blue-dark); }

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 200; background: rgba(15, 16, 18, .94);
	display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lightbox__figure { grid-column: 2; margin: 0 auto; text-align: center; color: #fff; }
.lightbox__figure img { max-height: 82vh; width: auto; margin: 0 auto; transform: scale(.96); transition: transform .6s var(--ease-out), opacity .3s; }
.lightbox.is-open .lightbox__figure img { transform: none; }
.lightbox__figure figcaption { margin-top: 16px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.lightbox__close { position: absolute; top: 22px; right: 22px; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; }
.lightbox__nav { color: #fff; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; display: grid; place-items: center; justify-self: center; transition: background .3s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .12); }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__figure { grid-row: 1; }
.lightbox .icon { width: 22px; height: 22px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--sand); padding: calc(var(--header-h) + clamp(60px, 8vw, 120px)) 0 clamp(50px, 6vw, 90px); text-align: center; }
.page-hero--center { min-height: 80vh; display: grid; place-items: center; }
.page-hero--center .btn { margin-top: 30px; }
.page-body { padding: clamp(60px, 7vw, 110px) 0; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2, .entry-content h3 { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin-top: 1.6em; }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 26px; }
.entry-content a { color: var(--blue); border-bottom: 1px solid currentColor; }
.entry-content ul { list-style: disc; padding-left: 1.2em; }
.entry-media { margin-bottom: 40px; }
.post-list { display: grid; gap: 70px; }
.post-card__media { display: block; overflow: hidden; margin-bottom: 22px; }
.post-card__title { font-family: var(--f-display); font-size: 34px; text-transform: uppercase; margin-bottom: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.primary-nav { display: none; }
	.nav-toggle { display: block; }
	.site-header__inner { grid-template-columns: 1fr auto 1fr; }
	.nav-toggle { grid-column: 1; justify-self: start; }
	.site-header__logo { grid-column: 2; }
	.site-header__actions { grid-column: 3; justify-self: end; }
	.facts__list { grid-template-columns: repeat(3, 1fr); }
	.facts__item:nth-child(4) { border-left: 0; }
	.facts__item:nth-child(n+4) { border-top: 1px solid var(--line); }
	.amenities__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.amenity:nth-child(4) { padding-left: 0; border-left: 0; }
	.room-options { grid-template-columns: repeat(3, 1fr); }
	.room-options__head { grid-column: 1 / -1; padding: 16px; }
	.room-option:first-of-type { border-left: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	:root { --header-h: 72px; }
	.site-header__book { display: none; }
	.hero__info { grid-template-columns: repeat(2, 1fr); }
	.hero__info li { padding: 16px 12px; font-size: 10px; letter-spacing: .16em; }
	.hero__info li:nth-child(3) { border-left: 0; }
	.hero__info li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
	.hero__content { padding-bottom: 170px; }
	.hero__toggle, .hero__scroll { bottom: 150px; }
	.hero__scroll { display: none; }

	.room__grid, .room--flip .room__grid,
	.room__foot, .room--flip .room__foot,
	.suite__body, .amenities__top, .dining__grid, .booking__grid, .about__grid, .location__grid { grid-template-columns: 1fr; }
	.room--flip .room__text, .room--flip .room__thumb { order: 0; }
	.room__text { max-width: 560px; order: 2; }
	.room__media { order: 1; margin: 0 0 30px; }
	.badge-circle, .room--flip .badge-circle { width: 104px; height: 104px; font-size: 10px; left: auto; right: 20px; transform: translateY(40%); }
	.badge-circle:hover, .room--flip .badge-circle:hover { transform: translateY(40%) scale(1.06); }
	.room__thumb, .room--flip .room__thumb { justify-self: stretch; max-width: none; }
	.room__aside { text-align: center; margin: 0 auto; }

	.suite__banner { min-height: 70vh; }
	.suite__media { margin-top: 0; aspect-ratio: 4 / 3; }
	.suite__points { grid-template-columns: 1fr; }
	.suite__points li, .suite__points li + li { padding: 32px 0; border-left: 0; }
	.suite__points li + li { border-top: 1px solid var(--line); }
	.suite__num { top: 32px; right: 0; }

	.amenities__grid { grid-template-columns: repeat(2, 1fr); }
	.amenity, .amenity + .amenity { padding: 32px 20px 0 0; border-left: 0; }
	.amenity:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
	.dining__media { aspect-ratio: 4 / 3; }
	.about__media { aspect-ratio: 4 / 3; order: -1; }
	.nearby__grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
	.local__list, .airport__list { grid-template-columns: 1fr 1fr; }
	.local__list li:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
	.airport__list li:nth-child(3) { border-left: 0; }
	.airport__list li { padding-bottom: 32px; }
	.airport__list li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .25); }
	.lightbox { grid-template-columns: 56px 1fr 56px; }
	.lightbox__nav { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
	body { font-size: 14px; }
	.btn { min-height: 50px; padding: 0 24px; font-size: 12px; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.logo__name { font-size: 24px; }
	.facts__list { grid-template-columns: 1fr 1fr; }
	.facts__item { padding: 32px 14px; }
	.facts__item:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
	.facts__item:nth-child(even) { border-left: 1px solid var(--line); }
	.facts__item:nth-child(-n+2) { border-top: 0; }
	.facts__item:last-child { grid-column: 1 / -1; }
	.amenities__grid, .nearby__grid, .local__list, .airport__list { grid-template-columns: 1fr; }
	.amenity:nth-child(even) { padding-left: 0; border-left: 0; }
	.local__list li + li, .airport__list li + li { border-left: 0; border-top: 1px solid var(--line); }
	.airport__list li + li { border-top-color: rgba(255, 255, 255, .25); }
	.room-options { grid-template-columns: 1fr; }
	.room-option { border-left: 0; border-top: 1px solid var(--line); padding: 26px 20px; }
	.enquiry { grid-template-columns: 1fr; }
	.enquiry__actions .btn { flex: 1 1 100%; }
	.gallery__filter { padding: 16px 14px; flex: 1 1 50%; }
	.gallery__filter-sub { display: none; }
	.gallery__filter::after { left: 14px; right: 14px; }
	.slider__slide, .slider__slide:nth-child(3n+2) { flex-basis: 78vw; }
	.slider__slide:nth-child(3n+2) .slider__open { aspect-ratio: 4 / 5; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
	.float-cta { bottom: 16px; padding: 0 30px; min-height: 50px; font-size: 12px; }
	.lightbox__nav { position: absolute; bottom: 24px; }
	.lightbox__nav--prev { left: 30%; }
	.lightbox__nav--next { right: 30%; }
	.lightbox__figure { grid-column: 1 / -1; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	[data-reveal], [data-hero-in] { opacity: 1 !important; transform: none !important; }
	[data-reveal-img] { clip-path: none !important; }
}
