/* =====================================================================
   Secret Salon — theme stylesheet
   ---------------------------------------------------------------------
   One file, no framework, no external font request. Colours come from CSS
   custom properties written by the Customizer (see ss_css_variables()).

   A note on scrolling, because this theme has history: nothing here sets
   overflow on <body>, nothing hijacks the scroll wheel or touch events,
   and no library is asked to "smooth" the page. Native scrolling is left
   alone, which is the only version of it that is reliable on a phone.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------ */

:root {
	--ss-bg: #050505;
	--ss-surface: #101010;
	--ss-text: #f4f3ef;
	--ss-accent: #e7e7e2;
	--ss-radius: 20px;

	--ss-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ss-font-display: var(--ss-font-sans);
	--ss-font-serif: Georgia, "Times New Roman", "Noto Serif", serif;

	--ss-muted: color-mix(in srgb, var(--ss-text) 58%, transparent);
	/* 48% / 37% rather than something prettier: against #050505 these are the
	   lowest values that still clear WCAG AA (4.5:1) for small text and the
	   3:1 that 1.4.11 wants for a control's visible boundary. */
	--ss-faint: color-mix(in srgb, var(--ss-text) 48%, transparent);
	--ss-line: color-mix(in srgb, var(--ss-text) 12%, transparent);
	--ss-line-strong: color-mix(in srgb, var(--ss-text) 37%, transparent);

	--ss-gutter: 20px;
	--ss-max: 1180px;
	--ss-section-y: clamp(72px, 11vw, 140px);
	--ss-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Fallback for browsers without color-mix(). */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	:root {
		--ss-muted: rgba(244, 243, 239, .58);
		--ss-faint: rgba(244, 243, 239, .48);
		--ss-line: rgba(244, 243, 239, .12);
		--ss-line-strong: rgba(244, 243, 239, .37);
	}
}

@media (min-width: 640px) {
	:root { --ss-gutter: 32px; }
}

/* ---------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Keeps an anchor target from landing underneath the fixed header. The
	   logged-in case, where the admin bar adds to it, is handled by the
	   inline rule in ss_admin_bar_offset(). */
	scroll-padding-top: 84px;
	background: var(--ss-bg);
}

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

body {
	margin: 0;
	overflow-wrap: break-word;
	background: var(--ss-bg);
	color: var(--ss-text);
	font-family: var(--ss-font-sans);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overscroll-behavior-y: none;
}

/* The scroll lock used by the drawer and the booking modal. It is a class
   on <html> rather than an inline style on <body>: a class can always be
   removed cleanly, whereas clearing an inline style also wipes whatever
   the stylesheet had put there — which is exactly how a page ends up
   permanently unscrollable on a phone. */
html.ss-locked {
	overflow: hidden;
	scrollbar-gutter: stable;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
blockquote { margin: 0; }

::selection { background: var(--ss-accent); color: var(--ss-bg); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ss-bg); }
::-webkit-scrollbar-thumb {
	background: rgba(244, 243, 239, .18);
	background: color-mix(in srgb, var(--ss-text) 18%, transparent);
	border-radius: 8px;
}

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

.ss-skip {
	position: absolute;
	top: -100px; left: 16px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--ss-accent);
	color: var(--ss-bg);
	border-radius: 999px;
	font-size: 13px;
	transition: top .2s;
}
.ss-skip:focus { top: 16px; }

/* ---------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------ */

.ss-wrap {
	width: 100%;
	max-width: var(--ss-max);
	margin-inline: auto;
	padding-inline: var(--ss-gutter);
}
.ss-wrap--narrow { max-width: 780px; }

.ss-main { position: relative; z-index: 1; }

.ss-section {
	padding-block: var(--ss-section-y);
	position: relative;
}
.ss-section + .ss-section { padding-top: 0; }

.ss-section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.ss-section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}
.ss-section__note {
	margin-top: 20px;
	color: var(--ss-faint);
	font-size: 13.5px;
	max-width: 62ch;
}
.ss-section__cta {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ss-grid { display: grid; gap: 20px; }
.ss-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .ss-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ss-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------
   4. Type
   ------------------------------------------------------------------ */

.ss-eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--ss-accent);
	font-weight: 500;
}

.ss-h1, .ss-h2 {
	font-family: var(--ss-font-display);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -.015em;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.ss-h1 { font-size: clamp(34px, 7vw, 62px); }
.ss-h2 { font-size: clamp(28px, 5.2vw, 48px); }

.ss-h3 {
	font-family: var(--ss-font-display);
	font-size: clamp(19px, 2.4vw, 23px);
	font-weight: 400;
}

.ss-lead {
	font-family: var(--ss-font-serif);
	font-style: italic;
	font-size: clamp(19px, 2.6vw, 26px);
	line-height: 1.45;
	color: var(--ss-text);
	max-width: 46ch;
}

.ss-muted { color: var(--ss-muted); }
.ss-empty {
	color: var(--ss-faint);
	font-size: 14px;
	padding: 28px;
	border: 1px dashed var(--ss-line);
	border-radius: var(--ss-radius);
	text-align: center;
}

.ss-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ss-accent);
	font-size: 13px;
	letter-spacing: .09em;
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color .25s;
}
.ss-link:hover { border-bottom-color: currentColor; }
.ss-link .ss-icon { width: 14px; height: 14px; }

.ss-icon { width: 18px; height: 18px; flex: none; }
.ss-icon--fill { fill: currentColor; stroke-width: 0; }

/* ---------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------ */

.ss-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .13em;
	text-transform: uppercase;
	cursor: pointer;
	text-align: center;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ss-ease);
}
.ss-btn:active { transform: translateY(1px); }

.ss-btn--solid {
	background: var(--ss-accent);
	color: var(--ss-bg);
	border-color: var(--ss-accent);
}
.ss-btn--solid:hover {
	background: var(--ss-text);
	border-color: var(--ss-text);
}

.ss-btn--ghost {
	background: transparent;
	color: var(--ss-text);
	border-color: var(--ss-line-strong);
}
.ss-btn--ghost:hover {
	border-color: var(--ss-accent);
	color: var(--ss-accent);
}

.ss-btn--lg { min-height: 54px; padding: 15px 30px; }
.ss-btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------ */

.ss-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 90;
	border-bottom: 1px solid transparent;
	transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.ss-header.is-stuck {
	background: color-mix(in srgb, var(--ss-bg) 82%, transparent);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--ss-line);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.ss-header.is-stuck { background: rgba(5, 5, 5, .9); }
}

.ss-header__inner {
	max-width: var(--ss-max);
	margin-inline: auto;
	padding-inline: var(--ss-gutter);
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ss-header__brand {
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .4s, transform .4s, visibility .4s;
	pointer-events: none;
}
/* visibility as well as opacity — pointer-events stops the mouse but not the
   Tab key, and an invisible first tab stop is disorienting. */
.ss-header.is-stuck .ss-header__brand { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.ss-logo { height: 18px; width: auto; }

.ss-nav { display: none; gap: 30px; }
@media (min-width: 1060px) { .ss-nav { display: flex; } }

.ss-nav__link {
	font-size: 11.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ss-muted);
	transition: color .25s;
}
.ss-nav__link:hover { color: var(--ss-text); }

.ss-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.ss-lang {
	display: flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--ss-line);
	border-radius: 999px;
}
.ss-lang__btn {
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 10.5px;
	letter-spacing: .14em;
	line-height: 1;
	color: var(--ss-faint);
	transition: background-color .2s, color .2s;
}
.ss-lang__btn:hover { color: var(--ss-text); }
.ss-lang__btn.is-active { background: var(--ss-accent); color: var(--ss-bg); }

.ss-header__book { display: none; }
@media (min-width: 560px) { .ss-header__book { display: inline-flex; min-height: 40px; padding: 9px 20px; font-size: 11.5px; } }

.ss-burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	flex: none;
}
@media (min-width: 1060px) { .ss-burger { display: none; } }
/* The drawer needs JavaScript to open, so without it the button is hidden
   rather than left there doing nothing. The page is one long scroll, so
   nothing is actually lost. */
html:not(.ss-js) .ss-burger { display: none; }
.ss-burger span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--ss-text);
	transition: transform .3s var(--ss-ease), opacity .2s;
}
.ss-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ss-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ss-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   7. Drawer
   ------------------------------------------------------------------ */

/* While the drawer is open the header is inert (see theme.js), so it is
   faded out rather than sitting under the backdrop looking clickable. */
html.ss-drawer-open .ss-header {
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.ss-drawer {
	position: fixed;
	inset: 0;
	z-index: 120;
}

/* Belt and braces for browsers that don't support the inert attribute. */
[inert] { pointer-events: none; }
.ss-drawer[hidden] { display: none; }

.ss-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, .82);
	background: color-mix(in srgb, var(--ss-bg) 78%, transparent);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s;
}
.ss-drawer.is-open .ss-drawer__backdrop { opacity: 1; }

.ss-drawer__panel {
	position: absolute;
	inset-block: 0;
	right: 0;
	width: min(88vw, 380px);
	background: var(--ss-surface);
	border-left: 1px solid var(--ss-line);
	padding: 84px 28px calc(28px + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
	gap: 28px;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	transition: transform .4s var(--ss-ease);
}
.ss-drawer.is-open .ss-drawer__panel { transform: none; }

.ss-drawer__close {
	position: absolute;
	top: 20px; right: 20px;
	width: 42px; height: 42px;
	display: grid;
	place-items: center;
	background: none;
	border: 1px solid var(--ss-line);
	border-radius: 999px;
	cursor: pointer;
}

.ss-drawer__links { display: flex; flex-direction: column; gap: 4px; }
.ss-drawer__links a {
	font-family: var(--ss-font-display);
	font-size: 25px;
	font-weight: 300;
	padding: 8px 0;
	color: var(--ss-text);
	transition: color .2s, padding-left .25s var(--ss-ease);
}
.ss-drawer__links a:hover { color: var(--ss-accent); padding-left: 8px; }

.ss-drawer__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ---------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------ */

.ss-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px var(--ss-gutter) 110px;
	text-align: center;
	overflow: hidden;
	overflow: clip;
}
/* A soft light behind the wordmark. Two static radial gradients — no
   canvas, no particle loop, no requestAnimationFrame running while
   someone is trying to scroll on a mid-range phone. */
.ss-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto;
	height: 90%;
	background:
		radial-gradient(60% 55% at 50% 38%, color-mix(in srgb, var(--ss-text) 9%, transparent) 0%, transparent 68%),
		radial-gradient(40% 40% at 78% 18%, color-mix(in srgb, var(--ss-accent) 6%, transparent) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}
.ss-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 900px; }

.ss-hero__logo { margin: 0 0 24px; }
.ss-hero__logo img {
	width: min(78vw, 680px);
	height: auto;
	margin-inline: auto;
}

.ss-hero__tagline {
	font-family: var(--ss-font-serif);
	font-style: italic;
	font-size: clamp(18px, 3.2vw, 27px);
	color: var(--ss-text);
	margin-bottom: 14px;
}

.ss-hero__intro {
	max-width: 52ch;
	margin-inline: auto;
	color: var(--ss-muted);
	font-size: clamp(14.5px, 1.6vw, 16.5px);
}

.ss-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}
.ss-hero__actions .ss-btn { flex: 1 1 260px; max-width: 340px; }

.ss-hero__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 36px;
	font-size: 13px;
	color: var(--ss-muted);
}
.ss-hero__meta li { display: flex; align-items: center; gap: 8px; text-align: center; }
.ss-hero__meta a { border-bottom: 1px solid var(--ss-line); }
.ss-hero__meta a:hover { border-bottom-color: var(--ss-accent); }
@media (min-width: 820px) {
	.ss-hero__meta { flex-direction: row; justify-content: center; gap: 28px; }
}

.ss-hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--ss-faint);
	z-index: 1;
	animation: ss-bob 2.6s ease-in-out infinite;
}
@keyframes ss-bob {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 7px); }
}

/* ---------------------------------------------------------------------
   9. Open / closed badge
   ------------------------------------------------------------------ */

.ss-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.ss-status__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ss-faint);
	flex: none;
}
.ss-status__dot.is-open {
	background: #63c98a;
	box-shadow: 0 0 0 4px rgba(99, 201, 138, .16);
}
.ss-status__next { color: var(--ss-faint); }
.ss-status--drawer {
	justify-content: flex-start;
	font-size: 13px;
	color: var(--ss-muted);
	margin: 0;
}

/* ---------------------------------------------------------------------
   10. About
   ------------------------------------------------------------------ */

.ss-about__grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) {
	.ss-about__grid { grid-template-columns: 5fr 7fr; align-items: start; }
	.ss-about__head { position: sticky; top: 100px; }
}
.ss-about__body > p { color: var(--ss-muted); max-width: 62ch; }
.ss-about__body > p.ss-lead { color: var(--ss-text); margin-bottom: 1.2em; }

.ss-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px 18px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--ss-line);
}
@media (min-width: 720px) { .ss-stats { grid-template-columns: repeat(4, 1fr); } }
.ss-stats__value {
	font-family: var(--ss-font-display);
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 300;
	color: var(--ss-text);
	line-height: 1;
}
.ss-stats__label {
	margin-top: 8px;
	font-size: 10.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ss-faint);
	line-height: 1.5;
}

/* ---------------------------------------------------------------------
   11. Cards & price list
   ------------------------------------------------------------------ */

.ss-card {
	background: color-mix(in srgb, var(--ss-surface) 72%, transparent);
	border: 1px solid var(--ss-line);
	border-radius: var(--ss-radius);
	padding: clamp(20px, 4vw, 40px);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.ss-card { background: rgba(16, 16, 16, .72); }
}
.ss-card--tight { padding: clamp(18px, 3vw, 26px); }

.ss-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.ss-chip {
	padding: 8px 16px;
	border: 1px solid var(--ss-line);
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ss-muted);
	transition: border-color .25s, color .25s;
}
.ss-chip:hover { border-color: var(--ss-accent); color: var(--ss-accent); }

.ss-pricegroup + .ss-pricegroup {
	margin-top: 36px;
	padding-top: 32px;
	border-top: 1px solid var(--ss-line);
}
.ss-pricegroup__title {
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ss-accent);
	margin-bottom: 8px;
	scroll-margin-top: 100px;
}

.ss-pricelist__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--ss-line);
}
.ss-pricelist__row:last-child { border-bottom: 0; padding-bottom: 0; }

.ss-pricelist__main { min-width: 0; }
.ss-pricelist__name {
	margin: 0;
	font-size: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}
.ss-pricelist__duration {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	letter-spacing: .08em;
	color: var(--ss-faint);
	text-transform: uppercase;
	white-space: nowrap;
}
.ss-pricelist__duration .ss-icon { width: 13px; height: 13px; }
.ss-pricelist__desc {
	margin: 5px 0 0;
	font-size: 13.5px;
	color: var(--ss-faint);
	max-width: 52ch;
}

.ss-pricelist__price {
	text-align: right;
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.ss-pricelist__amount {
	font-family: var(--ss-font-display);
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 300;
	color: var(--ss-accent);
	white-space: nowrap;
}
/* A free-text price such as "su consulenza" wraps between words but must
   never be broken mid-word, which the page-wide overflow-wrap would
   otherwise do inside a narrow column. */
.ss-pricelist__amount--text {
	font-size: 11.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ss-faint);
	white-space: normal;
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
	max-width: 16ch;
	line-height: 1.4;
}
.ss-pricelist__book {
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ss-muted);
	border-bottom: 1px solid var(--ss-line);
}
.ss-pricelist__book:hover { color: var(--ss-accent); border-bottom-color: currentColor; }

/* ---------------------------------------------------------------------
   12. Team
   ------------------------------------------------------------------ */

.ss-person {
	background: color-mix(in srgb, var(--ss-surface) 60%, transparent);
	border: 1px solid var(--ss-line);
	border-radius: var(--ss-radius);
	padding: 16px 16px 24px;
	transition: border-color .4s, transform .4s var(--ss-ease);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.ss-person { background: rgba(16, 16, 16, .6); }
}
@media (hover: hover) {
	.ss-person:hover { border-color: var(--ss-line-strong); transform: translateY(-4px); }
}

.ss-person__photo {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: calc(var(--ss-radius) - 6px);
	overflow: hidden;
	background: linear-gradient(160deg, #1d1d1d, #0a0a0a);
	display: grid;
	place-items: center;
	margin-bottom: 20px;
}
.ss-person__img { width: 100%; height: 100%; object-fit: cover; }
.ss-person__initial {
	font-family: var(--ss-font-display);
	font-size: 78px;
	font-weight: 200;
	color: rgba(244, 243, 239, .14);
	color: color-mix(in srgb, var(--ss-text) 14%, transparent);
}
.ss-person__tag {
	position: absolute;
	left: 12px; bottom: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(5, 5, 5, .78);
	background: color-mix(in srgb, var(--ss-bg) 72%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ss-text);
}

.ss-person__name {
	font-family: var(--ss-font-display);
	font-size: 22px;
	font-weight: 300;
	letter-spacing: .04em;
	padding-inline: 4px;
}
.ss-person__role {
	margin: 4px 0 0;
	padding-inline: 4px;
	font-size: 10.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ss-accent);
}
.ss-person__bio {
	margin: 14px 0 0;
	padding-inline: 4px;
	font-size: 14px;
	color: var(--ss-faint);
}
.ss-person__book { margin: 16px 4px 0; }

/* ---------------------------------------------------------------------
   13. Gallery
   ------------------------------------------------------------------ */

.ss-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
@media (min-width: 680px) { .ss-gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .ss-gallery { grid-template-columns: repeat(4, 1fr); } }

.ss-gallery__item {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: calc(var(--ss-radius) - 6px);
	overflow: hidden;
	border: 1px solid var(--ss-line);
	background: var(--ss-surface);
}
.ss-gallery__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ss-ease);
}
@media (hover: hover) {
	.ss-gallery__item:hover .ss-gallery__img { transform: scale(1.06); }
}
.ss-gallery__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 28px 12px 11px;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent);
	pointer-events: none;
}

/* ---------------------------------------------------------------------
   14. Reviews
   ------------------------------------------------------------------ */

.ss-rating {
	text-align: center;
	padding: clamp(28px, 5vw, 44px);
	border: 1px solid var(--ss-line);
	border-radius: var(--ss-radius);
	margin-bottom: 24px;
}
.ss-rating__score {
	font-family: var(--ss-font-display);
	font-size: clamp(46px, 9vw, 74px);
	font-weight: 200;
	letter-spacing: -.03em;
	line-height: 1;
	margin: 0;
}
.ss-rating__score span { font-size: .38em; color: var(--ss-faint); }
.ss-rating__stars {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 14px 0 10px;
	color: var(--ss-accent);
}
.ss-rating__stars .ss-icon { width: 16px; height: 16px; }
.ss-rating__meta { color: var(--ss-muted); font-size: 14px; margin-bottom: 14px; }

.ss-review {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px;
	border: 1px solid var(--ss-line);
	border-radius: var(--ss-radius);
	background: color-mix(in srgb, var(--ss-surface) 55%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.ss-review { background: rgba(16, 16, 16, .55); }
}
.ss-review__stars { display: flex; gap: 3px; color: var(--ss-accent); }
.ss-review__stars .ss-icon { width: 13px; height: 13px; }
.ss-review__text {
	font-family: var(--ss-font-serif);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ss-text);
}
.ss-review__text::before { content: "“"; }
.ss-review__text::after { content: "”"; }
.ss-review__by {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-size: 12px;
}
.ss-review__author { color: var(--ss-text); letter-spacing: .06em; }
.ss-review__source { color: var(--ss-faint); display: inline-flex; align-items: center; gap: 6px; }
.ss-review__source .ss-icon { width: 12px; height: 12px; }

/* ---------------------------------------------------------------------
   15. Directions
   ------------------------------------------------------------------ */

.ss-directions { display: grid; gap: 28px; }
@media (min-width: 900px) { .ss-directions { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }

.ss-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.ss-steps__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--ss-line);
	color: var(--ss-muted);
}
.ss-steps__item:last-child { border-bottom: 0; }
.ss-steps__num {
	flex: none;
	width: 30px; height: 30px;
	display: grid;
	place-items: center;
	border: 1px solid var(--ss-line-strong);
	border-radius: 50%;
	font-size: 12px;
	color: var(--ss-accent);
}

/* ---------------------------------------------------------------------
   16. FAQ
   ------------------------------------------------------------------ */

.ss-faq { border-top: 1px solid var(--ss-line); }
.ss-faq__item { border-bottom: 1px solid var(--ss-line); }
.ss-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(15.5px, 2vw, 17px);
	color: var(--ss-text);
}
.ss-faq__q::-webkit-details-marker { display: none; }
.ss-faq__chevron { color: var(--ss-faint); transition: transform .3s var(--ss-ease); }
.ss-faq__item[open] .ss-faq__chevron { transform: rotate(180deg); }
.ss-faq__a {
	padding: 0 0 22px;
	color: var(--ss-muted);
	max-width: 66ch;
	font-size: 15px;
}
.ss-faq__a p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------------ */

.ss-footer {
	position: relative;
	border-top: 1px solid var(--ss-line);
	padding-top: var(--ss-section-y);
	padding-bottom: calc(120px + env(safe-area-inset-bottom));
	scroll-margin-top: 80px;
}
.ss-footer__title {
	font-family: var(--ss-font-display);
	font-size: clamp(26px, 4.6vw, 40px);
	font-weight: 300;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.ss-footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .ss-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.ss-footer__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ss-accent);
	margin: 0 0 14px;
	font-weight: 500;
}
.ss-footer__label:not(:first-child) { margin-top: 24px; }
.ss-footer__label .ss-icon { width: 14px; height: 14px; }

.ss-footer__address { display: flex; flex-direction: column; gap: 3px; color: var(--ss-muted); font-size: 15px; margin-bottom: 16px; }
.ss-footer__note { margin-top: 14px; font-size: 12.5px; color: var(--ss-faint); }
.ss-footer__cta { margin-top: 22px; }

.ss-hours { display: flex; flex-direction: column; }
.ss-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	font-size: 14.5px;
	color: var(--ss-muted);
	border-bottom: 1px solid rgba(244, 243, 239, .05);
}
.ss-hours__row:last-child { border-bottom: 0; }
.ss-hours__row.is-today { color: var(--ss-text); }
.ss-hours__row.is-today .ss-hours__day::after {
	content: "•";
	margin-left: 7px;
	color: var(--ss-accent);
}
.ss-hours__day { color: var(--ss-faint); }
.ss-hours__row.is-today .ss-hours__day { color: var(--ss-text); }

.ss-contactlist { display: flex; flex-direction: column; gap: 10px; }
.ss-contactlist a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ss-muted);
	font-size: 15px;
	transition: color .2s;
}
.ss-contactlist a:hover { color: var(--ss-text); }
.ss-contactlist .ss-icon { width: 16px; height: 16px; color: var(--ss-accent); }

.ss-footer__legal {
	margin-top: clamp(40px, 6vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--ss-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	font-size: 12px;
	color: var(--ss-faint);
}
.ss-footer__legal p { margin: 0; }
.ss-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.ss-footer__links a { transition: color .2s; }
.ss-footer__links a:hover { color: var(--ss-text); }

/* ---------------------------------------------------------------------
   18. Sticky action bar
   ------------------------------------------------------------------ */

.ss-actionbar {
	position: fixed;
	z-index: 80;
	left: 50%;
	bottom: calc(14px + env(safe-area-inset-bottom));
	transform: translate(-50%, 160%);
	width: min(calc(100vw - 24px), 520px);
	display: flex;
	align-items: stretch;
	gap: 8px;
	padding: 8px;
	border-radius: 999px;
	border: 1px solid var(--ss-line);
	background: color-mix(in srgb, var(--ss-surface) 88%, transparent);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .9);
	transition: transform .45s var(--ss-ease);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.ss-actionbar { background: rgba(16, 16, 16, .94); }
}
/* visibility, not just transform: an element pushed off-screen is still in
   the tab order and still announced by a screen reader. */
.ss-actionbar { visibility: hidden; }
.ss-actionbar.is-visible { visibility: visible; transform: translate(-50%, 0); }
html:not(.ss-js) .ss-actionbar { display: none; }

/* On a wide screen the fixed header already carries a permanent booking
   button, so a second floating one is just something covering the page. */
@media (min-width: 1060px) {
	.ss-actionbar { display: none !important; }
}

.ss-actionbar__primary {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--ss-accent);
	color: var(--ss-bg);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	transition: background-color .25s;
}
.ss-actionbar__primary:hover { background: var(--ss-text); }

.ss-actionbar__icon {
	flex: none;
	width: 46px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	border: 1px solid var(--ss-line);
	color: var(--ss-text);
	transition: border-color .25s, color .25s;
}
.ss-actionbar__icon:hover { border-color: var(--ss-accent); color: var(--ss-accent); }

/* ---------------------------------------------------------------------
   19. Booking modal
   ------------------------------------------------------------------ */

.ss-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; }
.ss-modal[hidden] { display: none; }
.ss-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .78);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.ss-modal__dialog {
	position: relative;
	width: min(100%, 840px);
	max-height: min(92vh, 900px);
	display: flex;
	flex-direction: column;
	background: var(--ss-surface);
	border: 1px solid var(--ss-line);
	border-radius: var(--ss-radius);
	overflow: hidden;
}
.ss-modal__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--ss-line);
}
.ss-modal__title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ss-accent); }
.ss-modal__external {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ss-faint);
}
.ss-modal__external:hover { color: var(--ss-text); }
.ss-modal__close {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	background: none;
	border: 1px solid var(--ss-line);
	border-radius: 999px;
	cursor: pointer;
}
.ss-modal__body { flex: 1; min-height: 60vh; overflow: auto; -webkit-overflow-scrolling: touch; }
.ss-modal__body iframe { display: block; width: 100% !important; min-height: 70vh; border: 0; background: var(--ss-bg); }

/* ---------------------------------------------------------------------
   20. Prose (privacy policy, 404 …)
   ------------------------------------------------------------------ */

.ss-prose { padding-block: calc(var(--ss-section-y) + 60px) var(--ss-section-y); max-width: 760px; }
.ss-prose h2 { font-family: var(--ss-font-display); font-size: 26px; font-weight: 300; margin: 40px 0 12px; }
.ss-prose h3 { font-size: 18px; margin: 28px 0 8px; }
.ss-prose p, .ss-prose li { color: var(--ss-muted); }
.ss-prose ul, .ss-prose ol { margin: 0 0 1em 1.2em; }
.ss-prose li { list-style: disc; margin-bottom: .4em; }
.ss-prose a { color: var(--ss-accent); border-bottom: 1px solid var(--ss-line); }
.ss-404 { text-align: center; }
.ss-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------------------------------------------------------------------
   21. Reveal on scroll
   ------------------------------------------------------------------ */

.ss-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ss-ease), transform .7s var(--ss-ease);
	transition-delay: var(--ss-delay, 0ms);
}
.ss-reveal.is-in { opacity: 1; transform: none; }

/* Without JavaScript nothing would ever get .is-in, so everything must
   already be visible. The hidden starting state is opt-in via the .ss-js
   class that a four-line inline script in <head> adds before first paint
   (see ss_js_flag() in functions.php). */
html:not(.ss-js) .ss-reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.ss-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.ss-hero__scroll { animation: none; }
	.ss-gallery__img, .ss-person { transition: none; }
}
.ss-no-motion .ss-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.ss-no-motion .ss-hero__scroll { animation: none; }

/* ---------------------------------------------------------------------
   22. Print
   ------------------------------------------------------------------ */

@media print {
	.ss-header, .ss-drawer, .ss-actionbar, .ss-hero__scroll, .ss-modal { display: none !important; }
	body { background: #fff; color: #111; }
	.ss-section { padding-block: 24px; }
	.ss-faq__item[open] .ss-faq__a, .ss-faq__a { display: block; }
}
