/* Brand pass. Photography stays where it is true. Everything else is Carlisle colour, type, and shape. */

.page-intro.scene,
.book-intro.scene,
.about-read.scene,
.about-place.scene,
.promo-row.scene,
.gallery-page .scene {
	min-height: 0;
	height: auto;
}

.page-intro {
	padding: calc(var(--carlisle-sticky-offset, 5.25rem) + 2.4rem) 7vw 1.6rem;
	background:
		radial-gradient(42rem 16rem at 100% 0%, rgba(107, 41, 71, 0.1), transparent 60%),
		linear-gradient(180deg, #fbf7f0, #f7f3ea);
	color: #1c1714;
}

.page-intro h1,
.book-intro h1,
.about-read h1 {
	margin: 0.15rem 0 0.8rem;
	max-width: 16ch;
	color: #1c1714;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	line-height: 0.96;
}

.page-intro .lede,
.page-intro p,
.book-intro .lede,
.about-read p {
	max-width: 38rem;
	color: #2c2622;
	font-size: 1.125rem;
	line-height: 1.7;
}

.page-intro__actions,
.book-intro__actions,
.about-read__actions,
.about-place__actions,
.promo__actions,
.rooms-day__actions,
.rooms-close__actions,
.arrival-scene__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.15rem;
}

.btn {
	min-height: 2.75rem;
	padding: 0.75rem 1.15rem;
	letter-spacing: 0.01em;
}

.arrival-scene__actions .btn--ghost,
.plate .btn--ghost,
.promo .btn--ghost,
.service-scene:not(:has(figure)) .btn--ghost {
	color: #f7f3ea;
	border-color: rgba(247, 243, 234, 0.72);
	background: rgba(20, 17, 15, 0.22);
}

.arrival-scene__actions .btn--ghost:hover,
.promo .btn--ghost:hover,
.service-scene:not(:has(figure)) .btn--ghost:hover {
	color: #1c1714;
	background: #f7f3ea;
}

.promo .btn--green {
	background: #f7f3ea;
	color: #1c1714;
}

.promo .btn--green:hover {
	background: #ffffff;
	color: #1c1714;
}

.pin-beat .btn--green,
.service-scene:not(:has(figure)) .btn--green {
	color: #ffffff;
}

.pin-beat .btn--ghost {
	color: #6b2947;
	border-color: rgba(107, 41, 71, 0.45);
	background: transparent;
}

/* Open menu: scanable links, not hero type. */

.site-header .site-nav.is-open {
	width: min(23.5rem, 100vw);
	min-height: 0;
	height: auto;
	max-height: calc(100dvh - 4.5rem);
	padding: 1rem 1.2rem 1.5rem;
	gap: 0;
	justify-content: flex-start;
	align-content: flex-start;
	overflow: auto;
}

.site-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin-bottom: 0.35rem;
}

.site-nav__title,
.site-nav__label {
	margin: 0;
	font-family: "DM Sans", "Segoe UI", sans-serif;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #c4a574;
}

.site-nav__group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.site-nav__label {
	margin-top: 0.95rem;
	margin-bottom: 0.15rem;
}

.nav-close {
	border: 1px solid rgba(247, 243, 234, 0.5);
	background: transparent;
	color: #f7f3ea;
	border-radius: 999px;
	font: inherit;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.4rem 0.8rem;
	cursor: pointer;
}

.nav-close:hover,
.nav-close:focus-visible {
	background: #f7f3ea;
	color: #1c1714;
	outline: 2px solid #c4a574;
	outline-offset: 3px;
}

.site-header .site-nav.is-open a,
.site-header .site-nav.is-open .site-nav__group a {
	font-family: "DM Sans", "Segoe UI", sans-serif;
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	padding: 0.42rem 0.15rem;
	color: #f7f3ea;
}

.site-header .site-nav.is-open a:hover,
.site-header .site-nav.is-open a:focus-visible {
	color: #f3e6c8;
}

@media (max-width: 800px) {
	.site-header .site-nav.is-open {
		left: 0;
		right: 0;
		width: 100%;
		height: 100dvh;
		max-height: none;
		min-height: 100dvh;
		padding: 4.6rem 1.25rem 2rem;
	}

	.site-header .site-nav.is-open a,
	.site-header .site-nav.is-open .site-nav__group a {
		font-size: 1.05rem;
		padding: 0.5rem 0.15rem;
	}
}

/* Booking bar. */

.book-bar:not(.book-bar--quiet),
.book-bar.is-open {
	display: grid;
	grid-template-columns: minmax(7.5rem, auto) minmax(0, 1fr) auto;
	align-items: end;
	gap: 0.85rem 1.15rem;
	margin: 0.55rem 0.7rem 0.65rem;
	padding: 0.85rem 1rem 0.95rem;
	color: #f7f3ea;
	background:
		radial-gradient(36rem 9rem at 0% 0%, rgba(13, 96, 122, 0.5), transparent 62%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 11px),
		linear-gradient(110deg, #16343c 0%, #14110f 52%, #3d2230 100%);
	border: 1px solid rgba(196, 165, 116, 0.4);
	border-radius: 1.15rem;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.book-bar__kicker,
.book-bar__title {
	margin: 0;
	color: #f7f3ea;
}

.book-bar__kicker {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #e7d7bc;
}

.book-bar__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.85rem;
	font-weight: 500;
	line-height: 0.95;
}

.book-bar label {
	color: #e7d7bc;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	gap: 0.35rem;
}

.book-bar input {
	color-scheme: dark;
	border: 1px solid rgba(247, 243, 234, 0.28);
	border-radius: 0.65rem;
	background: rgba(247, 243, 234, 0.08);
	color: #f7f3ea;
	min-height: 2.7rem;
	padding: 0.45rem 0.65rem;
	font-size: 1rem;
}

.book-bar__go {
	align-self: end;
	min-height: 2.7rem;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	background: #2f7a45;
	color: #ffffff;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}

.book-bar__go:hover,
.book-bar__go:focus-visible {
	background: #27683b;
	color: #ffffff;
}

.book-bar:not(.book-bar--quiet) .book-bar__open {
	display: none;
}

.book-bar--quiet:not(.is-open) {
	display: flex;
	margin: 0;
	padding: 0.45rem 1.1rem;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: #f3efe6;
	color: #1c1714;
}

.book-bar--quiet:not(.is-open) .book-bar__intro,
.book-bar--quiet:not(.is-open) .book-bar__fields,
.book-bar--quiet:not(.is-open) .book-bar__go {
	display: none;
}

.book-bar--quiet:not(.is-open) .book-bar__open {
	display: inline-flex;
	background: transparent;
	color: #1c1714;
	padding: 0.35rem 0;
}

@media (min-width: 641px) {
	.book-bar:not(.book-bar--quiet) .book-bar__fields {
		display: grid;
	}

	.book-bar:not(.book-bar--quiet) .book-bar__intro,
	.book-bar:not(.book-bar--quiet) .book-bar__go {
		display: block;
	}

	.book-bar:not(.book-bar--quiet) .book-bar__open {
		display: none;
	}
}

@media (max-width: 980px) {
	.book-bar:not(.book-bar--quiet),
	.book-bar.is-open {
		grid-template-columns: 1fr auto;
	}

	.book-bar__fields {
		grid-column: 1 / -1;
	}

	.book-bar__go {
		grid-column: 2;
		grid-row: 1;
	}
}

@media (max-width: 640px) {
	.book-bar,
	.book-bar:not(.book-bar--quiet),
	.book-bar.is-open {
		grid-template-columns: 1fr;
		margin: 0.35rem;
	}

	.book-bar__go {
		grid-column: auto;
		grid-row: auto;
	}

	.book-bar .book-bar__open,
	.book-bar:not(.book-bar--quiet) .book-bar__open {
		display: flex;
		width: 100%;
		justify-content: space-between;
		background: transparent;
		color: #f7f3ea;
		padding: 0.45rem 0.2rem;
	}

	.book-bar:not(.is-open) .book-bar__intro,
	.book-bar:not(.is-open) .book-bar__fields,
	.book-bar:not(.is-open) .book-bar__go {
		display: none;
	}

	.book-bar.is-open .book-bar__open {
		display: none;
	}

	.book-bar.is-open .book-bar__intro {
		display: block;
	}

	.book-bar.is-open .book-bar__fields {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.book-bar.is-open .book-bar__go {
		display: inline-flex;
		width: 100%;
	}

	.book-bar--quiet:not(.is-open) .book-bar__open {
		color: #1c1714;
	}
}

/* Book page. */

.book-intro {
	display: grid;
	grid-template-columns: minmax(18rem, 1.05fr) minmax(16rem, 0.9fr);
	gap: 1.5rem 2.5rem;
	align-items: end;
	padding: calc(var(--carlisle-sticky-offset, 5.25rem) + 2rem) 6vw 2rem;
	background:
		radial-gradient(40rem 18rem at 0% 0%, rgba(13, 96, 122, 0.12), transparent 58%),
		linear-gradient(180deg, #fbf7f0, #f3ece2);
}

.book-intro__frame {
	margin: 0;
}

.book-intro__frame img {
	width: 100%;
	height: min(46vh, 24rem);
	object-fit: cover;
	border-radius: 1.15rem;
	display: block;
}

.book-page .book-flow.scene {
	background:
		linear-gradient(180deg, rgba(232, 225, 216, 0.45), #f7f3ea 8rem);
}

.book-page .steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1.3rem;
	padding: 0;
	list-style: none;
}

.book-page .steps li {
	padding: 0.38rem 0.75rem;
	border-radius: 999px;
	background: rgba(28, 23, 20, 0.06);
	font-size: 0.82rem;
}

.book-page .steps li[aria-current="step"] {
	background: #1c1714;
	color: #f7f3ea;
}

.book-page .room-card {
	background: #ffffff;
	border: 1px solid rgba(28, 23, 20, 0.08);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(28, 23, 20, 0.05);
}

.book-page .room-card.is-selected {
	outline: 2px solid #2f7a45;
	box-shadow: 0 0 0 5px rgba(47, 122, 69, 0.16);
}

.room-card__chosen {
	margin: 0 0 0.3rem;
	color: #2f7a45;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.book-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.75rem 0;
	padding: 0;
	list-style: none;
}

.book-amenities li {
	padding: 0.22rem 0.6rem;
	border: 1px solid rgba(28, 23, 20, 0.14);
	border-radius: 999px;
	font-size: 0.8rem;
	line-height: 1.4;
}

.stay-summary {
	border-top: 4px solid #6b2947;
	background: #ffffff;
}

.book-page .empty,
.order-stage .empty,
.menu-board .empty {
	padding: 1.4rem 1.3rem;
	border: 1px solid rgba(28, 23, 20, 0.12);
	border-radius: 1rem;
	background: #ffffff;
}

.book-page .panel,
.book-page .stay-form {
	background: #ffffff;
	border: 1px solid rgba(28, 23, 20, 0.08);
	border-radius: 1rem;
	box-shadow: 0 12px 30px rgba(28, 23, 20, 0.04);
}

.plate.plate--short {
	height: min(68vh, 34rem);
	min-height: 18rem;
}

/* Promotional creative. */

.promo-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	padding: 1.25rem 5vw 2.2rem;
	background: #f7f3ea;
}

.promo-row--single {
	grid-template-columns: minmax(16rem, 36rem);
}

.gallery-page .promo-row {
	padding-top: 0.5rem;
}

.promo {
	position: relative;
	overflow: hidden;
	min-height: 16rem;
	padding: 1.5rem 1.4rem 1.35rem;
	color: #f7f3ea;
	border-radius: 1.15rem;
	isolation: isolate;
}

.promo h2,
.promo p {
	color: #f7f3ea;
}

.promo h2 {
	position: relative;
	z-index: 1;
	margin: 0.2rem 0 0.55rem;
	max-width: 14ch;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 500;
	line-height: 0.96;
}

.promo p {
	position: relative;
	z-index: 1;
	max-width: 34rem;
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
}

.promo__kicker {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #f3e6c8;
}

.promo__mark {
	position: absolute;
	z-index: 0;
	right: -2.2rem;
	top: -2.4rem;
	width: 10rem;
	height: 10rem;
	border: 1px solid rgba(247, 243, 234, 0.28);
	border-radius: 50%;
}

.promo__mark::after {
	content: "";
	position: absolute;
	inset: 1.3rem;
	border: 1px solid rgba(247, 243, 234, 0.2);
	border-radius: 50%;
}

.promo__actions {
	position: relative;
	z-index: 1;
}

.promo--restaurant {
	background:
		radial-gradient(circle at 100% 0%, rgba(243, 230, 200, 0.28), transparent 36%),
		linear-gradient(145deg, #6b2947 0%, #3e1a2b 58%, #0d607a 160%);
}

.promo--bar {
	background:
		radial-gradient(circle at 0% 100%, rgba(47, 122, 69, 0.45), transparent 42%),
		linear-gradient(160deg, #0d607a 0%, #14323c 50%, #1c1714 100%);
}

.promo--stay {
	background:
		radial-gradient(circle at 100% 100%, rgba(247, 243, 234, 0.2), transparent 40%),
		linear-gradient(150deg, #2f7a45 0%, #143c28 72%);
}

.promo--events,
.promo--house {
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 8px, transparent 8px 16px),
		linear-gradient(160deg, #6b2947 0%, #1c1714 78%);
}

.menu-story > .order-switch,
.menu-story > .order-switch__note {
	grid-column: 1 / -1;
	margin-right: 6vw;
	margin-left: 6vw;
}

.menu-story > .order-switch {
	margin-top: 1.35rem;
}

.menu-story > .promo {
	margin: 0 6vw 2rem 0;
	align-self: center;
}

.order-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.order-switch a {
	text-decoration: none;
	border-radius: 999px;
	padding: 0.55rem 0.95rem;
	border: 1px solid rgba(28, 23, 20, 0.16);
	background: #ffffff;
	color: #1c1714;
	font-weight: 600;
	font-size: 0.95rem;
}

.order-switch a[aria-current="page"] {
	background: #1c1714;
	border-color: #1c1714;
	color: #f7f3ea;
}

.order-switch__cart {
	margin-left: auto;
	background: #2f7a45;
	border-color: #2f7a45;
	color: #ffffff;
}

.order-switch a.order-switch__cart,
.order-switch a.order-switch__cart:hover {
	background: #2f7a45;
	border-color: #2f7a45;
	color: #ffffff;
}

.order-switch__note {
	margin: 0.45rem 0 0;
	color: #5c564e;
	font-size: 0.92rem;
}

.menu-card h3 {
	font-size: 1.35rem;
	line-height: 1.2;
}

.menu-card__desc {
	line-height: 1.55;
}

/* About. Text sits on a solid ground. The photograph does not carry the copy. */

.about-read {
	display: grid;
	grid-template-columns: minmax(0, 40rem) minmax(16rem, 1fr);
	gap: 2rem 3rem;
	align-items: start;
	padding: calc(var(--carlisle-sticky-offset, 5.25rem) + 2.2rem) 7vw 3rem;
	background: #f7f3ea;
	color: #1c1714;
}

.about-read h1,
.about-read h2,
.about-read p {
	color: #1c1714;
}

.about-read h2 {
	margin: 1.5rem 0 0.45rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.05;
}

.about-read__photo {
	margin: 0.4rem 0 0;
}

.about-read__photo img {
	width: 100%;
	height: min(64vh, 32rem);
	object-fit: cover;
	border-radius: 1.15rem;
	display: block;
}

.about-place {
	display: grid;
	grid-template-columns: minmax(16rem, 0.75fr) minmax(16rem, 1.1fr);
	gap: 1.5rem 2rem;
	align-items: center;
	padding: 2rem 7vw 3rem;
	background: #efe8dc;
	color: #1c1714;
}

.about-place h2,
.about-place p {
	color: #1c1714;
}

.about-place .asaba-lines {
	width: 100%;
	height: auto;
	color: #0d607a;
}

/* Contact. */

.contact-board {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	padding: 0.2rem 6vw 1.2rem;
	background: #f7f3ea;
}

.contact-card {
	padding: 1.45rem 1.4rem 1.5rem;
	border: 1px solid rgba(28, 23, 20, 0.1);
	border-radius: 1.15rem;
	background:
		linear-gradient(180deg, rgba(13, 96, 122, 0.07), transparent 42%),
		#ffffff;
	color: #1c1714;
}

.contact-card h2,
.contact-card p {
	color: #1c1714;
}

.contact-card h2 {
	margin: 0.25rem 0 0.55rem;
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	line-height: 1;
}

.contact-card__address {
	font-size: 1.15rem;
	line-height: 1.6;
	max-width: 28rem;
}

.contact-card__direct {
	margin: 0.35rem 0 1rem;
	padding: 0;
	list-style: none;
	font-size: 1.15rem;
	line-height: 1.6;
}

.contact-card__direct a {
	color: #1c1714;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.contact-page .contact-layout {
	display: grid;
	grid-template-columns: minmax(16rem, 0.85fr) minmax(18rem, 1.1fr);
	gap: 1.2rem;
	align-items: start;
	background: #f7f3ea;
}

.contact-page .map-frame {
	width: 100%;
	min-height: 22rem;
	height: 100%;
	border: 0;
	border-radius: 1rem;
	background: #e8e1d8;
}

.contact-page .enquiry-card {
	background: #ffffff;
	border-radius: 1rem;
	border: 1px solid rgba(28, 23, 20, 0.08);
}

/* Events touch-up. The bathroom photograph is not used. */

.events-ground__art,
.events-facts__art {
	min-height: 100%;
}

.events-ground__art .promo,
.events-facts__art .promo {
	height: 100%;
	min-height: 20rem;
	border-radius: 0;
}

.events-ground__copy p,
.events-facts__note,
.events-facts__note p {
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 38rem;
}

.events-hero__actions {
	margin-top: 0.8rem;
}

/* Gallery. Thumbnails on the page. The large view is the lightbox. */

.gallery-page {
	background: #f7f3ea;
}

.gallery-page .gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0.4rem 4vw 1.5rem;
}

.gallery-card {
	margin: 0;
	background: #ffffff;
	border: 1px solid rgba(28, 23, 20, 0.08);
	border-radius: 0.95rem;
	overflow: hidden;
	cursor: zoom-in;
}

.gallery-card img {
	width: 100%;
	height: 14.5rem;
	object-fit: cover;
	display: block;
}

.gallery-card figcaption {
	padding: 0.7rem 0.85rem 0.9rem;
	color: #2c2622;
	font-size: 0.92rem;
	line-height: 1.45;
}

.gallery-card__cat {
	display: block;
	margin-bottom: 0.15rem;
	color: #6b2947;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.gallery-card:hover,
.gallery-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(28, 23, 20, 0.1);
}

.lightbox {
	z-index: 120;
	background: rgba(20, 17, 15, 0.82);
}

.lightbox__dialog {
	background: #f7f3ea;
}

.lightbox__stage img {
	object-fit: contain;
	background: #1c1714;
}

/* Homepage keeps the booking bar pinned under the two scenes.
   Every other page grows with its content, so the bar follows the footer
   and cannot sit on top of a section. Chrome is the measured bar, including
   its margins, and only on the homepage. */

:root {
	--carlisle-chrome: 7.5rem;
}

body:not(.home) {
	--carlisle-chrome: 0px;
}

body.carlisle-site:not(.home) {
	height: auto;
	min-height: 100dvh;
	overflow: visible;
}

body:not(.home) .wp-site-blocks {
	height: auto;
	min-height: 100dvh;
	max-height: none;
}

body:not(.home) .page-scroll {
	flex: 1 1 auto;
	overflow: visible;
}

body:not(.home) .page-scroll:has(.scene) {
	scroll-snap-type: none;
}

html {
	scroll-padding-top: var(--carlisle-sticky-offset, 5.25rem);
}

.page-scroll {
	scroll-padding-top: var(--carlisle-sticky-offset, 5.25rem);
	scroll-padding-bottom: 0.75rem;
}

#enquiry,
#event-quote {
	scroll-margin-top: calc(var(--carlisle-sticky-offset, 5.25rem) + 0.75rem);
}

body.lightbox-open .book-bar {
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 900px) {
	.book-intro,
	.about-read,
	.about-place,
	.contact-board,
	.contact-page .contact-layout,
	.promo-row,
	.gallery-page .gallery-grid {
		grid-template-columns: 1fr 1fr;
	}

	.book-intro,
	.about-read,
	.about-place,
	.contact-board,
	.contact-page .contact-layout,
	.promo-row {
		grid-template-columns: 1fr;
	}

	.menu-story > .promo {
		margin: 0 6vw 1.5rem;
	}

	.order-switch__cart {
		margin-left: 0;
	}
}

@media (max-width: 700px) {
	.gallery-page .gallery-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.55rem;
		padding-right: 0.8rem;
		padding-left: 0.8rem;
	}

	.gallery-card img {
		height: 8.5rem;
	}

	.gallery-card figcaption {
		font-size: 0.8rem;
	}

	.page-intro,
	.book-intro,
	.about-read {
		padding-right: 1.15rem;
		padding-left: 1.15rem;
	}

	.book-intro__frame img,
	.about-read__photo img {
		height: 16rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gallery-card:hover {
		transform: none;
	}
}
