/*
Theme Name: Music & More
Theme URI: https://squareposh.com
Author: Squareposh
Author URI: https://squareposh.com
Description: Hand-coded retro theme for Music & More, a record and vintage shop in Bismarck, North Dakota.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: music-and-more
*/

/* ==========================================================================
   Tokens
   Palette from the Music & More logo (Illustrator PDF): charcoal, turquoise,
   deep teal, pink, orange-yellow, on cream paper. Body text is charcoal on paper
   (~14:1). Pink and turquoise are fills and large accents only; small colored
   text uses --pink-deep (5.4:1) or --teal-text (4.8:1). Keep in step with
   mm_palette() in inc/art.php.
   ========================================================================== */

:root {
	--paper: #F6EEDC;
	--paper-2: #EFE3C8;
	--paper-3: #E3D2AE;
	--card: #FBF6EA;
	--field: #FFFCF4;
	--ink: #2B2A2B;
	--ink-2: #56555A;
	--vinyl: #242324;
	--groove: #404041;
	--mustard: #FAAF40;
	--mustard-2: #FCCB7E;
	--pink: #EF5D7E;
	--pink-deep: #B02E52;
	--teal: #008387;
	--teal-bright: #00B4BA;
	--teal-dark: #04595D;
	--teal-text: #00747A;
	--ok: #2E7D4F;

	--font-display: "Fraunces", "Cooper Black", Georgia, serif;
	--font-body: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "Courier Prime", "Courier New", monospace;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 16px;
	--line: 3px;
	--header-h: 102px;

	/* Paper grain: a faint ink speckle, tiled. */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .12 0 0 0 0 .09 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
	margin: 0;
	background-color: var(--paper);
	background-image: var(--grain);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .45em;
	color: inherit;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.012em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 6vw, 4.9rem);
	font-weight: 900;
}

h2 {
	font-size: clamp(2.1rem, 4.2vw, 3.2rem);
}

h3 {
	font-size: clamp(1.35rem, 2vw, 1.6rem);
	line-height: 1.18;
}

p {
	margin: 0 0 1.1em;
}

a {
	color: var(--teal-text);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--pink-deep);
}

strong {
	font-weight: 700;
}

.lead {
	font-size: 1.28rem;
	line-height: 1.55;
	color: var(--ink);
	font-weight: 500;
}

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

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

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

.skip-link {
	position: absolute;
	top: -80px;
	left: 12px;
	z-index: 200;
	padding: .7rem 1.1rem;
	border-radius: 10px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--paper);
}

.wrap {
	width: min(var(--wrap), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

/* ==========================================================================
   Shared bits: eyebrow, buttons, stripes, icons
   ========================================================================== */

.icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 1rem;
	color: var(--pink-deep);
	font-family: var(--font-mono);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* A tiny record in front of every eyebrow. */
.eyebrow::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--paper) 0 1.6px, var(--pink) 2.2px 5.2px, var(--vinyl) 5.8px 100%);
	box-shadow: 0 0 0 1.5px var(--ink);
}

.btn {
	--btn-bg: var(--mustard);
	--btn-bg-hover: var(--mustard-2);
	--btn-fg: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 52px;
	padding: .8em 1.45em;
	border: var(--line) solid var(--ink);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease;
}

.btn:hover {
	background: var(--btn-bg-hover);
	color: var(--btn-fg);
}

.btn:active {
	transform: translateY(1px);
}

.btn:focus-visible {
	outline-offset: 4px;
	border-radius: 999px;
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
}

.btn-ghost {
	--btn-bg: var(--card);
}

.btn-dark {
	--btn-bg: var(--ink);
	--btn-bg-hover: var(--groove);
	--btn-fg: var(--paper);
}

.btn-small {
	min-height: 46px;
	padding: .6em 1.15em;
	font-size: 1rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.1rem;
	margin-top: 1.75rem;
}

/* 70s sunset stripes. */
.stripes {
	display: grid;
	grid-template-rows: repeat(4, 1fr);
	height: 36px;
	border-block: var(--line) solid var(--ink);
}

.stripes span:nth-child(1) { background: var(--mustard); }
.stripes span:nth-child(2) { background: var(--pink); }
.stripes span:nth-child(3) { background: var(--teal-bright); }
.stripes span:nth-child(4) { background: var(--teal); }

.stripes-thin {
	height: 22px;
}

.art {
	display: block;
	width: 100%;
	height: auto;
}

.art-spin {
	transform-box: fill-box;
	transform-origin: center;
	animation: mm-spin 9s linear infinite;
}

.art-spin-slow {
	transform-box: view-box;
	transform-origin: 150px 150px;
	animation: mm-spin 60s linear infinite;
}

/* Turntable speed: visibly playing, not a blur. */
.art-spin--play {
	animation-duration: 3.6s;
}

.art-twinkle {
	transform-box: fill-box;
	transform-origin: center;
	animation: mm-twinkle 2.8s ease-in-out infinite;
}

.art-twinkle--late {
	animation-delay: 1.4s;
}

@keyframes mm-spin {
	to { transform: rotate(360deg); }
}

@keyframes mm-twinkle {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(.55); opacity: .5; }
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */

.topbar {
	background: var(--ink);
	color: var(--paper);
	font-size: .95rem;
	line-height: 1.3;
}

.topbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .4rem 1.5rem;
	min-height: 44px;
	padding-block: .45rem;
}

.topbar p {
	margin: 0;
}

.topbar-hours {
	color: rgba(246, 238, 220, .82);
}

.topbar-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.4rem;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	color: var(--paper);
	text-decoration: none;
}

.topbar a:hover {
	color: var(--mustard-2);
	text-decoration: underline;
}

.topbar .icon {
	width: 16px;
	height: 16px;
	color: var(--mustard);
}

.open-status {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0;
	font-weight: 700;
}

.open-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--mustard);
	box-shadow: 0 0 0 3px rgba(250, 175, 64, .3);
}

.open-status.is-open .open-dot {
	background: #5DBB7C;
	box-shadow: 0 0 0 3px rgba(93, 187, 124, .3);
}

.open-status.is-closed .open-dot {
	background: #E0765A;
	box-shadow: 0 0 0 3px rgba(224, 118, 90, .28);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--paper);
	border-bottom: var(--line) solid var(--ink);
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	text-decoration: none;
}

/* The client's logo (rendered from their Illustrator file). */
.brand-logo {
	display: block;
	width: auto;
	height: 86px;
	transition: transform .25s ease;
}

.brand:hover .brand-logo {
	transform: rotate(-2deg) scale(1.03);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-nav ul {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav ul a {
	display: block;
	padding: .45rem 0;
	border-bottom: 3px solid transparent;
	color: var(--ink);
	font-size: 1.06rem;
	font-weight: 600;
	text-decoration: none;
}

.site-nav ul a:hover {
	color: var(--ink);
	border-bottom-color: var(--teal-bright);
}

.site-nav ul a[aria-current="page"] {
	border-bottom-color: var(--pink);
}

.nav-toggle {
	display: none;
}

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.75rem, 6vw, 5.25rem) clamp(3rem, 6vw, 5rem);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

.hero h1 {
	margin-bottom: .22em;
	font-size: clamp(2.9rem, 6.3vw, 5.5rem);
	line-height: 1.02;
}

/* Marker-pen highlight behind a word. */
.hl {
	padding-inline: .06em;
	margin-inline: -.06em;
	background: linear-gradient(transparent 58%, var(--mustard-2) 58%, var(--mustard-2) 90%, transparent 90%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.hero-tag {
	margin: 0 0 .7rem;
	color: var(--pink-deep);
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	font-style: italic;
	font-weight: 800;
	line-height: 1.15;
}

.hero-lede {
	max-width: 32ch;
	margin: 0;
	color: var(--ink-2);
	font-size: clamp(1.18rem, 1.7vw, 1.34rem);
	line-height: 1.55;
}

.hero-art {
	position: relative;
	isolation: isolate;
}

/* Sunburst rays behind the record. */
.hero-art::before {
	content: "";
	position: absolute;
	inset: -16% -20%;
	z-index: -1;
	background: repeating-conic-gradient(from 3deg at 50% 50%, rgba(250, 175, 64, .26) 0deg 6deg, transparent 6deg 15deg);
	-webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%);
	mask: radial-gradient(closest-side, #000 55%, transparent 100%);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
	padding-block: clamp(3.5rem, 7vw, 6.25rem);
	scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-alt {
	background-color: var(--paper-2);
	background-image: var(--grain);
	border-block: var(--line) solid var(--ink);
}

.stripes + .section-alt,
.section-alt + .cleaning-band,
.section-alt + .stripes {
	border-top: 0;
}

.section-head {
	max-width: 760px;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.section-head p:not(.eyebrow) {
	color: var(--ink-2);
	font-size: 1.2rem;
}

.section-head p:last-child {
	margin-bottom: 0;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.split--reverse,
.split--copy-first {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.split-art {
	width: 100%;
	max-width: 470px;
	margin-inline: auto;
}

.split-art--badge {
	max-width: 400px;
}

.split-art--small {
	max-width: 340px;
}

.split-copy p {
	max-width: 62ch;
}

/* ---------- Crates (what we carry) ---------- */

.crates {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.crate {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--card);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
	transition: border-color .15s ease;
}

.crate:hover {
	border-color: var(--teal);
}

.crate-art {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	padding: 1rem 1.25rem;
	overflow: hidden;
	border-bottom: var(--line) solid var(--ink);
	isolation: isolate;
}

.crate-art::before {
	content: "";
	position: absolute;
	inset: -45%;
	z-index: -1;
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 250, 235, .16) 0deg 8deg, transparent 8deg 18deg);
}

.crate-art .art {
	max-width: 330px;
}

.crate--music .crate-art { background-color: var(--mustard); }
.crate--vintage .crate-art { background-color: var(--pink); }
.crate--artmovies .crate-art { background-color: var(--teal-bright); }

.crate-body {
	padding: 1.35rem 1.5rem 1.6rem;
}

.crate-title {
	margin-bottom: .4em;
	font-size: 1.5rem;
}

.crate-body p {
	margin: 0;
	color: var(--ink-2);
}

.shop-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 1.4rem 1.6rem;
	background: var(--card);
	border: var(--line) dashed var(--ink);
	border-radius: var(--radius);
}

.shop-note p {
	margin: 0;
	font-size: 1.18rem;
}

/* ---------- Cleaning band (dark teal) ---------- */

.cleaning-band {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background: var(--teal-dark);
	border-block: var(--line) solid var(--ink);
	color: var(--paper);
	isolation: isolate;
}

.cleaning-band::before {
	content: "";
	position: absolute;
	inset: -50% -20%;
	z-index: -1;
	background: repeating-conic-gradient(from 0deg at 72% 50%, rgba(0, 180, 186, .17) 0deg 7deg, transparent 7deg 16deg);
}

.cleaning-band h2,
.cleaning-band .lead {
	color: var(--paper);
}

.cleaning-band p {
	color: rgba(246, 238, 220, .93);
}

.cleaning-band .eyebrow {
	color: var(--mustard-2);
}

.cleaning-band .eyebrow::before {
	box-shadow: 0 0 0 1.5px var(--paper);
}

.cleaning-band :focus-visible {
	outline-color: var(--mustard-2);
}

/* ---------- Visit: info card + map ---------- */

.visit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: stretch;
}

.info-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--card);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
}

.info-card .open-status {
	margin-bottom: 1.1rem;
	padding: .45rem .95rem;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: 999px;
}

.info-row {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1.1rem;
	border-top: 2px dashed var(--paper-3);
}

.info-card .open-status + .info-row {
	border-top: 0;
	padding-top: .35rem;
}

.info-ic {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--mustard);
	border: 2.5px solid var(--ink);
	border-radius: 50%;
	color: var(--ink);
}

.info-ic .icon {
	width: 22px;
	height: 22px;
}

.info-row h3 {
	margin: .1rem 0 .3rem;
	font-size: 1.3rem;
}

.info-row p {
	margin: 0;
}

.info-big {
	font-size: 1.15rem;
	font-weight: 600;
}

.info-row p + p {
	margin-top: .35rem;
}

.phone-link {
	color: var(--ink);
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
}

.phone-link:hover {
	color: var(--pink-deep);
	text-decoration: underline;
}

.info-cta {
	margin-top: 1rem;
}

.hours-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.05rem;
}

.hours-table th,
.hours-table td {
	padding: .42rem 0;
	border-bottom: 1px solid rgba(43, 42, 43, .14);
	font-weight: 500;
	text-align: left;
	vertical-align: top;
}

.hours-table td {
	padding-left: 1rem;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
	border-bottom: 0;
}

.hours-table .is-closed-row th,
.hours-table .is-closed-row td {
	color: var(--ink-2);
	font-weight: 500;
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
	color: var(--pink-deep);
	font-weight: 800;
}

.day-short {
	display: none;
}

.hours-table tr.is-today:not(.is-closed-row) th::after {
	content: " · today";
	font-family: var(--font-mono);
	font-size: .85em;
	font-weight: 700;
}

/* Out-of-town note under the hours (visit card, footer, product visit box). */
.private-visit,
.info-row .private-visit {
	margin: 1rem 0 0;
	padding: .7rem .9rem;
	border: 2px dashed rgba(43, 42, 43, .4);
	border-radius: 10px;
	font-size: .98rem;
	line-height: 1.45;
}

.private-visit a {
	font-weight: 700;
	white-space: nowrap;
}

.map-frame {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: var(--paper-3);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
}

.map-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: sepia(.12) saturate(.95);
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5rem) clamp(2.75rem, 5vw, 4.25rem);
	background-color: var(--paper-2);
	background-image: var(--grain);
	isolation: isolate;
}

/* A record peeking in from the right edge. */
.page-hero:not(.has-art)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -150px;
	z-index: -1;
	width: 440px;
	height: 440px;
	border: 4px solid var(--ink);
	border-radius: 50%;
	transform: translateY(-50%);
	background:
		radial-gradient(circle, var(--paper) 0 7px, var(--ink) 7.5px 9.5px, var(--pink) 10px 66px, var(--ink) 66.5px 69px, transparent 69.5px),
		repeating-radial-gradient(circle, var(--vinyl) 0 7px, var(--groove) 7.5px 8.6px);
}

.page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3rem);
	align-items: center;
}

.page-hero.has-art .page-hero-grid {
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

.page-hero h1 {
	max-width: 15ch;
	margin-bottom: .3em;
}

.page-hero:not(.has-art) .page-hero-copy {
	max-width: 760px;
}

.page-lede {
	max-width: 60ch;
	color: var(--ink-2);
	font-size: clamp(1.17rem, 1.6vw, 1.3rem);
	line-height: 1.6;
}

.page-lede p:last-child {
	margin-bottom: 0;
}

.lede-strong {
	color: var(--ink);
	font-weight: 600;
}

.art-panel {
	position: relative;
	padding: clamp(1rem, 3vw, 2rem);
	overflow: hidden;
	background: var(--teal);
	border: var(--line) solid var(--ink);
	border-radius: 28px;
	isolation: isolate;
}

.art-panel::before {
	content: "";
	position: absolute;
	inset: -40%;
	z-index: -1;
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(246, 238, 220, .07) 0deg 7deg, transparent 7deg 16deg);
}

/* ---------- Benefits (cleaning) ---------- */

.benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.benefit {
	padding: 1.75rem 1.6rem 1.8rem;
	background: var(--card);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
}

.benefit-ic {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin-bottom: 1.1rem;
	background: var(--mustard);
	border: var(--line) solid var(--ink);
	border-radius: 50%;
	color: var(--ink);
}

.benefit:nth-child(2) .benefit-ic {
	background: var(--pink);
}

.benefit:nth-child(3) .benefit-ic {
	background: var(--teal-bright);
}

.benefit-ic .icon {
	width: 30px;
	height: 30px;
}

.benefit h3 {
	font-size: 1.5rem;
}

.benefit p {
	margin: 0;
	color: var(--ink-2);
}

/* ---------- Quote band ---------- */

.quote-band {
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
	background: var(--mustard);
	border-block: var(--line) solid var(--ink);
}

.quote-band-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.quote-band p {
	max-width: 30ch;
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 3vw, 2.3rem);
	font-weight: 800;
	line-height: 1.2;
}

/* ---------- Callout ---------- */

.callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 1.5rem 1.75rem;
	background: var(--teal-dark);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
	color: var(--paper);
}

.callout > .icon {
	width: 42px;
	height: 42px;
	color: var(--mustard-2);
}

.callout p {
	flex: 1 1 360px;
	margin: 0;
	font-size: 1.16rem;
}

.callout :focus-visible {
	outline-color: var(--mustard-2);
}

/* ---------- Contact form ---------- */

.form-wrap {
	max-width: 840px;
}

.contact-form {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--card);
	border: var(--line) solid var(--ink);
	border-radius: var(--radius);
}

.field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}

.field {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin-bottom: 1.2rem;
}

.field label {
	font-size: 1.05rem;
	font-weight: 700;
}

.field .opt {
	color: var(--ink-2);
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 54px;
	padding: .8rem .95rem;
	background: var(--field);
	border: 2.5px solid var(--ink);
	border-radius: 12px;
	color: var(--ink);
	font: inherit;
	font-size: 1.08rem;
	line-height: 1.4;
}

.field textarea {
	min-height: 180px;
	resize: vertical;
}

.field select {
	appearance: none;
	padding-right: 2.8rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%232B1E16' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right .85rem center;
	background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 3px solid var(--mustard);
	outline-offset: 1px;
}

.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: .4rem;
}

.form-foot {
	margin: 0;
	color: var(--ink-2);
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	margin-bottom: 1.5rem;
	padding: 1rem 1.2rem;
	background: var(--card);
	border: var(--line) solid var(--ink);
	border-radius: 12px;
}

.notice .icon {
	width: 26px;
	height: 26px;
	margin-top: .12rem;
}

.notice p {
	margin: 0;
}

.notice-ok {
	background: #E3F0E1;
}

.notice-ok .icon {
	color: var(--ok);
}

.notice-error {
	background: #F7E0D8;
}

.notice-error .icon {
	color: var(--pink-deep);
}

/* ---------- Generic content ---------- */

.prose {
	max-width: 72ch;
}

.prose h2 {
	margin-top: 1.6em;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: .4em;
}

.prose img {
	height: auto;
	border-radius: 12px;
}

.post-teaser + .post-teaser {
	margin-top: 2.5rem;
}

.page-404 h1 {
	font-size: clamp(2.5rem, 5.5vw, 4.2rem);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--ink);
	color: var(--paper);
}

.site-footer .stripes {
	border-bottom: 0;
}

.footer-top {
	padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.footer-slogan {
	max-width: 22ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 4.4vw, 3.3rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.015em;
	text-wrap: balance;
}

.footer-slogan span {
	color: var(--pink);
	font-style: italic;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.15fr 1.3fr;
	gap: 2rem 2.5rem;
	padding-block: 2.5rem 2.75rem;
}

.site-footer a {
	color: var(--paper);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--mustard-2);
	text-decoration: underline;
}

/* No box: the footer logo file has cream lettering for the dark background (logo-footer-*). */
.footer-logo {
	display: inline-block;
	transition: transform .2s ease;
}

.footer-logo:hover {
	transform: rotate(-1.5deg);
	text-decoration: none !important;
}

.brand-logo--footer {
	width: 210px;
	height: auto;
}

.footer-brand p {
	max-width: 38ch;
	margin: 1.1rem 0 0;
	color: rgba(246, 238, 220, .84);
}

.footer-title {
	margin: 0 0 1rem;
	color: var(--mustard-2);
	font-family: var(--font-mono);
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.footer-col ul {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-contact a {
	display: inline-flex;
	align-items: flex-start;
	gap: .6rem;
}

.footer-contact .icon {
	width: 20px;
	height: 20px;
	margin-top: .2em;
	color: var(--mustard);
}

.site-footer .hours-table th,
.site-footer .hours-table td {
	border-bottom-color: rgba(246, 238, 220, .14);
	font-size: 1rem;
}

.site-footer .hours-table .is-closed-row th,
.site-footer .hours-table .is-closed-row td {
	color: rgba(246, 238, 220, .72);
}

.site-footer .hours-table tr.is-today th,
.site-footer .hours-table tr.is-today td {
	color: var(--mustard-2);
}

/* The footer column is narrow: "Mon – Wed" at every width (the long form stays for screen readers). */
.site-footer .day-long {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.site-footer .day-short {
	display: inline;
}

.site-footer .private-visit {
	border-color: rgba(246, 238, 220, .3);
	color: rgba(246, 238, 220, .84);
	font-size: .95rem;
}

.site-footer .private-visit strong {
	color: var(--paper);
}

.site-footer .private-visit a {
	color: var(--mustard-2);
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 1rem;
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid rgba(246, 238, 220, .16);
	color: rgba(246, 238, 220, .78);
	font-size: .95rem;
}

.footer-bottom p {
	margin: 0;
}

.site-footer :focus-visible {
	outline-color: var(--mustard-2);
}

.mobile-cta {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.site-nav {
		gap: 1.4rem;
	}

	.site-nav ul {
		gap: 1.3rem;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.js .nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: .5rem;
		min-height: 48px;
		padding: .45rem 1.05rem .45rem .85rem;
		background: var(--card);
		border: var(--line) solid var(--ink);
		border-radius: 999px;
		color: var(--ink);
		font: 700 1.02rem var(--font-body);
		cursor: pointer;
	}

	.nav-toggle .icon {
		width: 22px;
		height: 22px;
	}

	.nav-toggle-open,
	.nav-toggle-close {
		display: inline-flex;
	}

	.nav-toggle-close,
	.nav-open .nav-toggle-open {
		display: none;
	}

	.nav-open .nav-toggle-close {
		display: inline-flex;
	}

	/* Without JS the nav simply wraps under the logo. */
	.header-inner {
		flex-wrap: wrap;
	}

	.js .header-inner {
		flex-wrap: nowrap;
	}

	.js .site-nav {
		position: absolute;
		top: calc(100% + var(--line));
		left: calc(-1 * var(--gutter));
		right: calc(-1 * var(--gutter));
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1.1rem;
		padding: .75rem var(--gutter) 1.5rem;
		background: var(--paper);
		border-bottom: var(--line) solid var(--ink);
	}

	.js .nav-open .site-nav {
		display: flex;
	}

	.js .site-nav ul {
		flex-direction: column;
		gap: 0;
	}

	.js .site-nav ul a {
		padding: .95rem .2rem;
		border-bottom: 2px dashed var(--paper-3);
		font-size: 1.22rem;
	}

	.js .site-nav ul a[aria-current="page"] {
		color: var(--pink-deep);
		border-bottom-color: var(--paper-3);
	}

	.nav-cta {
		align-self: flex-start;
	}

	.hero-grid,
	.split,
	.split--reverse,
	.split--copy-first,
	.visit-grid,
	.page-hero.has-art .page-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-art {
		width: 100%;
		max-width: 540px;
		margin-inline: auto;
	}

	.split-art {
		max-width: 400px;
	}

	.split-art--badge {
		max-width: 300px;
	}

	.page-hero.has-art .page-hero-art {
		width: 100%;
		max-width: 460px;
	}

	.page-hero:not(.has-art)::after {
		display: none;
	}
}

@media (max-width: 820px) {
	.crates,
	.benefits {
		grid-template-columns: minmax(0, 1fr);
	}

	.crate-art {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 760px) {
	:root {
		--header-h: 80px;
	}

	/* Phones: just the open/closed status, centred. The number is on the bottom Call bar. */
	.topbar-hours,
	.topbar-links {
		display: none !important;
	}

	.topbar-inner {
		justify-content: center;
		text-align: center;
	}

	.brand-logo {
		height: 64px;
	}

	.hero h1 {
		font-size: clamp(2.55rem, 11vw, 3.4rem);
	}

	.btn-row .btn {
		flex: 1 1 auto;
	}

	.field-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-note {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The status pill can wrap to two lines here; a pill radius would pinch it. */
	.info-card .open-status {
		border-radius: 16px;
		line-height: 1.35;
	}

	/* "Monday – Wednesday" → "Mon – Wed" on screen; the long form stays for screen readers. */
	.day-long {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.day-short {
		display: inline;
	}

	/* Narrow card: "today" drops under the day name instead of wrapping and leaving the dot behind. */
	.info-card .hours-table tr.is-today:not(.is-closed-row) th::after {
		content: "today";
		display: block;
	}

	.mobile-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 70;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .6rem;
		padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
		background: var(--paper);
		border-top: var(--line) solid var(--ink);
	}

	.mobile-cta a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .5rem;
		min-height: 50px;
		background: var(--card);
		border: 2.5px solid var(--ink);
		border-radius: 999px;
		color: var(--ink);
		font-weight: 700;
		text-decoration: none;
	}

	.mobile-cta a.is-primary {
		background: var(--mustard);
	}

	.mobile-cta .icon {
		width: 20px;
		height: 20px;
	}

	body {
		padding-bottom: 78px;
	}
}

@media (max-width: 400px) {
	.brand-logo {
		height: 58px;
	}

	/* Icon-only button on small phones; the label stays for screen readers. */
	.nav-toggle-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.js .nav-toggle {
		padding-inline: .8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.art-spin,
	.art-spin-slow,
	.art-twinkle {
		animation: none;
	}

	.btn,
	.crate,
	.brand-logo,
	.footer-logo {
		transition: none;
	}
}

/* ---------- Crate cards become links once the shop has items ---------- */

.crate {
	position: relative;
}

.crate-link {
	color: inherit;
	text-decoration: none;
}

.crate-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: var(--radius);
}

.crate-link:focus-visible {
	outline: none;
}

.crate-link:focus-visible::after {
	outline: 3px solid var(--teal);
	outline-offset: 4px;
}

.crate-more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: .9rem;
	color: var(--teal-text);
	font-weight: 700;
}

.crate-more .icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform .15s ease;
}

.crate:hover .crate-more .icon {
	transform: translateX(3px);
}
