/* WordPress-specific additions on top of the ported site.css. */
.admin-bar .nav { top: 32px; }

@media (max-width: 782px) {

 .admin-bar .nav { top: 46px; } }

.brand-mark { color: var(--ink); }

.brand-mark svg { display: block; width: 100%; height: 100%; }

.brand-accent { color: var(--accent); }

.pass-logo-mark { color: #d45b2c; }

.section-head-flush { margin-bottom: 0; }

.brand-word { font-family: var(--font-instrument-serif), serif; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }

.theme-btn > span { display: inline-flex; }

.theme-btn svg { width: 16px; height: 16px; }

.theme-btn > .theme-icon-light { display: none; }

html[data-theme="dark"] .theme-btn > .theme-icon-light { display: inline-flex; }

html[data-theme="dark"] .theme-btn > .theme-icon-dark { display: none; }

html[data-theme="light"] .mob-theme-toggle [data-stempy-set-theme="light"],
html[data-theme="dark"] .mob-theme-toggle [data-stempy-set-theme="dark"] { background: var(--ink); color: var(--bg); }

.footer-tagline { margin-top: 18px; max-width: 340px; font-size: 14px; }

/* Menus are printed by wp_nav_menu() as lists. */
.nav-links,
.mob-links,
.footer-menus,
.footer-menus .sub-menu,
.footer-socials { margin: 0; padding: 0; list-style: none; }

.nav-links a { display: block; }

.mob-links { display: flex; flex-direction: column; gap: 4px; }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }

.footer-socials a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

.hero-footnote { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.cta-form .cta-status { font-size: 13px; }

.cta-form .cta-status.is-ok { color: var(--accent); }

.cta-form .cta-status.is-err { color: #f87171; }

.cta-form .cta-meta { color: color-mix(in oklab, var(--bg) 60%, transparent); font-size: 12px; font-family: var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; }

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

.feature.is-highlight { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.feature.is-highlight .feature-tag { color: var(--accent); }

.feature.is-highlight .feature-icon { background: var(--accent); color: #fff; }

.feature.is-highlight h3 { color: var(--bg); }

.feature.is-highlight p { color: color-mix(in oklab, var(--bg) 75%, transparent); }

.ind-top { display: flex; justify-content: space-between; align-items: flex-start; }

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

.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }

.entry-header { padding-top: 60px; }

/* Section spacing option ("Compact" in the block sidebar). */
.block.is-compact { padding-top: 40px; }

.push-band .eyebrow { color: var(--accent); }

/* Testimonial card colour: set per card as --tcard-color, the accent when unset. */
.tcard-photo {
	--tcard-fill: var(--tcard-color, var(--accent));

	background: linear-gradient(160deg, var(--tcard-fill), color-mix(in oklab, var(--tcard-fill) 40%, #000));
}

.tcard-photo text {
	font-family: var(--font-display), sans-serif;
	font-weight: 500;
	fill: rgba(255, 255, 255, 0.9);
}

/* The global heading colour must not override a card's hover colour. */
.ind h4 {
	color: inherit;
}

/*
 * Hero phone, drawn to iPhone 17 Pro proportions: 71.9 x 150 mm body (1 : 2.086),
 * a 402 x 874 pt display, slim bezel, Dynamic Island and a home indicator.
 */
.hero-grid > * { min-width: 0; }

.pass-qr {
	width: 72px;
	height: 72px;
	padding: 3px;
	border-radius: 8px;
	background: #fff;
}

.pass-qr svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lock-btn svg { width: 18px; height: 18px; }

/* Top-aligned (not centred) so the phone sits in the first screen beside the headline. */
.pass-stage {
	align-self: start;
	height: 640px;
}

.phone {
	width: 290px;
	height: 605px;
	padding: 4px;
	border: 2.5px solid transparent;
	border-radius: 46px;
	background:
		linear-gradient(#000, #000) padding-box,
		linear-gradient(145deg, #8c8981 0%, #34322e 38%, #1d1c19 62%, #5a5750 100%) border-box;
	box-shadow:
		0 60px 120px -40px rgba(0, 0, 0, 0.45),
		0 20px 60px -20px rgba(0, 0, 0, 0.3);
}

.phone-screen {
	padding: 54px 14px 18px;
	border-radius: 39px;
	background: linear-gradient(180deg, #2a2620 0%, #161410 100%);
}

.phone-notch {
	z-index: 3;
	top: 12px;
	width: 87px;
	height: 26px;
	background: #000;
}

/* Camera sensor inside the island. */
.phone-notch::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(50% + 27px);
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: radial-gradient(circle, #1b2a42 0 1.5px, #0b111c 3px, transparent 4.5px);
	transform: translate(-50%, -50%);
}

.phone > .phone-time {
	top: 19px;
	left: 34px;
	font-size: 12px;
	line-height: 12px;
}

.phone > .phone-status {
	top: 19px;
	right: 26px;
	align-items: center;
	height: 12px;
	gap: 4px;
}

.phone > .phone-status svg { height: auto; }

.phone > .phone-status .ps-signal { width: 12px; }

.phone > .phone-status .ps-wifi { width: 11px; }

.phone > .phone-status .ps-battery { width: 19px; }

.phone-header {
	margin-top: 6px;
	margin-bottom: 14px;
}

.phone-home {
	position: absolute;
	bottom: 10px;
	left: 50%;
	z-index: 3;
	width: 92px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.85);
	transform: translateX(-50%);
}

/* Side buttons: action + volume on the left, power + camera control on the right. */
.phone-btn {
	position: absolute;
	width: 3px;
	background: linear-gradient(90deg, #3a3935, #7a776f);
}

.phone-btn-action,
.phone-btn-vol-up,
.phone-btn-vol-down {
	left: -5px;
	border-radius: 2px 0 0 2px;
}

.phone-btn-power,
.phone-btn-camera {
	right: -5px;
	border-radius: 0 2px 2px 0;
	background: linear-gradient(270deg, #3a3935, #7a776f);
}

.phone-btn-action { top: 108px; height: 26px; }

.phone-btn-vol-up { top: 156px; height: 48px; }

.phone-btn-vol-down { top: 214px; height: 48px; }

.phone-btn-power { top: 184px; height: 78px; }

.phone-btn-camera { top: 392px; height: 44px; width: 2px; right: -4px; }

/* The pass, sized for the narrower screen. */
.phone .pass {
	padding: 16px;
	border-radius: 20px;
}

.phone .pass-head { margin-bottom: 16px; }

.phone .pass-title { font-size: 28px; }

.phone .pass-divider { margin: 14px 0; }

.phone .stamps { gap: 6px; }

.phone .pass-footer { margin-top: 14px; padding-top: 12px; }

.phone .pass-qr { width: 64px; height: 64px; }

.phone .pass-reward strong { font-size: 15px; }

/* Other passes peeking out below, like the real Wallet stack. */
.pass-stage .phone-screen::before,
.pass-stage .phone-screen::after {
	content: "";
	flex: none;
	height: 140px;
	border-radius: 18px;
}

.pass-stage .phone-screen::before {
	order: 1;
	margin: 14px 10px 0;
	background: linear-gradient(180deg, #4a3b2c, #2b2218);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pass-stage .phone-screen::after {
	order: 2;
	margin: -104px 20px 0;
	background: linear-gradient(180deg, #2e3c37, #18201d);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pass-stage .phone-screen.is-editor::before,
.pass-stage .phone-screen.is-editor::after {
	display: none;
}

/* Chips overlap the phone's edges by a small, fixed amount and never leave the page. */
.float-chip { width: max-content; }

.fc-tl { top: 120px; left: max(calc(50% - 330px), -60px); }

.fc-mr { top: 46%; right: -24px; left: auto; }

.fc-br { bottom: 110px; right: -30px; left: auto; }

@media (max-width: 700px) {

	.fc-tl { top: 60px; left: 0; }

	.fc-br { right: 0; left: auto; }
}

@media (max-width: 460px) {

	.pass-stage { height: 560px; }

	.pass-stage .phone { transform: scale(0.86); transform-origin: center; }
}

/*
 * Lock-screen phone in the push-notification band.
 * The phone screen is always dark, so pin the page's background token to its
 * light value here: notification text and glass then look the same in both themes.
 */
.lock-screen {
	--bg: #f4eee3;

	background:
		radial-gradient(120% 60% at 75% 8%, rgba(212, 91, 44, 0.55), transparent 62%),
		linear-gradient(180deg, #2a221b 0%, #100e0b 100%);
}

.lock-date {
	margin-top: 10px;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	color: rgba(243, 236, 221, 0.8);
}

.lock-clock {
	margin-top: 2px;
	font-family: var(--font-display), sans-serif;
	font-size: 64px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	text-align: center;
	color: #f3ecdd;
}

.lock-screen .push-stack {
	margin-top: auto;
	margin-bottom: 56px;
	gap: 6px;
}

.lock-btn {
	position: absolute;
	bottom: 26px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #f3ecdd;
	background: rgba(255, 255, 255, 0.14);
}


.lock-btn-left { left: 24px; }

.lock-btn-right { right: 24px; }

/* Every stamp holds its check icon; it only shows once the stamp is filled. */
.stamp:not(.filled) svg { display: none; }

/* Stamp grid columns, set by a class so the markup carries no inline style. */
.stamps-cols-1 { grid-template-columns: repeat(1, 1fr); }

.stamps-cols-2 { grid-template-columns: repeat(2, 1fr); }

.stamps-cols-3 { grid-template-columns: repeat(3, 1fr); }

.stamps-cols-4 { grid-template-columns: repeat(4, 1fr); }

.stamps-cols-5 { grid-template-columns: repeat(5, 1fr); }

.stamps-cols-6 { grid-template-columns: repeat(6, 1fr); }

.stamps-cols-7 { grid-template-columns: repeat(7, 1fr); }

.stamps-cols-8 { grid-template-columns: repeat(8, 1fr); }

.stamps-cols-9 { grid-template-columns: repeat(9, 1fr); }

.stamps-cols-10 { grid-template-columns: repeat(10, 1fr); }


/* Cookie banner (Stempy\Analytics): fixed at the bottom until the visitor chooses. */
.cookie-banner { position: fixed; z-index: 100; right: 16px; bottom: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; max-width: 760px; margin: 0 auto; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 18px 40px -20px rgba(20, 19, 15, 0.35); font-size: 14px; line-height: 1.5; }

.cookie-banner[hidden] { display: none; }

.cookie-banner-text { flex: 1 1 320px; margin: 0; }

.cookie-banner-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner-actions { display: flex; flex: 0 0 auto; gap: 8px; }

.cookie-banner-actions .btn { min-width: 96px; justify-content: center; }

.cookie-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Links inside the footer's bottom bar (copyright, small print) stay in the line, unlike the menu links above. */
.footer-bottom a { display: inline; margin: 0; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }

.footer-bottom a:hover { color: var(--ink); }

/* A callout left empty in the editor takes no space. */
.legal-callout:has(> div:only-child:empty) { display: none; }
