/*
Theme Name: Boufos Beach
Theme URI: https://www.boufosbeach.com
Author: Boufos Beach
Description: An elegant, minimal theme for Boufos Beach — a beachfront bar and restaurant in Sissi, Crete. Warm sand palette with a deep secondary tone, a one-page front page (hero, about, menu, beach, gallery, contact) and a built-in English / Greek language switch.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boufos
Tags: restaurant, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Sand */
	--bb-sand-50:  #FCF9F4;
	--bb-sand-100: #F7F1E7;
	--bb-sand-200: #EFE4D4;
	--bb-sand-300: #E0D0B8;
	--bb-sand-400: #C9B396;

	/* Accent + dark secondary (also set inline from the Customizer) */
	--bb-accent:      #8A6B4F;
	--bb-accent-soft: #A98B6C;
	--bb-ink:         #1E1915;

	/* Text */
	--bb-text:  #3B332B;
	--bb-muted: #7C7166;
	--bb-line:  rgba(138, 107, 79, 0.22);
	--bb-line-light: rgba(255, 255, 255, 0.18);

	/* Type */
	--bb-font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--bb-font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/*
	 * Background gradient stops. Every section fades from one stop to the next
	 * and the next section picks up exactly where the previous one ended, so
	 * there is never a visible line between two blocks.
	 */
	--bb-grad-1: #FFFFFF;
	--bb-grad-2: #FBF5EC;
	--bb-grad-3: #F3E8D8;

	/* Rounded photo corners */
	--bb-radius-sm: 10px;
	--bb-radius: clamp(14px, 1.6vw, 22px);
	--bb-radius-lg: clamp(18px, 2.4vw, 32px);

	/* Rhythm */
	--bb-section-y: clamp(4.5rem, 9vw, 9rem);
	--bb-wrap: 1220px;
	--bb-gutter: clamp(1.25rem, 5vw, 3rem);
	--bb-header-h: 84px;

	/* Motion */
	--bb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--bb-header-h);
}

body {
	margin: 0;
	background: var(--bb-grad-2);
	color: var(--bb-text);
	font-family: var(--bb-font-body);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.nav-open {
	overflow: hidden;
}

img,
svg,
iframe {
	max-width: 100%;
	display: block;
}

img {
	height: auto;
}

a {
	color: var(--bb-accent);
	text-decoration: none;
	transition: color 0.3s var(--bb-ease), opacity 0.3s var(--bb-ease);
}

a:hover,
a:focus-visible {
	color: var(--bb-ink);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

h1, h2, h3, h4 {
	font-family: var(--bb-font-display);
	font-weight: 400;
	line-height: 1.12;
	margin: 0;
	color: var(--bb-ink);
	letter-spacing: -0.005em;
}

p {
	margin: 0 0 1.25em;
}

p:last-child {
	margin-bottom: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

::selection {
	background: var(--bb-accent);
	color: #fff;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 999;
	background: var(--bb-ink);
	color: #fff;
	padding: 0.75rem 1.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

/* A whisper of film grain over the whole page — it keeps the large flat sand
   areas from looking like plastic. Never intercepts clicks. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 400;
	pointer-events: none;
	opacity: 0.045;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   3. Typography components
   ========================================================================== */

.eyebrow {
	font-size: 0.688rem;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin: 0 0 1.25rem;
}

.eyebrow--light {
	color: var(--bb-sand-300);
}

.section {
	padding-block: var(--bb-section-y);
	position: relative;
}

.section__head {
	max-width: 44rem;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section__head--center {
	margin-inline: auto;
	text-align: center;
}

.section__title {
	font-size: clamp(2.25rem, 5.6vw, 4.25rem);
	font-weight: 300;
	line-height: 1.03;
	letter-spacing: -0.018em;
	margin: 0;
	text-wrap: balance;
}

.section__title--light {
	color: var(--bb-sand-50);
}

.section__intro {
	font-size: 1.0625rem;
	color: var(--bb-muted);
	margin-top: 1.5rem;
	max-width: 40rem;
}

.section__head--center .section__intro {
	margin-inline: auto;
}

.rich-text p {
	margin-bottom: 1.4em;
}

.rich-text a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--bb-ink);
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--bb-line);
	transition: border-color 0.3s var(--bb-ease), gap 0.3s var(--bb-ease);
}

.link-arrow:hover,
.link-arrow:focus-visible {
	border-color: var(--bb-accent);
	gap: 1rem;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2.25rem;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 0;
	background: none;
	transition: background-color 0.35s var(--bb-ease),
		color 0.35s var(--bb-ease),
		border-color 0.35s var(--bb-ease),
		transform 0.35s var(--bb-ease);
	white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
}

.btn--sm {
	padding: 0.72rem 1.5rem;
	font-size: 0.66rem;
	letter-spacing: 0.2em;
}

.btn--solid {
	background: var(--bb-ink);
	color: var(--bb-sand-50);
	border-color: var(--bb-ink);
}

.btn--solid:hover,
.btn--solid:focus-visible {
	background: var(--bb-accent);
	border-color: var(--bb-accent);
	color: #fff;
}

.btn--outline {
	border-color: var(--bb-line);
	color: var(--bb-ink);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	border-color: var(--bb-ink);
	background: var(--bb-ink);
	color: var(--bb-sand-50);
}

.btn--solid-light {
	background: var(--bb-sand-50);
	color: var(--bb-ink);
	border-color: var(--bb-sand-50);
}

.btn--solid-light:hover,
.btn--solid-light:focus-visible {
	background: var(--bb-accent);
	border-color: var(--bb-accent);
	color: #fff;
}

.btn--outline-light {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
	background: rgba(255, 255, 255, 0.95);
	border-color: #fff;
	color: var(--bb-ink);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	transition: background-color 0.45s var(--bb-ease),
		box-shadow 0.45s var(--bb-ease),
		padding 0.45s var(--bb-ease);
	padding-block: 1.35rem;
}

.site-header__inner {
	width: 100%;
	max-width: var(--bb-wrap);
	margin-inline: auto;
	padding-inline: var(--bb-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-header__brand {
	flex: 0 0 auto;
}

.brand,
.custom-logo-link {
	display: block;
	line-height: 0;
}

.brand__mark,
.custom-logo {
	width: auto;
	height: 44px;
	transition: height 0.45s var(--bb-ease);
}

.brand__mark--light {
	display: none;
}

/* Transparent state, only on the front page without a custom logo */
body.header-transparent .site-header:not(.is-scrolled) .brand__mark--dark {
	display: none;
}

body.header-transparent .site-header:not(.is-scrolled) .brand__mark--light {
	display: block;
}

body.header-transparent .site-header:not(.is-scrolled) .nav-list > li > a,
body.header-transparent .site-header:not(.is-scrolled) .lang-switch__item,
body.header-transparent .site-header:not(.is-scrolled) .lang-switch__sep {
	color: rgba(255, 255, 255, 0.86);
}

body.header-transparent .site-header:not(.is-scrolled) .nav-list > li > a::after {
	background: #fff;
}

body.header-transparent .site-header:not(.is-scrolled) .nav-list > li > a:hover,
body.header-transparent .site-header:not(.is-scrolled) .lang-switch__item.is-active,
body.header-transparent .site-header:not(.is-scrolled) .lang-switch__item:hover {
	color: #fff;
}

body.header-transparent .site-header:not(.is-scrolled) .site-header__cta {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

body.header-transparent .site-header:not(.is-scrolled) .site-header__cta:hover,
body.header-transparent .site-header:not(.is-scrolled) .site-header__cta:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--bb-ink);
}

body.header-transparent .site-header:not(.is-scrolled) .nav-toggle__bars span {
	background: #fff;
}

/* Scrolled / solid state */
.site-header.is-scrolled,
body.header-solid .site-header {
	background: rgba(252, 249, 244, 0.94);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	box-shadow: 0 1px 0 var(--bb-line);
	padding-block: 0.85rem;
}

.site-header.is-scrolled .brand__mark,
body.header-solid .brand__mark,
.site-header.is-scrolled .custom-logo,
body.header-solid .custom-logo {
	height: 38px;
}

/* Desktop navigation */
.site-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.6vw, 2.6rem);
}

.nav-list > li > a {
	position: relative;
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bb-text);
	padding-block: 0.4rem;
}

.nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--bb-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s var(--bb-ease);
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Sub menus */
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 8px);
	min-width: 12rem;
	background: var(--bb-sand-50);
	border: 1px solid var(--bb-line);
	padding: 0.75rem 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--bb-ease), transform 0.3s var(--bb-ease);
}

.nav-list > li {
	position: relative;
}

.nav-list > li:hover .sub-menu,
.nav-list > li:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.nav-list .sub-menu a {
	display: block;
	padding: 0.5rem 1.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	color: var(--bb-text);
}

.site-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

/* Language switch */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
}

.lang-switch__item {
	color: var(--bb-muted);
	text-transform: uppercase;
}

.lang-switch__item.is-active {
	color: var(--bb-ink);
}

.lang-switch__sep {
	color: var(--bb-line);
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	margin-right: -0.5rem;
}

.nav-toggle__bars {
	display: block;
	width: 26px;
}

.nav-toggle__bars span {
	display: block;
	height: 1px;
	background: var(--bb-ink);
	transition: transform 0.4s var(--bb-ease), opacity 0.3s var(--bb-ease), background-color 0.4s var(--bb-ease);
}

.nav-toggle__bars span + span {
	margin-top: 7px;
}

body.nav-open .nav-toggle__bars span {
	background: var(--bb-ink);
}

/* While the overlay is open the header sits on top of it. The overlay is
   light, so the header keeps its dark logo and lets the overlay show through. */
body.nav-open .site-header {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Written at the same weight as the transparent-header rules above, so the
   dark wordmark wins while the light overlay is open. */
body.nav-open.header-transparent .site-header:not(.is-scrolled) .brand__mark--light,
body.nav-open .site-header .brand__mark--light {
	display: none;
}

body.nav-open.header-transparent .site-header:not(.is-scrolled) .brand__mark--dark,
body.nav-open .site-header .brand__mark--dark {
	display: block;
}

body.nav-open.header-transparent .site-header:not(.is-scrolled) .nav-toggle__bars span {
	background: var(--bb-ink);
}

body.nav-open .site-header .lang-switch {
	opacity: 0;
	pointer-events: none;
}

body.nav-open .nav-toggle__bars span:first-child {
	transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle__bars span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: linear-gradient(180deg, var(--bb-grad-1) 0%, var(--bb-grad-3) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s var(--bb-ease);
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav.is-open {
	opacity: 1;
}

.mobile-nav__inner {
	text-align: center;
	padding: 6rem var(--bb-gutter) 3rem;
	width: 100%;
	max-height: 100dvh;
	overflow-y: auto;
}

.mobile-nav__list {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 3rem;
}

.mobile-nav__list a {
	display: block;
	font-family: var(--bb-font-display);
	font-size: clamp(2rem, 9vw, 3rem);
	font-weight: 300;
	color: var(--bb-ink);
	padding-block: 0.3rem;
}

.mobile-nav__list a:hover {
	color: var(--bb-accent);
}

.mobile-nav__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
}

.mobile-nav__lang .lang-switch__item {
	color: var(--bb-muted);
}

.mobile-nav__lang .lang-switch__item.is-active {
	color: var(--bb-ink);
}

.mobile-nav__lang .lang-switch__sep {
	color: var(--bb-line);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: 640px;
	height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	/* Placeholder tone behind the photo — sand, never dark. */
	background: var(--bb-sand-400);
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 55%;
	transform: scale(1.04);
	animation: bb-hero-zoom 18s var(--bb-ease) forwards;
}

@keyframes bb-hero-zoom {
	to {
		transform: scale(1);
	}
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom,
			rgba(30, 25, 21, 0.55) 0%,
			rgba(30, 25, 21, 0.14) 30%,
			rgba(30, 25, 21, 0.46) 62%,
			rgba(30, 25, 21, 0.82) 100%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(5rem, 12vh, 9rem);
	padding-top: 8rem;
	max-width: var(--bb-wrap);
	margin-inline: auto;
	width: 100%;
}

.hero__title {
	font-size: clamp(3rem, 11vw, 7.5rem);
	font-weight: 300;
	line-height: 0.95;
	color: #fff;
	margin: 0 0 1.75rem;
	max-width: 15em;
}

.hero__title-a,
.hero__title-b {
	display: block;
}

.hero__title-b {
	font-style: italic;
	color: var(--bb-sand-200);
	padding-left: clamp(1.5rem, 6vw, 5rem);
}

.hero__sub {
	max-width: 34rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.0625rem;
	margin-bottom: 2.5rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.hero__scroll {
	position: absolute;
	z-index: 2;
	right: var(--bb-gutter);
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.625rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	padding-bottom: 5.5rem;
}

.hero__scroll:hover {
	color: #fff;
}

.hero__scroll-line {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 4.5rem;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
}

.hero__scroll-line::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 40%;
	background: #fff;
	animation: bb-scroll-line 2.4s var(--bb-ease) infinite;
}

@keyframes bb-scroll-line {
	0%   { transform: translateY(-100%); }
	60%  { transform: translateY(250%); }
	100% { transform: translateY(250%); }
}

/* ==========================================================================
   7. About
   ========================================================================== */

.section--about {
	background: linear-gradient(180deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
}

.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 7vw, 6.5rem);
	align-items: center;
}

.about__text .section__title {
	margin-bottom: 2rem;
}

.about__quote {
	margin: 2.5rem 0;
	padding-left: 1.75rem;
	border-left: 1px solid var(--bb-accent);
	font-family: var(--bb-font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	color: var(--bb-ink);
}

/* Layered photo stack: a tall main shot, a smaller one overlapping its
   bottom-right, and a round accent breaking the top edge. Depth comes from
   soft shadows rather than borders, so nothing shows a hard seam against the
   gradient behind it. */
.about__media {
	position: relative;
	padding: 2.75rem 3rem 4.5rem 0;
}

.about__figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--bb-radius-lg);
}

.about__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--bb-ease);
}

.about__figure--main {
	width: 84%;
	aspect-ratio: 4 / 5;
	box-shadow: 0 32px 64px -28px rgba(30, 25, 21, 0.38);
}

.about__figure--inset {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 46%;
	aspect-ratio: 3 / 4;
	box-shadow: 0 40px 70px -26px rgba(30, 25, 21, 0.45);
}

.about__figure--round {
	position: absolute;
	right: 8%;
	top: 0;
	z-index: 3;
	width: 26%;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 26px 50px -20px rgba(30, 25, 21, 0.4);
}

.about__media:hover .about__figure img {
	transform: scale(1.05);
}

/* ==========================================================================
   8. Moments
   ========================================================================== */

.section--moments {
	background: linear-gradient(180deg, var(--bb-grad-2) 0%, var(--bb-grad-3) 100%);
}

.moments {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	counter-reset: moment;
}

.moment {
	position: relative;
	padding-top: 2.25rem;
	border-top: 1px solid var(--bb-line);
}

.moment__time {
	font-size: 0.688rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin-bottom: 0.9rem;
}

.moment__title {
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	font-weight: 300;
	margin-bottom: 0.85rem;
}

.moment__body {
	color: var(--bb-muted);
	margin: 0;
}

/* ==========================================================================
   9. Menu
   ========================================================================== */

.section--menu {
	background: linear-gradient(180deg, var(--bb-grad-3) 0%, var(--bb-grad-2) 100%);
}

.menu-tabs__list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	border-bottom: 1px solid var(--bb-line);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.menu-tabs__tab {
	position: relative;
	background: none;
	border: 0;
	padding: 0 0 1.1rem;
	font-size: 0.75rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-muted);
	transition: color 0.3s var(--bb-ease);
}

.menu-tabs__tab::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: var(--bb-accent);
	transform: scaleX(0);
	transition: transform 0.4s var(--bb-ease);
}

.menu-tabs__tab:hover {
	color: var(--bb-ink);
}

.menu-tabs__tab.is-active {
	color: var(--bb-ink);
}

.menu-tabs__tab.is-active::after {
	transform: scaleX(1);
}

.menu-tabs__panel[hidden] {
	display: none;
}

.menu-tabs__panel.is-active {
	animation: bb-fade-in 0.6s var(--bb-ease);
}

@keyframes bb-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

/* Multi-column so short and long groups pack without leaving holes. */
.menu-columns {
	columns: 2;
	column-gap: clamp(2.5rem, 6vw, 5rem);
}

.menu-group {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.menu-group__title {
	font-size: 1.5rem;
	font-weight: 400;
	font-style: italic;
	color: var(--bb-accent);
	margin-bottom: 1.75rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--bb-line);
}

.menu-list {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.menu-item__row {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}

.menu-item__name {
	font-size: 1.0625rem;
	color: var(--bb-ink);
	font-weight: 400;
}

.menu-item__dots {
	flex: 1 1 auto;
	height: 1px;
	margin-bottom: 0.28em;
	border-bottom: 1px dotted var(--bb-sand-400);
	min-width: 1.5rem;
}

.menu-item__price {
	font-size: 0.95rem;
	color: var(--bb-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.menu-item__desc {
	margin: 0.3rem 0 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--bb-muted);
	max-width: 32rem;
}

.menu-group__note {
	margin: 1.5rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--bb-line);
	font-size: 0.8rem;
	font-style: italic;
	line-height: 1.6;
	color: var(--bb-muted);
}

.menu-note {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
	font-size: 0.875rem;
	color: var(--bb-muted);
	font-style: italic;
}

/* ==========================================================================
   10. Beach (dark band)
   ========================================================================== */

.section--beach {
	position: relative;
	background: linear-gradient(180deg, var(--bb-grad-2) 0%, var(--bb-grad-3) 100%);
	color: var(--bb-text);
}

.beach__grid {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

/* Mirror of the About stack: the smaller shot leans out past the column edge
   and over the text side. */
.beach__media {
	position: relative;
	padding: 0 0 4rem 2.5rem;
}

.beach__figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--bb-radius-lg);
}

.beach__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--bb-ease);
}

.beach__figure--main {
	aspect-ratio: 3 / 4;
	box-shadow: 0 32px 64px -28px rgba(30, 25, 21, 0.38);
}

.beach__figure--over {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 44%;
	aspect-ratio: 1;
	box-shadow: 0 40px 70px -26px rgba(30, 25, 21, 0.45);
}

.beach__media:hover .beach__figure img {
	transform: scale(1.05);
}

.beach__text .section__title {
	margin-bottom: 1.75rem;
}

.beach__body {
	max-width: 36rem;
	margin-bottom: 2.75rem;
}

.beach__features {
	display: grid;
	gap: 1.75rem;
	margin-bottom: 3rem;
}

.beach__features li {
	padding-top: 1.5rem;
	border-top: 1px solid var(--bb-line);
}

.beach__features h3 {
	font-family: var(--bb-font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bb-ink);
	margin-bottom: 0.6rem;
}

.beach__features p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--bb-muted);
}

/* ==========================================================================
   11. Gallery + lightbox
   ========================================================================== */

.section--gallery {
	background: linear-gradient(180deg, var(--bb-grad-3) 0%, var(--bb-grad-2) 100%);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 11rem;
	grid-auto-flow: dense;
	gap: 0.75rem;
}

.gallery__item {
	position: relative;
	grid-row: span 2;
	padding: 0;
	border: 0;
	overflow: hidden;
	border-radius: var(--bb-radius);
	background: var(--bb-sand-200);
}

.gallery__item--tall {
	grid-row: span 3;
}

.gallery__item--wide {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--bb-ease), opacity 0.4s var(--bb-ease);
}

.gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgba(30, 25, 21, 0);
	transition: background-color 0.4s var(--bb-ease);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
	transform: scale(1.06);
}

.gallery__item:hover::after {
	background: rgba(30, 25, 21, 0.12);
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(252, 249, 244, 0.97);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.35s var(--bb-ease);
	padding: clamp(1rem, 5vw, 4rem);
}

.lightbox[hidden] {
	display: none;
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox__figure {
	margin: 0;
	max-width: min(1100px, 92vw);
	text-align: center;
}

.lightbox__figure img {
	max-height: 78vh;
	width: auto;
	margin-inline: auto;
	object-fit: contain;
	border-radius: var(--bb-radius);
}

.lightbox__figure figcaption {
	margin-top: 1.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	color: var(--bb-muted);
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: none;
	border: 0;
	color: var(--bb-muted);
	line-height: 1;
	transition: color 0.3s var(--bb-ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
	color: var(--bb-ink);
}

.lightbox__close {
	top: clamp(1rem, 3vw, 2rem);
	right: clamp(1rem, 3vw, 2.5rem);
	font-size: 2.5rem;
}

.lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	font-size: 3.5rem;
	padding: 1rem;
}

.lightbox__nav--prev {
	left: clamp(0.25rem, 2vw, 2rem);
}

.lightbox__nav--next {
	right: clamp(0.25rem, 2vw, 2rem);
}

/* ==========================================================================
   12. Contact
   ========================================================================== */

/* ==========================================================================
   11a. Google reviews
   ========================================================================== */

.section--reviews {
	background: linear-gradient(180deg, var(--bb-grad-2) 0%, var(--bb-grad-2) 100%);
	text-align: center;
}

.google-mark {
	width: 84px;
	height: auto;
	display: block;
	margin-inline: auto;
}

.reviews-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.reviews-score__rating {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
}

.reviews-score__rating strong {
	font-family: var(--bb-font-display);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	color: var(--bb-ink);
}

.reviews-score__count {
	margin: 0;
	font-size: 0.85rem;
	color: var(--bb-muted);
}

/* Five stars with the rating painted over the top. */
.stars {
	position: relative;
	display: inline-block;
	/* As a flex item this would stretch to the full card width, and the
	   percentage overlay would then paint five stars whatever the rating. */
	width: max-content;
	font-size: 1.05rem;
	line-height: 1;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

.stars__bg {
	color: var(--bb-sand-300);
}

.stars__fg {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: #E8A33D;
}

.reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	text-align: left;
	margin-bottom: clamp(2.25rem, 4vw, 3rem);
}

.review {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1.4rem, 2.4vw, 2rem);
	background: linear-gradient(165deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	box-shadow: 0 18px 40px -30px rgba(30, 25, 21, 0.45);
}

.review__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.review__avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--bb-sand-200);
}

.review__avatar--blank {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bb-font-display);
	font-size: 1.3rem;
	color: var(--bb-accent);
}

.review__who {
	min-width: 0;
}

.review__author {
	margin: 0;
	font-size: 0.95rem;
	color: var(--bb-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.review__when {
	margin: 0;
	font-size: 0.78rem;
	color: var(--bb-muted);
}

.review__text {
	margin: 0;
	font-size: 0.925rem;
	line-height: 1.7;
	color: var(--bb-text);
}

.review__text p {
	margin: 0;
	/* Long reviews are trimmed so the three cards stay the same height. */
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.reviews-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
}

.reviews-actions__note {
	flex: 1 0 100%;
	margin: 0.6rem 0 0;
	font-size: 0.78rem;
	font-style: italic;
	color: var(--bb-muted);
}

/* ==========================================================================
   12a. Follow our socials
   ========================================================================== */

.section--socials {
	background: linear-gradient(180deg, var(--bb-grad-2) 0%, var(--bb-grad-1) 100%);
	padding-block: clamp(3.25rem, 6vw, 5.5rem);
	text-align: center;
}

.socials__head {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.socials__title {
	font-size: clamp(1.9rem, 5vw, 3.25rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin: 0;
}

.socials__intro {
	margin: 0.9rem 0 0;
	font-size: 0.95rem;
	color: var(--bb-muted);
}

.socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(0.6rem, 1.4vw, 0.9rem);
}

.socials__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(3.75rem, 8vw, 4.5rem);
	aspect-ratio: 1;
	background: var(--bb-sand-200);
	border-radius: var(--bb-radius-sm);
	color: #fff;
	transition: background-color 0.35s var(--bb-ease),
		transform 0.35s var(--bb-ease);
}

.socials__item:hover,
.socials__item:focus-visible {
	background: var(--bb-accent);
	color: #fff;
	transform: translateY(-3px);
}

.socials__item svg {
	width: 45%;
	height: 45%;
}

.section--contact {
	background: linear-gradient(180deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
}

.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.contact__intro {
	margin-bottom: 2.75rem;
}

.contact__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	margin: 0 0 2.75rem;
	padding-top: 2rem;
	border-top: 1px solid var(--bb-line);
}

.contact__detail dt {
	font-size: 0.65rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin-bottom: 0.6rem;
}

.contact__detail dd {
	margin: 0;
	font-size: 0.975rem;
	color: var(--bb-text);
	line-height: 1.7;
}

.contact__detail a {
	color: var(--bb-text);
	border-bottom: 1px solid var(--bb-line);
}

.contact__detail a:hover {
	color: var(--bb-accent);
	border-color: var(--bb-accent);
}

.contact__season {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.8rem;
	font-style: italic;
	color: var(--bb-muted);
}

.contact__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

.contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.contact__map {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--bb-sand-200);
	overflow: hidden;
	border-radius: var(--bb-radius-lg);
}

.contact__map iframe {
	width: 100%;
	height: 100%;
	filter: grayscale(0.35) sepia(0.18) saturate(0.85) contrast(0.95);
	transition: filter 0.6s var(--bb-ease);
}

.contact__map:hover iframe {
	filter: none;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
	background: linear-gradient(180deg, var(--bb-grad-2) 0%, var(--bb-grad-3) 100%);
	color: var(--bb-muted);
	padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
	font-size: 0.9rem;
}

.site-footer a {
	color: var(--bb-text);
}

.site-footer a:hover {
	color: var(--bb-accent);
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--bb-line);
}

.site-footer__logo {
	height: 46px;
	width: auto;
	margin-bottom: 1.25rem;
}

.site-footer__tagline {
	font-family: var(--bb-font-display);
	font-size: 1.05rem;
	font-style: italic;
	color: var(--bb-accent);
	margin: 0;
}

.site-footer__heading {
	font-family: var(--bb-font-body);
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin-bottom: 1rem;
}

.site-footer__col p {
	margin: 0;
	line-height: 1.8;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin-top: 1rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	font-size: 0.8rem;
}

.site-footer__copy {
	margin: 0;
	color: var(--bb-muted);
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-size: 0.8rem;
}

.lang-switch--footer .lang-switch__item {
	color: var(--bb-muted);
}

.lang-switch--footer .lang-switch__item.is-active {
	color: var(--bb-ink);
}

.lang-switch--footer .lang-switch__sep {
	color: var(--bb-line);
}

/* ==========================================================================
   14. Inner pages, blog, comments
   ========================================================================== */

.page-main {
	padding-bottom: var(--bb-section-y);
}

.page-hero {
	padding-top: calc(var(--bb-header-h) + clamp(3rem, 8vw, 6rem));
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	background: linear-gradient(180deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.page-hero--image {
	position: relative;
	background: linear-gradient(180deg, var(--bb-grad-1) 0%, var(--bb-grad-3) 100%);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.page-hero__media {
	position: absolute;
	inset: 0;
	opacity: 0.3;
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero--image .wrap {
	position: relative;
	z-index: 2;
}

.page-hero--image .page-hero__title {
	color: var(--bb-ink);
}

.page-hero--image .eyebrow {
	color: var(--bb-accent);
}

.page-hero__title {
	font-size: clamp(2.25rem, 5.5vw, 4rem);
	font-weight: 300;
	max-width: 22em;
}

.content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 4.5rem);
	align-items: start;
}

.content-area:has(.sidebar) {
	grid-template-columns: minmax(0, 1fr) 20rem;
}

.entry--single .rich-text {
	max-width: 44rem;
	font-size: 1.05rem;
}

.entry--single .rich-text h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin: 2.25em 0 0.65em;
	font-weight: 300;
}

.entry--single .rich-text h3 {
	font-size: clamp(1.35rem, 2.6vw, 1.75rem);
	margin: 1.9em 0 0.6em;
	font-weight: 400;
}

.entry--single .rich-text ul,
.entry--single .rich-text ol {
	margin: 0 0 1.4em 1.25em;
	list-style: disc;
}

.entry--single .rich-text ol {
	list-style: decimal;
}

.entry--single .rich-text li {
	margin-bottom: 0.5em;
}

.entry--single .rich-text blockquote {
	margin: 2em 0;
	padding-left: 1.75rem;
	border-left: 1px solid var(--bb-accent);
	font-family: var(--bb-font-display);
	font-size: 1.4rem;
	font-style: italic;
	color: var(--bb-ink);
}

.entry--single .rich-text img {
	margin-block: 2em;
	border-radius: var(--bb-radius);
}

/* Anything an editor drops into a page or post gets the same soft corners. */
.rich-text .wp-block-image img,
.rich-text figure img,
.sidebar img {
	border-radius: var(--bb-radius-sm);
}

.post-list {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.entry--card {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--bb-line);
}

.entry--card:last-of-type {
	border-bottom: 0;
}

.entry__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--bb-radius);
}

.entry__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--bb-ease);
}

.entry__media:hover img {
	transform: scale(1.05);
}

.entry__date {
	font-size: 0.688rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin-bottom: 0.9rem;
}

.entry__title {
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	font-weight: 300;
	margin-bottom: 1rem;
}

.entry__title a {
	color: var(--bb-ink);
}

.entry__title a:hover {
	color: var(--bb-accent);
}

.entry__excerpt {
	color: var(--bb-muted);
	margin-bottom: 1.5rem;
}

.entry__meta {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bb-line);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bb-muted);
}

.sidebar .widget {
	margin-bottom: 2.5rem;
}

.widget-title {
	font-family: var(--bb-font-body);
	font-size: 0.688rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin-bottom: 1.25rem;
}

.sidebar ul {
	display: grid;
	gap: 0.6rem;
}

.sidebar a {
	color: var(--bb-text);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.search-form__field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.75rem 1rem;
	border: 1px solid var(--bb-line);
	background: #fff;
	font: inherit;
	font-size: 0.95rem;
	color: var(--bb-text);
}

.search-form__field:focus {
	outline: none;
	border-color: var(--bb-accent);
}

.pagination,
.post-navigation {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 2rem;
	border-top: 1px solid var(--bb-line);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
}

.comments-area {
	max-width: 44rem;
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: 2.5rem;
	border-top: 1px solid var(--bb-line);
}

.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"],
.comments-area textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--bb-line);
	background: #fff;
	font: inherit;
	font-size: 0.95rem;
}

.comments-area .submit {
	display: inline-flex;
	padding: 1rem 2.25rem;
	font-size: 0.72rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	background: var(--bb-ink);
	color: var(--bb-sand-50);
	border: 1px solid var(--bb-ink);
}

.error-404 {
	padding-top: calc(var(--bb-header-h) + 6rem);
	text-align: center;
}

.error-404__inner {
	max-width: 34rem;
	margin-inline: auto;
}

.error-404__inner .btn {
	margin-top: 2rem;
}

.no-results {
	max-width: 34rem;
}

/* ==========================================================================
   15. Cookie banner
   ========================================================================== */

.cookie-banner {
	position: fixed;
	left: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 150;
	width: min(24rem, calc(100vw - 2rem));
	padding: 1.5rem;
	background: linear-gradient(160deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	box-shadow: 0 18px 44px rgba(30, 25, 21, 0.16);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s var(--bb-ease), transform 0.5s var(--bb-ease);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner.is-visible {
	opacity: 1;
	transform: none;
}

.cookie-banner__logo {
	height: 30px;
	width: auto;
	margin-bottom: 1rem;
}

.cookie-banner__text {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--bb-muted);
}

.cookie-banner__text a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.cookie-banner__actions .btn {
	flex: 1 1 auto;
}

/* ==========================================================================
   16. Reservation pop-up
   ========================================================================== */

.modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	opacity: 0;
	transition: opacity 0.35s var(--bb-ease);
}

.modal[hidden] {
	display: none;
}

.modal.is-open {
	opacity: 1;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(247, 241, 231, 0.86);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
	position: relative;
	width: min(38rem, 100%);
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	padding: clamp(1.75rem, 4vw, 3rem);
	background: linear-gradient(170deg, var(--bb-grad-1) 0%, var(--bb-grad-2) 100%);
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius-lg);
	box-shadow: 0 30px 70px rgba(30, 25, 21, 0.2);
	transform: translateY(16px) scale(0.985);
	transition: transform 0.4s var(--bb-ease);
}

.modal.is-open .modal__dialog {
	transform: none;
}

.modal__close {
	position: absolute;
	top: 0.75rem;
	right: 1rem;
	background: none;
	border: 0;
	font-size: 2rem;
	line-height: 1;
	color: var(--bb-muted);
	transition: color 0.3s var(--bb-ease);
}

.modal__close:hover {
	color: var(--bb-ink);
}

.modal__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 300;
	margin-bottom: 0.9rem;
}

.modal__intro {
	color: var(--bb-muted);
	font-size: 0.95rem;
	margin-bottom: 2rem;
}

/* Beach rates, shown inside the reservation pop-up rather than in the food
   menu — it is the moment someone is actually booking a bed. */
.rates {
	margin: 0 0 2rem;
	padding: 1.4rem 1.5rem 1.25rem;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
}

.rates__title {
	font-family: var(--bb-font-body);
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-accent);
	margin: 0 0 0.35rem;
}

.rates__intro {
	margin: 0 0 1.1rem;
	font-size: 0.8rem;
	font-style: italic;
	color: var(--bb-muted);
}

.rates__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem 2rem;
}

.rates__item {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: 0.925rem;
}

/* The dotted leader is drawn by the gap between name and price. */
.rates__item::after {
	content: "";
	order: 2;
	flex: 1 1 auto;
	min-width: 1rem;
	margin-bottom: 0.28em;
	border-bottom: 1px dotted var(--bb-sand-400);
}

.rates__name {
	order: 1;
	color: var(--bb-ink);
}

.rates__price {
	order: 3;
	color: var(--bb-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.res-form__row {
	margin-bottom: 1.1rem;
}

.res-form__row--two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

.res-form__row--three {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
}

.res-field {
	display: block;
	min-width: 0;
}

.res-field__label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--bb-accent);
}

.res-field input,
.res-field select {
	width: 100%;
	padding: 0.8rem 0.9rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--bb-text);
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius-sm);
	transition: border-color 0.3s var(--bb-ease);
	-webkit-appearance: none;
	appearance: none;
}

.res-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--bb-accent) 50%),
		linear-gradient(135deg, var(--bb-accent) 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.25rem;
}

.res-field input:focus,
.res-field select:focus {
	outline: none;
	border-color: var(--bb-accent);
}

.res-field.has-error input,
.res-field.has-error select {
	border-color: #B4442F;
}

.res-form__hint {
	margin: 0 0 1.5rem;
	font-size: 0.8rem;
	font-style: italic;
	color: var(--bb-muted);
}

/* Honeypot: off-screen for people, still reachable for bots. */
.res-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.res-form__feedback {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	min-height: 1.2em;
}

.res-form__feedback:empty {
	margin: 0;
	min-height: 0;
}

.res-form__feedback.is-error {
	color: #B4442F;
}

.res-form__feedback.is-success {
	color: #4B7A44;
}

.res-form__submit {
	width: 100%;
}

.res-form.is-sent .res-form__row,
.res-form.is-sent .res-form__hint,
.res-form.is-sent .res-form__submit {
	display: none;
}

/* ==========================================================================
   17. Reveal on scroll
   ========================================================================== */

.has-js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.9s var(--bb-ease), transform 0.9s var(--bb-ease);
	will-change: opacity, transform;
}

.has-js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.has-js .moment.reveal:nth-child(2) { transition-delay: 0.12s; }
.has-js .moment.reveal:nth-child(3) { transition-delay: 0.24s; }

/* ==========================================================================
   18. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.site-nav {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.site-header__cta {
		display: none;
	}

	.gallery {
		grid-template-columns: repeat(3, 1fr);
	}

	.reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	:root {
		--bb-header-h: 72px;
	}

	.about__grid,
	.beach__grid,
	.contact__grid,
	.entry--card {
		grid-template-columns: minmax(0, 1fr);
	}

	.menu-columns {
		columns: 1;
	}

	.moments {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.25rem;
	}

	.beach__grid {
		gap: 2.5rem;
	}

	.beach__media {
		order: 2;
		padding: 0 0 3rem 2rem;
	}

	.beach__figure--main {
		aspect-ratio: 4 / 3;
	}

	.beach__figure--over {
		width: 40%;
	}

	.about__media {
		padding: 2rem 2rem 3rem 0;
	}

	.about__figure--main {
		width: 88%;
	}

	.about__figure--inset {
		width: 48%;
	}

	.about__figure--round {
		width: 22%;
	}

	.contact__map {
		aspect-ratio: 4 / 3;
	}

	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-area:has(.sidebar) {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry--card {
		gap: 1.5rem;
	}
}

@media (max-width: 640px) {
	.hero {
		min-height: 560px;
	}

	.hero__title-b {
		padding-left: 1.25rem;
	}

	.hero__scroll {
		display: none;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 8rem;
	}

	.gallery__item--wide {
		grid-column: span 2;
	}

	.contact__details {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.menu-tabs__list {
		gap: 1.25rem;
	}

	/* One review at a time on a phone. */
	.reviews {
		grid-template-columns: minmax(0, 1fr);
	}

	.review__text p {
		-webkit-line-clamp: 10;
	}

	.lightbox__nav {
		font-size: 2.5rem;
		padding: 0.5rem;
	}

	/* On a phone the layered photos become a plain stack: no overlap, no
	   cramped corners, nothing cropped off the screen. */
	.about__media,
	.beach__media {
		display: grid;
		gap: 1rem;
		padding: 0;
	}

	.about__figure--main,
	.beach__figure--main {
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	.about__figure--inset {
		position: static;
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	/* Purely decorative layers — dropped rather than squeezed. */
	.about__figure--round,
	.beach__figure--over {
		display: none;
	}

	/* Reservation form stacks so every field stays comfortably tappable. */
	.res-form__row--two,
	.res-form__row--three {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Kept above the form so the prices are seen, but trimmed down so the
	   first field is still within reach on a phone. */
	.rates {
		margin-bottom: 1.5rem;
		padding: 1rem 1.1rem 0.9rem;
	}

	.rates__intro {
		display: none;
	}

	.rates__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.4rem;
	}

	.rates__item {
		font-size: 0.875rem;
	}

	.cookie-banner {
		left: 1rem;
		right: 1rem;
		bottom: 1rem;
		width: auto;
		padding: 1.25rem;
	}
}

/* ==========================================================================
   19. Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.has-js .reveal {
		opacity: 1;
		transform: none;
	}

	.hero__media img {
		transform: none;
		animation: none;
	}
}

@media print {
	.site-header,
	.mobile-nav,
	.hero__scroll,
	.contact__map,
	.lightbox {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.menu-tabs__panel[hidden] {
		display: block !important;
	}
}
