/* ==========================================================================
   Sophisticated Salon & Hammam Spa — core stylesheet
   Design tokens mirror the previous TheGem build exactly.
   ========================================================================== */

:root {
	--soph-gold: #cb9734;
	--soph-gold-light: #e2c285;
	--soph-ink: #1e1e1e;
	--soph-black: #101010;
	--soph-black-deep: #141414;
	--soph-black-soft: #161616;
	--soph-charcoal: #2b2b2b;
	--soph-slate: #313131;
	--soph-graphite: #414141;
	--soph-muted: #b1aca3;
	--soph-muted-grey: #b3b3b3;
	--soph-border-warm: #665c4c;
	--soph-border-deep: #524d43;
	--soph-border-soft: #e2dbd0;
	--soph-border-dark: #3c3c3c;
	--soph-navy: #3c3950;
	--soph-white: #fff;

	--soph-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--soph-font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--soph-font-accent: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	--soph-container: 1170px;
	--soph-gutter: 20px;
	--soph-header-h: 90px;
	--soph-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--soph-font-body);
	font-size: 16px;
	line-height: 25px;
	color: var(--soph-ink);
	background: var(--soph-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--soph-gold); text-decoration: none; transition: color .25s var(--soph-ease); }
a:hover,
a:focus-visible { color: var(--soph-gold-light); }

:focus-visible { outline: 2px solid var(--soph-gold); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 400; }

h1 { font-family: var(--soph-font-display); font-size: clamp(34px, 4.6vw, 50px); line-height: 1.4; }
h2 { font-family: var(--soph-font-display); font-size: clamp(28px, 3.4vw, 36px); line-height: 1.47; color: var(--soph-gold); }
h3 { font-family: var(--soph-font-display); font-size: clamp(23px, 2.6vw, 28px); line-height: 1.4; color: var(--soph-ink); }
h4 { font-family: var(--soph-font-accent); font-weight: 200; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.58; }
h5 { font-family: var(--soph-font-accent); font-weight: 200; font-size: 19px; line-height: 1.58; color: var(--soph-ink); }
h6 { font-family: var(--soph-font-display); font-size: 16px; line-height: 1.5625; color: var(--soph-ink); }

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

blockquote {
	margin: 30px 0;
	padding: 20px 30px;
	border-left: 3px solid var(--soph-gold);
	font-family: var(--soph-font-display);
	font-style: italic;
	font-size: 20px;
}

hr, .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--soph-border-soft);
	margin: 40px 0;
}

/* Display lockup used on the hero */
.title-xlarge {
	font-family: var(--soph-font-display);
	font-size: clamp(48px, 9vw, 100px);
	line-height: 1.1;
	letter-spacing: .01em;
}

.uppercase-disable { text-transform: none; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--soph-container) + (var(--soph-gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--soph-gutter);
}

.section { padding-block: 80px; }
.section--tight { padding-block: 50px; }
.section--dark { background: var(--soph-black); color: var(--soph-muted); }
.section--charcoal { background: var(--soph-charcoal); color: var(--soph-muted); }

.section--dark h1,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6,
.section--charcoal h1,
.section--charcoal h3,
.section--charcoal h4,
.section--charcoal h5,
.section--charcoal h6 { color: var(--soph-white); }

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

.skip-link {
	position: absolute; top: -100px; left: 10px; z-index: 9999;
	background: var(--soph-gold); color: #fff; padding: 12px 20px;
}
.skip-link:focus { top: 10px; color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 900;
	background: var(--soph-white);
	border-bottom: 1px solid var(--soph-border-soft);
	transition: background .3s var(--soph-ease), box-shadow .3s var(--soph-ease);
}

.has-transparent-header .site-header {
	position: absolute;
	inset: 0 0 auto 0;
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, .18);
}

.site-header.is-stuck {
	position: fixed;
	inset: 0 0 auto 0;
	background: rgba(16, 16, 16, .96);
	border-bottom-color: rgba(255, 255, 255, .1);
	box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
	animation: soph-drop .35s var(--soph-ease);
}

@keyframes soph-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: var(--soph-header-h);
}

.site-branding img,
.custom-logo { width: 164px; max-width: 50vw; height: auto; }

.site-title {
	margin: 0;
	font-family: var(--soph-font-display);
	font-size: 24px;
	line-height: 1.2;
}
.site-title a { color: var(--soph-ink); }
.has-transparent-header .site-title a,
.site-header.is-stuck .site-title a { color: var(--soph-white); }

.header-actions { display: flex; align-items: center; gap: 22px; }

/* Primary navigation */
.primary-nav ul { list-style: none; margin: 0; padding: 0; }

.primary-nav > ul { display: flex; align-items: center; gap: 30px; }

.primary-nav a {
	font-family: var(--soph-font-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--soph-navy);
	white-space: nowrap;
}

.has-transparent-header .primary-nav > ul > li > a,
.site-header.is-stuck .primary-nav > ul > li > a { color: var(--soph-white); }

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.has-transparent-header .primary-nav > ul > li:hover > a,
.site-header.is-stuck .primary-nav > ul > li:hover > a { color: var(--soph-gold); }

.primary-nav li { position: relative; }

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 10px 0;
	background: var(--soph-slate);
	border: 1px solid var(--soph-border-warm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .25s var(--soph-ease);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.primary-nav .sub-menu a {
	display: block;
	padding: 10px 22px;
	color: var(--soph-white);
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0;
}

.primary-nav .sub-menu a:hover {
	background: var(--soph-black-soft);
	color: var(--soph-gold-light);
}

.primary-nav .sub-menu .sub-menu { top: 0; left: 100%; }

/* Cart */
.header-cart { position: relative; display: inline-flex; align-items: center; color: var(--soph-navy); }
.has-transparent-header .header-cart,
.site-header.is-stuck .header-cart { color: var(--soph-white); }
.header-cart:hover { color: var(--soph-gold); }

.header-cart__icon {
	width: 22px; height: 22px;
	background: currentColor;
	-webkit-mask: var(--soph-cart-mask) center / contain no-repeat;
	mask: var(--soph-cart-mask) center / contain no-repeat;
	--soph-cart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 100 4 2 2 0 000-4zm10 0a2 2 0 100 4 2 2 0 000-4zM1 2h3l3.6 10.6a2 2 0 001.9 1.4h7.7a2 2 0 001.9-1.4L22 6H6'  fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.header-cart__count {
	position: absolute;
	top: -6px; right: -10px;
	min-width: 17px; height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--soph-gold);
	color: #fff;
	font-family: var(--soph-font-accent);
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}
.header-cart__count.is-empty { display: none; }

/* Burger */
.nav-toggle {
	display: none;
	width: 30px; height: 22px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--soph-gold);
	transition: transform .3s var(--soph-ease), opacity .2s var(--soph-ease);
}
.nav-toggle span + span { margin-top: 8px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--soph-header-h) + 60px) var(--soph-gutter) 80px;
	background: var(--soph-black) center / cover no-repeat;
	color: var(--soph-white);
	text-align: center;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,.35) 50%, rgba(16,16,16,.75) 100%);
}

.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1, .hero h2, .hero p { color: var(--soph-white); }
.hero h1 { margin-bottom: 30px; }
.hero__ornament { margin: 0 auto 10px; width: auto; }

.hero--short { min-height: 60vh; }

/* Page hero for interior pages */
.page-hero {
	position: relative;
	padding: calc(var(--soph-header-h) + 70px) var(--soph-gutter) 70px;
	background: var(--soph-black) center / cover no-repeat;
	color: var(--soph-white);
	text-align: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(16,16,16,.6); }
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: var(--soph-white); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn,
.wp-block-button__link,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-block;
	padding: 16px 34px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--soph-graphite);
	color: var(--soph-white);
	font-family: var(--soph-font-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background .3s var(--soph-ease), color .3s var(--soph-ease), border-color .3s var(--soph-ease);
}

.btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--soph-gold);
	color: var(--soph-white);
	border-color: var(--soph-gold);
}

/* Outline variant — the gold hairline button used across the old site */
.btn--outline,
.is-style-outline .wp-block-button__link,
.woocommerce a.button.alt.outline {
	background: transparent;
	border-color: var(--soph-gold-light);
	color: var(--soph-gold-light);
	padding: 13px 30px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .14em;
}

.btn--outline:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--soph-gold-light);
	border-color: var(--soph-gold-light);
	color: var(--soph-black);
}

.btn--tiny { padding: 11px 24px; font-size: 11px; }

/* --------------------------------------------------------------------------
   Bordered feature blocks (the three-up panel on the home page)
   -------------------------------------------------------------------------- */

.border-block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--soph-black);
}

.border-block__cell {
	padding: 80px 40px 60px;
	border: 1px solid var(--soph-border-warm);
	border-bottom: 0;
	text-align: center;
	color: var(--soph-muted);
}
.border-block__cell + .border-block__cell { border-left: 0; }
.border-block__cell h2 { color: var(--soph-gold); }
.border-block__cell h3 { color: var(--soph-white); }
.border-block__cell p { max-width: 70%; margin-inline: auto; color: var(--soph-muted); }
.border-block__ornament { margin: -15px auto 30px; }

/* --------------------------------------------------------------------------
   Room slides (carried over from the previous build's home page)
   -------------------------------------------------------------------------- */

.room-slides { display: grid; }

.room-slide {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--soph-black);
}

.room-slide__media { min-height: 520px; background: center / cover no-repeat; }

.room-slide__body {
	padding: 80px;
	text-align: center;
	color: var(--soph-muted);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.room-slide__body h2 { color: var(--soph-gold-light); margin-bottom: 10px; }
.room-slide__body img { margin: 0 auto 10px; }
.room-slide__unit { color: var(--soph-gold-light); margin-top: -10px; }

@media (max-width: 900px) {
	.room-slide { grid-template-columns: 1fr; }
	.room-slide__media { min-height: 280px; }
	.room-slide__body { padding: 50px 26px; }
}

/* --------------------------------------------------------------------------
   Pricing / services grid (home page "Services & Packages")
   -------------------------------------------------------------------------- */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	align-items: start;
}

.pricing-card {
	background: #282828;
	border: 1px solid var(--soph-border-warm);
	padding: 0 0 28px;
	color: #c3bcae;
	text-align: center;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pricing-card header {
	padding: 34px 24px 26px;
	border-bottom: 1px solid rgba(226, 194, 133, .25);
	margin-bottom: 22px;
}

.pricing-card header h3 {
	margin: 0 0 6px;
	color: var(--soph-gold-light);
	font-family: var(--soph-font-display);
	font-size: 24px;
	line-height: 1.3;
}

.pricing-card__sub {
	display: block;
	color: var(--soph-gold-light);
	font-family: var(--soph-font-accent);
	font-size: 15px;
	margin-bottom: 4px;
}

.pricing-card__label {
	display: block;
	color: var(--soph-gold-light);
	font-family: var(--soph-font-display);
	font-size: 20px;
}

.pricing-card p {
	margin: 0 0 12px;
	padding: 0 22px;
	font-size: 15px;
	line-height: 1.6;
}

.pricing-card__cta { margin-top: auto; padding-top: 22px; }

/* Home page navigation cards keep their ornaments tight to the heading */
.nav-cards .border-block__cell h2 a { color: #fff; }
.nav-cards .border-block__cell h2 a:hover { color: var(--soph-gold-light); }

@media (max-width: 1024px) {
	.pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
	.pricing-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Cards / offers grid
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	background: var(--soph-white);
	border: 1px solid var(--soph-border-soft);
	overflow: hidden;
	transition: box-shadow .3s var(--soph-ease), transform .3s var(--soph-ease);
}
.card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .12); transform: translateY(-4px); }
.card__media img { width: 100%; height: auto; }
.card__body { padding: 28px 26px 32px; }
.card__title { font-family: var(--soph-font-display); font-size: 22px; margin-bottom: 12px; }
.card__price { font-family: var(--soph-font-accent); font-weight: 700; color: var(--soph-gold); }

/* Price list (the pricing menu) */
.price-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px dashed var(--soph-border-soft);
}
.price-row__name { font-family: var(--soph-font-display); font-size: 19px; }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--soph-border-soft); transform: translateY(-4px); }
.price-row__value { font-family: var(--soph-font-accent); font-weight: 700; color: var(--soph-gold); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 0; }
.wp-block-image img { height: auto; }
figcaption { font-size: 14px; color: var(--soph-muted-grey); text-align: center; margin-top: 10px; }

/* --------------------------------------------------------------------------
   Forms (Contact Form 7 + native)
   -------------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="password"],
input[type="search"],
select,
textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--soph-border-soft);
	border-radius: 0;
	background: var(--soph-white);
	font-family: var(--soph-font-body);
	font-size: 16px;
	color: var(--soph-ink);
	transition: border-color .25s var(--soph-ease);
}

input:focus, select:focus, textarea:focus { border-color: var(--soph-gold); outline: none; }
textarea { min-height: 160px; resize: vertical; }
::placeholder { color: #9a958c; opacity: 1; }

.contact-form.row {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 15px;
	margin-bottom: 15px;
}
.contact-form .col-lg-4 { grid-column: span 4; }
.contact-form .col-lg-6 { grid-column: span 6; }
.contact-form .col-lg-12 { grid-column: span 12; }

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--soph-gold);
	font-size: 15px;
}
.wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 6px; }
.wpcf7-list-item { margin-left: 0; margin-right: 18px; }
.wpcf7 input[type="submit"] { width: auto; }

/* Dark contact section variant, matching the old dark booking band */
.section--dark input,
.section--dark select,
.section--dark textarea {
	background: rgba(255, 255, 255, .06);
	border-color: var(--soph-border-warm);
	color: var(--soph-white);
}
.section--dark ::placeholder { color: var(--soph-muted); }
.section--dark input[type="submit"] { background: var(--soph-gold-light); color: var(--soph-slate); }
.section--dark input[type="submit"]:hover { background: var(--soph-black-deep); color: var(--soph-gold-light); }

/* --------------------------------------------------------------------------
   WooCommerce
   -------------------------------------------------------------------------- */

.shop-wrap { padding-block: 60px; }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	text-align: center;
	border: 1px solid var(--soph-border-soft);
	padding-bottom: 24px;
	transition: box-shadow .3s var(--soph-ease), transform .3s var(--soph-ease);
}
.woocommerce ul.products li.product:hover { box-shadow: 0 18px 40px rgba(0,0,0,.12); transform: translateY(-4px); }

.woocommerce ul.products li.product a img { margin-bottom: 20px; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--soph-font-display);
	font-size: 19px;
	line-height: 1.4;
	padding: 0 20px 8px;
	color: var(--soph-ink);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--soph-font-accent);
	font-weight: 700;
	font-size: 18px;
	color: var(--soph-gold);
}
.woocommerce div.product p.price del,
.woocommerce ul.products li.product .price del { color: var(--soph-muted-grey); font-weight: 400; }
.woocommerce ul.products li.product .button { margin-top: 14px; }

.woocommerce span.onsale {
	background: var(--soph-gold);
	color: #fff;
	border-radius: 0;
	font-family: var(--soph-font-accent);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .06em;
	min-height: auto;
	min-width: auto;
	padding: 7px 14px;
	line-height: 1;
	top: 0; left: 0; right: auto;
	margin: 0;
}

.woocommerce div.product .product_title { font-family: var(--soph-font-display); }
.woocommerce-tabs ul.tabs li { border-radius: 0 !important; }

.woocommerce .quantity .qty { width: 70px; text-align: center; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--soph-gold);
	background: #faf7f1;
	border-radius: 0;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--soph-gold); }

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-radius: 0; }

/* PW Gift Cards */
.pwgc-amount-buttons .pwgc-amount-button {
	border: 1px solid var(--soph-gold);
	color: var(--soph-gold);
	background: transparent;
	border-radius: 0;
	font-family: var(--soph-font-accent);
	font-weight: 700;
}
.pwgc-amount-buttons .pwgc-amount-button.pwgc-selected,
.pwgc-amount-buttons .pwgc-amount-button:hover {
	background: var(--soph-gold);
	color: #fff;
}
.pwgc-redeem-form input[type="text"] { max-width: 320px; display: inline-block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--soph-black); color: var(--soph-muted-grey); }

.footer-widgets {
	background: var(--soph-charcoal);
	border-top: 1px solid var(--soph-border-deep);
	padding-block: 70px;
}

.footer-widgets .container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-widgets .widget-title,
.footer-widgets h4 {
	font-family: var(--soph-font-accent);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--soph-white);
	margin-bottom: 22px;
}

.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets li { margin-bottom: 10px; line-height: 1.5; }
.footer-widgets a { color: var(--soph-muted-grey); font-size: 15px; }
.footer-widgets a:hover { color: var(--soph-gold-light); }

.footer-bottom {
	border-top: 1px solid var(--soph-border-dark);
	padding-block: 28px;
	font-size: 14px;
}
.footer-bottom .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.footer-bottom a { color: var(--soph-muted-grey); }
.footer-bottom a:hover { color: var(--soph-white); }

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.footer-nav li + li { border-left: 1px solid var(--soph-border-dark); }
.footer-nav a { padding: 0 14px; display: inline-block; }
.footer-nav li:first-child a { padding-left: 0; }

/* --------------------------------------------------------------------------
   Utilities & motion
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-gold { color: var(--soph-gold); }
.text-light { color: var(--soph-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--soph-ease), transform .7s var(--soph-ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.border-block { grid-template-columns: repeat(2, 1fr); }
	.border-block__cell + .border-block__cell { border-left: 1px solid var(--soph-border-warm); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets .container { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.nav-toggle { display: block; }

	.primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(360px, 86vw);
		padding: 100px 30px 40px;
		background: var(--soph-black);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .35s var(--soph-ease);
		z-index: 1000;
	}
	.primary-nav.is-open { transform: translateX(0); }

	.primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.primary-nav a,
	.has-transparent-header .primary-nav > ul > li > a { display: block; padding: 16px 0; color: var(--soph-white); }

	.primary-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		background: transparent;
		padding: 0 0 10px 16px;
		display: none;
	}
	.primary-nav li.is-expanded > .sub-menu { display: block; }

	.nav-backdrop {
		position: fixed; inset: 0;
		background: rgba(0,0,0,.6);
		opacity: 0; visibility: hidden;
		transition: opacity .3s var(--soph-ease);
		z-index: 999;
	}
	.nav-backdrop.is-open { opacity: 1; visibility: visible; }

	.section { padding-block: 55px; }
	.border-block__cell { padding: 50px 26px 40px; }
	.border-block__cell p { max-width: 100%; }
}

@media (max-width: 640px) {
	.border-block,
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.border-block__cell + .border-block__cell { border-left: 1px solid var(--soph-border-warm); border-top: 0; }
	.footer-widgets .container { grid-template-columns: 1fr; gap: 34px; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.contact-form .col-lg-4,
	.contact-form .col-lg-6 { grid-column: span 12; }
	.footer-bottom .container { justify-content: center; text-align: center; }
	.hero { min-height: 82vh; }
}

/* Retina: swap in sharper hairlines where the browser can render them */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.card,
	.woocommerce ul.products li.product { border-width: .5px; }
	body { -webkit-font-smoothing: antialiased; }
}
