/* ==========================================================================
   MESK AYURVEDA — design system
   Deep royal blue & sea sand. Editorial, light, restrained.
   One layer, no stacked overrides. Section-specific styles live in
   home.css (homepage), woocommerce.css + bestsellers.css (shop),
   and the page-specific files enqueued from functions.php.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
/* Brand palette (overridden at runtime by Customizer > Brand Colors, see mesk_css_variables()). */
:root {
	--c-navy: #142B5C;          /* Deep Royal Blue — primary anchor */
	--c-royal: #244A87;         /* Royal Blue — hover, small blue details */
	--c-sand: #E7D6B8;          /* Sand Beige — secondary surface */
	--c-champagne: #D6C19A;     /* Champagne — rules, dots, fine details */
	--c-ivory: #F8F5EE;         /* Ivory Cream — main background */
	--c-ink: #24262B;           /* Charcoal — text */
	--c-navy-rgb: 20, 43, 92;
	--c-royal-rgb: 36, 74, 135;
	--c-sand-rgb: 231, 214, 184;
	--c-champagne-rgb: 214, 193, 154;
	--c-ivory-rgb: 248, 245, 238;
	--c-ink-rgb: 36, 38, 43;
	--c-white: #FFFFFF;

	/* Derived tones: mixes of the palette only, never new hues. */
	--c-soft-sand: color-mix(in srgb, var(--c-sand) 45%, var(--c-ivory));
	--c-muted: color-mix(in srgb, var(--c-ink) 78%, var(--c-ivory));      /* secondary text, AA on ivory */
	--c-mist: color-mix(in srgb, var(--c-ink) 55%, var(--c-ivory));       /* placeholders, disabled */
	--c-line: rgba(var(--c-navy-rgb), .12);
	--c-line-strong: rgba(var(--c-navy-rgb), .28);

	/* Legacy aliases kept so shop, cart and page styles follow the palette. */
	--c-midnight: var(--c-navy);
	--c-ocean: var(--c-royal);
	--c-sand-deep: var(--c-royal);
	--c-gold: var(--c-champagne);
	--c-ice: var(--c-soft-sand);
	--c-cream: var(--c-soft-sand);
	--c-cream-2: var(--c-soft-sand);
	--c-ice-soft: var(--c-soft-sand);

	/* Type */
	--f-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fs-display: clamp(2.6rem, 5.2vw, 4.5rem);
	--fs-h2: clamp(2.1rem, 3.6vw, 3.1rem);
	--fs-h3: clamp(1.4rem, 2vw, 1.75rem);
	--fs-label: .7rem;

	/* Rhythm */
	--radius: 0px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--gutter: 16px;
	--container: 1280px;
	--section: clamp(72px, 9vw, 136px);
	--header-h: 68px;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1400px) { :root { --gutter: 48px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; max-width: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.7; color: var(--c-ink); background: var(--c-ivory); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--c-midnight); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }

em, i, cite, blockquote, address { font-style: normal; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { font-family: var(--f-heading); font-weight: 500; line-height: 1.12; color: var(--c-navy); margin: 0 0 .5em; letter-spacing: 0; }
h1, .h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
em { font-style: normal; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); margin: -1px; padding: 0; border: 0; white-space: nowrap; }
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 8px; left: 8px; z-index: 1000; padding: .75rem 1rem; background: var(--c-navy); color: var(--c-ivory); }
:focus-visible { outline: 2px solid var(--c-royal); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 3. Layout & type helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--cream, .section--sand { background: var(--c-soft-sand); }
.section--ice { background: var(--c-ivory); }

.eyebrow, .col-head__eyebrow, .hero__eyebrow { display: block; margin: 0 0 1.1rem; font-family: var(--f-body); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-sand-deep); }
.hero__rule { display: none; }
.lead { font-size: 1.02rem; color: var(--c-muted); max-width: 52ch; line-height: 1.8; }
.section-title { max-width: 22ch; margin-bottom: 1rem; }
.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head--center { text-align: center; }
.section-head--center .section-title, .section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head--split .section-title { margin: 0; }
.col-head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.col-head__title { font-family: var(--f-heading); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; margin: 0; color: var(--c-navy); }
.col-head__title em { color: inherit; }

/* ---------- 4. Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
	min-height: 46px; padding: .8rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--c-navy);
	font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--c-navy); color: var(--c-ivory); }
.btn--primary:hover { background: var(--c-royal); border-color: var(--c-royal); color: var(--c-ivory); }
.btn--outline { background: transparent; color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: var(--c-white); }
.btn--light { background: var(--c-ivory); color: var(--c-navy); border-color: var(--c-ivory); }
.btn--light:hover { background: var(--c-sand); border-color: var(--c-sand); color: var(--c-midnight); }
.btn--ghost { background: transparent; color: var(--c-ivory); border-color: rgba(var(--c-ivory-rgb), .5); }
.btn--ghost:hover { background: var(--c-ivory); color: var(--c-navy); border-color: var(--c-ivory); }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; }
/* Secondary button: outlined, fills royal blue on hover; the arrow nudges forward. */
.btn--link { min-height: 44px; padding: .75rem 1.5rem; border: 1px solid var(--c-navy); border-radius: var(--radius); background: transparent; color: var(--c-navy); gap: .7rem; }
.btn--link:hover, .btn--link:focus-visible { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-ivory); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.btn-row--center { justify-content: center; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--c-navy); position: relative; transition: color .2s, opacity .2s; }
.icon-btn:hover { color: var(--c-royal); }
.icon-btn--ring { border: 1px solid var(--c-line-strong); width: 44px; height: 44px; border-radius: 50%; }
.icon-btn--ring:hover { opacity: 1; background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

/* ---------- 5. Announcement bar ---------- */
.announce { background: var(--c-navy); color: var(--c-ivory); }
.announce__track { position: relative; display: grid; overflow: hidden; }
.announce__text { grid-area: 1 / 1; margin: 0; padding: .6rem var(--gutter); text-align: center; font-size: .72rem; font-weight: 500; letter-spacing: .08em; line-height: 1.4; opacity: 0; transform: translateY(100%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.announce__text.is-active { opacity: 1; transform: none; }
.announce__text.is-leaving { opacity: 0; transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .announce__text { transition: none; transform: none; } }
.announce__text a { color: inherit; border-bottom: 1px solid rgba(var(--c-champagne-rgb), .6); }
.announce__text a:hover { color: var(--c-champagne); }

/* ---------- 6. Header ---------- */
/* Ivory bar with a hairline: menu left, wordmark centred, search + bag right. */
/* Transparent at the top of the page (the homepage hero shows through); white with a hairline once scrolled. */
.site-header { position: sticky; top: 0; z-index: 60; background: transparent; border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.site-header.is-scrolled, body.nav-open .site-header { background: var(--c-ivory); border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -24px rgba(var(--c-navy-rgb), .55); }
.home .hero { margin-top: calc(-1 * var(--header-h) - 1px); }
/* On the homepage hero photographs: white logo, links and icons until the page scrolls. */
.home:not(.nav-open) .site-header:not(.is-scrolled) .custom-logo { filter: brightness(0) invert(1); }
.home:not(.nav-open) .site-header:not(.is-scrolled) .menu > li > a, .home:not(.nav-open) .site-header:not(.is-scrolled) .icon-btn { color: #fff; }
.home:not(.nav-open) .site-header:not(.is-scrolled) .cart-count { background: #fff; color: var(--c-navy); }
.site-header .custom-logo, .site-header .menu > li > a, .site-header .icon-btn { transition: color .4s var(--ease), filter .4s var(--ease); }
/* Phones/tablets: logo left · search, bag, menu button right. Desktop: logo left · links centred · icons right. */
.site-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; min-height: var(--header-h); gap: .75rem; }
.site-brand { grid-column: 1; grid-row: 1; display: flex; justify-content: flex-start; }
.site-brand .custom-logo-link { display: block; line-height: 0; }
.site-brand .custom-logo { height: 34px; width: auto; }
.wordmark { display: inline-flex; align-items: baseline; gap: .5em; color: var(--c-navy); font-family: var(--f-heading); font-weight: 600; letter-spacing: .28em; font-size: 1.1rem; text-transform: uppercase; white-space: nowrap; }
.wordmark__sub { font-family: var(--f-body); font-weight: 600; font-size: .55rem; letter-spacing: .3em; }
.wordmark--light { color: var(--c-ivory); }
.nav-toggle { grid-column: 4; grid-row: 1; justify-self: end; margin-right: -8px; }
.primary-nav { display: none; }
.header-actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: .1rem; }
.header-actions .icon { width: 20px; height: 20px; }
.icon-btn { width: 44px; height: 44px; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--c-navy); color: var(--c-ivory); font-size: .6rem; font-weight: 700; line-height: 17px; text-align: center; }
.cart-count[data-count="0"] { display: none; }

@media (min-width: 1024px) {
	.site-header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2rem; }
	.header-actions { margin-right: -8px; }
	.site-brand .custom-logo { height: 44px; }
	.nav-toggle { display: none; }
	.primary-nav { display: block; grid-column: 2; grid-row: 1; justify-self: center; }
	.menu { display: flex; align-items: center; gap: 0; margin: 0; }
	.menu > li { position: relative; }
	.menu a { display: inline-block; padding: .9rem .7rem; color: var(--c-navy); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; position: relative; }
	.menu a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
	.menu a:hover { color: var(--c-royal); }
	.menu a:hover::after, .menu .current-menu-item > a::after, .menu .current_page_item > a::after, .menu .current-menu-ancestor > a::after { transform: scaleX(1); }
	.menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: .5rem 0; background: var(--c-ivory); border: 1px solid var(--c-line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease); }
	.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.menu .sub-menu a { display: block; padding: .55rem 1.1rem; text-transform: none; letter-spacing: .02em; font-size: .85rem; font-weight: 500; }
	.menu .sub-menu a::after { display: none; }
	.menu .sub-menu a:hover { background: var(--c-soft-sand); }
}

/* Small laptops: five menu items beside the centred logo need a tighter set. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.site-header__inner { gap: 1.25rem; }
	.site-brand .custom-logo { height: 38px; }
	.menu a { padding-inline: .45rem; font-size: .66rem; letter-spacing: .1em; }
	.menu a::after { left: .45rem; right: .45rem; }
}

/* Header search: a slim ivory bar under the header. */
.site-search { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-ivory); border-bottom: 1px solid var(--c-line); box-shadow: 0 18px 30px -26px rgba(var(--c-navy-rgb), .6); animation: mesk-drop .35s var(--ease); }
.site-search[hidden] { display: none; }
.site-search__inner { display: flex; align-items: center; gap: .75rem; min-height: 64px; color: var(--c-muted); }
.site-search__inner > .icon { flex: none; }
.site-search input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--c-navy); font-size: 16px; -webkit-appearance: none; }
.site-search input[type="search"]:focus { outline: 0; }
.site-search:focus-within { border-bottom-color: var(--c-line-strong); }
.site-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.site-search input::placeholder { color: var(--c-mist); }
.site-search__submit { flex: none; padding: .55rem 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--c-navy); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-search__submit:hover { color: var(--c-royal); }
@media (max-width: 599px) { .site-search__submit { display: none; } }
@keyframes mesk-drop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .site-search { animation: none; } }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 380px); z-index: 80; background: var(--c-ivory); display: flex; flex-direction: column; padding: 1.25rem var(--gutter) 2rem; transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto; }
.mobile-nav:not([hidden]) { transform: none; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.mobile-nav__logo img { height: 36px; width: auto; }
.mobile-menu a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--c-line); color: var(--c-navy); font-family: var(--f-heading); font-size: 1.6rem; font-weight: 500; }
.mobile-menu .current-menu-item > a { color: var(--c-royal); }
.mobile-menu .sub-menu a { font-family: var(--f-body); font-size: .95rem; padding: .5rem 0 .5rem 1rem; border-bottom: 0; color: var(--c-muted); }
.backdrop { position: fixed; inset: 0; background: rgba(var(--c-navy-rgb), .45); z-index: 70; opacity: 0; transition: opacity .3s; }
.backdrop:not([hidden]) { opacity: 1; }
body.nav-open { overflow: hidden; }
/* Closed drawers are truly gone (no off-screen shadow, no focusable links); they still slide in when opened. */
.mobile-nav[hidden], .cart-drawer[hidden], .atc-modal[hidden] { display: none; }
@starting-style { .mobile-nav:not([hidden]) { transform: translateX(-100%); } }

/* ---------- 7. Placeholders (only when an image slot is empty) ---------- */
.ph { position: relative; width: 100%; display: grid; place-items: center; overflow: hidden; background: var(--c-soft-sand); color: var(--c-navy); }
.ph--ice { background: var(--c-ivory); }
.ph--gold { background: var(--c-sand); }
.ph--navy { background: var(--c-navy); color: var(--c-sand); }
.ph__mark { opacity: .35; }
.ph__label { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); max-width: 85%; text-align: center; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .6; padding: .35rem .7rem; border: 1px dashed currentColor; }

/* ---------- 8. Footer ---------- */
/* Deep royal blue, ivory type, champagne for titles and fine rules. */
.site-footer { background: var(--c-navy); color: rgba(var(--c-ivory-rgb), .78); padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.75rem; font-size: .9rem; }
.site-footer a { color: rgba(var(--c-ivory-rgb), .86); }
.site-footer a:hover { color: var(--c-champagne); }
.site-footer a:focus-visible { outline-color: var(--c-champagne); }

.footer-news { display: grid; gap: 1.25rem 3rem; align-items: end; padding-bottom: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid rgba(var(--c-champagne-rgb), .28); }
.footer-news__title { margin: 0 0 .4rem; color: var(--c-ivory); font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.footer-news__copy p { margin: 0; }
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr minmax(320px, 440px); } }

.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 46px; width: auto; }
.footer-brand__text { max-width: 36ch; margin: 1.25rem 0; line-height: 1.75; }
.footer-col__title { margin: 0 0 1.1rem; font-family: var(--f-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-champagne); }
.footer-menu li, .footer-contact li { margin-bottom: .6rem; line-height: 1.5; }
.social { display: flex; gap: .25rem; margin-left: -.5rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; }
.social .icon { width: 18px; height: 18px; }

.newsletter-form--footer .newsletter-form__row { display: flex; border-bottom: 1px solid rgba(var(--c-ivory-rgb), .4); transition: border-color .3s var(--ease); }
.newsletter-form--footer .newsletter-form__row:focus-within { border-bottom-color: var(--c-champagne); }
.newsletter-form--footer input[type="email"] { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; color: var(--c-ivory); padding: .5rem 0; font-size: 16px; }
.newsletter-form--footer input::placeholder { color: rgba(var(--c-ivory-rgb), .6); }
.newsletter-form--footer input:focus { outline: 0; }
.newsletter-form--footer .btn { min-height: 0; padding: .5rem 0 .5rem 1rem; border: 0; background: none; color: var(--c-champagne); }
.newsletter-form--footer .btn:hover { background: none; color: var(--c-ivory); }
.form-msg { margin: .6rem 0 0; font-size: .85rem; }
.newsletter-form--footer .form-msg--ok { color: var(--c-champagne); }
.newsletter-form--footer .form-msg--err { color: var(--c-sand); }

.footer-bottom { margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid rgba(var(--c-champagne-rgb), .22); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .76rem; color: rgba(var(--c-ivory-rgb), .62); }
.footer-bottom p { margin: 0; }
.payments { display: inline-flex; align-items: center; gap: .4rem; }
.payments .icon { width: 14px; height: 14px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1.1fr 1fr 1.1fr; gap: 2.5rem; } .footer-brand { grid-column: auto; } }

/* ---------- 9. Inner pages (journal, prose, collections page, contact, comments) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0; text-align: center; }
.page-hero--ice { background: var(--c-ice-soft); }
.page-hero--sand { background: var(--c-cream); }
.page-hero--cream { background: var(--c-cream); }
.page-hero__title { margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero__sub { color: var(--c-muted); max-width: 60ch; margin-inline: auto; font-size: .95rem; }
.page-hero__sub p:last-child { margin-bottom: 0; }
.crumbs { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .9rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-navy); }
.crumbs__sep { opacity: .5; }

.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose .wp-block-image { margin: 2rem 0; }
.prose .alignwide { max-width: var(--container); }
.prose blockquote { border-left: 1px solid var(--c-navy); padding-left: 1.5rem; margin-left: 0; font-family: var(--f-heading); font-size: 1.4rem; color: var(--c-navy); }
.prose .wp-block-buttons .wp-block-button__link { border-radius: var(--radius); background: var(--c-navy); color: #fff; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: .85rem 1.5rem; }
.prose .wp-block-buttons .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-navy); border: 1px solid var(--c-navy); }
.prose .wp-block-columns { gap: 2rem; }
.prose .has-sand-background-color { background: var(--c-cream); }
.prose .has-ice-background-color { background: var(--c-ice-soft); }
.prose .wp-block-group.has-background { padding: clamp(1.5rem, 4vw, 2.5rem); }
.prose .wp-block-separator { border-top: 1px solid var(--c-line); max-width: 120px; margin: 2.5rem auto; }
.has-navy-background-color { background: var(--c-navy); }
.has-navy-color { color: var(--c-navy); }
.has-white-color { color: #fff; }
.has-ocean-color { color: var(--c-ocean); }
.has-text-align-center { text-align: center; }

.post-grid { display: grid; gap: 2rem; }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; overflow: hidden; margin-bottom: 1rem; background: var(--c-cream); }
.post-card__media img, .post-card__media .ph { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__title { margin-bottom: .4rem; font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.post-card__title a { color: var(--c-navy); }
.post-card__excerpt { color: var(--c-muted); font-size: .9rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.article__head { text-align: center; padding-top: clamp(2.5rem, 5vw, 4rem); max-width: 860px; }
.article__title { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.02em; }
.article__body h2, .article__body h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: -.01em; }
.article__body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.article__body h3 { font-size: 1.1rem; }
.article__meta { color: var(--c-muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.article__media { margin: 2rem auto; max-width: 1000px; }
.article__media img { width: 100%; }
.article__body { padding-bottom: var(--section); }
.pagination, .navigation.pagination { display: flex; justify-content: center; margin-top: 3rem; }
.nav-links { display: flex; gap: .4rem; align-items: center; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border: 1px solid var(--c-line); color: var(--c-navy); font-size: .85rem; }
.nav-links .page-numbers.current { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.nav-links .page-numbers:hover:not(.current) { background: var(--c-cream); }
.nav-links .prev .icon { transform: rotate(180deg); }
.empty-state { text-align: center; padding: 3rem 0; color: var(--c-muted); }
.empty-state--tall { padding: 4rem 0; }
.empty-state .section-title, .empty-state .lead { margin-inline: auto; }
.empty-state .btn-row { margin-top: 1.5rem; }
.empty-state .search-form { max-width: 420px; margin: 1.5rem auto 0; display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--c-line-strong); }

.collection-grid { display: grid; gap: 2rem; }
.collection-card { display: block; color: var(--c-navy); }
.collection-card__media { overflow: hidden; margin-bottom: 1rem; background: var(--c-cream); }
.collection-card__media img, .collection-card__media .ph { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.collection-card:hover .collection-card__media img { transform: scale(1.03); }
.collection-card__title { font-size: 1.6rem; margin-bottom: .3rem; }
.collection-card p { color: var(--c-muted); font-size: .9rem; }
@media (min-width: 640px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .collection-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.contact-grid { display: grid; gap: 3rem; }
.contact-info { margin: 0; }
.contact-form-wrap { background: var(--c-cream); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; gap: 1rem; }
.form-field { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); }
.form-field input, .form-field textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--c-line-strong); background: #fff; }
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: var(--c-navy); }
.contact-form .form-msg--ok { color: var(--c-ocean); }
.contact-form .form-msg--err { color: #8a1c1c; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-field--full { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; } }

.comments { max-width: 720px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.comment-list .comment { padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); }
.comment-form label { display: block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--c-navy); margin-bottom: .3rem; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--c-line-strong); }
.comment-form .submit { background: var(--c-navy); color: #fff; border: 1px solid var(--c-navy); padding: .85rem 1.5rem; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }


/* ---------- 18. Treatments (soins) ---------- */
.soins-home__grid { display: grid; gap: 2rem; margin-top: 2rem; }
.soin-card__media { display: block; overflow: hidden; background: var(--c-cream-2); margin-bottom: 1rem; }
.soin-card__media img, .soin-card__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.soin-card__media:hover img { transform: scale(1.03); }
.soin-card__title { font-size: 1.5rem; margin-bottom: .6rem; }
.soin-card__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--c-line); font-size: .875rem; }
.soin-card__list li:last-child { border-bottom: 1px solid var(--c-line); }
.soin-card__list a { color: var(--c-ink); }
.soin-card__list a:hover { color: var(--c-ocean); }
.soin-card__list span { color: var(--c-navy); font-weight: 600; white-space: nowrap; }
@media (min-width: 800px) { .soins-home__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.soins__group { display: grid; gap: 2rem; align-items: start; padding-block: clamp(2rem, 4vw, 3.5rem); }
.soins__group + .soins__group { border-top: 1px solid var(--c-line); }
.soins__media img, .soins__media .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.soin-list { margin: 1.5rem 0 2rem; border-top: 1px solid var(--c-line); }
.soin { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); }
.soin__title { font-family: var(--f-body); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .25rem; }
.soin__title a { color: var(--c-navy); }
.soin__text { font-size: .85rem; color: var(--c-muted); margin: 0; line-height: 1.55; }
.soin__meta { flex: none; text-align: right; display: flex; flex-direction: column; gap: .15rem; }
.soin__duration { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.soin__price { font-weight: 600; color: var(--c-navy); white-space: nowrap; }
@media (min-width: 900px) {
	.soins__group { grid-template-columns: 38% 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
	.soins__group--flip .soins__media { order: 2; }

}

.soin-single { display: grid; gap: 2.5rem; align-items: start; }
.soin-single__media img, .soin-single__media .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.soin-single__facts { display: flex; gap: 2.5rem; margin: 1rem 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.soin-single__facts li { display: flex; flex-direction: column; }
.soin-single__facts span { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.soin-single__facts strong { font-size: 1.1rem; color: var(--c-navy); }
.soin-single__content { margin: 0 0 2rem; max-width: none; }
@media (min-width: 900px) { .soin-single { grid-template-columns: 44% 1fr; gap: clamp(2.5rem, 6vw, 6rem); } }

.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .5rem; font-size: .875rem; }
.footer-contact .icon { width: 16px; height: 16px; flex: none; margin-top: .2rem; }


/* ---------- 67. Packs v2: editorial navy ---------- */
.packs2 { background: var(--c-navy); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.packs2::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-sand-rgb), .12), rgba(var(--c-sand-rgb), 0) 70%); pointer-events: none; }
.packs2__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.packs2__eyebrow { display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1rem; font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--c-sand); }
.packs2__eyebrow .hero__rule { background: var(--c-sand); }
.packs2__title { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: #fff; }
.packs2__title em { font-style: normal; color: inherit; }
.packs2__grid { display: grid; gap: 3rem; max-width: 1120px; margin-inline: auto; }
@media (min-width: 900px) { .packs2__grid { grid-template-columns: 1fr 1fr; gap: 0; } .pk + .pk { border-left: 1px solid rgba(255,255,255,.16); } .pk { padding-inline: clamp(2rem, 4vw, 4rem); } .pk:first-child { padding-left: 0; } .pk:last-child { padding-right: 0; } }
.pk { display: flex; flex-direction: column; }
.pk__num { font-family: var(--f-body); font-style: normal; font-weight: 300; letter-spacing: -.03em; font-size: clamp(3.5rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(var(--c-sand-rgb), .7); margin-bottom: 1.25rem; }
.pk__label { margin: 0 0 .6rem; font-size: .6rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--c-sand); }
.pk__title { font-family: var(--f-body); font-weight: 700; letter-spacing: -.01em; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.12; margin: 0 0 1.25rem; color: #fff; }
.pk__text { font-size: .92rem; line-height: 1.85; color: rgba(255,255,255,.72); margin: 0; max-width: 44ch; }
.packs2 ol.pk__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.pk__list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.pk__list-num { font-family: var(--f-body); font-style: normal; font-size: .8rem; font-weight: 600; color: var(--c-sand); line-height: 1.4; }
.pk__list h4 { margin: 0 0 .25rem; font-family: var(--f-body); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.pk__list p { margin: 0; font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.7); }
.pk__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.pk__duration { font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.pk__cta { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; background: var(--c-ivory); color: var(--c-navy); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background .3s, color .3s; }
.pk__cta:hover { background: #fff; color: var(--c-navy); }
.pk__cta .icon { transition: transform .3s var(--ease); }
.pk__cta:hover .icon { transform: translateX(3px); }
@media (max-width: 899px) { .pk + .pk { padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.16); } .pk__cta { width: 100%; justify-content: center; } }
.pk__label { display: none; }
.pk__num { margin-bottom: 1rem; }

/* ---------- 68. Compact packs v2 ---------- */
.packs2 { padding-block: clamp(2.5rem, 4.5vw, 3.75rem); }
.packs2__head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.packs2__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.packs2__grid { max-width: 1000px; }
@media (min-width: 900px) { .pk { padding-inline: clamp(1.5rem, 3vw, 2.75rem); } }
.pk__num { font-size: clamp(2.4rem, 3.6vw, 3.2rem); margin-bottom: .6rem; }
.pk__title { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-bottom: .85rem; }
.pk__text { font-size: .84rem; line-height: 1.7; }
.pk__list li { padding: .65rem 0; gap: .5rem; grid-template-columns: 1.75rem 1fr; }
.pk__list h4 { font-size: .64rem; margin-bottom: .15rem; }
.pk__list p { font-size: .78rem; line-height: 1.55; }
.pk__foot { padding-top: 1.25rem; }
.pk__cta { padding: .65rem 1.1rem; font-size: .58rem; }
.pk__duration { font-size: .56rem; }


/* ---------- 77. Conseils page ---------- */
.conseils { padding-top: clamp(2.5rem, 5vw, 4rem); }
.conseils__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.conseils .col-head__eyebrow { color: var(--c-sand-deep); }
.conseils .col-head__eyebrow .hero__rule { background: var(--c-sand); }
.conseils__title { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1.75rem; color: var(--c-navy); text-transform: none; letter-spacing: 0; }
.conseils__title em { font-style: normal; color: inherit; }
.post-card .eyebrow { color: var(--c-sand-deep); }


/* Scroll reveal (tagged by main.js): a soft fade-up, cascading inside groups. Hidden only when JS runs. */
html:not(.no-js) .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
html:not(.no-js) .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .reveal { opacity: 1; transform: none; transition: none; } }

/* Horizontal swipe rows scroll sideways only (no vertical scrollbar from hover zoom or the reveal animation). */
.colls__grid, .why__grid, .rituals__track, .featured .woocommerce ul.products, .shop-side__list { overflow-y: hidden; overscroll-behavior-x: contain; }

/* Floating WhatsApp button: royal blue circle, bottom-right on every page. */
.wa-float { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(var(--c-navy-rgb), .65); transition: transform .25s var(--ease), background .25s var(--ease); }
.wa-float:hover { transform: translateY(-2px); background: var(--c-royal); color: #fff; }
.wa-float:focus-visible { outline: 2px solid var(--c-royal); outline-offset: 3px; }
body.cart-open .wa-float, body.atc-open .wa-float, body.nav-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 699px) { .wa-float { width: 52px; height: 52px; } }
@media (max-width: 899px) { body:has(.sticky-atc.is-visible) .wa-float { bottom: 92px; } }

/* ---------- Simple headings (Customizer > Typography: Manrope / Inter / DM Sans) ----------
   A sans-serif reads larger and lighter than the display serif at the same size,
   so headings are set a step smaller, a little bolder and slightly tighter. */
.headings-sans {
	--fs-display: clamp(2.1rem, 3.6vw, 3.1rem);
	--fs-h2: clamp(1.7rem, 2.7vw, 2.35rem);
	--fs-h3: clamp(1.2rem, 1.6vw, 1.4rem);
}
.headings-sans :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3) { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.headings-sans h1, .headings-sans .h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.headings-sans h2, .headings-sans .h2 { font-size: var(--fs-h2); }
.headings-sans h3, .headings-sans .h3 { font-size: var(--fs-h3); }
.headings-sans .hero__title { font-size: var(--fs-display); line-height: 1.1; letter-spacing: -.025em; }
.headings-sans .u-card__name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.headings-sans .woocommerce ul.products li.bs-card .bs-card__name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.headings-sans div.product .product_title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; }
.headings-sans .col-head__title, .headings-sans .related.products > h2, .headings-sans .up-sells.products > h2 { font-weight: 700; letter-spacing: -.02em; }
.headings-sans .mobile-menu a { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.headings-sans .acc__summary, .headings-sans .comment-reply-title { font-size: 1.1rem; font-weight: 700; }
.headings-sans .cart-drawer__title { font-size: 1.3rem; font-weight: 700; }
.headings-sans .cart-drawer .woocommerce-mini-cart__empty-message, .headings-sans .woocommerce-thankyou-order-received { font-size: 1.15rem; font-weight: 500; }
.headings-sans .woocommerce table.shop_table td.product-name a, .headings-sans .wc-block-components-product-name, .headings-sans .sticky-atc__info strong { font-size: 1rem; font-weight: 700; }
/* Small-label headings keep their label style (the generic h2/h3 rules above must not enlarge them). */
.headings-sans .footer-col__title { margin: 0 0 1.1rem; font-family: var(--f-body); font-size: var(--fs-label); font-weight: 600; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--c-champagne); }
.headings-sans .footer-news__title { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.headings-sans .shop-side__title { margin: 0 0 .7rem; font-family: var(--f-body); font-size: .62rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--c-sand-deep); }
.headings-sans .contact2__card-title { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.01em; }
.headings-sans .prose blockquote { font-size: 1.15rem; font-weight: 500; }

/* Conseils (blog) cards: compact titles (the generic h2 size must not apply), softened photos. */
.headings-sans .post-card__title, .post-card__title { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.3; letter-spacing: -.01em; }
.post-card__media { border-radius: 4px; }
.post-card .eyebrow { margin-bottom: .55rem; color: var(--c-royal); }
.post-card__excerpt { line-height: 1.65; }

/* ---------- Header: nav left · logo centre · phone, icons, booking right (desktop) ---------- */
.header-phone, .header-book { display: none; }
@media (min-width: 1024px) {
	.primary-nav { grid-column: 1; justify-self: start; margin-left: -.7rem; }
	.site-brand { grid-column: 2; justify-content: center; }
	.header-actions { gap: .35rem; }
	.header-book { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; margin-left: .5rem; padding: .5rem 1.15rem; border: 1px solid var(--c-navy); border-radius: 999px; background: var(--c-navy); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
	.header-book:hover { background: var(--c-royal); border-color: var(--c-royal); color: #fff; }
	.header-book .icon { width: 12px; height: 12px; }
}
@media (min-width: 1280px) {
	.header-phone { display: inline-block; margin-right: .4rem; font-size: .74rem; font-weight: 500; color: var(--c-navy); white-space: nowrap; }
	.header-phone:hover { color: var(--c-royal); }
}

/* Homepage: a floating bar over the hero (translucent at the top, white once scrolled). Constant height: no jump. */
.home .site-header, .home .site-header.is-scrolled { padding-top: 12px; background: transparent; border-bottom-color: transparent; box-shadow: none; }
.home .site-header__inner { max-width: min(calc(100% - 24px), 1320px); border: 1px solid rgba(255, 255, 255, .38); border-radius: 16px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.home .site-header.is-scrolled .site-header__inner, .home.nav-open .site-header__inner { background: rgba(255, 255, 255, .96); border-color: var(--c-line); box-shadow: 0 14px 34px -22px rgba(var(--c-navy-rgb), .5); }
.home .hero { margin-top: calc(-1 * var(--header-h) - 14px); }
.home:not(.nav-open) .site-header:not(.is-scrolled) .header-phone { color: #fff; }
.home:not(.nav-open) .site-header:not(.is-scrolled) .header-book { background: #fff; border-color: #fff; color: var(--c-navy); }
.home:not(.nav-open) .site-header:not(.is-scrolled) .header-book:hover { background: var(--c-champagne); border-color: var(--c-champagne); }
.home .site-search { top: calc(100% + 8px); left: 12px; right: 12px; border-radius: 12px; }

/* Section links (e.g. FAQ → /#faq) are never shown as the current page. */
@media (min-width: 1024px) { .menu .current-menu-item > a[href*="#"]:not(:hover)::after, .menu .current_page_item > a[href*="#"]:not(:hover)::after { transform: scaleX(0); } }

/* Desktop nav: compact enough to leave clear space around the centred logo. */
@media (min-width: 1024px) {
	.site-header__inner { column-gap: clamp(2.5rem, 4vw, 4rem); }
	.menu a { padding-inline: .5rem; font-size: .66rem; letter-spacing: .1em; }
	.menu a::after { left: .5rem; right: .5rem; }
	.primary-nav { margin-left: -.5rem; }
}
/* Medium screens: not enough room to centre the logo — logo left, links centred, booking button hidden. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
	.site-brand { grid-column: 1; justify-content: flex-start; }
	.primary-nav { grid-column: 2; justify-self: center; margin-left: 0; }
	.header-book { display: none; }
}
/* Legal links in the footer's bottom line. */
.footer-legal { margin: 0; }
.footer-legal a { color: rgba(var(--c-ivory-rgb), .7); }
.footer-legal a:hover { color: var(--c-champagne); }

/* ---------- Legal pages (page-legal.php): quiet header, sticky table of contents, readable text ---------- */
.legal { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5.5rem); }
.legal__head { max-width: 860px; margin: 0 auto clamp(2rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--c-line); text-align: center; }
.legal__label { margin: 0 0 .8rem; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--c-royal); }
.headings-sans .legal__title, .legal__title { margin: 0 0 .7rem; font-family: 'Marcellus', var(--f-heading); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; line-height: 1.12; letter-spacing: 0; color: var(--c-navy); }
.legal__date { margin: 0; font-size: .8rem; color: var(--c-muted); }
.legal__layout { display: grid; gap: 2rem; max-width: 1100px; margin-inline: auto; }
.legal__toc { padding: 1.25rem 1.4rem; border: 1px solid var(--c-line); border-radius: 6px; }
.legal__toc-title { margin: 0 0 .8rem; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-navy); }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: .6rem; padding: .4rem 0; font-size: .86rem; line-height: 1.45; color: var(--c-muted); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: .72rem; color: var(--c-champagne); padding-top: .1rem; }
.legal__toc a:hover { color: var(--c-navy); }
.legal__body { min-width: 0; max-width: 720px; font-size: .97rem; line-height: 1.85; color: var(--c-ink); }
.legal__body > * + * { margin-top: 1em; }
.headings-sans .legal__body h2, .legal__body h2 { display: flex; align-items: baseline; gap: .8rem; margin: 2.6rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--c-line); font-family: 'Marcellus', var(--f-heading); font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 400; line-height: 1.25; letter-spacing: 0; color: var(--c-navy); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__num { flex: none; font-size: .85rem; color: var(--c-champagne); }
.headings-sans .legal__body h3, .legal__body h3 { margin: 1.8rem 0 .6rem; font-family: var(--f-body); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); }
.legal__body ul, .legal__body ol { padding-left: 1.3em; }
.legal__body li + li { margin-top: .35em; }
.legal__body a { color: var(--c-royal); text-decoration: underline; text-underline-offset: 3px; }
.legal__help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-top: 3rem !important; padding: 1.3rem 1.5rem; border-radius: 6px; background: var(--c-soft-sand); }
.legal__help p { margin: 0; font-weight: 500; color: var(--c-navy); }
.legal__help a { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--c-navy); }
@media (min-width: 960px) {
	.legal__layout { grid-template-columns: 260px minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 5rem); align-items: start; }
	.legal__layout--single { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
