/**
 * Estepp's — global stylesheet.
 *
 * 1. Design tokens
 * 2. Reset & base
 * 3. Typography
 * 4. Layout
 * 5. Buttons
 * 6. Forms
 * 7. Header
 * 8. Footer
 * 9. Image placeholders
 * 10. Cards & shared components
 * 11. FAQ accordion
 * 12. Content pages (404, search, legal)
 * 13. Utilities
 * 14. Motion preferences
 */

/* ------------------------------------------------------------------ *
 * 1. Design tokens
 * ------------------------------------------------------------------ */

@font-face {
 font-family: "Estepps Futura";
 src: url("../fonts/futura-lt-bold.woff2") format("woff2");
 font-style: normal;
 font-weight: 600 900;
 font-display: swap;
}

:root {
	/* Brand */
	--estepps-blue: #00529b;
	--estepps-blue-dark: #00427c;
	--estepps-navy: #0c2848;
	--estepps-navy-deep: #071c33;
	--estepps-gold: #f5c518;
	--estepps-gold-dark: #d9ad0f;

	/* Neutrals */
	--estepps-white: #ffffff;
	--estepps-cream: #f7f5f0;
	--estepps-charcoal: #1c1c1c;
	--estepps-gray: #666666;
	--estepps-gray-light: #e9ecef;
	--estepps-gray-border: #dcdfe3;

	/* Semantic roles */
	--estepps-text: var(--estepps-charcoal);
	--estepps-text-muted: var(--estepps-gray);
	--estepps-bg: var(--estepps-white);
	--estepps-bg-alt: var(--estepps-cream);
	--estepps-border: var(--estepps-gray-border);
	--estepps-link: var(--estepps-blue);
	--estepps-link-hover: var(--estepps-navy);
	--estepps-focus: var(--estepps-blue);

	/* Type */
	--estepps-font-heading: "Estepps Futura", Futura, system-ui, sans-serif;
	--estepps-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--estepps-text-xs: 0.8125rem;
	--estepps-text-sm: 0.9375rem;
	--estepps-text-base: 1.0625rem;
	--estepps-text-lg: 1.1875rem;
	--estepps-text-xl: 1.375rem;

	--estepps-h1: clamp(2.75rem, 1.6rem + 4.2vw, 4.5rem);
	--estepps-h2: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
	--estepps-h3: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem);
	--estepps-h4: clamp(1.3125rem, 1.15rem + 0.7vw, 1.625rem);
	--estepps-h5: 1.1875rem;

	--estepps-leading-tight: 1.08;
	--estepps-leading-heading: 1.15;
	--estepps-leading-body: 1.65;

	/* Widths */
	--estepps-width: 1280px;
	--estepps-width-text: 800px;
	--estepps-width-narrow: 640px;
	--estepps-gutter: 40px;

	/* Spacing scale */
	--estepps-space-3xs: 0.25rem;
	--estepps-space-2xs: 0.5rem;
	--estepps-space-xs: 0.75rem;
	--estepps-space-sm: 1rem;
	--estepps-space-md: 1.5rem;
	--estepps-space-lg: 2rem;
	--estepps-space-xl: 3rem;
	--estepps-space-2xl: 4rem;

	/* Section rhythm */
	--estepps-section: 110px;
	--estepps-section-sm: 80px;
	--estepps-card-gap: 28px;

	/* Shape */
	--estepps-radius-card: 16px;
	--estepps-radius-button: 9px;
	--estepps-radius-sm: 8px;
	--estepps-radius-pill: 999px;

	/* The one shadow this site uses, kept deliberately faint. */
	--estepps-shadow: 0 1px 2px rgba(12, 40, 72, 0.06), 0 8px 24px rgba(12, 40, 72, 0.06);

	--estepps-transition: 160ms ease;

	/* Header height, read by the sticky offsets and mobile drawer. */
	--estepps-header-height: 76px;
}

/* Homepage coming-soon banner. */
body.home .estepps-coming-soon-band {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 204, 0, 0.2), transparent 28%),
		linear-gradient(135deg, #071b2e 0%, #00529b 52%, #5a287f 100%);
	color: #fff;
}

body.home .estepps-coming-soon-band::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 18px;
	background: repeating-linear-gradient(90deg, #fff 0 18px, var(--estepps-blue) 18px 36px);
	opacity: 0.96;
}

body.home .estepps-coming-soon-band__inner {
	position: relative;
	z-index: 1;
	align-items: center;
	text-align: center;
}

body.home .estepps-coming-soon-band__eyebrow .elementor-heading-title {
	color: var(--estepps-gold);
	font-size: clamp(0.95rem, 1.8vw, 1.2rem);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

body.home .estepps-coming-soon-band__title .elementor-heading-title {
	max-width: 900px;
	margin-inline: auto;
	color: #fff;
	font-size: clamp(2.35rem, 6vw, 5rem);
	line-height: 0.95;
}

body.home .estepps-coming-soon-band__brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin-block: 1.25rem;
}

body.home .estepps-coming-soon-band__brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0.75rem 1.25rem;
	border: 3px solid #fff;
	border-radius: 999px;
	background: #fff;
	font-family: var(--estepps-font-heading);
	font-size: clamp(1.15rem, 2.7vw, 1.75rem);
	font-weight: 800;
	line-height: 1;
}

body.home .estepps-coming-soon-band__brand--pjs {
	color: #5a287f;
	border-color: #d6b8e8;
}

body.home .estepps-coming-soon-band__brand--jersey {
	color: #00539b;
	border-color: #e33a3e;
}

body.home .estepps-coming-soon-band__copy {
	max-width: 720px;
	margin-inline: auto;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
}

@media (max-width: 600px) {
	body.home .estepps-coming-soon-band__brands {
		flex-direction: column;
		align-items: stretch;
		width: min(100%, 330px);
	}
}

/* Community giving page. */
.page-community-giving .estepps-entry-content {
	max-width: 1080px;
	padding-block: clamp(3rem, 7vw, 6rem);
}

.community-giving__intro {
	max-width: 780px;
	margin: 0 auto clamp(3rem, 6vw, 5rem);
	text-align: center;
	font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.community-giving__section {
	margin-block: clamp(3rem, 6vw, 5rem);
}

.community-giving__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--estepps-space-md);
	margin-top: var(--estepps-space-lg);
}

.community-giving__card {
	padding: clamp(1.35rem, 3vw, 2rem);
	background: var(--estepps-white);
	border: 1px solid var(--estepps-border);
	border-top: 5px solid var(--estepps-blue);
	border-radius: var(--estepps-radius-card);
	box-shadow: var(--estepps-shadow);
}

.community-giving__card-number {
	display: inline-grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	margin-bottom: var(--estepps-space-sm);
	border-radius: 50%;
	background: var(--estepps-gold);
	color: var(--estepps-navy);
	font-family: var(--estepps-font-heading);
	font-weight: 800;
}

.community-giving__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.community-giving__panel {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--estepps-bg-alt);
	border-radius: var(--estepps-radius-card);
}

.community-giving__deadlines {
	width: 100%;
	margin-top: var(--estepps-space-md);
	border-collapse: collapse;
	background: var(--estepps-white);
	border-radius: var(--estepps-radius-card);
	overflow: hidden;
	box-shadow: var(--estepps-shadow);
}

.community-giving__deadlines th,
.community-giving__deadlines td {
	padding: 1rem 1.25rem;
	text-align: left;
	border-bottom: 1px solid var(--estepps-border);
}

.community-giving__deadlines th {
	background: var(--estepps-navy);
	color: var(--estepps-white);
	font-family: var(--estepps-font-heading);
	font-size: 1.05rem;
}

.community-giving__form {
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--estepps-navy);
	border-radius: var(--estepps-radius-card);
	color: var(--estepps-white);
}

.community-giving__form h2,
.community-giving__form h3,
.community-giving__form label {
	color: var(--estepps-white);
}

@media (max-width: 800px) {
	.community-giving__cards,
	.community-giving__columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	:root {
		--estepps-gutter: 24px;
		--estepps-section: 76px;
		--estepps-section-sm: 56px;
		--estepps-card-gap: 24px;
		--estepps-header-height: 68px;
	}
}

@media (max-width: 600px) {
	:root {
		--estepps-gutter: 20px;
		--estepps-section: 64px;
		--estepps-section-sm: 48px;
		--estepps-header-height: 64px;
	}
}

/* ------------------------------------------------------------------ *
 * 2. Reset & base
 * ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--estepps-header-height) + 16px);
}

body {
	margin: 0;
	background: var(--estepps-bg);
	color: var(--estepps-text);
	font-family: var(--estepps-font-body);
	font-size: var(--estepps-text-base);
	line-height: var(--estepps-leading-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* Reserve space so late-loading media cannot shift the page. */
img[width][height] {
	height: auto;
}

a {
	color: var(--estepps-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--estepps-transition);
}

a:hover {
	color: var(--estepps-link-hover);
}

/* A single, obvious focus treatment used site-wide. */
:focus-visible {
	outline: 3px solid var(--estepps-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.estepps-dark :focus-visible,
.estepps-site-footer :focus-visible {
	outline-color: var(--estepps-gold);
}

hr {
	border: 0;
	border-top: 1px solid var(--estepps-border);
	margin: var(--estepps-space-xl) 0;
}

/* Skip link — visible the moment it receives focus. */
.estepps-skip-link {
	position: absolute;
	top: -100px;
	left: var(--estepps-gutter);
	z-index: 1000;
	padding: 14px 22px;
	background: var(--estepps-navy);
	color: var(--estepps-white);
	font-weight: 600;
	border-radius: 0 0 var(--estepps-radius-sm) var(--estepps-radius-sm);
	text-decoration: none;
	transition: top var(--estepps-transition);
}

.estepps-skip-link:focus {
	top: 0;
	color: var(--estepps-white);
}

.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;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	white-space: normal;
}

/* ------------------------------------------------------------------ *
 * 3. Typography
 * ------------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--estepps-space-sm);
	font-family: var(--estepps-font-heading);
	font-weight: 700;
	line-height: var(--estepps-leading-heading);
	color: var(--estepps-navy);
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 {
	font-size: var(--estepps-h1);
	font-weight: 800;
	line-height: var(--estepps-leading-tight);
}

h2 {
	font-size: var(--estepps-h2);
	font-weight: 700;
}

h3 {
	font-size: var(--estepps-h3);
}

h4 {
	font-size: var(--estepps-h4);
}

h5 {
	font-size: var(--estepps-h5);
	font-weight: 600;
}

p {
	margin: 0 0 var(--estepps-space-md);
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 var(--estepps-space-md);
	padding-left: 1.35em;
}

li + li {
	margin-top: var(--estepps-space-3xs);
}

blockquote {
	margin: var(--estepps-space-lg) 0;
	padding: var(--estepps-space-md) var(--estepps-space-lg);
	border-left: 4px solid var(--estepps-gold);
	background: var(--estepps-bg-alt);
	border-radius: 0 var(--estepps-radius-sm) var(--estepps-radius-sm) 0;
	font-size: var(--estepps-text-lg);
}

blockquote p:last-child {
	margin-bottom: 0;
}

code,
pre {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.9em;
}

/* Small uppercase label that sits above a headline. */
.estepps-eyebrow {
	display: block;
	margin-bottom: var(--estepps-space-xs);
	font-family: var(--estepps-font-body);
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--estepps-blue);
}

.estepps-dark .estepps-eyebrow {
	color: var(--estepps-gold);
}

.estepps-lead {
	font-size: var(--estepps-text-lg);
	color: var(--estepps-text-muted);
	max-width: 60ch;
}

.estepps-dark .estepps-lead {
	color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------------------ *
 * 4. Layout
 * ------------------------------------------------------------------ */

.estepps-container {
	width: 100%;
	max-width: var(--estepps-width);
	margin-inline: auto;
	padding-inline: var(--estepps-gutter);
}

.estepps-container--text {
	max-width: calc(var(--estepps-width-text) + var(--estepps-gutter) * 2);
}

.estepps-container--narrow {
	max-width: calc(var(--estepps-width-narrow) + var(--estepps-gutter) * 2);
}

.estepps-section {
	padding-block: var(--estepps-section);
}

.estepps-section--sm {
	padding-block: var(--estepps-section-sm);
}

.estepps-section--alt {
	background: var(--estepps-bg-alt);
}

.estepps-dark {
	background: var(--estepps-navy);
	color: rgba(255, 255, 255, 0.9);
}

.estepps-dark h1,
.estepps-dark h2,
.estepps-dark h3,
.estepps-dark h4,
.estepps-dark h5,
.estepps-dark h6 {
	color: var(--estepps-white);
}

.estepps-dark a:not(.estepps-button) {
	color: var(--estepps-gold);
}

.estepps-section__header {
	max-width: 62ch;
	margin-bottom: var(--estepps-space-xl);
}

.estepps-section__header--center {
	margin-inline: auto;
	text-align: center;
}

/* Two-column split used by the "locally owned" style sections. */
.estepps-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 860px) {
	.estepps-split {
		grid-template-columns: 1fr 1fr;
	}

	.estepps-split--media-right .estepps-split__media {
		order: 2;
	}
}

.estepps-grid {
	display: grid;
	gap: var(--estepps-card-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.estepps-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.estepps-site-main {
	display: block;
	min-height: 40vh;
}

/* ------------------------------------------------------------------ *
 * 5. Buttons
 * ------------------------------------------------------------------ */

.estepps-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0.75rem 1.75rem;
	border: 2px solid transparent;
	border-radius: var(--estepps-radius-button);
	background: var(--estepps-blue);
	color: var(--estepps-white);
	font-family: var(--estepps-font-body);
	font-size: var(--estepps-text-sm);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--estepps-transition), border-color var(--estepps-transition),
		color var(--estepps-transition), transform var(--estepps-transition);
}

.estepps-button:hover {
	background: var(--estepps-blue-dark);
	color: var(--estepps-white);
	transform: translateY(-1px);
}

.estepps-button:active {
	transform: translateY(0);
}

.estepps-button--secondary {
	background: transparent;
	border-color: var(--estepps-blue);
	color: var(--estepps-blue);
}

.estepps-button--secondary:hover {
	background: var(--estepps-blue);
	color: var(--estepps-white);
}

.estepps-dark .estepps-button--secondary {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--estepps-white);
}

.estepps-dark .estepps-button--secondary:hover {
	background: var(--estepps-white);
	border-color: var(--estepps-white);
	color: var(--estepps-navy);
}

.estepps-button--accent {
	background: var(--estepps-gold);
	color: var(--estepps-navy);
}

.estepps-button--accent:hover {
	background: var(--estepps-gold-dark);
	color: var(--estepps-navy);
}

.estepps-button--small {
	min-height: 42px;
	padding: 0.5rem 1.1rem;
	font-size: var(--estepps-text-xs);
}

.estepps-button--large {
	min-height: 58px;
	padding: 0.9rem 2.25rem;
	font-size: var(--estepps-text-base);
}

.estepps-button--block {
	display: flex;
	width: 100%;
}

.estepps-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--estepps-space-sm);
	margin-top: var(--estepps-space-lg);
}

/* Marks a link that leaves the site. */
.estepps-external::after {
	content: "";
	width: 0.7em;
	height: 0.7em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h4v2H7v10h10v-2h2v4H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h4v2H7v10h10v-2h2v4H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
	flex: none;
}

/* ------------------------------------------------------------------ *
 * 6. Forms
 * ------------------------------------------------------------------ */

label {
	display: block;
	margin-bottom: var(--estepps-space-3xs);
	font-size: var(--estepps-text-sm);
	font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.7rem 1rem;
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-sm);
	background: var(--estepps-white);
	color: var(--estepps-text);
	transition: border-color var(--estepps-transition), box-shadow var(--estepps-transition);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--estepps-blue);
	box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.14);
	outline: none;
}

input::placeholder,
textarea::placeholder {
	color: #8a8f96;
}

/* Field-level validation feedback. */
.estepps-field__error {
	display: block;
	margin-top: var(--estepps-space-3xs);
	color: #b3261e;
	font-size: var(--estepps-text-sm);
	font-weight: 500;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
	border-color: #b3261e;
}

.estepps-form__message {
	padding: var(--estepps-space-md);
	border-radius: var(--estepps-radius-sm);
	margin-bottom: var(--estepps-space-md);
	font-weight: 500;
}

.estepps-form__message--success {
	background: #e8f4ec;
	border: 1px solid #a7d3b6;
	color: #14532d;
}

.estepps-form__message--error {
	background: #fdeceb;
	border: 1px solid #f0b4b0;
	color: #7f1d1d;
}

/* Contact form */

.estepps-contact-form__row {
	display: grid;
	gap: var(--estepps-space-md);
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.estepps-contact-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.estepps-field {
	margin-bottom: var(--estepps-space-md);
}

.estepps-contact-form__row .estepps-field {
	margin-bottom: 0;
}

.estepps-contact-form__submit {
	margin-top: var(--estepps-space-lg);
	margin-bottom: var(--estepps-space-2xs);
}

.estepps-contact-form__note {
	font-size: var(--estepps-text-xs);
	color: var(--estepps-text-muted);
}

/* Honeypot — hidden from people, still reachable by bots that ignore CSS. */
.estepps-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * 7. Header
 * ------------------------------------------------------------------ */

.estepps-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--estepps-white);
	border-bottom: 1px solid var(--estepps-border);
}

.estepps-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--estepps-space-md);
	min-height: var(--estepps-header-height);
}

.estepps-branding {
	flex: none;
	display: flex;
	align-items: center;
}

.estepps-branding__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.estepps-branding__logo img,
.estepps-branding__logo svg {
	max-height: 46px;
	width: auto;
}

.estepps-branding__text {
	font-family: var(--estepps-font-heading);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--estepps-navy);
	line-height: 1;
	letter-spacing: -0.01em;
}

.estepps-branding__logo .estepps-branding__mark {
	width: 58px;
	height: 58px;
	max-height: none;
	object-fit: contain;
}

.estepps-branding__name {
	margin-left: 0.55rem;
	font-family: var(--estepps-font-heading);
	font-size: clamp(1.65rem, 2.5vw, 2.15rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: 0.035em;
	color: var(--estepps-navy);
}

@media (max-width: 767px) {
	.estepps-branding__logo .estepps-branding__mark {
		width: 48px;
		height: 48px;
	}

	.estepps-branding__name {
		font-size: 1.55rem;
	}
}

/* Desktop navigation */
.estepps-nav {
	display: none;
	flex: 1 1 auto;
	justify-content: center;
}

.estepps-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.estepps-nav__list li {
	margin: 0;
	position: relative;
}

.estepps-nav__list a {
	display: inline-block;
	padding: 0.5rem 0;
	font-size: var(--estepps-text-sm);
	font-weight: 600;
	color: var(--estepps-navy);
	text-decoration: none;
	white-space: nowrap;
}

.estepps-nav__list a::after {
	content: "";
	display: block;
	height: 3px;
	margin-top: 4px;
	border-radius: 2px;
	background: var(--estepps-gold);
	transform: scaleX(0);
	transition: transform var(--estepps-transition);
}

.estepps-nav__list a:hover::after,
.estepps-nav__list .current-menu-item > a::after,
.estepps-nav__list .current_page_item > a::after,
.estepps-nav__list .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* Sub-menus, opened on hover and on keyboard focus. */
.estepps-nav__list ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: var(--estepps-space-2xs);
	list-style: none;
	background: var(--estepps-white);
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-sm);
	box-shadow: var(--estepps-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--estepps-transition), transform var(--estepps-transition),
		visibility var(--estepps-transition);
}

.estepps-nav__list li:hover > ul,
.estepps-nav__list li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.estepps-nav__list ul a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	white-space: normal;
}

.estepps-nav__list ul a::after {
	display: none;
}

.estepps-nav__list ul a:hover {
	background: var(--estepps-bg-alt);
}

.estepps-header-actions {
	flex: none;
	display: flex;
	align-items: center;
	gap: var(--estepps-space-sm);
}

.estepps-header-actions__utility {
	display: none;
	font-size: var(--estepps-text-xs);
	font-weight: 600;
	color: var(--estepps-text-muted);
	text-decoration: none;
	align-items: center;
	gap: 0.35em;
}

.estepps-header-actions__utility:hover {
	color: var(--estepps-blue);
}

.estepps-header-actions__cta {
	display: none;
}

/* Mobile menu trigger */
.estepps-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	width: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-sm);
	color: var(--estepps-navy);
	cursor: pointer;
}

.estepps-menu-toggle__bars {
	position: relative;
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: background-color var(--estepps-transition);
}

.estepps-menu-toggle__bars::before,
.estepps-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--estepps-transition), top var(--estepps-transition);
}

.estepps-menu-toggle__bars::before {
	top: -6px;
}

.estepps-menu-toggle__bars::after {
	top: 6px;
}

.estepps-menu-toggle[aria-expanded="true"] .estepps-menu-toggle__bars {
	background: transparent;
}

.estepps-menu-toggle[aria-expanded="true"] .estepps-menu-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.estepps-menu-toggle[aria-expanded="true"] .estepps-menu-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Mobile drawer */
.estepps-mobile-nav {
	position: fixed;
	inset: var(--estepps-header-height) 0 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	padding: var(--estepps-space-lg) var(--estepps-gutter) var(--estepps-space-2xl);
	background: var(--estepps-white);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateY(-8px);
	opacity: 0;
	visibility: hidden;
	/* Visibility flips instantly on open so the drawer is focusable straight
	   away, and is delayed on close so the fade-out is still visible. */
	transition: opacity var(--estepps-transition), transform var(--estepps-transition),
		visibility 0s linear 160ms;
}

.estepps-mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity var(--estepps-transition), transform var(--estepps-transition),
		visibility 0s linear 0s;
}

.estepps-mobile-nav__list {
	margin: 0 0 var(--estepps-space-lg);
	padding: 0;
	list-style: none;
}

.estepps-mobile-nav__list li {
	margin: 0;
	border-bottom: 1px solid var(--estepps-border);
}

.estepps-mobile-nav__list ul {
	margin: 0 0 var(--estepps-space-2xs) var(--estepps-space-sm);
	padding: 0;
	list-style: none;
}

.estepps-mobile-nav__list ul li {
	border-bottom: 0;
}

.estepps-mobile-nav__list ul a {
	font-size: var(--estepps-text-base);
	font-weight: 500;
	padding-block: 0.6rem;
	min-height: 44px;
}

.estepps-mobile-nav__list a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.75rem 0;
	font-family: var(--estepps-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--estepps-navy);
	text-decoration: none;
}

.estepps-mobile-nav__list a:hover {
	color: var(--estepps-blue);
}

.estepps-mobile-nav__actions {
	display: grid;
	gap: var(--estepps-space-sm);
	margin-top: auto;
	padding-top: var(--estepps-space-lg);
}

.estepps-mobile-nav__contact {
	margin-top: var(--estepps-space-lg);
	padding-top: var(--estepps-space-md);
	border-top: 1px solid var(--estepps-border);
	font-size: var(--estepps-text-sm);
	color: var(--estepps-text-muted);
}

.estepps-mobile-nav__contact a {
	display: inline-flex;
	align-items: center;
	/* Comfortable tap target on touch screens. */
	min-height: 44px;
	font-weight: 600;
}

body.estepps-menu-open {
	overflow: hidden;
}

@media (min-width: 1025px) {
	.estepps-nav {
		display: flex;
	}

	.estepps-menu-toggle,
	.estepps-mobile-nav {
		display: none;
	}

	.estepps-header-actions__cta,
	.estepps-header-actions__utility {
		display: inline-flex;
	}
}

/* ------------------------------------------------------------------ *
 * 8. Footer
 * ------------------------------------------------------------------ */

.estepps-site-footer {
	background: var(--estepps-navy);
	color: rgba(255, 255, 255, 0.78);
	padding-top: var(--estepps-section-sm);
	font-size: var(--estepps-text-sm);
}

.estepps-site-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.estepps-site-footer a:hover {
	color: var(--estepps-gold);
	text-decoration: underline;
}

.estepps-footer__columns {
	display: grid;
	gap: var(--estepps-space-xl);
	grid-template-columns: 1fr;
	padding-bottom: var(--estepps-space-2xl);
}

@media (min-width: 640px) {
	.estepps-footer__columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.estepps-footer__columns {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		gap: var(--estepps-space-2xl);
	}
}

.estepps-footer__brand-logo img {
	max-height: 52px;
	width: auto;
	margin-bottom: var(--estepps-space-sm);
}

/*
 * The footer mark is inline SVG whose wordmark paths use currentColor, so
 * setting the colour here turns "Estepp's" white against the navy while the
 * silks artwork keeps its own brand colours.
 */
.estepps-footer__brand-logo,
/* The footer's generic link colour is 78% white and would otherwise be what
   currentColor resolves to inside the anchor, so the mark is set explicitly. */
.estepps-footer__brand-logo .estepps-branding__link {
	color: var(--estepps-white);
}

.estepps-footer__brand-logo .estepps-logo-svg {
	display: block;
	width: min(220px, 100%);
	height: auto;
	margin-bottom: var(--estepps-space-md);
}

.estepps-footer__brand-logo .estepps-branding__link:hover {
	color: var(--estepps-gold);
}

.estepps-footer__brand-text {
	font-family: var(--estepps-font-heading);
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--estepps-white);
	margin-bottom: var(--estepps-space-2xs);
}

.estepps-footer__statement {
	max-width: 34ch;
	margin-bottom: var(--estepps-space-md);
}

.estepps-footer__tagline {
	font-family: var(--estepps-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--estepps-gold);
}

.estepps-footer__heading {
	margin-bottom: var(--estepps-space-sm);
	font-family: var(--estepps-font-body);
	font-size: var(--estepps-text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--estepps-white);
}

.estepps-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.estepps-footer__menu li {
	margin: 0 0 var(--estepps-space-2xs);
}

.estepps-footer__menu a {
	display: inline-block;
	padding-block: 2px;
}

.estepps-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--estepps-space-md);
	padding-block: var(--estepps-space-md);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: var(--estepps-text-xs);
}

.estepps-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--estepps-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.estepps-footer__legal li {
	margin: 0;
}

.estepps-footer__social {
	display: flex;
	gap: var(--estepps-space-2xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.estepps-footer__social li {
	margin: 0;
}

.estepps-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--estepps-radius-pill);
}

.estepps-footer__social a:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--estepps-gold);
	text-decoration: none;
}

.estepps-footer__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ------------------------------------------------------------------ *
 * 9. Image placeholders
 * ------------------------------------------------------------------ */

.estepps-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: var(--estepps-space-md);
	background: var(--estepps-gray-light);
	background-image: repeating-linear-gradient(
		135deg,
		rgba(12, 40, 72, 0.035) 0,
		rgba(12, 40, 72, 0.035) 12px,
		transparent 12px,
		transparent 24px
	);
	border: 1px dashed #b6bcc4;
	border-radius: var(--estepps-radius-card);
	color: #55606d;
	text-align: center;
	overflow: hidden;
}

.estepps-image-placeholder__inner {
	display: flex;
	flex-direction: column;
	gap: var(--estepps-space-3xs);
	max-width: 32ch;
}

.estepps-image-placeholder__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.75;
}

.estepps-image-placeholder__label {
	font-family: var(--estepps-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--estepps-navy);
}

.estepps-image-placeholder__size {
	font-size: var(--estepps-text-xs);
	opacity: 0.75;
}

/* Final image-pass assets keep the approved placeholder geometry while
 * replacing only its visual contents. */
.estepps-image-placeholder--filled {
	display: block;
	padding: 0;
	background: none;
	border: 0;
	color: inherit;
}

.estepps-image-placeholder--filled .estepps-image-placeholder__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.estepps-image-placeholder--hero.estepps-image-placeholder--filled .estepps-image-placeholder__image {
	aspect-ratio: 12 / 5;
	min-height: 340px;
	height: auto !important;
}

.estepps-image-placeholder--contain {
	background: transparent;
}

.estepps-image-placeholder--contain .estepps-image-placeholder__image {
	aspect-ratio: 1 / 1;
	padding: clamp(1rem, 4vw, 3rem);
	height: auto !important;
	object-fit: contain;
}

.estepps-image-placeholder--hero {
	aspect-ratio: 12 / 5;
	min-height: 340px;
}

.estepps-image-placeholder--16-9 {
	aspect-ratio: 16 / 9;
}

.estepps-image-placeholder--4-3 {
	aspect-ratio: 4 / 3;
}

.estepps-image-placeholder--1-1 {
	aspect-ratio: 1 / 1;
}

.estepps-image-placeholder--portrait {
	aspect-ratio: 3 / 4;
}

@media (max-width: 600px) {
	.estepps-image-placeholder--hero {
		aspect-ratio: 4 / 3;
		min-height: 260px;
	}

	.estepps-image-placeholder--hero.estepps-image-placeholder--filled .estepps-image-placeholder__image {
		aspect-ratio: 4 / 3;
		min-height: 260px;
	}

	.estepps-image-placeholder__label {
		font-size: 1.0625rem;
	}
}

/* ------------------------------------------------------------------ *
 * 10. Cards & shared components
 * ------------------------------------------------------------------ */

.estepps-card {
	display: flex;
	flex-direction: column;
	background: var(--estepps-white);
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-card);
	overflow: hidden;
	transition: border-color var(--estepps-transition), transform var(--estepps-transition),
		box-shadow var(--estepps-transition);
}

.estepps-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: var(--estepps-space-lg);
	gap: var(--estepps-space-2xs);
}

.estepps-card__title {
	margin: 0;
	font-size: var(--estepps-h4);
}

.estepps-card__text {
	color: var(--estepps-text-muted);
	margin: 0;
}

/* Whole-card link: the title anchor is stretched over the card. */
.estepps-card--link {
	position: relative;
}

.estepps-card--link:hover {
	border-color: var(--estepps-blue);
	transform: translateY(-3px);
	box-shadow: var(--estepps-shadow);
}

.estepps-card--link:focus-within {
	border-color: var(--estepps-blue);
}

.estepps-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.estepps-card__link {
	color: inherit;
	text-decoration: none;
}

.estepps-card__arrow {
	margin-top: auto;
	padding-top: var(--estepps-space-sm);
	font-size: var(--estepps-text-sm);
	font-weight: 700;
	color: var(--estepps-blue);
}

.estepps-card__arrow::after {
	content: " →";
}

/* Quick-action card variant used under the hero. */
.estepps-action-card {
	background: var(--estepps-white);
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-card);
	padding: var(--estepps-space-lg);
	position: relative;
	transition: border-color var(--estepps-transition), transform var(--estepps-transition),
		box-shadow var(--estepps-transition);
}

.estepps-action-card:hover {
	border-color: var(--estepps-blue);
	transform: translateY(-3px);
	box-shadow: var(--estepps-shadow);
}

.estepps-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.3rem 0.7rem;
	border-radius: var(--estepps-radius-pill);
	background: var(--estepps-bg-alt);
	border: 1px solid var(--estepps-border);
	font-size: var(--estepps-text-xs);
	font-weight: 600;
	color: var(--estepps-navy);
	white-space: nowrap;
}

.estepps-pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--estepps-space-3xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.estepps-pill-list li {
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * 11. FAQ accordion
 * ------------------------------------------------------------------ */

.estepps-faq__title {
	margin-bottom: var(--estepps-space-lg);
}

.estepps-faq__list {
	border-top: 1px solid var(--estepps-border);
}

.estepps-faq__item {
	border-bottom: 1px solid var(--estepps-border);
}

.estepps-faq__question {
	margin: 0;
	font-size: inherit;
}

.estepps-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--estepps-space-md);
	width: 100%;
	min-height: 64px;
	padding: var(--estepps-space-md) 0;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	font-family: var(--estepps-font-heading);
	font-size: var(--estepps-h5);
	font-weight: 600;
	color: var(--estepps-navy);
	transition: color var(--estepps-transition);
}

.estepps-faq__trigger:hover {
	color: var(--estepps-blue);
}

.estepps-faq__icon {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
}

.estepps-faq__icon::before,
.estepps-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transform: translateY(-50%);
	transition: transform var(--estepps-transition), opacity var(--estepps-transition);
}

.estepps-faq__icon::after {
	transform: translateY(-50%) rotate(90deg);
}

.estepps-faq__trigger[aria-expanded="true"] .estepps-faq__icon::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

.estepps-faq__answer[hidden] {
	display: none;
}

.estepps-faq__answer-inner {
	/* A little air above so the answer reads as its own block rather than as a
	   continuation of the question, and a slightly larger gap below so each
	   question and answer group together against the next divider. */
	padding: var(--estepps-space-2xs) 0 var(--estepps-space-lg);
	max-width: 68ch;
	color: var(--estepps-text-muted);
	line-height: var(--estepps-leading-body);
}

/* Multi-paragraph answers keep an even rhythm. */
.estepps-faq__answer-inner > p + p,
.estepps-faq__answer-inner > ul,
.estepps-faq__answer-inner > ol {
	margin-top: var(--estepps-space-sm);
}

.estepps-faq__answer-inner > :last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ *
 * 12. Content pages
 * ------------------------------------------------------------------ */

.estepps-page-header {
	background: var(--estepps-bg-alt);
	padding-block: clamp(3rem, 7vw, 5.5rem);
	border-bottom: 1px solid var(--estepps-border);
}

.estepps-page-header__inner {
	max-width: 68ch;
}

.estepps-page-header__title {
	margin-bottom: var(--estepps-space-xs);
}

.estepps-page-header__subtitle {
	font-size: var(--estepps-text-lg);
	color: var(--estepps-text-muted);
	margin: 0;
}

.estepps-entry-content {
	padding-block: var(--estepps-section-sm);
}

.estepps-entry-content > * {
	max-width: var(--estepps-width-text);
	margin-inline: auto;
}

/* Legal pages contain bare URLs long enough to push past a narrow viewport. */
.estepps-entry-content {
	overflow-wrap: break-word;
	word-break: break-word;
}

.estepps-entry-content h2 {
	margin-top: var(--estepps-space-xl);
}

.estepps-entry-content h3 {
	margin-top: var(--estepps-space-lg);
}

.estepps-entry-content .alignwide,
.estepps-entry-content .alignfull {
	max-width: var(--estepps-width);
}

/* Legal documents get tighter measure and clearer hierarchy. */
.estepps-legal .estepps-entry-content h2 {
	padding-top: var(--estepps-space-md);
	border-top: 1px solid var(--estepps-border);
	font-size: var(--estepps-h4);
}

.estepps-legal .estepps-entry-content p,
.estepps-legal .estepps-entry-content li {
	color: #41474f;
}

/* 404 and search */
.estepps-utility-page {
	padding-block: var(--estepps-section);
	text-align: center;
}

.estepps-utility-page__inner {
	max-width: 56ch;
	margin-inline: auto;
}

.estepps-utility-page__code {
	font-family: var(--estepps-font-heading);
	font-size: clamp(5rem, 16vw, 10rem);
	font-weight: 800;
	line-height: 0.9;
	color: var(--estepps-gray-light);
	margin-bottom: var(--estepps-space-sm);
}

.estepps-search-form {
	display: flex;
	gap: var(--estepps-space-2xs);
	margin-top: var(--estepps-space-lg);
}

.estepps-search-form label {
	flex: 1 1 auto;
	margin: 0;
}

.estepps-search-results {
	padding-block: var(--estepps-section-sm);
}

.estepps-search-result {
	padding-block: var(--estepps-space-lg);
	border-bottom: 1px solid var(--estepps-border);
}

.estepps-search-result__title {
	margin-bottom: var(--estepps-space-3xs);
	font-size: var(--estepps-h4);
}

.estepps-search-result__title a {
	text-decoration: none;
}

.estepps-search-result__meta {
	font-size: var(--estepps-text-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--estepps-text-muted);
	margin-bottom: var(--estepps-space-3xs);
}

.estepps-pagination {
	display: flex;
	gap: var(--estepps-space-2xs);
	justify-content: center;
	margin-top: var(--estepps-space-xl);
}

.estepps-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--estepps-border);
	border-radius: var(--estepps-radius-sm);
	text-decoration: none;
	font-weight: 600;
}

.estepps-pagination .page-numbers.current,
.estepps-pagination .page-numbers:hover {
	background: var(--estepps-blue);
	border-color: var(--estepps-blue);
	color: var(--estepps-white);
}

/* ------------------------------------------------------------------ *
 * 13. Utilities
 * ------------------------------------------------------------------ */

.estepps-text-center {
	text-align: center;
}

.estepps-mt-0 {
	margin-top: 0;
}

.estepps-mb-0 {
	margin-bottom: 0;
}

.estepps-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Subtle scroll reveal, opt-in via data attribute. */
[data-estepps-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 500ms ease, transform 500ms ease;
}

[data-estepps-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------------ *
 * 14. Motion preferences
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	[data-estepps-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* Apply the supplied Futura Bold to Elementor headings as well as native ones. */
#estepps-main .elementor-widget-heading .elementor-heading-title {
 font-family: var(--estepps-font-heading);
}

/* Preserve the existing hero columns with Futura's wider letterforms. */
body.home #estepps-main .estepps-home-hero h1.elementor-heading-title {
 font-size: clamp(2.2rem, 4.1vw, 3.6rem) !important;
 line-height: 1.04 !important;
 max-width: 100%;
}

@media (max-width: 600px) {
 body.home #estepps-main .estepps-home-hero h1.elementor-heading-title {
  font-size: clamp(1.8rem, 8.4vw, 3rem) !important;
 }
}
