/**
 * Sassy Salon — design tokens, Total/WPBakery integration, header, footer and homepage components.
 *
 * Source of truth: design/sassy-salon-redesign.html (approved mockup), default state:
 * palette "cream" (Ivory / Cacao) + font system "editorial" (Cormorant Garamond + DM Sans).
 * The mockup's Design Playground (palette/font switcher) is intentionally NOT implemented.
 */

/* =========================================================================
 * 1. Tokens
 * ====================================================================== */

:root {
	--ss-paper: #f6f2ed;
	--ss-paper2: #eee8e0;
	--ss-ink: #24211e;
	--ss-muted: #7c756d;
	--ss-line: rgba(48, 37, 29, .14);
	--ss-accent: #9a6d53;
	--ss-accent2: #d9b8a2;
	--ss-white: #fffcf7;
	--ss-dark: #26221f;
	--ss-dark-text: #f7f2ed;
	--ss-font-head: 'Cormorant Garamond', Georgia, serif;
	--ss-font-body: 'DM Sans', Arial, sans-serif;
	--ss-gutter: 56px;
	--ss-max: 1440px;
	--ss-topline-h: 34px;
	--ss-adminbar-h: 0px;

	/* Total variables, so theme-generated UI (forms, editors, other pages) uses the same palette. */
	--wpex-accent: var(--ss-accent);
	--wpex-link-color: var(--ss-ink);
	--wpex-hover-link-color: var(--ss-accent);
	--wpex-heading-color: var(--ss-ink);
	--wpex-text-1: var(--ss-ink);
	--wpex-text-2: var(--ss-ink);
	--wpex-body-font-family: var(--ss-font-body);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 95px;
}

body.ss-site {
	margin: 0;
	background: var(--ss-paper);
	color: var(--ss-ink);
	font-family: var(--ss-font-body);
	font-size: 16px;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
}

body.ss-site.admin-bar { --ss-adminbar-h: 32px; }

.ss-site ::selection { background: var(--ss-accent); color: #fff; }

/* =========================================================================
 * 2. Total / WPBakery integration
 * ====================================================================== */

/* Header & footer builder templates go edge to edge; the components carry their own shell. */
.ss-site #site-header {
	position: sticky;
	top: calc(var(--ss-adminbar-h) - var(--ss-topline-h));
	z-index: 30;
	background: none;
	border: 0;
}
.ss-site #site-header-inner,
.ss-site #footer-builder .footer-builder-content {
	width: 100%;
	max-width: none;
	height: auto;
	padding: 0;
}

/* WPBakery rows used by the components. */
.ss-site .vc_row.ss-row {
	margin: 0;
	padding-inline: max(var(--ss-gutter), calc((100% - var(--ss-max)) / 2));
}
.ss-site .vc_row.ss-row.ss-row--bleed { padding-inline: 0; }
.ss-site .ss-row::before,
.ss-site .ss-row::after,
.ss-site .ss-row .vc_row::before,
.ss-site .ss-row .vc_row::after { display: none; }
.ss-site .ss-row .wpb_column { float: none; width: auto; min-height: 0; }
.ss-site .ss-row .vc_column-inner { padding: 0; margin: 0; }
.ss-site .ss-row .wpb_content_element,
.ss-site .ss-row .wpb_text_column :last-child { margin-bottom: 0; }

/* Links and buttons inside our components: the mockup resets links to inherit the text color. */
.ss-site :where(.ss-row, #site-header, #footer-builder) a,
.ss-site :where(.ss-row, #site-header, #footer-builder) a:hover {
	color: inherit;
	text-decoration: none;
}
.ss-site :where(.ss-row, #site-header) button { font: inherit; cursor: pointer; }
.ss-site :where(.ss-row, #site-header, #footer-builder) img { max-width: 100%; display: block; }

/* Hidden content only once JavaScript is confirmed (see inc/assets.php). */
.ss-js .ss-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.ss-js .ss-reveal.is-visible { opacity: 1; transform: translateY(0); }
.compose-mode .ss-reveal { opacity: 1 !important; transform: none !important; }

/* =========================================================================
 * 3. Shared elements
 * ====================================================================== */

.ss-site .ss-shell { width: min(100% - 112px, 1440px); margin-inline: auto; }

.ss-site .ss-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--ss-accent);
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: .22em;
	font-weight: 700;
	line-height: normal;
}
.ss-site .ss-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }

.ss-site .ss-title {
	color: inherit;
	font-family: var(--ss-font-head);
	font-weight: 400;
}
.ss-site .ss-title em { font-weight: 400; }

.ss-site .ss-section-head { display: flex; gap: 32px; justify-content: space-between; align-items: end; margin-bottom: 50px; }
.ss-site .ss-section-head .ss-title {
	font-size: clamp(58px, 6.6vw, 110px);
	letter-spacing: -.055em;
	line-height: .87;
	margin: 20px 0 0;
}
.ss-site .ss-section-intro { max-width: 350px; font-size: 14px; color: var(--ss-muted); line-height: 1.9; margin: 0 0 7px; }

.ss-site .ss-text-link {
	display: inline-flex;
	gap: 19px;
	align-items: center;
	border-bottom: 1px solid currentColor;
	padding-bottom: 9px;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	transition: gap .25s;
}
.ss-site .ss-text-link:hover { gap: 27px; }

.ss-site .ss-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 38px;
	padding: 18px 23px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	line-height: normal;
	border: 1px solid var(--ss-ink);
	background: var(--ss-ink);
	color: var(--ss-paper);
	transition: transform .25s, background .25s, color .25s, border-color .25s;
	min-height: 53px;
}
.ss-site .ss-button:hover { transform: translateY(-3px); background: var(--ss-accent); border-color: var(--ss-accent); color: #fff; }

.ss-site .ss-actions { display: flex; align-items: center; gap: 35px; flex-wrap: wrap; }
.ss-site .ss-actions--note { justify-content: space-between; flex-wrap: nowrap; gap: 25px; }
.ss-site .ss-actions--note p { margin: 0; }

/* =========================================================================
 * 4. Header
 * ====================================================================== */

.ss-site .ss-topline {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ss-dark);
	color: var(--ss-dark-text);
	font-size: 9px;
	letter-spacing: .23em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 16px;
	line-height: normal;
}
.ss-site .ss-topline span { opacity: .65; padding: 0 14px; }

.ss-site .ss-header {
	position: relative;
	background: color-mix(in srgb, var(--ss-paper) 95%, transparent);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--ss-line);
	color: var(--ss-ink);
}
.ss-site .ss-header-inner { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Original Sassy Salon logo (white PNG), turned black on the light header. */
.ss-site .ss-logo { display: flex; align-items: center; justify-content: flex-start; width: 190px; flex: none; position: relative; line-height: 1; }
.ss-site .ss-logo-img { width: 100%; height: auto; max-height: 78px; object-fit: contain; filter: brightness(0); }

.ss-site .ss-nav { display: flex; align-items: center; gap: clamp(15px, 2.05vw, 35px); }
.ss-site .ss-nav a:not(.ss-nav-cta) { text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 700; transition: color .2s; }
.ss-site .ss-nav a:hover { color: var(--ss-accent); }
.ss-site .ss-nav a[aria-current="page"]:not(.ss-nav-cta) { color: var(--ss-accent); }
.ss-site .ss-nav a[aria-current="page"]:not(.ss-nav-cta)::after { content: ''; display: block; height: 1px; background: currentColor; margin-top: 8px; }
.ss-site .ss-nav .ss-nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 14px 17px;
	border: 1px solid var(--ss-ink);
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .11em;
	line-height: normal;
	transition: background .2s, color .2s;
}
.ss-site .ss-nav .ss-nav-cta:hover { background: var(--ss-ink); color: var(--ss-paper); }
.ss-site .ss-menu-toggle { display: none; border: 0; background: none; color: var(--ss-ink); padding: 12px; }
.ss-site .ss-menu-toggle svg { width: 25px; height: 25px; display: block; }

/* =========================================================================
 * 5. Hero
 * ====================================================================== */

.ss-site .ss-hero { overflow: hidden; }
.ss-site .ss-hero-layout { display: grid; grid-template-columns: 51.5% 48.5%; min-height: min(780px, 82vw); }
.ss-site .ss-hero-copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 90px clamp(30px, 5.5vw, 105px) 95px max(56px, calc((100vw - 1328px) / 2));
}
.ss-site .ss-hero-copy::after {
	content: 'S';
	position: absolute;
	z-index: 0;
	top: -110px;
	right: -50px;
	font: normal 630px/.9 var(--ss-font-head);
	color: var(--ss-accent);
	opacity: .045;
	pointer-events: none;
}
.ss-site .ss-hero-copy > * { position: relative; z-index: 1; }
.ss-site .ss-hero .ss-micro { letter-spacing: .24em; text-transform: uppercase; color: var(--ss-accent); font-size: 10px; font-weight: 700; margin-bottom: 38px; line-height: normal; }
.ss-site .ss-hero h1 {
	color: inherit;
	font-family: var(--ss-font-head);
	font-weight: 400;
	font-size: clamp(81px, 9.1vw, 151px);
	letter-spacing: -.077em;
	line-height: .77;
	margin: 0 0 40px;
	white-space: nowrap;
}
.ss-site .ss-hero h1 em { display: block; font-weight: 400; margin: 13px 0 0 37px; letter-spacing: -.071em; color: var(--ss-accent); }
.ss-site .ss-hero-text { max-width: 330px; font-size: 14px; line-height: 1.95; color: var(--ss-muted); margin: 0 0 35px; }
.ss-site .ss-hero-actions { display: flex; align-items: center; gap: 35px; flex-wrap: wrap; }
.ss-site .ss-hero-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	bottom: 34px;
	left: max(56px, calc((100vw - 1328px) / 2));
	right: 54px;
	font-size: 10px;
	letter-spacing: .12em;
	color: var(--ss-muted);
	text-transform: uppercase;
	line-height: normal;
}
.ss-site .ss-hero-bottom span:nth-child(2) { width: 62px; height: 1px; background: var(--ss-line); }
.ss-site .ss-hero-photo { position: relative; overflow: hidden; min-height: 700px; background: #a79a8c; }
.ss-site .ss-hero-photo img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	position: absolute;
	inset: 0;
	filter: saturate(.78) contrast(.95);
	animation: ss-hero-entrance 1.35s ease-out both;
}
.ss-site .ss-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 14, 12, 0) 63%, rgba(22, 17, 14, .5) 100%); }
.ss-site .ss-hero-vertical { position: absolute; right: 30px; top: 40px; z-index: 2; writing-mode: vertical-rl; color: #fff; letter-spacing: .24em; font-size: 10px; font-weight: 700; line-height: normal; }
.ss-site .ss-hero-photo-caption { position: absolute; z-index: 2; bottom: 47px; left: 45px; color: #fff; display: flex; align-items: center; gap: 18px; }
.ss-site .ss-hero-photo-caption .ss-tiny-circle { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); width: 47px; height: 47px; border-radius: 50%; font-size: 20px; }
.ss-site .ss-hero-photo-caption small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.8; }
@keyframes ss-hero-entrance { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }

/* =========================================================================
 * 6. Services
 * ====================================================================== */

.ss-site .vc_row.ss-services { padding-block: 150px; }
.ss-site .ss-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ss-site .ss-service { position: relative; min-height: 480px; overflow: hidden; background: var(--ss-paper2); display: block; }
.ss-site .ss-service img { position: absolute; inset: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; transition: transform .75s cubic-bezier(.2, .65, .2, 1); filter: saturate(.75); }
.ss-site .ss-service:hover img { transform: scale(1.075); }
.ss-site .ss-service::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 8, .04) 39%, rgba(20, 16, 13, .82)); }
.ss-site .ss-service-top { position: absolute; z-index: 1; top: 26px; left: 28px; color: #fff; font-size: 10px; letter-spacing: .2em; line-height: normal; }
.ss-site .ss-service-bottom { position: absolute; z-index: 1; left: 30px; right: 28px; bottom: 29px; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.ss-site .ss-service h3 { color: inherit; font: 400 clamp(38px, 4vw, 59px)/.93 var(--ss-font-head); letter-spacing: -.04em; margin: 0 0 9px; }
.ss-site .ss-service p { font-size: 11px; opacity: .85; letter-spacing: .03em; margin: 0; line-height: normal; }
.ss-site .ss-circle-arrow { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; height: 45px; width: 45px; flex-shrink: 0; transition: transform .25s, background .25s; }
.ss-site .ss-circle-arrow svg { width: 16px; height: 16px; }
.ss-site .ss-service:hover .ss-circle-arrow { background: rgba(255, 255, 255, .22); transform: rotate(-45deg); }
.ss-site .ss-below-services { padding-top: 32px; color: var(--ss-muted); font-size: 12px; line-height: 1.8; align-items: stretch; }
.ss-site .ss-below-services .ss-text-link { color: var(--ss-ink); }

/* =========================================================================
 * 7. Story (statement)
 * ====================================================================== */

.ss-site .vc_row.ss-statement {
	background: var(--ss-paper2);
	padding-block: 117px 126px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10%;
	align-items: center;
}
.ss-site .ss-statement-images { height: 660px; position: relative; }
.ss-site .ss-statement-images .ss-photo-a { position: absolute; left: 1%; top: 0; width: 67%; height: 85%; object-fit: cover; filter: saturate(.75); }
.ss-site .ss-statement-images .ss-photo-b { position: absolute; right: 0; bottom: 0; width: 52%; height: 52%; object-fit: cover; border: 10px solid var(--ss-paper2); filter: saturate(.7); }
.ss-site .ss-stamp {
	position: absolute;
	z-index: 2;
	top: 35px;
	right: 3%;
	width: 114px;
	height: 114px;
	border-radius: 50%;
	background: var(--ss-dark);
	color: var(--ss-dark-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	transform: rotate(13deg);
	text-align: center;
}
.ss-site .ss-stamp span { font: italic 30px/.8 var(--ss-font-head); }
.ss-site .ss-stamp small { font-size: 7px; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }

.ss-site .ss-story-copy { padding-right: 5%; }
.ss-site .ss-story-copy .ss-title { font-size: clamp(60px, 6.6vw, 106px); line-height: .87; letter-spacing: -.055em; margin: 24px 0 28px; }
.ss-site .ss-story-copy .ss-title em,
.ss-site .ss-contact-copy .ss-title em { color: var(--ss-accent); }
.ss-site .ss-lead { font-size: 16px; line-height: 1.85; max-width: 435px; margin-bottom: 20px !important; }
.ss-site .ss-soft { font-size: 13px; color: var(--ss-muted); line-height: 1.95; max-width: 435px; margin-bottom: 35px !important; }
.ss-site .ss-lead p,
.ss-site .ss-soft p { margin: 0; }
.ss-site .ss-story-copy .ss-actions { display: block; } /* inline link in the mockup */
.ss-site .ss-story-points { display: flex; gap: 30px; border-top: 1px solid var(--ss-line); margin-top: 50px; padding-top: 25px; }
.ss-site .ss-story-points div { flex: 1; }
.ss-site .ss-story-points b { display: block; color: var(--ss-accent); font: italic 42px/1 var(--ss-font-head); margin-bottom: 9px; }
.ss-site .ss-story-points span { display: block; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.7; }

/* =========================================================================
 * 8. Gallery
 * ====================================================================== */

.ss-site .vc_row.ss-gallery { padding-block: 155px 145px; }
.ss-site .ss-gallery-tabs { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
.ss-site .ss-gallery-tabs button {
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	padding: 7px 0;
	color: var(--ss-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: normal;
	transition: color .2s;
}
.ss-site .ss-gallery-tabs button:hover { color: var(--ss-ink); }
.ss-site .ss-gallery-tabs button.active { color: var(--ss-ink); border-bottom-color: var(--ss-ink); }
.ss-site .ss-gallery-grid { display: grid; grid-template-columns: 1.15fr .82fr 1.07fr; grid-auto-rows: 280px; gap: 17px; }
.ss-site .ss-gallery-item {
	position: relative;
	display: block;
	min-height: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	text-align: left;
	background: var(--ss-paper2);
	color: #fff;
	isolation: isolate;
}
.ss-site .ss-gallery-item img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s; filter: saturate(.81); }
.ss-site .ss-gallery-item:hover img { transform: scale(1.09); }
.ss-site .ss-gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(10, 8, 7, .7)); z-index: 1; }
.ss-site .ss-gallery-caption { position: absolute; z-index: 2; bottom: 22px; left: 25px; font: italic 29px/1 var(--ss-font-head); pointer-events: none; }
.ss-site .ss-gallery-item .ss-zoom { position: absolute; top: 17px; right: 19px; z-index: 2; font-size: 26px; line-height: 1; opacity: 0; transform: translateY(5px); transition: all .2s; pointer-events: none; }
.ss-site .ss-gallery-item:hover .ss-zoom,
.ss-site .ss-gallery-item:focus-visible .ss-zoom { opacity: 1; transform: translateY(0); }
.ss-site .ss-gallery-item:nth-child(1),
.ss-site .ss-gallery-item:nth-child(4) { grid-row: span 2; }
.ss-site .ss-gallery-item[hidden] { display: none; }
.ss-site .ss-gallery-grid.filtered { grid-auto-rows: 380px; }
.ss-site .ss-gallery-grid.filtered .ss-gallery-item { grid-row: auto; grid-column: auto; }
.ss-site .ss-gallery-note { margin-top: 30px; gap: 20px; }
.ss-site .ss-gallery-note p { color: var(--ss-muted); font-size: 12px; line-height: 1.7; }

.ss-lightbox {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	align-content: center;
	background: rgba(13, 11, 10, .93);
	padding: 58px 30px 34px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
.ss-lightbox[hidden] { display: none; }
.ss-lightbox.open { opacity: 1; visibility: visible; }
.ss-lightbox img { width: auto; max-width: min(850px, 100%); max-height: 76vh; object-fit: contain; box-shadow: 0 15px 80px rgba(0, 0, 0, .25); }
.ss-lightbox p { color: #fff; font: italic 26px var(--ss-font-head); text-align: center; margin: 15px 0; }
.ss-lightbox .ss-lightbox-close { position: absolute; right: 25px; top: 16px; border: 1px solid #fff8; border-radius: 0; color: #fff; background: transparent; font-size: 28px; line-height: 1; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.admin-bar .ss-lightbox .ss-lightbox-close { top: 48px; }

/* =========================================================================
 * 9. Quote
 * ====================================================================== */

.ss-site .vc_row.ss-quote-section { padding-block: 123px 122px; background: var(--ss-dark); color: var(--ss-dark-text); text-align: center; position: relative; overflow: hidden; }
.ss-site .vc_row.ss-quote-section::before,
.ss-site .vc_row.ss-quote-section::after { display: block; content: '“'; font: italic 370px/1 var(--ss-font-head); position: absolute; color: var(--ss-accent2); opacity: .08; top: 0; left: 1%; pointer-events: none; }
.ss-site .vc_row.ss-quote-section::after { content: '”'; left: auto; right: 3%; top: 22%; }
.ss-site .ss-quote .ss-eyebrow { color: var(--ss-accent2); }
.ss-site .ss-quote blockquote {
	font: 400 clamp(33px, 4.1vw, 64px)/1.13 var(--ss-font-head);
	letter-spacing: -.025em;
	max-width: 1000px;
	margin: 40px auto 36px;
	padding: 0;
	border: 0;
	color: inherit;
	quotes: none;
}
.ss-site .ss-quote blockquote::before,
.ss-site .ss-quote blockquote::after { content: none; }
.ss-site .ss-quote cite { display: inline; font-style: normal; text-transform: uppercase; letter-spacing: .22em; font-size: 10px; color: #d2b9a4; }

/* =========================================================================
 * 10. Journal
 * ====================================================================== */

.ss-site .vc_row.ss-journal { padding-block: 145px; }
.ss-site .ss-journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.ss-site .ss-journal-card { display: grid; grid-template-columns: 46% 54%; min-height: 265px; background: var(--ss-paper2); }
.ss-site .ss-journal-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.67); }
.ss-site .ss-journal-text { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.ss-site .ss-journal-text span { font-size: 10px; color: var(--ss-accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 19px; }
.ss-site .ss-journal-text h3 { color: inherit; font: 400 clamp(29px, 3vw, 46px)/1 var(--ss-font-head); letter-spacing: -.025em; margin: 0 0 20px; }
.ss-site .ss-journal-text h3 a:hover { color: var(--ss-accent); }
.ss-site .ss-journal-text small { color: var(--ss-muted); font-size: 11px; line-height: 1.6; }

/* =========================================================================
 * 11. Contact
 * ====================================================================== */

.ss-site .vc_row.ss-contact { background: var(--ss-paper2); display: grid; grid-template-columns: 47% 53%; min-height: 610px; }
.ss-site .ss-contact-photo { position: relative; overflow: hidden; background: #8c7a6d; }
.ss-site .ss-image-panel { position: absolute; inset: 0; }
.ss-site .ss-image-panel img { height: 100%; width: 100%; max-width: none; object-fit: cover; position: absolute; inset: 0; filter: saturate(.68); }
.ss-site .ss-image-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .32), transparent 47%); }
.ss-site .ss-image-panel span { position: absolute; left: 45px; bottom: 42px; z-index: 2; color: #fff; font: italic 48px var(--ss-font-head); }
.ss-site .ss-contact-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(45px, 7vw, 145px); }
.ss-site .ss-contact-copy .ss-eyebrow { display: flex; } /* flex item in the mockup (blockified) */
.ss-site .ss-contact-copy .ss-title { font-size: clamp(67px, 7vw, 117px); line-height: .83; letter-spacing: -.055em; margin: 24px 0 32px; }
.ss-site .ss-contact-text { color: var(--ss-muted); font-size: 14px; line-height: 1.85; max-width: 420px; margin-bottom: 30px !important; }
.ss-site .ss-contact-text p { margin: 0; }
.ss-site .vc_row.ss-contact-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin: 58px 0 0;
	border-top: 1px solid var(--ss-line);
	padding-top: 29px;
}
.ss-site .ss-contact-meta h4 { font-family: var(--ss-font-body); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; line-height: normal; margin: 0 0 12px; color: var(--ss-accent); }
.ss-site .ss-contact-meta p,
.ss-site .ss-contact-meta a { font-size: 12px; line-height: 1.85; margin: 0; color: var(--ss-muted); }
.ss-site .ss-contact-meta a:hover { color: var(--ss-accent); }

/* =========================================================================
 * 12. Footer
 * ====================================================================== */

.ss-site #footer-builder { background: var(--ss-dark); color: var(--ss-dark-text); }
.ss-site .vc_row.ss-footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr .75fr; gap: 50px; align-items: start; padding-top: 66px; padding-bottom: 70px; }
.ss-site .ss-footer-logo { width: 198px; }
.ss-site .ss-footer-logo figure { margin: 0; }
.ss-site .ss-footer-logo img { width: 100%; height: auto; max-height: 80px; object-fit: contain; }
.ss-site .ss-footer-info { max-width: 300px; font-size: 12px; line-height: 1.9; opacity: .62; margin-top: 23px; margin-bottom: 12px !important; }
.ss-site .ss-footer-info p { margin: 0; }
.ss-site .ss-footer-col h4 { display: block; font: 700 10px var(--ss-font-body); letter-spacing: .18em; text-transform: uppercase; line-height: normal; color: var(--ss-accent2); margin: 12px 0 20px; }
.ss-site .ss-footer-col p { font-size: 12px; line-height: 1.9; margin: 0 0 12px; opacity: .78; }
.ss-site #footer-builder .ss-footer-col a:hover { color: var(--ss-accent2); }
.ss-site .ss-social { display: flex; gap: 10px; }
.ss-site .ss-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; transition: border-color .2s, color .2s; }
.ss-site #footer-builder .ss-social a:hover { color: var(--ss-accent2); border-color: currentColor; }
.ss-site .ss-footer-nav { display: flex; flex-direction: column; gap: 14px; }
.ss-site .ss-footer-links .wpb_text_column { margin-bottom: 20px; }
.ss-site .ss-footer-nav a { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; line-height: normal; }
.ss-site #footer-builder .ss-footer-nav a:hover { color: var(--ss-accent2); }
.ss-site .vc_row.ss-footer-bottom { padding-bottom: 23px; }
.ss-site .ss-footer-bottom .wpb_text_column p {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, .17);
	padding-top: 21px;
	margin: 0;
	color: #baaea5;
	font-size: 9px;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: normal;
}
.ss-site #footer-builder .ss-footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.ss-site #footer-builder .ss-footer-bottom a:hover { color: var(--ss-accent2); }
.ss-site .ss-footer-bottom .wpb_text_column p { padding-right: 62px; } /* room for the back-to-top arrow */

/* Back-to-top arrow (inc/setup.php), always visible. */
.ss-site .ss-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 990; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ss-ink); color: #fff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: background .2s, transform .2s; }
.ss-site .ss-to-top:hover { background: var(--ss-accent); color: #fff; transform: translateY(-3px); }
.ss-site .ss-to-top:focus-visible { outline: 2px solid var(--ss-accent); outline-offset: 3px; }

/* =========================================================================
 * 13. Responsive (same breakpoints as the mockup)
 * ====================================================================== */

@media (max-width: 1180px) {
	:root { --ss-gutter: 35px; --ss-max: 1100px; }
	.ss-site .ss-shell { width: min(100% - 70px, 1100px); }
	.ss-site .ss-header-inner { height: 76px; }
	.ss-site .ss-logo { width: 165px; }
	.ss-site .ss-nav { gap: 18px; }
	.ss-site .ss-nav a:not(.ss-nav-cta) { font-size: 9px; }
	.ss-site .ss-hero-copy { padding-left: 50px; padding-right: 22px; }
	.ss-site .ss-hero-bottom { left: 50px; }
	.ss-site .ss-hero h1 { font-size: clamp(70px, 8.5vw, 104px); }
	.ss-site .ss-hero-photo { min-height: 620px; }
	.ss-site .ss-service { min-height: 400px; }
	.ss-site .ss-statement-images { height: 560px; }
	.ss-site .ss-contact-copy { padding-inline: 60px; }
}

@media (max-width: 890px) {
	.ss-site .vc_row.ss-footer-main { grid-template-columns: 1fr 1fr; gap: 45px 40px; }
	.ss-site .ss-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ss-paper);
		padding: 28px 35px 34px;
		border-top: 1px solid var(--ss-line);
		box-shadow: 0 20px 25px #0001;
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
	}
	.ss-site .ss-nav.open { display: flex; }
	.ss-site .ss-nav a:not(.ss-nav-cta) { font-size: 12px; }
	.ss-site .ss-nav .ss-nav-cta { width: max-content; }
	.ss-site .ss-menu-toggle { display: block; margin-left: auto; }
	.ss-site .ss-hero-layout { grid-template-columns: 1fr 1fr; min-height: 600px; }
	.ss-site .ss-hero-copy { padding: 90px 25px 100px 35px; }
	.ss-site .ss-hero h1 { font-size: clamp(65px, 9vw, 100px); }
	.ss-site .ss-hero h1 em { margin-left: 6px; }
	.ss-site .ss-hero-photo { min-height: 600px; }
	.ss-site .ss-hero-actions { gap: 20px; }
	.ss-site .ss-hero-bottom { left: 35px; right: 20px; }
	.ss-site .vc_row.ss-services { padding-block: 95px; }
	.ss-site .ss-services-grid { gap: 12px; }
	.ss-site .ss-service { min-height: 350px; }
	.ss-site .ss-service h3 { font-size: 35px; }
	.ss-site .ss-service-bottom { left: 15px; right: 15px; bottom: 20px; }
	.ss-site .ss-circle-arrow { width: 34px; height: 34px; }
	.ss-site .vc_row.ss-statement { padding-block: 90px; gap: 6%; }
	.ss-site .ss-statement-images { height: 520px; }
	.ss-site .ss-story-copy .ss-title { font-size: 62px; }
	.ss-site .ss-story-points { gap: 10px; }
	.ss-site .vc_row.ss-gallery,
	.ss-site .vc_row.ss-journal { padding-block: 90px; }
	.ss-site .ss-gallery-grid { grid-auto-rows: 210px; gap: 11px; }
	.ss-site .vc_row.ss-contact { min-height: 520px; }
	.ss-site .ss-contact-copy { padding: 60px 35px; }
	.ss-site .ss-contact-copy .ss-title { font-size: 70px; }
	.ss-site .ss-journal-card { grid-template-columns: 1fr; }
	.ss-site .ss-journal-card img { height: 230px; }
	.ss-site .ss-journal-text { padding: 24px; }
}

@media (max-width: 782px) {
	body.ss-site.admin-bar { --ss-adminbar-h: 46px; }
}

@media (max-width: 640px) {
	:root { --ss-gutter: 19px; }
	html { scroll-padding-top: 72px; }
	.ss-site .ss-shell { width: calc(100% - 38px); }
	.ss-site .ss-topline { font-size: 8px; min-height: 30px; }
	.ss-site .ss-topline span { padding: 0 7px; }
	.ss-site .ss-header-inner { height: 69px; }
	.ss-site .ss-header .ss-logo { width: 150px; }
	.ss-site .ss-hero-layout { display: flex; flex-direction: column; }
	.ss-site .ss-hero-copy { padding: 76px 24px 65px; min-height: 540px; justify-content: center; }
	.ss-site .ss-hero .ss-micro { margin-bottom: 35px; }
	.ss-site .ss-hero h1 { font-size: clamp(68px, 16vw, 102px); margin-bottom: 30px; }
	.ss-site .ss-hero h1 em { margin-left: 18px; }
	.ss-site .ss-hero-text { font-size: 13px; max-width: 300px; }
	.ss-site .ss-hero-bottom { position: relative; left: auto; right: auto; bottom: auto; margin-top: 48px; align-self: stretch; }
	.ss-site .ss-hero-photo { height: 510px; min-height: 510px; }
	.ss-site .ss-hero-vertical { right: 20px; top: 25px; }
	.ss-site .ss-hero-photo-caption { bottom: 24px; left: 22px; }
	.ss-site .ss-section-head { display: block; margin-bottom: 33px; }
	.ss-site .ss-section-head .ss-title { font-size: clamp(57px, 12vw, 80px); }
	.ss-site .ss-section-intro { margin-top: 20px; }
	.ss-site .vc_row.ss-services { padding-block: 82px; }
	.ss-site .ss-services-grid { grid-template-columns: 1fr; gap: 15px; }
	.ss-site .ss-service { min-height: 430px; }
	.ss-site .ss-service h3 { font-size: 52px; }
	.ss-site .ss-service-bottom { left: 24px; right: 22px; bottom: 25px; }
	.ss-site .ss-actions--note { display: block; }
	.ss-site .ss-actions--note .ss-text-link { margin-top: 15px; }
	.ss-site .ss-gallery-note .ss-text-link { margin-top: 17px; }
	.ss-site .vc_row.ss-statement { padding-block: 72px 80px; display: flex; flex-direction: column; gap: 54px; align-items: stretch; }
	.ss-site .ss-statement-images { height: 450px; width: 100%; }
	.ss-site .ss-statement-images .ss-photo-a { width: 71%; }
	.ss-site .ss-statement-images .ss-photo-b { width: 55%; }
	.ss-site .ss-statement-images .ss-stamp { right: 3%; top: 5px; width: 94px; height: 94px; }
	.ss-site .ss-story-copy { padding-right: 0; }
	.ss-site .ss-story-copy .ss-title { font-size: clamp(66px, 13vw, 90px); }
	.ss-site .ss-story-points { margin-top: 35px; }
	.ss-site .vc_row.ss-gallery { padding-block: 82px 80px; }
	.ss-site .ss-gallery-tabs { gap: 19px; }
	.ss-site .ss-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 10px; }
	.ss-site .ss-gallery-caption { font-size: 24px; left: 13px; bottom: 14px; }
	.ss-site .ss-gallery-grid.filtered { grid-auto-rows: 240px; }
	.ss-site .vc_row.ss-quote-section { padding: 85px calc(21px + var(--ss-gutter)); }
	.ss-site .ss-quote blockquote { font-size: clamp(33px, 8vw, 48px); margin: 35px auto; }
	.ss-site .vc_row.ss-journal { padding-block: 80px; }
	.ss-site .ss-journal-grid { grid-template-columns: 1fr; gap: 17px; }
	.ss-site .ss-journal-card { grid-template-columns: 40% 60%; min-height: 200px; }
	.ss-site .ss-journal-card img { height: 100%; }
	.ss-site .ss-journal-text { padding: 18px; }
	.ss-site .ss-journal-text h3 { font-size: 30px; }
	.ss-site .vc_row.ss-contact { grid-template-columns: 1fr; }
	.ss-site .ss-contact-photo { height: 420px; }
	.ss-site .ss-image-panel span { left: 22px; bottom: 24px; }
	.ss-site .ss-contact-copy { padding: 80px 24px 78px; }
	.ss-site .ss-contact-copy .ss-title { font-size: 83px; }
	.ss-site .vc_row.ss-contact-meta { gap: 15px; }
	.ss-site .vc_row.ss-footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 55px; padding-bottom: 43px; }
	.ss-site .ss-footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px 24px; }
	.ss-site .vc_row.ss-footer-bottom { padding-bottom: 82px; } /* room for the back-to-top arrow */
	.ss-site .ss-footer-bottom .wpb_text_column p { padding-right: 0; }
	.ss-site .ss-footer-bottom .wpb_text_column p { display: block; line-height: 2; }
	.ss-site .ss-footer-bottom .wpb_text_column p > * { display: block; }
}

@media (max-width: 385px) {
	.ss-site .ss-hero h1 { font-size: 62px; }
	.ss-site .ss-hero-actions { align-items: flex-start; flex-direction: column; }
	.ss-site .ss-contact-copy .ss-title { font-size: 69px; }
	.ss-site .vc_row.ss-contact-meta { grid-template-columns: 1fr; }
	.ss-site .ss-journal-card { grid-template-columns: 1fr; }
	.ss-site .ss-journal-card img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ss-site *,
	.ss-site *::before,
	.ss-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.ss-js .ss-reveal { opacity: 1; transform: none; }
}
