/*
Theme Name: Sammy — Editorial
Template: twentytwentyfive
Author: Sammy Rushefski
Description: Style-only child of Twenty Twenty-Five with a custom editorial homepage — warm cream palette, sage + gold accents, display serif (Playfair), elegant script (Great Vibes) and handwriting (Caveat). Built as a wedding landing page.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.2
Text Domain: sammy-child
*/

/* ===============================================================
   GLOBAL POLISH
   =============================================================== */
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.01em; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { transition: color .15s ease, opacity .15s ease; }
html { scroll-behavior: smooth; }
/* keep anchored sections clear of the fixed nav when jumped to */
.sa-hero, .sa-welcome, .sa-footer { scroll-margin-top: 72px; }
/* never allow a horizontal scrollbar on phones */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ===============================================================
   HOMEPAGE  (prefix: sa-)
   Breakout wrapper neutralises the theme's root side padding so
   sections can be truly full-bleed.
   =============================================================== */
.sa-page {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow-x: clip;
	--sa-cream: #000000;      /* True Black — backgrounds */
	--sa-ink: #F2F1ED;        /* Soft Pearl — primary text */
	--sa-sage: #829129;       /* Olive Green — accent */
	--sa-sage-dark: #667320;  /* Deep Olive — accent */
	--sa-gold: #DCE4B3;       /* Light Sage — accent */
	--sa-ivory: #F2F1ED;      /* Soft Pearl — light text */
	font-family: 'EB Garamond', Georgia, serif;
	color: var(--sa-ink);
	background: var(--sa-cream);
}
.sa-page *, .sa-page *::before, .sa-page *::after { box-sizing: border-box; }
.sa-serif { font-family: 'Playfair Display', Georgia, serif; }
.sa-script { font-family: 'Great Vibes', cursive; font-weight: 400; }
.sa-hand { font-family: 'Caveat', cursive; }

/* ---------- NAV (simple / transparent, centered logo) ---------- */
.sa-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: .8rem clamp(1.25rem, 4vw, 3.5rem);
	color: var(--sa-ivory);
	transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.sa-nav a { color: inherit; text-decoration: none; }
.sa-logo img { height: clamp(160px, 22vw, 230px); width: auto; display: block; transition: height .35s ease; }

/* solid state once scrolled past the hero */
.sa-nav--solid {
	background: #000000;
	box-shadow: 0 2px 24px rgba(0, 0, 0, .6);
	border-bottom: 1px solid rgba(220, 228, 179, .18);
}

/* Logo (centered) */
.sa-logo {
	position: relative;
	z-index: 10000;
	justify-self: center;
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	letter-spacing: .04em;
	white-space: nowrap;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.sa-logo .sa-dot { color: var(--sa-sage); margin: 0 .35em; }

/* Link groups (left + right) */
.sa-nav-group {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2.2rem);
	list-style: none;
	margin: 0; padding: 0;
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.sa-nav-left { justify-self: start; }
.sa-nav-right { justify-self: end; }
.sa-nav-group a { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.sa-nav-group a:not(.sa-nav-cta):hover { color: var(--sa-gold); }

/* CTA pill */
.sa-nav-cta {
	border: 1px solid rgba(242, 241, 237, .55);
	border-radius: 100px;
	padding: .62em 1.35em;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sa-nav-cta:hover {
	background: var(--sa-ivory);
	color: var(--sa-cream) !important;
	border-color: var(--sa-ivory);
}

/* Hamburger + mobile menu (hidden on desktop) */
.sa-nav-checkbox { display: none; }
.sa-nav-mobile { display: none; }
.sa-burger {
	display: none;
	justify-self: end;
	position: relative;
	z-index: 10000;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 30px; height: 24px;
	cursor: pointer;
}
.sa-burger span {
	display: block;
	width: 26px; height: 2px;
	background: var(--sa-ivory);
	border-radius: 2px;
	transition: transform .3s ease, opacity .2s ease;
}

/* ---------- HERO ---------- */
.sa-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--sa-ivory);
	padding: 10rem 1.5rem 4rem;
	background: #000000 url('assets/hero.jpg') center 25%/cover no-repeat;
}
.sa-hero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.50), rgba(0,0,0,.30) 40%, rgba(0,0,0,.70));
}
.sa-hero > *:not(.sa-nav) { position: relative; z-index: 1; }
.sa-hero-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem);
	line-height: 1.05;
	margin: 0;
	text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.sa-hero-script {
	font-family: 'Great Vibes', cursive;
	font-size: clamp(2.4rem, 1rem + 6vw, 5.5rem);
	line-height: .9;
	margin: .1em 0 .4em;
	color: var(--sa-gold);
	text-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.sa-hero-sub {
	max-width: 30rem;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
	letter-spacing: .01em;
	opacity: .92;
}
.sa-explore {
	margin-top: 2.6rem;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	font-family: 'EB Garamond', serif;
	font-size: .72rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--sa-ivory);
	text-decoration: none;
}
.sa-explore .sa-arrow {
	width: 1px; height: 34px;
	background: rgba(251,248,241,.7);
	position: relative;
	animation: sa-bob 1.8s ease-in-out infinite;
}
.sa-explore .sa-arrow::after {
	content: "";
	position: absolute; bottom: 0; left: 50%;
	width: 7px; height: 7px;
	border-right: 1px solid rgba(251,248,241,.7);
	border-bottom: 1px solid rgba(251,248,241,.7);
	transform: translate(-50%, 3px) rotate(45deg);
}
@keyframes sa-bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ---------- WELCOME ---------- */
.sa-welcome {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: 1fr 1.35fr 1fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
}
.sa-welcome-img { position: relative; }
.sa-welcome-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 2px;
	display: block;
	aspect-ratio: 3 / 4;
	box-shadow: 0 18px 40px rgba(46,43,37,.14);
}
.sa-welcome-img.is-left { margin-top: -3rem; }
.sa-welcome-img.is-right { margin-top: 3rem; }
.sa-welcome-copy { text-align: center; padding: 0 .5rem; }
.sa-welcome-copy .sa-script { color: var(--sa-gold); font-size: clamp(2rem, 1rem + 3vw, 3rem); line-height: 1; display: block; }
.sa-welcome-copy h2 {
	font-family: 'Playfair Display', serif;
	color: var(--sa-ink);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(1.8rem, 1rem + 3vw, 3rem);
	margin: .2em 0 .8em;
}
.sa-welcome-copy p { font-size: 1.1rem; line-height: 1.85; margin: 0 auto 1.8rem; max-width: 30rem; }
.sa-btn {
	display: inline-block;
	background: var(--sa-sage);
	color: var(--sa-ivory);
	font-family: 'EB Garamond', serif;
	font-size: .78rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1rem 2.4rem;
	border-radius: 2px;
	transition: background .2s ease, color .2s ease;
}
.sa-btn:hover { background: var(--sa-gold); color: var(--sa-cream); }

/* rotating circular badge */
.sa-badge {
	position: absolute;
	top: -34px; right: -34px;
	width: 108px; height: 108px;
	z-index: 3;
}
.sa-badge svg { width: 100%; height: 100%; animation: sa-spin 22s linear infinite; }
.sa-badge text { fill: var(--sa-sage-dark); font-family: 'EB Garamond', serif; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; }
.sa-badge-heart {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	color: var(--sa-gold); font-size: 1.5rem;
}
@keyframes sa-spin { to { transform: rotate(360deg); } }

/* ---------- QUOTE BAND ---------- */
.sa-quote {
	position: relative;
	min-height: 62vh;
	display: flex;
	align-items: center;
	padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 8vw, 8rem);
	color: var(--sa-ivory);
	background: #1a1a1a url('assets/quote-bg.jpg') center/cover no-repeat;
}
.sa-quote::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.48); }
.sa-quote p {
	position: relative;
	font-family: 'Caveat', cursive;
	font-weight: 600;
	font-size: clamp(2rem, 1rem + 4vw, 3.8rem);
	line-height: 1.25;
	max-width: 22ch;
	margin: 0;
	text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

/* ---------- MARQUEE ---------- */
.sa-marquee {
	border-top: 1px solid rgba(179,143,111,.40);
	border-bottom: 1px solid rgba(179,143,111,.40);
	padding: 1.4rem 0;
	overflow: hidden;
	background: var(--sa-cream);
}
.sa-marquee-track {
	display: inline-flex;
	white-space: nowrap;
	animation: sa-scroll 28s linear infinite;
}
.sa-marquee-track span {
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--sa-ink);
	font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem);
	letter-spacing: .04em;
	padding: 0 1.2rem;
}
.sa-marquee-track .sa-slash { color: var(--sa-sage); }
@keyframes sa-scroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- FOOTER ---------- */
.sa-footer {
	text-align: center;
	background: var(--sa-cream);
	color: var(--sa-ivory);
	border-top: 1px solid var(--sa-sage);
	padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.sa-footer .sa-script { font-size: clamp(2.4rem, 1rem + 4vw, 3.6rem); color: var(--sa-gold); display: block; }
.sa-footer .sa-footer-date { letter-spacing: .28em; text-transform: uppercase; font-size: .8rem; margin: .6rem 0 1.6rem; opacity: .85; }
.sa-footer-links { display: flex; justify-content: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.sa-footer-links a { color: var(--sa-ivory); text-decoration: none; opacity: .85; }
.sa-footer-links a:hover { color: var(--sa-gold); opacity: 1; }

/* ===============================================================
   OUR STORY PAGE
   =============================================================== */
.sa-story-hero {
	position: relative;
	min-height: 64vh;
	min-height: 64svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--sa-ivory);
	padding: 12rem 1.5rem 4rem;
	background: #000000 url('assets/couple-1.jpg') center 25%/cover no-repeat;
}
.sa-story-hero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.45) 40%, rgba(0,0,0,.75));
}
.sa-story-hero > * { position: relative; z-index: 1; }
.sa-story-title {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: clamp(2.4rem, 1.4rem + 4vw, 4.5rem);
	line-height: 1.05;
	margin: 0;
	text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.sa-story-script {
	font-family: 'Great Vibes', cursive;
	color: var(--sa-gold);
	font-size: clamp(2rem, 1rem + 4vw, 3.5rem);
	line-height: 1;
	margin-top: .15em;
	text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

/* Timeline */
.sa-timeline {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 2rem);
}
.sa-tl-intro { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sa-tl-intro .sa-script { display: block; color: var(--sa-gold); font-size: clamp(2rem, 1rem + 3vw, 3rem); line-height: 1; }
.sa-tl-intro h2 {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--sa-ivory);
	font-size: clamp(1.8rem, 1rem + 3vw, 3rem);
	margin: .2em 0 0;
}
.sa-tl {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}
.sa-tl::before {
	content: "";
	position: absolute;
	top: .6rem; bottom: .6rem;
	left: 11px;
	width: 2px;
	background: linear-gradient(180deg, var(--sa-sage), var(--sa-gold));
}
.sa-tl-item {
	position: relative;
	padding: 0 0 clamp(2.5rem, 5vw, 3.75rem) 3rem;
}
.sa-tl-item:last-child { padding-bottom: 0; }
.sa-tl-dot {
	position: absolute;
	left: 11px; top: .55rem;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--sa-gold);
	transform: translateX(-50%);
	box-shadow: 0 0 0 4px var(--sa-cream), 0 0 0 5px rgba(179,143,111,.45);
}
.sa-tl-year {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	color: var(--sa-ivory);
	font-size: clamp(1.5rem, 1rem + 2vw, 2rem);
	line-height: 1;
}
.sa-tl-note {
	display: block;
	font-family: 'Great Vibes', cursive;
	color: var(--sa-gold);
	font-size: clamp(1.6rem, 1rem + 2vw, 2.2rem);
	line-height: 1.1;
	margin: .05em 0 .6rem;
}
.sa-tl-photo { margin: .2rem 0 .9rem; }
.sa-tl-photo img {
	width: clamp(120px, 30vw, 160px);
	height: clamp(120px, 30vw, 160px);
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--sa-sage);
	box-shadow: 0 12px 26px rgba(0,0,0,.45);
}
.sa-tl-item p {
	color: var(--sa-ivory);
	opacity: .85;
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 34rem;
	margin: 0;
}
.sa-tl-final .sa-tl-dot { background: var(--sa-sage); box-shadow: 0 0 0 4px var(--sa-cream), 0 0 0 6px rgba(110,122,79,.6); }

/* ===============================================================
   SIMPLE INTERIOR PAGE (hero + content block)
   =============================================================== */
.sa-subhero {
	position: relative;
	min-height: 60vh;
	min-height: 60svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--sa-ivory);
	padding: 12rem 1.5rem 4rem;
	background: #000000 var(--sa-subhero-img, none) center 25% / cover no-repeat;
}
.sa-subhero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.50), rgba(0,0,0,.45) 40%, rgba(0,0,0,.72));
}
.sa-subhero > * { position: relative; z-index: 1; }

.sa-page-body {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 2rem);
}
.sa-page-body-inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.sa-page-body-inner .sa-script {
	display: block;
	color: var(--sa-gold);
	font-size: clamp(2rem, 1rem + 3vw, 3rem);
	line-height: 1;
}
.sa-page-body-inner h2 {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--sa-ivory);
	font-size: clamp(1.8rem, 1rem + 3vw, 2.6rem);
	margin: .2em 0 1rem;
}
.sa-page-body-inner p {
	color: var(--sa-ivory);
	opacity: .85;
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0 auto;
}
.sa-registry-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.25rem;
}
.sa-registry-links .sa-btn { min-width: 15rem; }
@media (max-width: 480px) {
	.sa-registry-links .sa-btn { width: 100%; max-width: 20rem; }
}

/* ===============================================================
   WEDDING PARTY PAGE
   =============================================================== */
.sa-party {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 2rem);
	max-width: 1040px;
	margin: 0 auto;
}
.sa-party-intro { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sa-party-intro .sa-script {
	display: block;
	color: var(--sa-gold);
	font-size: clamp(2rem, 1rem + 3vw, 3rem);
	line-height: 1;
}
.sa-party-intro h2 {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--sa-ivory);
	font-size: clamp(1.8rem, 1rem + 3vw, 2.6rem);
	margin: .2em 0 0;
}
.sa-party-intro p {
	color: var(--sa-ivory);
	opacity: .85;
	font-size: 1.1rem;
	line-height: 1.8;
	max-width: 34rem;
	margin: 1rem auto 0;
}

/* Two sides side-by-side */
.sa-party-sides {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.sa-party-side { text-align: center; }
.sa-party-side-label {
	display: block;
	font-family: 'Great Vibes', cursive;
	color: var(--sa-gold);
	font-size: clamp(1.8rem, 1rem + 3vw, 2.6rem);
	line-height: 1;
}
.sa-party-side-name {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--sa-ivory);
	font-size: clamp(1.1rem, 1rem + 1vw, 1.4rem);
	margin: .35em 0 1.6rem;
}
.sa-party-side-name::after {
	content: "";
	display: block;
	width: 46px; height: 2px;
	margin: .9rem auto 0;
	background: var(--sa-sage);
}
.sa-party-list { list-style: none; margin: 0; padding: 0; }
.sa-party-member { padding: .7rem 0; }
.sa-party-name {
	display: block;
	font-family: 'Playfair Display', serif;
	color: var(--sa-ivory);
	font-size: clamp(1.15rem, 1rem + 1vw, 1.4rem);
	line-height: 1.25;
}
.sa-party-role {
	display: block;
	font-family: 'EB Garamond', serif;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .68rem;
	color: var(--sa-gold);
	margin-top: .3rem;
}
.sa-party-member--lead .sa-party-name { font-weight: 600; }

/* Parents */
.sa-party-parents {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	border-top: 1px solid rgba(220, 228, 179, .22);
	text-align: center;
}
.sa-party-parents .sa-script {
	display: block;
	color: var(--sa-gold);
	font-size: clamp(1.8rem, 1rem + 3vw, 2.6rem);
	line-height: 1;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.sa-party-parents-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 5vw, 4rem);
	max-width: 640px;
	margin: 0 auto;
}
.sa-party-parents-col h4 {
	font-family: 'EB Garamond', serif;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .72rem;
	color: var(--sa-gold);
	margin: 0 0 .9rem;
}
.sa-party-parents-col p {
	font-family: 'Playfair Display', serif;
	color: var(--sa-ivory);
	font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem);
	line-height: 1.7;
	margin: 0;
}

@media (max-width: 620px) {
	.sa-party-sides {
		grid-template-columns: 1fr;
		gap: clamp(2.5rem, 8vw, 3.5rem);
		max-width: 24rem;
		margin: 0 auto;
	}
	.sa-party-side + .sa-party-side {
		padding-top: clamp(2.5rem, 8vw, 3.5rem);
		border-top: 1px solid rgba(220, 228, 179, .22);
	}
	.sa-party-parents-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
	.sa-welcome {
		grid-template-columns: 1fr;
		max-width: 30rem;
		gap: 2rem;
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
	.sa-welcome-img.is-left, .sa-welcome-img.is-right { margin-top: 0; }
	.sa-welcome-img img { aspect-ratio: 4 / 5; }
	.sa-welcome-copy { order: -1; }
	.sa-welcome-copy p { font-size: 1.05rem; }
	/* badge sits fully inside the frame on phones */
	.sa-badge { width: 84px; height: 84px; top: -22px; right: -14px; }
}
@media (max-width: 820px) {
	/* logo left, hamburger right */
	.sa-nav { display: flex; justify-content: space-between; }
	.sa-nav-left, .sa-nav-right { display: none; }
	.sa-logo { justify-self: auto; }
	.sa-burger { display: flex; }

	/* full-screen overlay menu, hidden by default */
	.sa-nav-mobile {
		display: flex;
		position: fixed;
		inset: 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 1.8rem;
		list-style: none;
		margin: 0; padding: 0;
		background: #000000;
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		font-size: 1rem;
		letter-spacing: .22em;
		text-transform: uppercase;
		z-index: 9998;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s ease;
	}
	.sa-nav-mobile a { color: var(--sa-ivory); text-decoration: none; }

	/* open state */
	.sa-nav-checkbox:checked ~ .sa-nav-mobile {
		opacity: 1;
		visibility: visible;
	}

	/* generous tap targets in the overlay menu */
	.sa-nav-mobile li { width: 100%; text-align: center; }
	.sa-nav-mobile a { display: block; padding: .6rem 1.5rem; font-size: 1.05rem; }

	/* hamburger morphs into an X */
	.sa-nav-checkbox:checked ~ .sa-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.sa-nav-checkbox:checked ~ .sa-burger span:nth-child(2) { opacity: 0; }
	.sa-nav-checkbox:checked ~ .sa-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	/* section spacing tuned for phones */
	.sa-hero { padding: 6rem 1.25rem 3.5rem; background-position: center 28%; }
	.sa-hero-sub { font-size: 1rem; max-width: 22rem; }
	.sa-quote { min-height: 48vh; padding: 3rem 1.5rem; }
	.sa-quote p { max-width: 100%; }
	.sa-btn { padding: 1rem 2.2rem; }         /* comfortable thumb target */
	.sa-marquee { padding: 1rem 0; }
	.sa-footer-links { gap: 1rem 1.4rem; }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {
	.sa-nav { padding: 1.2rem 1.1rem; }
	.sa-logo { font-size: 1.05rem; }
	.sa-hero { padding: 5.5rem 1.1rem 3rem; }
	.sa-welcome { padding-left: 1.1rem; padding-right: 1.1rem; }
	.sa-welcome-copy p { font-size: 1rem; line-height: 1.75; }
	.sa-quote { padding: 2.5rem 1.25rem; }
	.sa-btn { width: 100%; max-width: 20rem; text-align: center; }
}
