/*
Theme Name: Tabo's Piggly Wiggly
Theme URI: https://tabospigglywiggly.com/
Author: Custom build for Tabo's Piggly Wiggly
Description: A custom WordPress theme for Tabo's Piggly Wiggly Xpress in Jefferson, Georgia. Includes a full-screen video hero, store service tiles, a monthly deals slider, Google review integration, a check cashing page, community impact page, and a built-in contact form.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tabos
Tags: business, grocery, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

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

:root {
	/* Palette pulled directly from the Piggly Wiggly mark and the store's own
	   Jefferson "J" diamond watermark. */
	--red: #d8202e;
	--red-dk: #a8141f;
	--red-tint: #fdeced;
	--blue: #1f3fa8;
	--blue-dk: #152b70;
	--blue-tint: #eef1fb;
	--yellow: #ffd200;
	--yellow-dk: #d9a800;

	--ink: #16181d;
	--ink-2: #4b515c;
	--ink-3: #757c88;
	--line: #e6e1d7;
	--paper: #ffffff;
	--paper-2: #fbf8f2;

	--wrap: 1180px;
	--wrap-narrow: 860px;
	--header-h: 92px;
	--gap: 28px;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;

	--shadow-sm: 0 1px 2px rgba(22, 24, 29, .06), 0 4px 12px -8px rgba(22, 24, 29, .35);
	--shadow: 0 2px 0 rgba(22, 24, 29, .05), 0 18px 40px -26px rgba(22, 24, 29, .55);
	--shadow-lg: 0 3px 0 rgba(22, 24, 29, .05), 0 40px 70px -40px rgba(22, 24, 29, .6);

	--font-display: "Anton", "Arial Narrow", Impact, sans-serif;
	--font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--wm-opacity: .20;
	--wm-size: 340px;
}

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

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

html {
	background: var(--paper);
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.68;
	color: var(--ink-2);
	background: transparent;
	overflow-x: hidden;
	/* Creates a stacking context so body::before (the watermark) always paints
	   above the page background and below every piece of content. */
	position: relative;
	z-index: 0;
}

/* The store's pig + "J" diamond watermark, fixed behind everything. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: url(assets/img/watermark-bg.png);
	background-repeat: repeat;
	background-size: var(--wm-size) auto;
	opacity: var(--wm-opacity);
	pointer-events: none;
}

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

a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.02;
	letter-spacing: .005em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; }

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

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong, b { font-weight: 700; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--yellow); color: var(--ink); }

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

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

.skip-link {
	position: absolute;
	left: 12px; top: -80px;
	z-index: 1000;
	background: var(--ink);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--r-sm) var(--r-sm);
	font-weight: 700;
	transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }

/* The store's watermark sits behind the whole page, so these two section
   backgrounds are deliberately see-through. "Paper" shows the pattern at full
   strength; "tint" washes it back so neighbouring sections still read as
   separate bands. Cards and panels inside stay solid for legibility. */
.section--paper { background: transparent; }
.section--tint { background: rgba(255, 255, 255, .74); }
.section--ink { background: var(--ink); color: #cfd3da; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   4. Signature: shelf tag, diamond rule, section heads
   ========================================================================== */

/* Starburst price sticker — the store's own shelf-tag vernacular. */
.starburst {
	display: grid;
	place-content: center;
	text-align: center;
	aspect-ratio: 1;
	background: var(--yellow);
	color: var(--ink);
	clip-path: polygon(50.0% 0.0%, 56.0% 8.4%, 64.1% 2.0%, 67.4% 11.8%, 77.0% 7.9%, 77.5% 18.3%, 87.8% 17.3%, 85.3% 27.3%, 95.5% 29.2%, 90.3% 38.2%, 99.5% 42.9%, 92.0% 50.0%, 99.5% 57.1%, 90.3% 61.8%, 95.5% 70.8%, 85.3% 72.7%, 87.8% 82.7%, 77.5% 81.7%, 77.0% 92.1%, 67.4% 88.2%, 64.1% 98.0%, 56.0% 91.6%, 50.0% 100.0%, 44.0% 91.6%, 35.9% 98.0%, 32.6% 88.2%, 23.0% 92.1%, 22.5% 81.7%, 12.2% 82.7%, 14.7% 72.7%, 4.5% 70.8%, 9.7% 61.8%, 0.5% 57.1%, 8.0% 50.0%, 0.5% 42.9%, 9.7% 38.2%, 4.5% 29.2%, 14.7% 27.3%, 12.2% 17.3%, 22.5% 18.3%, 23.0% 7.9%, 32.6% 11.8%, 35.9% 2.0%, 44.0% 8.4%);
}
.starburst--red { background: var(--red); color: #fff; }

.est-badge {
	width: 108px;
	font-family: var(--font-display);
	line-height: 1;
	transform: rotate(-8deg);
}
.est-badge small { display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
.est-badge span { display: block; font-size: 1.9rem; }

/* The "J" diamond rule, echoing the watermark. */
.diamond-rule {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.diamond-rule::after {
	content: "";
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, var(--line), transparent);
}
.diamond-rule i {
	width: 11px; height: 11px;
	background: var(--red);
	transform: rotate(45deg);
	border-radius: 2px;
	flex: none;
}
.diamond-rule i:nth-child(2) { background: var(--blue); }
.diamond-rule .eyebrow {
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--red);
	margin-left: 4px;
}

.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .diamond-rule { justify-content: center; }
.sec-head--center .diamond-rule::after { display: none; }
.sec-head--center .diamond-rule::before {
	content: "";
	flex: 0 0 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--line));
}
.sec-head p { font-size: 1.06rem; color: var(--ink-2); }
.section--ink .sec-head p { color: #a8aeb9; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: .92rem;
	letter-spacing: .045em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
	line-height: 1;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(216, 32, 46, .9); }
.btn--red:hover { background: var(--red-dk); color: #fff; }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 63, 168, .9); }
.btn--blue:hover { background: var(--blue-dk); color: #fff; }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-dk); color: var(--ink); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }

.btn--sm { padding: 10px 18px; font-size: .8rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }

.btn svg { width: 15px; height: 15px; flex: none; }

/* Text link with arrow — used inside service tiles. */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 800;
	font-size: .82rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--red);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   6. Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 1px 0 rgba(22, 24, 29, .04);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
	padding-block: 10px;
}

.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.site-brand img { width: auto; max-height: 62px; }
.site-brand .brand-text { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); line-height: 1; }
.site-brand .brand-text small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .18em; color: var(--ink-3); font-weight: 700; }

.header-right { display: flex; align-items: center; gap: 18px; }

/* Primary navigation */
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
	display: block;
	padding: 10px 13px;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	border-radius: var(--r-sm);
	transition: color .15s ease, background-color .15s ease;
	white-space: nowrap;
}
.main-nav a:hover { color: var(--red); background: var(--red-tint); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--red); }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
	content: "";
	display: block;
	height: 3px;
	margin: 5px 13px -8px;
	background: var(--red);
	border-radius: 2px;
}

/* Dropdowns */
.main-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	box-shadow: var(--shadow);
	padding: 8px;
	display: none;
	flex-direction: column;
	gap: 2px;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: flex; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	cursor: pointer;
	padding: 0;
	place-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block;
	width: 20px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { margin: 0 auto; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   7. Hero — full-bleed video slider
   ========================================================================== */

.hero {
	position: relative;
	width: 100%;
	height: clamp(460px, calc(100svh - var(--header-h)), 880px);
	overflow: hidden;
	background: var(--ink);
	isolation: isolate;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .85s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide video,
.hero-slide .hero-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hero-slide .hero-poster { z-index: 0; }
.hero-slide video { z-index: 1; }

/* Legibility scrim: darker at the bottom where the caption sits. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(to top, rgba(10, 11, 14, .86) 0%, rgba(10, 11, 14, .48) 34%, rgba(10, 11, 14, .12) 62%, rgba(10, 11, 14, .35) 100%);
}

.hero-inner {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: clamp(38px, 6vw, 76px);
	color: #fff;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	background: var(--red);
	color: #fff;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding: 8px 15px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.hero-eyebrow i { width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); border-radius: 1px; }

.hero h1 {
	color: #fff;
	max-width: 16ch;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
	margin-bottom: .35em;
}
.hero h1 em { font-style: normal; color: var(--yellow); }

.hero-caption {
	font-size: clamp(1rem, 1.6vw, 1.22rem);
	color: rgba(255, 255, 255, .92);
	max-width: 46ch;
	margin-bottom: 26px;
	min-height: 2.6em;
	font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Controls */
.hero-controls {
	position: absolute;
	z-index: 4;
	right: max(20px, calc(50vw - var(--wrap) / 2));
	bottom: clamp(38px, 6vw, 76px);
	display: flex;
	align-items: center;
	gap: 10px;
}
.hero-btn {
	width: 46px; height: 46px;
	display: grid; place-content: center;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .45);
	background: rgba(12, 13, 17, .38);
	backdrop-filter: blur(6px);
	color: #fff;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.hero-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.hero-btn svg { width: 17px; height: 17px; }

.hero-dots {
	position: absolute;
	z-index: 4;
	left: max(20px, calc(50vw - var(--wrap) / 2));
	bottom: 0;
	display: flex;
	gap: 8px;
	transform: translateY(-14px);
}
.hero-dot {
	width: 34px; height: 4px;
	border: 0; padding: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, .34);
	cursor: pointer;
	overflow: hidden;
	position: relative;
	transition: background-color .2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .6); }
.hero-dot.is-active { background: rgba(255, 255, 255, .34); }
.hero-dot.is-active::after {
	content: "";
	position: absolute; inset: 0;
	background: var(--yellow);
	transform-origin: left;
	animation: dotFill linear forwards;
	animation-duration: var(--slide-dur, 8s);
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-badge {
	position: absolute;
	z-index: 4;
	top: clamp(20px, 4vw, 42px);
	right: max(20px, calc(50vw - var(--wrap) / 2));
	width: 118px;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45));
}

/* ==========================================================================
   8. Marquee strip (store facts under the hero)
   ========================================================================== */

.strip {
	background: var(--red);
	color: #fff;
	overflow: hidden;
	border-bottom: 4px solid var(--yellow);
}
.strip-track {
	display: flex;
	gap: 0;
	width: max-content;
	animation: marquee 38s linear infinite;
}
.strip-track > div {
	display: flex;
	align-items: center;
	gap: 46px;
	padding: 13px 23px;
}
.strip span {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: nowrap;
}
.strip span::before {
	content: "";
	width: 9px; height: 9px;
	background: var(--yellow);
	transform: rotate(45deg);
	border-radius: 1px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.strip:hover .strip-track { animation-play-state: paused; }

/* ==========================================================================
   9. Service tiles
   ========================================================================== */

.svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: var(--gap);
}

.svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 30px 28px 28px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	overflow: hidden;
}
.svc-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	background: var(--accent, var(--red));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
	width: 56px; height: 56px;
	display: grid; place-content: center;
	border-radius: 14px;
	background: var(--accent-tint, var(--red-tint));
	color: var(--accent, var(--red));
	margin-bottom: 18px;
}
.svc-icon svg { width: 28px; height: 28px; }

.svc-card h3 { font-size: 1.42rem; margin-bottom: .4em; }
.svc-card p { font-size: .97rem; margin-bottom: 20px; }
.svc-card .link-arrow { margin-top: auto; color: var(--accent, var(--red)); }

.svc-card .svc-num {
	position: absolute;
	top: 22px; right: 24px;
	font-family: var(--font-display);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--ink);
	opacity: .07;
}

/* ==========================================================================
   10. Deals slider
   ========================================================================== */

.deals { position: relative; }

/* All deals visible at once, wrapping onto as many rows as needed. A shopper
   scanning for this month's prices should not have to find an arrow. */
.deals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--gap);
}

.deals-viewport { overflow: hidden; margin-inline: -6px; padding: 6px; }
.deals-track {
	display: flex;
	gap: var(--gap);
	transition: transform .5s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}
.deals-grid .deal-card { flex: none; width: auto; }

.deal-card {
	flex: 0 0 calc((100% - var(--gap) * 2) / 3);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	position: relative;
}
.deal-media {
	aspect-ratio: 4 / 3;
	background: var(--paper-2);
	overflow: hidden;
	position: relative;
}
.deal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.deal-card:hover .deal-media img { transform: scale(1.05); }
.deal-media .deal-empty {
	position: absolute; inset: 0;
	display: grid; place-content: center;
	color: var(--ink-3);
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
}

.deal-price {
	position: absolute;
	top: 14px; right: 14px;
	width: 84px;
	display: grid;
	place-content: center;
	font-family: var(--font-display);
	font-size: 1.28rem;
	line-height: 1;
	transform: rotate(-7deg);
	z-index: 2;
}
.deal-price small { display: block; font-family: var(--font-body); font-size: .55rem; font-weight: 800; letter-spacing: .1em; }

.deal-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.deal-body h3 { font-size: 1.28rem; margin-bottom: .35em; }
.deal-body p { font-size: .95rem; }
.deal-meta {
	margin-top: auto;
	padding-top: 16px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-3);
	display: flex;
	align-items: center;
	gap: 8px;
}
.deal-meta svg { width: 14px; height: 14px; }

.slider-nav { display: flex; gap: 10px; }
.slider-btn {
	width: 48px; height: 48px;
	display: grid; place-content: center;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.slider-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.slider-btn:disabled { opacity: .34; cursor: default; }
.slider-btn svg { width: 17px; height: 17px; }

.sec-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: clamp(28px, 3.5vw, 46px);
	flex-wrap: wrap;
}
.sec-head-row .sec-head { margin-bottom: 0; }

/* ==========================================================================
   11. Reviews
   ========================================================================== */

.reviews-summary {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 12px 24px 12px 14px;
	box-shadow: var(--shadow-sm);
	margin-bottom: 34px;
	width: fit-content;
	margin-inline: auto;
}
.reviews-summary .g-logo { width: 30px; height: 30px; flex: none; }
.reviews-summary .rating-num { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); line-height: 1; }
.reviews-summary .rating-meta { font-size: .82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; color: #f5a623; }

.review-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--gap);
	align-items: start;
}

.review-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px 28px 26px;
	box-shadow: var(--shadow-sm);
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card::after {
	content: "\201C";
	position: absolute;
	top: 6px; right: 22px;
	font-family: Georgia, serif;
	font-size: 5.5rem;
	line-height: 1;
	color: var(--red);
	opacity: .1;
}
.review-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.review-avatar {
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	display: grid; place-content: center;
	font-family: var(--font-display);
	font-size: 1.15rem;
	flex: none;
	overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-weight: 800; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.review-when { font-size: .78rem; color: var(--ink-3); }
.review-text { font-size: .97rem; color: var(--ink-2); }
.review-text.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.review-more {
	background: none; border: 0; padding: 6px 0 0;
	font: inherit; font-size: .82rem; font-weight: 800;
	color: var(--red); cursor: pointer;
	text-transform: uppercase; letter-spacing: .08em;
}

/* ==========================================================================
   12. Map + find us
   ========================================================================== */

.find-us { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.find-map { min-height: 460px; position: relative; background: var(--paper-2); }
.find-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.find-body { padding: clamp(40px, 5vw, 76px) clamp(24px, 4vw, 60px); background: var(--ink); color: #b9bec8; display: flex; flex-direction: column; justify-content: center; }
.find-body h2 { color: #fff; }
.find-body .diamond-rule .eyebrow { color: var(--yellow); }
.find-body .diamond-rule::after { background: linear-gradient(90deg, rgba(255, 255, 255, .22), transparent); }

.info-list { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; margin: 0; }
.info-list .ico {
	width: 42px; height: 42px; flex: none;
	display: grid; place-content: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	color: var(--yellow);
}
.info-list .ico svg { width: 19px; height: 19px; }
.info-list dt { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #7d8494; margin-bottom: 3px; }
.info-list dd { margin: 0; font-size: 1.05rem; color: #fff; font-weight: 600; }
.info-list a { color: #fff; text-decoration: none; }
.info-list a:hover { color: var(--yellow); }

/* ==========================================================================
   13. Page hero (interior pages)
   ========================================================================== */

.page-hero {
	position: relative;
	background: var(--blue);
	color: #fff;
	padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 84px);
	overflow: hidden;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url(assets/img/watermark-bg.png);
	background-size: 300px auto;
	opacity: .08;
	mix-blend-mode: screen;
}
.page-hero--red { background: var(--red); }
.page-hero--ink { background: var(--ink); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 18ch; }
.page-hero p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 58ch; }
.page-hero .diamond-rule .eyebrow { color: var(--yellow); }
.page-hero .diamond-rule i { background: var(--yellow); }
.page-hero .diamond-rule i:nth-child(2) { background: #fff; }
.page-hero .diamond-rule::after { background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent); }

.breadcrumbs { font-size: .8rem; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

/* ==========================================================================
   14. Content blocks (generic)
   ========================================================================== */

.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > *:first-child { margin-top: 0; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 26px;
	border-left: 5px solid var(--red);
	font-size: 1.18rem;
	color: var(--ink);
	font-weight: 500;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 800; color: var(--ink); background: var(--paper-2); }

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; margin: 0; font-size: 1rem; }
.feature-list .tick {
	width: 26px; height: 26px; flex: none;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	display: grid; place-content: center;
	margin-top: 2px;
}
.feature-list .tick svg { width: 13px; height: 13px; }
.feature-list--blue .tick { background: var(--blue); }

/* Check-cashing "we cash" chip grid */
.chip-grid { display: flex; flex-wrap: wrap; gap: 11px; margin: 0 0 8px; padding: 0; list-style: none; }
.chip-grid li { margin: 0; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: .9rem;
	font-weight: 700;
	color: var(--ink);
	transition: border-color .16s ease, transform .16s ease;
}
.chip:hover { border-color: var(--blue); transform: translateY(-2px); }
.chip i { width: 8px; height: 8px; background: var(--blue); transform: rotate(45deg); border-radius: 1px; flex: none; }

/* Big callout panel */
.callout {
	background: var(--blue);
	color: #fff;
	border-radius: var(--r-lg);
	padding: clamp(34px, 5vw, 62px);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.callout--red { background: var(--red); }
.callout--yellow { background: var(--yellow); color: var(--ink); }
.callout--yellow h2, .callout--yellow h3 { color: var(--ink); }
.callout h2, .callout h3 { color: #fff; }
.callout p { color: rgba(255, 255, 255, .9); }
.callout--yellow p { color: var(--ink-2); }
.callout::after {
	content: "";
	position: absolute;
	right: -60px; bottom: -80px;
	width: 300px; height: 300px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
}

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); counter-reset: step; }
.step {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px 26px;
	position: relative;
	box-shadow: var(--shadow-sm);
}
.step::before {
	counter-increment: step;
	content: counter(step);
	display: grid;
	place-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.3rem;
	margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; }
.step p { font-size: .95rem; margin: 0; }

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--gap); }
.stat {
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 32px 20px;
	box-shadow: var(--shadow-sm);
}
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--red); line-height: 1; display: block; margin-bottom: 8px; }
.stat .lbl { font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.stat:nth-child(even) .num { color: var(--blue); }

/* ==========================================================================
   15. Partner logo wall
   ========================================================================== */

.partner-wall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
	gap: 14px;
}
.partner {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	aspect-ratio: 4 / 3;
	display: grid;
	place-content: center;
	padding: 14px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue); }
.partner img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.partner span { display: none; }

/* ==========================================================================
   16. Galleries
   ========================================================================== */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.gallery-grid figure { margin: 0; }
.gallery-item {
	display: block;
	position: relative;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--paper-2);
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 26px 16px 13px;
	background: linear-gradient(to top, rgba(10, 11, 14, .8), transparent);
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}
.gallery-item--tall { aspect-ratio: 3 / 4; }
.gallery-item--wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(10, 11, 14, .93);
	display: none;
	place-content: center;
	padding: 30px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 86vh; border-radius: var(--r-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	width: 52px; height: 52px;
	display: grid; place-content: center;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }
.lightbox svg { width: 20px; height: 20px; }
.lightbox-caption { color: #fff; text-align: center; margin-top: 14px; font-size: .9rem; }

/* ==========================================================================
   17. Forms
   ========================================================================== */

.form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(28px, 4vw, 46px);
	box-shadow: var(--shadow);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
	display: block;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 8px;
}
.field label .req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--paper-2);
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	padding: 13px 15px;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(31, 63, 168, .12);
}
.field .hint { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-notice {
	border-radius: var(--r-sm);
	padding: 15px 18px;
	margin-bottom: 22px;
	font-size: .95rem;
	font-weight: 600;
	display: flex;
	gap: 11px;
	align-items: flex-start;
}
.form-notice svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.form-notice--ok { background: #e9f7ee; color: #146c33; border: 1px solid #b9e3c8; }
.form-notice--err { background: var(--red-tint); color: var(--red-dk); border: 1px solid #f4c2c6; }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }

/* ==========================================================================
   18. Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: #99a0ac; padding-top: clamp(52px, 6vw, 80px); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.3fr;
	gap: clamp(32px, 5vw, 64px);
	padding-bottom: 52px;
}
.site-footer h3 {
	color: #fff;
	font-size: 1.15rem;
	margin-bottom: 20px;
	letter-spacing: .04em;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { max-height: 76px; width: auto; background: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.site-footer p { font-size: .95rem; line-height: 1.7; }

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #99a0ac; text-decoration: none; font-size: .95rem; font-weight: 600; transition: color .15s ease, padding-left .15s ease; display: inline-block; }
.footer-links a:hover { color: var(--yellow); padding-left: 5px; }

.footer-note {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--r-sm);
	padding: 16px 18px;
	font-size: .8rem;
	line-height: 1.6;
	color: #838a97;
	margin-top: 26px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	font-size: .85rem;
}
.footer-bottom a { color: #99a0ac; text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

.social { display: flex; gap: 10px; }
.social a {
	width: 40px; height: 40px;
	display: grid; place-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	transition: background-color .16s ease, transform .16s ease;
}
.social a:hover { background: var(--red); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* Sticky mobile call bar */
.call-bar {
	display: none;
	position: fixed;
	inset: auto 0 0 0;
	z-index: 300;
	background: var(--red);
	border-top: 3px solid var(--yellow);
}
.call-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px;
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .9rem;
}
.call-bar svg { width: 17px; height: 17px; }

/* ==========================================================================
   19. Blog / archive fallbacks
   ========================================================================== */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.25rem; }
.post-card .date { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-content: center;
	min-width: 44px; height: 44px;
	padding: 0 12px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	font-weight: 700;
}
.pagination .current, .pagination .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.6em 1.2em 0; }
.alignright { float: right; margin: 0 0 1.2em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: min(100vw - 40px, 1360px); margin-inline: auto; max-width: none; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--ink-3); }
.sticky, .bypostauthor { display: block; }

/* ==========================================================================
   20. Responsive
   ========================================================================== */

/* Between tablet and small desktop the nav and the phone button compete for
   room. Tighten both rather than let the button wrap. */
@media (max-width: 1280px) and (min-width: 901px) {
	.main-nav a { padding: 10px 9px; font-size: .79rem; }
	.header-right { gap: 12px; }
	.header-right .btn { padding: 12px 18px; font-size: .84rem; }
	.site-brand img { max-height: 54px; }
}

@media (max-width: 1080px) {
	.find-us { grid-template-columns: 1fr; }
	.find-map { min-height: 380px; order: 2; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.deal-card { flex: 0 0 calc((100% - var(--gap)) / 2); }
}

@media (max-width: 900px) {
	:root { --header-h: 74px; }

	.nav-toggle { display: grid; }

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		padding: 22px 20px 40px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .28s ease;
		border-top: 1px solid var(--line);
	}
	.main-nav.is-open { transform: translateX(0); }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav a { padding: 15px 14px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { display: none; }
	.main-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 16px; }

	.header-right .btn { display: none; }

	.split { grid-template-columns: 1fr; }
	.split--reverse .split-media { order: 0; }

	.hero { height: clamp(430px, 74svh, 620px); }
	.hero-controls { bottom: auto; top: 20px; right: 20px; }
	.hero-dots { left: 20px; }
	.hero-badge { width: 86px; top: 78px; right: 20px; }
	.hero-caption { min-height: 0; margin-bottom: 20px; }

	.call-bar { display: block; }
	body { padding-bottom: 56px; }
	.site-footer { padding-bottom: 10px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap, .wrap--narrow { width: calc(100% - 32px); }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.footer-grid { grid-template-columns: 1fr; }
	.deal-card { flex: 0 0 100%; }
	.partner-wall { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
	.gallery-item--wide { grid-column: span 1; }
	.reviews-summary { border-radius: var(--r); }
	.lightbox-prev { left: 10px; }
	.lightbox-next { right: 10px; }
	.hero-eyebrow { font-size: .66rem; letter-spacing: .13em; }
}

/* ==========================================================================
   21. Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.strip-track { animation: none; }
	.hero-slide { transition: none; }
}

/* Scroll reveal (progressive enhancement — content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .hero, .call-bar, .slider-nav { display: none !important; }
	body::before { display: none; }
	body { color: #000; }
}

/* ==========================================================================
   22. Department photo slider (What We Offer)
   ========================================================================== */

.photo-slider {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--paper-2);
	box-shadow: var(--shadow);
	isolation: isolate;
}

.photo-slider-track {
	display: flex;
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}

.photo-slider-slide { flex: 0 0 100%; min-width: 0; }

.photo-slider img,
.photo-slider-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Deliberately chunky arrows: white disc, hard dark ring, heavy shadow. These
   sit over photographs of every possible brightness, so contrast comes from the
   ring rather than from the fill alone. */
.ps-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 62px;
	height: 62px;
	display: grid;
	place-content: center;
	padding: 0;
	border: 3px solid var(--ink);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	box-shadow: 0 6px 22px rgba(10, 11, 14, .45);
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.ps-btn svg { width: 28px; height: 28px; stroke-width: 3.2; }
.ps-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.ps-btn:active { transform: translateY(-50%) scale(.94); }

.ps-prev { left: 18px; }
.ps-next { right: 18px; }

.ps-count {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	background: rgba(10, 11, 14, .74);
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	padding: 7px 13px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.ps-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 9px;
	background: rgba(10, 11, 14, .5);
	padding: 9px 13px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.ps-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}
.ps-dot:hover { background: rgba(255, 255, 255, .85); }
.ps-dot.is-active { background: var(--yellow); transform: scale(1.25); }

@media (max-width: 640px) {
	.ps-btn { width: 52px; height: 52px; border-width: 2.5px; }
	.ps-btn svg { width: 23px; height: 23px; }
	.ps-prev { left: 10px; }
	.ps-next { right: 10px; }
}

/* Sticky header was covering the top of anchored sections. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
