/**
 * AutoNano Alvin Showcase Pages
 * Restyled onto the AutoNano Academy Design System.
 * "Design. Build. Race. Learn."  Racing decal energy + engineering rigor.
 *
 * Tokens:   Brick #E05A16 · Navy #1B2E52 · Studio Blue #2E5C94 · Ink #0B0B0F · Paper Warm #FAF7F2 · Flag Warm #F29A2E
 * Display:  Barlow Condensed Italic 800 (ALL CAPS)
 * Body:     Barlow
 * Mono:     JetBrains Mono (kickers)
 */

@import url("https://fonts.googleapis.com/css2?family=Racing+Sans+One&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;1,700;1,800&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap");

/* ---------- Host page reset ---------- */
body.autonano-alvin-showcase {
	margin: 0;
	background: #FFFFFF;
	color: #0B0B0F;
	font-family: "Barlow", "Inter", system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.autonano-alvin-showcase .page-header,
body.autonano-alvin-showcase .entry-header,
body.autonano-alvin-showcase .entry-title { display: none; }

body.autonano-alvin-showcase .site-header,
body.autonano-alvin-showcase .site-footer,
body.autonano-alvin-showcase header.site-header,
body.autonano-alvin-showcase footer.site-footer,
body.autonano-alvin-showcase .elementor-location-header,
body.autonano-alvin-showcase .elementor-location-footer,
body.autonano-alvin-showcase > header,
body.autonano-alvin-showcase > footer,
body.autonano-alvin-showcase #wrapper-navbar,
body.autonano-alvin-showcase #site-header,
body.autonano-alvin-showcase .wp-site-blocks > header,
body.autonano-alvin-showcase .wp-site-blocks > footer { display: none !important; }

body.autonano-alvin-showcase .site-main,
body.autonano-alvin-showcase .site-content,
body.autonano-alvin-showcase .site { padding: 0; margin: 0; background: transparent; }

/* ---------- Root tokens (STUDIO palette) ---------- */
.alvin-main {
	/* Core — brick-orange + studio blue, warm workshop feel */
	--an-orange:        #E05A16;
	--an-orange-deep:   #B8430A;
	--an-orange-bright: #F29A2E; /* warm secondary "flag" accent (replaces lime) */
	--an-navy:          #1B2E52;
	--an-navy-deep:     #0E1B36;
	--an-blue:          #2E5C94; /* studio mid-blue — accent fills */
	--an-blue-soft:     #6B8BB8; /* tinted mid-blue for section backgrounds */
	--an-ink:           #0B0B0F;
	--an-ink-soft:      #1A1A22;
	--an-paper:         #FFFFFF;
	--an-paper-warm:    #FAF7F2;
	--an-grid:          #F4F5F7;
	--an-smoke:         #EDEDEF;
	--an-fog:           #D7DADD;
	--an-steel:         #8A8F99;
	--an-graphite:      #3A3F48;
	--an-checker:       #111113;
	--an-red-flag:      #C62A22;
	--an-green-go:      #2BB673;
	--an-yellow-flag:   #F29A2E;
	/* Legacy alias — anywhere the old racing palette referenced lime, route to warm-orange now. */
	--an-lime:          var(--an-orange-bright);

	/* Semantic */
	--fg1: var(--an-ink);
	--fg2: var(--an-graphite);
	--fg3: var(--an-steel);
	--fg-inv: var(--an-paper);
	--bg1: var(--an-paper);
	--bg2: var(--an-grid);
	--bg3: var(--an-smoke);
	--bg-ink: var(--an-ink);
	--bg-navy: var(--an-navy);
	--bg-blue: var(--an-blue);
	--accent: var(--an-orange);
	--accent-hover: var(--an-orange-deep);
	--accent-warm: var(--an-orange-bright);
	--accent-ink: var(--an-navy);
	--border-1: #E3E5EA;
	--border-2: #C6CAD2;
	--border-strong: var(--an-ink);
	--success: var(--an-green-go);
	--warning: var(--an-orange-bright);
	--danger:  var(--an-red-flag);

	--r-sm: 4px;
	--r-md: 8px;
	--r-lg: 14px;
	--r-xl: 24px;
	--r-pill: 999px;

	--sh-sm: 0 1px 2px rgba(14,27,54,.08), 0 2px 6px rgba(14,27,54,.06);
	--sh-md: 0 6px 14px rgba(14,27,54,.10), 0 2px 4px rgba(14,27,54,.06);
	--sh-lg: 0 18px 40px rgba(14,27,54,.18), 0 4px 10px rgba(14,27,54,.08);
	--sh-race: 0 14px 0 -6px var(--an-navy);
	--sh-glow: 0 0 0 4px rgba(224,90,22,.22);

	--ease-out: cubic-bezier(.2,.7,.2,1);
	--ease-race: cubic-bezier(.16,.84,.3,1.1);
	--t-fast: 120ms;
	--t-med:  220ms;
	--t-slow: 420ms;

	--font-display: "Barlow Condensed", "Impact", "Oswald", sans-serif;
	--font-race:    "Racing Sans One", "Barlow Condensed", sans-serif;
	--font-body:    "Barlow", "Inter", system-ui, -apple-system, sans-serif;
	--font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

	display: block;
	color: var(--fg1);
	background: var(--bg1);
	font-family: var(--font-body);
}

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

/* ---------- Type system ---------- */
.alvin-main h1,
.alvin-main h2,
.alvin-main h3,
.alvin-main h4 { margin: 0; color: var(--fg1); }

.alvin-main h1 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(44px, 7.2vw, 112px);
	line-height: 0.92;
	letter-spacing: -0.012em;
	color: #fff;
}
.alvin-main h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(32px, 4vw, 60px);
	line-height: 0.94;
	letter-spacing: -0.008em;
}
.alvin-main h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 22px;
	line-height: 1.02;
	letter-spacing: -0.005em;
}
.alvin-main h4 {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: var(--fg1);
}

.alvin-main p {
	margin: 0;
	color: var(--fg2);
	line-height: 1.6;
	font-weight: 500;
}
.alvin-main a { color: inherit; text-decoration: none; }
.alvin-main img { display: block; max-width: 100%; }

.alvin-eyebrow {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
	display: inline-block;
}
.alvin-main .alvin-lead {
	margin-top: 18px;
	max-width: 640px;
	font-size: clamp(17px, 1.25vw, 20px);
	color: #fff;
	font-weight: 500;
	line-height: 1.55;
}
.alvin-lede {
	margin-top: 14px;
	max-width: 780px;
	font-size: clamp(16px, 1.1vw, 18px);
	color: var(--fg2);
	font-weight: 500;
	line-height: 1.55;
}
.alvin-text-accent { color: var(--an-orange); }

/* ---------- Buttons ---------- */
.alvin-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: var(--r-pill);
	background: var(--an-orange);
	color: #fff;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid var(--an-orange);
	cursor: pointer;
	transition: transform 180ms var(--ease-race), background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
	white-space: nowrap;
}
.alvin-cta-btn::after { content: "→"; display: inline-block; transform: translateX(0); transition: transform 180ms var(--ease-race); }
.alvin-cta-btn:hover { background: var(--an-orange-deep); border-color: var(--an-orange-deep); }
.alvin-cta-btn:hover::after { transform: translateX(3px); }
.alvin-cta-btn:active { transform: scale(0.97); }
.alvin-cta-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(224,90,22,0.28); }
.alvin-cta-btn--sm { padding: 10px 18px; font-size: 12px; }
.alvin-cta-btn--lg { padding: 16px 28px; font-size: 15px; }

.alvin-cta-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.8);
}
.alvin-cta-btn--ghost:hover { background: #fff; color: var(--an-ink); border-color: #fff; }

.alvin-cta-btn--ghost-dark {
	background: transparent;
	color: var(--an-navy);
	border-color: var(--an-navy);
}
.alvin-cta-btn--ghost-dark:hover { background: var(--an-navy); color: #fff; border-color: var(--an-navy); }

.alvin-main a.alvin-cta-btn,
.alvin-main a.alvin-cta-btn:hover { color: #fff; }
.alvin-main a.alvin-cta-btn--ghost { color: #fff; }
.alvin-main a.alvin-cta-btn--ghost:hover { color: var(--an-ink); }
.alvin-main a.alvin-cta-btn--ghost-dark { color: var(--an-navy); }
.alvin-main a.alvin-cta-btn--ghost-dark:hover { color: #fff; }

/* ---------- Sticky site header ---------- */
.alvin-site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: rgba(255,255,255,0.93);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-1);
	transition: background 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.alvin-site-header.is-stuck { background: rgba(255,255,255,0.98); box-shadow: var(--sh-sm); }
.alvin-site-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 32px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.alvin-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--an-navy);
}
.alvin-logo__mark { width: auto; height: 38px; display: block; flex: none; }
.alvin-logo__text {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9;
	color: var(--an-navy);
	letter-spacing: -0.005em;
}
.alvin-logo__text span { display: block; font-size: 16px; }
.alvin-logo__text em { display: block; font-size: 11px; font-style: normal; font-weight: 700; color: var(--an-orange); letter-spacing: 0.18em; font-family: var(--font-mono); text-transform: uppercase; }

.alvin-primary-nav {
	display: flex;
	gap: 22px;
	margin-left: 16px;
	flex: 1;
}
.alvin-primary-nav__link {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--an-navy);
	letter-spacing: 0.02em;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: color 140ms;
}
.alvin-primary-nav__link:hover { color: var(--an-orange); }
.alvin-primary-nav__link.is-active { color: var(--an-orange-deep); border-bottom-color: var(--an-orange); }

.alvin-site-header .alvin-cta-btn { margin-left: auto; }
.alvin-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1.5px solid var(--border-2);
	border-radius: var(--r-md);
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
}
.alvin-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--an-navy); }

/* ---------- Main + reveal ---------- */
.alvin-main { overflow-x: hidden; }
.alvin-page-body > section { position: relative; }
/*
 * Reveal pattern: backgrounds slide up, text fades in.
 * The outer .alvin-reveal translates — its background colour/surface
 * rides up into place while staying fully opaque. Direct children
 * (content wrappers, text blocks, cards) begin invisible and fade in
 * with a short delay, producing the layered "panel first, copy second"
 * feel requested across the showcase.
 */
.alvin-reveal {
	transform: translateY(48px);
	transition: transform 680ms var(--ease-out);
	will-change: transform;
}
.alvin-reveal.is-visible { transform: translateY(0); }

.alvin-reveal > * {
	opacity: 0;
	transition: opacity 560ms var(--ease-out) 220ms;
}
.alvin-reveal.is-visible > * { opacity: 1; }

/* Hero sections render with .is-visible already applied, so their
   backgrounds/scrims/content never flash — keep those layers at full
   opacity immediately. */
.alvin-hero.alvin-reveal > .alvin-hero__bg,
.alvin-hero.alvin-reveal > .alvin-hero__grain,
.alvin-hero.alvin-reveal > .alvin-hero__scrim { opacity: 1; transition: none; }

@media (prefers-reduced-motion: reduce) {
	.alvin-reveal,
	.alvin-reveal > * {
		transform: none;
		opacity: 1;
		transition: none;
	}
}

/* ---------- HERO ---------- */
.alvin-hero {
	position: relative;
	min-height: 88vh;
	background: var(--an-ink);
	color: #fff;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}
.alvin-hero--inner { min-height: 0; }
.alvin-hero--inner .alvin-hero__content { padding: 104px 32px 44px; }
.alvin-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.55;
	transform: scale(1.08);
	transition: transform 200ms linear;
}
.alvin-hero__grain { display: none; } /* design system is photo-driven, not grain-driven */
.alvin-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, rgba(14,27,54,0.95) 0%, rgba(14,27,54,0.4) 45%, rgba(11,11,15,0.85) 100%),
		linear-gradient(90deg, rgba(11,11,15,0.85) 0%, rgba(11,11,15,0.2) 100%);
}
.alvin-hero__content {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 120px 32px 72px;
}
.alvin-hero__content .alvin-eyebrow { color: var(--an-orange); }
.alvin-hero__content h1 { margin: 18px 0 0; max-width: 18ch; }
.alvin-hero__ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.alvin-hero__trust {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 42px;
	padding-top: 22px;
	border-top: 1px solid rgba(255,255,255,0.18);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #CCD3DB;
	font-weight: 600;
}
.alvin-hero__trust span:first-child { color: var(--an-orange); letter-spacing: 0.08em; }

/* ---------- Sections ---------- */
.alvin-section {
	padding: clamp(64px, 9vw, 120px) 0;
}
.alvin-section > * {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}
.alvin-section--dark {
	background: var(--an-ink);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.alvin-section--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(45deg, rgba(224,90,22,0.08) 25%, transparent 25%, transparent 75%, rgba(224,90,22,0.08) 75%),
		linear-gradient(45deg, rgba(224,90,22,0.08) 25%, transparent 25%, transparent 75%, rgba(224,90,22,0.08) 75%);
	background-size: 60px 60px;
	background-position: 0 0, 30px 30px;
	opacity: 0.6;
	pointer-events: none;
}
.alvin-section--dark > * { position: relative; z-index: 1; }
.alvin-section--dark h2,
.alvin-section--dark h3 { color: #fff; }
.alvin-section--dark .alvin-lede { color: #CCD3DB; }
.alvin-section--dark p { color: #CCD3DB; }

/* ---- Checked background only (no global text-color flip) ----
 * Use when the section wraps light-colored cards (e.g. the location
 * card or contact form) that should keep their own text colors. */
.alvin-section--checked {
	background: var(--an-ink);
	position: relative;
	overflow: hidden;
}
.alvin-section--checked::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(45deg, rgba(224,90,22,0.08) 25%, transparent 25%, transparent 75%, rgba(224,90,22,0.08) 75%),
		linear-gradient(45deg, rgba(224,90,22,0.08) 25%, transparent 25%, transparent 75%, rgba(224,90,22,0.08) 75%);
	background-size: 60px 60px;
	background-position: 0 0, 30px 30px;
	opacity: 0.6;
	pointer-events: none;
}
.alvin-section--checked > * { position: relative; z-index: 1; }

.alvin-section__head { margin-bottom: 40px; }
.alvin-section__head h2 { margin-top: 10px; max-width: 24ch; }
.alvin-section__head--center { text-align: center; max-width: 860px; }
.alvin-section__head--center h2 { margin-left: auto; margin-right: auto; }
.alvin-section__head--center .alvin-lede { margin-left: auto; margin-right: auto; }

/* ---------- Stats row (home/comp) ---------- */
.alvin-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 72px 32px;
	background: transparent;
}
.alvin-stats-inner {
	display: contents;
}
.alvin-stat {
	padding: 22px 0 22px 22px;
	border-left: 4px solid var(--an-orange);
}
.alvin-stat__num {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	color: var(--an-navy);
	font-size: clamp(44px, 5vw, 72px);
	line-height: 0.88;
	letter-spacing: -0.012em;
}
.alvin-section--dark .alvin-stat__num { color: #fff; }
.alvin-stat__label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 600;
	margin-top: 10px;
}
.alvin-section--dark .alvin-stat__label { color: #CCD3DB; }

/* Stats can also sit directly on grid background surface */
.alvin-page-body > .alvin-stats { background: var(--bg2); }

/* ---------- Feature grid ---------- */
.alvin-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 32px;
}
.alvin-feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Normalize icon rendering across all icon containers — SVG assets have
   inconsistent intrinsic sizes (e.g. laptop-code is 64×64, rest are 24×24). */
.alvin-icon {
	display: block;
	width: 60%;
	height: 60%;
	object-fit: contain;
}
.alvin-feature {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 28px;
	transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.alvin-section--dark .alvin-feature {
	background: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.12);
}
.alvin-feature:hover {
	transform: translateY(-4px);
	border-color: var(--an-navy);
	box-shadow: var(--sh-md);
}
.alvin-section--dark .alvin-feature:hover {
	border-color: var(--an-orange);
	box-shadow: none;
	background: rgba(255,255,255,0.07);
}
.alvin-feature__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--r-lg);
	background: var(--an-orange);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 28px;
	line-height: 1;
	margin-bottom: 20px;
	transition: transform 260ms var(--ease-race), box-shadow 260ms var(--ease-out);
	box-shadow: 0 6px 0 -2px rgba(9, 31, 54, 0.18);
}
.alvin-feature:nth-child(6n+1) .alvin-feature__icon { background: #FF8C00; }
.alvin-feature:nth-child(6n+2) .alvin-feature__icon { background: #2BB673; }
.alvin-feature:nth-child(6n+3) .alvin-feature__icon { background: #8B5CF6; }
.alvin-feature:nth-child(6n+4) .alvin-feature__icon { background: #0F3355; }
.alvin-feature:nth-child(6n+5) .alvin-feature__icon { background: #E2322A; }
.alvin-feature:nth-child(6n+6) .alvin-feature__icon { background: #06B6D4; }
.alvin-feature:hover .alvin-feature__icon {
	transform: rotate(-6deg) scale(1.08);
	box-shadow: 0 10px 0 -3px rgba(9, 31, 54, 0.22);
}
.alvin-section--dark .alvin-feature__icon { background: var(--an-orange); }
.alvin-section--dark .alvin-feature:nth-child(6n+1) .alvin-feature__icon { background: #FFA329; }
.alvin-section--dark .alvin-feature:nth-child(6n+2) .alvin-feature__icon { background: #C6FF3D; }
.alvin-section--dark .alvin-feature:nth-child(6n+3) .alvin-feature__icon { background: #A78BFA; }
.alvin-section--dark .alvin-feature:nth-child(6n+4) .alvin-feature__icon { background: #FF8C00; }
.alvin-section--dark .alvin-feature:nth-child(6n+5) .alvin-feature__icon { background: #FF5A5F; }
.alvin-section--dark .alvin-feature:nth-child(6n+6) .alvin-feature__icon { background: #38BDF8; }
.alvin-feature h3 { margin-bottom: 8px; font-size: 22px; }
.alvin-feature p { font-size: 15px; line-height: 1.55; }

/* ---------- Journey (home) ---------- */
.alvin-journey {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin-top: 40px;
}
.alvin-journey__step {
	background: rgba(255,255,255,0.04);
	border: 1.5px solid rgba(255,255,255,0.2);
	border-radius: var(--r-md);
	padding: 22px 20px;
	transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
}
.alvin-journey__step:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); }
.alvin-journey__step:nth-child(n+4) { background: var(--an-orange); border-color: var(--an-orange); color: var(--an-ink); }
.alvin-journey__step:nth-child(n+4) h3,
.alvin-journey__step:nth-child(n+4) p,
.alvin-journey__step:nth-child(n+4) .alvin-journey__meta { color: var(--an-ink); }
.alvin-journey__num {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--an-orange);
	margin-bottom: 8px;
}
.alvin-journey__step:nth-child(n+4) .alvin-journey__num { color: var(--an-ink); }
.alvin-journey__step h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.alvin-journey__meta {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--an-orange-bright);
	font-weight: 700;
	margin-bottom: 8px;
}
.alvin-journey__step p { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.8); }

/* ---------- Badges ---------- */
.alvin-badge-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-badge-grid--detailed { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.alvin-badge-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 24px;
	color: inherit;
	transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.alvin-badge-card:hover { transform: translateY(-4px); border-color: var(--an-navy); box-shadow: var(--sh-md); }
.alvin-badge-card h3 { font-size: 20px; }
.alvin-badge-card p { font-size: 14px; line-height: 1.5; }
.alvin-badge-card--detailed ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 600;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.alvin-badge-card--detailed ul li::before { content: "→  "; color: var(--an-orange); }
.alvin-badge {
	width: 72px;
	height: auto;
	transform-origin: 50% 22%;
	transition: transform 320ms var(--ease-race);
}
.alvin-badge-card:hover .alvin-badge { transform: rotate(-6deg); }

/* ---------- Testimonials ---------- */
.alvin-testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-testimonial {
	background: var(--bg2);
	border-left: 4px solid var(--an-orange);
	border-radius: var(--r-md);
	padding: 28px;
	margin: 0;
}
.alvin-testimonial blockquote {
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.5;
	color: var(--fg1);
	font-weight: 500;
	font-style: italic;
}
.alvin-testimonial figcaption {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 600;
}

/* ---------- Testimonials marquee ----------
 * Auto-scrolling horizontal loop on a clearly-framed panel. The outer
 * .alvin-testimonials--marquee is a visible cream surface (rounded, bordered,
 * inset-shadow) that sizes and contains the band. The track holds two copies
 * of the list and translates 0 → -50% so the loop is seamless.
 *
 * Fade zones are ::before/::after gradient overlays painted in the panel's
 * cream colour — so cards visibly slide behind the panel edges rather than
 * dissolving into the page. The panel's border + the fade-band's inner border
 * make the fade boundary obvious.
 */
.alvin-testimonials--marquee {
	--alvin-marquee-bg: var(--an-paper-warm);
	--alvin-marquee-fade: 80px;
	display: block;
	grid-template-columns: none;
	overflow: hidden;
	position: relative;
	margin-top: 32px;
	padding: 28px 0;
	background: linear-gradient(180deg, var(--alvin-marquee-bg) 0%, #F0ECE4 100%);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.7),
		inset 0 -14px 28px -18px rgba(11,11,15,0.12),
		0 1px 2px rgba(11,11,15,0.04);
}
.alvin-testimonials--marquee::before,
.alvin-testimonials--marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--alvin-marquee-fade);
	pointer-events: none;
	z-index: 2;
}
.alvin-testimonials--marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--alvin-marquee-bg) 0%, rgba(250,247,242,0.92) 55%, rgba(250,247,242,0) 100%);
	border-right: 1px solid rgba(11,11,15,0.06);
	box-shadow: 4px 0 10px -6px rgba(11,11,15,0.14);
}
.alvin-testimonials--marquee::after {
	right: 0;
	background: linear-gradient(270deg, var(--alvin-marquee-bg) 0%, rgba(250,247,242,0.92) 55%, rgba(250,247,242,0) 100%);
	border-left: 1px solid rgba(11,11,15,0.06);
	box-shadow: -4px 0 10px -6px rgba(11,11,15,0.14);
}
.alvin-testimonials--marquee .alvin-testimonials__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	width: max-content;
	padding: 0 16px;
	animation: alvin-testimonials-scroll 60s linear infinite;
	will-change: transform;
}
.alvin-testimonials--marquee .alvin-testimonial {
	flex: 0 0 auto;
	width: min(360px, 78vw);
	margin: 0;
	background: var(--an-paper);
	border-top: 1px solid var(--border-1);
	border-right: 1px solid var(--border-1);
	border-bottom: 1px solid var(--border-1);
	box-shadow: 0 8px 20px -14px rgba(11,11,15,0.3);
}
.alvin-testimonials--marquee:hover .alvin-testimonials__track,
.alvin-testimonials--marquee:focus-within .alvin-testimonials__track {
	animation-play-state: paused;
}
@keyframes alvin-testimonials-scroll {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 780px) {
	.alvin-testimonials--marquee {
		--alvin-marquee-fade: 48px;
		padding: 20px 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.alvin-testimonials--marquee {
		overflow-x: auto;
	}
	.alvin-testimonials--marquee::before,
	.alvin-testimonials--marquee::after { display: none; }
	.alvin-testimonials--marquee .alvin-testimonials__track {
		animation: none;
		width: auto;
	}
}

/* ---------- CTA band ----------
 * Thin orange slab with both racing-decal angles (top wedge up-right,
 * bottom wedge down-right). Overlaps the navy footer:
 *   - padding-bottom (144px) gives the clip-path runway to paint past
 *     the content into the footer area
 *   - margin-bottom (-96px) pulls the footer up so the orange covers it
 *   - because |margin| (96) > bottom angle drop (72), the shallow left
 *     edge of the slant still laps 24px onto the footer — no white seam
 * Visible band above the footer is top padding (64) + content + bottom
 * clearance (padding-bottom 144 - overlap 96 = 48) = thin profile.
 */
.alvin-cta-band {
	background: #FF8000;
	color: var(--an-ink);
	/* Extra top padding (112) sits well below the top clip wedge, while
	   visible bottom (padding-bottom 160 - overlap 96 = 64) stays tight.
	   Content rides lower in the band — weighted toward the bottom half
	   of the on-screen orange, matching the visual center-of-mass. */
	padding: 112px 32px 160px;
	clip-path: polygon(0 72px, 100% 0, 100% 100%, 0 calc(100% - 72px));
	margin-top: -16px;
	margin-bottom: -96px;
	position: relative;
	z-index: 2;
}
.alvin-cta-band__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}
.alvin-cta-band h2 {
	color: var(--an-ink);
	max-width: 22ch;
}
.alvin-cta-band p {
	margin-top: 12px;
	color: var(--an-ink);
	font-weight: 600;
	max-width: 52ch;
}
.alvin-cta-band .alvin-cta-btn {
	background: var(--an-ink);
	border-color: var(--an-ink);
}
.alvin-cta-band .alvin-cta-btn:hover { background: var(--an-navy); border-color: var(--an-navy); }

/* ---------- Levels (programs page) ---------- */
.alvin-levels {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 32px;
}
.alvin-level {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 32px 28px 28px;
	position: relative;
	overflow: hidden;
	transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.alvin-level::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--accent, var(--an-orange));
}
.alvin-level:hover { transform: translateY(-4px); border-color: var(--an-navy); box-shadow: var(--sh-md); }
.alvin-level:hover .alvin-level__grid { opacity: 0.32; transform: translate(2px, -2px); }
.alvin-level__grid {
	position: absolute;
	top: 14px;
	right: 16px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 52px;
	line-height: 0.9;
	letter-spacing: -0.02em;
	color: var(--accent, var(--an-orange));
	opacity: 0.18;
	pointer-events: none;
	transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.alvin-level__flag {
	position: absolute;
	bottom: 14px;
	right: 14px;
	width: 28px;
	height: 28px;
	border-radius: 3px;
	background-image:
		linear-gradient(45deg, var(--an-ink) 25%, transparent 25%),
		linear-gradient(-45deg, var(--an-ink) 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, var(--an-ink) 75%),
		linear-gradient(-45deg, transparent 75%, var(--an-ink) 75%);
	background-size: 10px 10px;
	background-position: 0 0, 0 5px, 5px -5px, -5px 0;
	background-color: #fff;
	opacity: 0.85;
	pointer-events: none;
}
.alvin-level__header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}
.alvin-level__header h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.005em;
}
.alvin-level__eyebrow {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--an-navy);
	font-weight: 700;
}
.alvin-level ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.alvin-level li {
	font-size: 14px;
	color: var(--fg2);
	padding-left: 18px;
	position: relative;
	line-height: 1.45;
}
.alvin-level li::before { content: "▸"; color: var(--accent, var(--an-orange)); position: absolute; left: 0; font-weight: 800; }

/* ---------- Split block ---------- */
.alvin-split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}
.alvin-split__text h2 { margin-top: 10px; }
.alvin-split__media img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.alvin-check-list {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.alvin-check-list li {
	font-size: 15px;
	line-height: 1.55;
	padding-left: 28px;
	position: relative;
}
.alvin-check-list li::before {
	content: "→";
	position: absolute; left: 0; top: 0;
	color: var(--an-orange);
	font-weight: 800;
	font-family: var(--font-display);
	font-style: italic;
}

/* ---------- Streams (programs) ---------- */
.alvin-streams {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin-top: 32px;
}
.alvin-stream {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 26px 22px 22px;
	position: relative;
	overflow: hidden;
	transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.alvin-stream::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--accent, var(--an-orange));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 360ms var(--ease-race);
}
.alvin-stream:hover { transform: translateY(-3px); border-color: var(--an-navy); box-shadow: var(--sh-md); }
.alvin-stream:hover::after { transform: scaleX(1); }
.alvin-stream__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.alvin-stream__icon {
	display: inline-flex;
	width: 44px; height: 44px;
	border-radius: var(--r-md);
	background: var(--accent, var(--an-orange));
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
	transition: transform 260ms var(--ease-race);
	box-shadow: 0 5px 0 -2px rgba(9, 31, 54, 0.18);
}
.alvin-stream__tag {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg3);
	padding: 4px 8px;
	border: 1px solid var(--border-1);
	border-radius: var(--r-pill);
	white-space: nowrap;
}
.alvin-stream:nth-child(5n+1) { --accent: #FF8C00; }
.alvin-stream:nth-child(5n+2) { --accent: #2BB673; }
.alvin-stream:nth-child(5n+3) { --accent: #8B5CF6; }
.alvin-stream:nth-child(5n+4) { --accent: #06B6D4; }
.alvin-stream:nth-child(5n+5) { --accent: #E2322A; }
.alvin-stream:hover .alvin-stream__icon { transform: rotate(-6deg) scale(1.08); }
.alvin-stream:hover .alvin-stream__tag { color: var(--accent, var(--an-orange)); border-color: var(--accent, var(--an-orange)); }
.alvin-stream h3 { font-size: 18px; margin-bottom: 6px; }
.alvin-stream p { font-size: 13px; line-height: 1.5; }

/* ---------- Week (programs) ---------- */
.alvin-week {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-week__step {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 28px;
	position: relative;
}
.alvin-week__step span {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--an-orange-deep);
	font-weight: 700;
	margin-bottom: 8px;
}
.alvin-week__step h3 { font-size: 28px; margin-bottom: 8px; }
.alvin-week__step p { font-size: 14px; line-height: 1.55; }

/* ---------- Week racetrack (Typical Week cycle) ---------- */
.alvin-week-track { position: relative; margin-top: 32px; }
.alvin-week-track__bg,
.alvin-week-track__car { display: none; }
@media (min-width: 1120px) {
	.alvin-week-track {
		width: 1000px;
		height: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	.alvin-week-track__bg {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		pointer-events: none;
	}
	.alvin-week-track__asphalt { fill: #15181C; }
	.alvin-week-track__infield { fill: var(--bg2, #0B0B0F); }
	.alvin-week-track__curb { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 2; }
	.alvin-week-track__lane {
		fill: none;
		stroke: rgba(255,255,255,0.35);
		stroke-width: 1.5;
		stroke-dasharray: 14 14;
	}
	.alvin-week-track__car {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 26px;
		height: 44px;
		margin: 0;
		z-index: 2;
		offset-path: path("M 100 45 H 900 A 55 55 0 0 1 955 100 V 300 A 55 55 0 0 1 900 355 H 100 A 55 55 0 0 1 45 300 V 100 A 55 55 0 0 1 100 45 Z");
		offset-rotate: auto -90deg;
		offset-anchor: 50% 50%;
		animation: alvinWeekOrbit 16s linear infinite;
		filter: drop-shadow(0 3px 4px rgba(0,0,0,0.45));
	}
	.alvin-week-track__car svg { width: 100%; height: 100%; display: block; }
	.alvin-week-track .alvin-week {
		position: absolute;
		top: 90px;
		left: 90px;
		right: 90px;
		bottom: 90px;
		margin: 0;
		gap: 14px;
	}
	.alvin-week-track .alvin-week__step {
		padding: 20px;
		box-shadow: 0 8px 24px rgba(0,0,0,0.35);
	}
	.alvin-week-track .alvin-week__step h3 { font-size: 22px; }
}
@keyframes alvinWeekOrbit {
	from { offset-distance: 0%; }
	to   { offset-distance: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.alvin-week-track__car { animation: none; }
}

/* ---------- Formats + numbered (competitions) ---------- */
.alvin-formats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-format {
	background: var(--bg2);
	border-radius: var(--r-lg);
	padding: 28px;
	border-left: 4px solid var(--an-orange);
}
.alvin-format h3 { font-size: 22px; margin-bottom: 8px; }
.alvin-format p { font-size: 14.5px; line-height: 1.55; }

.alvin-numbered {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 32px;
}
.alvin-numbered__item {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--r-lg);
	padding: 28px;
}
.alvin-numbered__num {
	display: inline-block;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	color: var(--an-orange);
	margin-bottom: 12px;
}
.alvin-numbered__item h3 { font-size: 22px; margin-bottom: 6px; color: #fff; }
.alvin-numbered__item p { font-size: 14px; line-height: 1.55; color: #CCD3DB; }

/* ---------- Events (competitions) ---------- */
.alvin-events {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 32px;
}
.alvin-event {
	display: grid;
	grid-template-columns: 96px 1fr auto;
	align-items: center;
	gap: 24px;
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 20px 24px;
	transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.alvin-event:hover { transform: translateY(-2px); border-color: var(--an-navy); box-shadow: var(--sh-md); }
.alvin-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--an-ink);
	color: #fff;
	border-radius: var(--r-md);
	padding: 12px 0;
	gap: 4px;
}
.alvin-event__month {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
}
.alvin-event__day {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
}
.alvin-event__body h3 { font-size: 20px; margin-bottom: 4px; }
.alvin-event__body p {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 600;
}
.alvin-event__tag {
	display: inline-block;
	padding: 6px 12px;
	border-radius: var(--r-pill);
	background: var(--an-lime);
	color: var(--an-ink);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}

/* ---------- Compare (difference) ---------- */
.alvin-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 32px;
}
.alvin-compare__col {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 32px;
}
.alvin-compare__col--bad {
	background: var(--bg2);
	color: var(--fg2);
}
.alvin-compare__col--bad h3 { color: var(--fg2); }
.alvin-compare__col--bad ul li::before { content: "×"; color: var(--fg3); }

.alvin-compare__col--good {
	background: var(--an-ink);
	color: #fff;
	border-color: var(--an-ink);
	position: relative;
	overflow: hidden;
}
.alvin-compare__col--good::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--an-orange) 0 14px, var(--an-ink-soft) 14px 28px);
}
.alvin-compare__col--good h3 { color: #fff; }
.alvin-compare__col--good ul li { color: #fff; }
.alvin-compare__col--good ul li::before { content: "→"; color: var(--an-orange); }

.alvin-compare__col h3 { font-size: 24px; margin-bottom: 16px; }
.alvin-compare__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.alvin-compare__col ul li {
	font-size: 15px;
	padding-left: 22px;
	position: relative;
	line-height: 1.5;
}
.alvin-compare__col ul li::before {
	position: absolute;
	left: 0;
	font-weight: 800;
}

/* ---------- Founders (difference) ---------- */
.alvin-founders {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}
.alvin-founder {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--r-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.alvin-founder img,
.alvin-founder .alvin-founder__avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--an-orange);
	display: block;
}
.alvin-founder__body { width: 100%; }
.alvin-founder h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.alvin-founder__role {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
	margin-bottom: 10px;
}
.alvin-founder p { font-size: 14px; line-height: 1.55; color: #CCD3DB; }

/* ---------- Location card ---------- */
.alvin-location-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: var(--bg1);
	border-radius: var(--r-xl);
	overflow: hidden;
	box-shadow: var(--sh-lg);
}
.alvin-location-card__info { padding: 48px; }
.alvin-location-card__info h2 { margin-bottom: 8px; }
.alvin-location-card__addr {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
	margin-bottom: 18px !important;
}
.alvin-location-card__info p { font-size: 15px; line-height: 1.55; }
.alvin-location-card__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 14px !important;
	font-weight: 600;
}
.alvin-location-card__contact a {
	color: var(--an-navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(0, 66, 108, 0.35);
	transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.alvin-location-card__contact a:hover { color: var(--an-orange); text-decoration-color: var(--an-orange); }
.alvin-location-card__contact span { color: var(--fg3, #888); }
.alvin-location-card__info .alvin-hero__ctas { margin-top: 28px; }
.alvin-location-card__media { min-height: 420px; position: relative; overflow: hidden; }
.alvin-location-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alvin-location-card__media--map { background: var(--bg2); }
.alvin-location-card__media--map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.alvin-hours {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 24px;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--border-1);
}
.alvin-hours dt {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--an-navy);
	font-weight: 700;
}
.alvin-hours dd {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--fg2);
	font-weight: 600;
}
.alvin-hours--compact {
	margin: 6px 0 0;
	padding: 6px 0 0;
	gap: 4px 14px;
	border-top: none;
}
.alvin-hours--compact dt { font-size: 10px; letter-spacing: 0.16em; }
.alvin-hours--compact dd { font-size: 13px; font-weight: 500; }

/* ---------- Zones (location) ---------- */
.alvin-zones {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-zone {
	background: var(--bg2);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 24px;
}
.alvin-zone h3 { color: var(--fg1); font-size: 20px; margin-bottom: 6px; }
.alvin-zone p { font-size: 14px; line-height: 1.55; color: var(--fg2); }
.alvin-section--dark .alvin-zone {
	background: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.12);
}
.alvin-section--dark .alvin-zone h3 { color: #fff; }
.alvin-section--dark .alvin-zone p { color: #CCD3DB; }

/* ---------- Paths (outcomes) ---------- */
.alvin-paths {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.alvin-path {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	padding: 28px;
	border-left: 4px solid var(--an-orange);
}
.alvin-path h3 { font-size: 22px; margin-bottom: 6px; }
.alvin-path p { font-size: 14.5px; line-height: 1.55; }

/* ---------- Contact ---------- */
.alvin-contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	margin-top: 32px;
}
.alvin-form {
	background: var(--bg1);
	border: 1px solid var(--border-1);
	border-radius: var(--r-xl);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: var(--sh-md);
}
.alvin-form h2 { margin-bottom: 4px; }
.alvin-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alvin-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg3);
	font-weight: 700;
}
.alvin-form input,
.alvin-form select,
.alvin-form textarea {
	font-family: var(--font-body);
	font-size: 15px;
	padding: 12px 14px;
	border: 1.5px solid var(--border-2);
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--fg1);
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
}
.alvin-form input:focus,
.alvin-form select:focus,
.alvin-form textarea:focus {
	outline: none;
	border-color: var(--an-orange);
	box-shadow: 0 0 0 4px rgba(224,90,22,0.18);
}
.alvin-form textarea { resize: vertical; min-height: 110px; }
.alvin-form button { margin-top: 8px; align-self: flex-start; }
.alvin-form__success {
	margin: 12px 0 0;
	padding: 10px 14px;
	background: rgba(43,182,115,0.12);
	border: 1px solid rgba(43,182,115,0.4);
	border-radius: var(--r-sm);
	color: #1b7a4f;
	font-weight: 600;
	font-size: 14px;
}

.alvin-contact-side { display: flex; flex-direction: column; gap: 12px; }
.alvin-contact-card {
	background: var(--bg2);
	border-left: 4px solid var(--an-orange);
	border-radius: var(--r-md);
	padding: 20px 24px;
}
.alvin-contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.alvin-contact-card p { font-size: 14.5px; line-height: 1.5; }
.alvin-contact-card a:hover { color: var(--an-orange); }

/* ---------- FAQ ---------- */
.alvin-faq {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.alvin-faq details {
	background: var(--bg2);
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	padding: 18px 22px;
	transition: border-color 160ms;
}
.alvin-faq details[open] { border-color: var(--an-orange); background: var(--bg1); }
.alvin-faq summary {
	cursor: pointer;
	list-style: none;
	color: var(--fg1);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: -0.005em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.alvin-faq summary::-webkit-details-marker { display: none; }
.alvin-faq summary::after {
	content: "+";
	font-family: var(--font-body);
	font-style: normal;
	color: var(--an-orange);
	font-weight: 800;
	font-size: 22px;
	transition: transform 160ms;
}
.alvin-faq details[open] summary::after { content: "−"; }
.alvin-faq p { margin-top: 10px; color: var(--fg2); font-size: 14.5px; line-height: 1.55; }
.alvin-section--dark .alvin-faq details {
	background: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.12);
}
.alvin-section--dark .alvin-faq details[open] { background: rgba(255,255,255,0.06); }
.alvin-section--dark .alvin-faq summary { color: #fff; }
.alvin-section--dark .alvin-faq p { color: #CCD3DB; }

/* ---------- Footer ---------- */
.alvin-site-footer {
	background: var(--an-navy-deep);
	color: #CCD3DB;
	/* Extra top padding clears the CTA band overlap (96px on the right
	   edge) and leaves ~44px of breathing room before footer content. */
	padding: 140px 0 32px;
	margin-top: 0;
	position: relative;
	z-index: 1;
}
.alvin-site-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px 40px;
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 48px;
}
.alvin-site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.alvin-site-footer__brand .alvin-logo__mark {
	width: auto; height: 44px;
}
.alvin-site-footer__brand strong {
	display: block;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 22px;
	color: #fff;
	line-height: 1;
}
.alvin-site-footer__brand p {
	margin: 6px 0 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
}
.alvin-site-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.alvin-site-footer__cols h4 {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
	margin-bottom: 14px;
}
.alvin-site-footer__cols a {
	display: block;
	padding: 5px 0;
	color: #CCD3DB;
	font-size: 14px;
	transition: color 140ms;
}
.alvin-site-footer__cols a:hover { color: #fff; }
.alvin-site-footer__cols p {
	font-size: 14px;
	color: #CCD3DB;
	line-height: 1.55;
	margin: 0 0 8px;
}
.alvin-site-footer__base {
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px 32px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 12px;
	color: #8A8F99;
	font-family: var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ---------- Race track (side-rail: start, car, finish) ---------- */
.alvin-main { position: relative; }

:root, .alvin-main {
	--an-racer-w: clamp(44px, 4.2vw, 64px);
	--an-racer-right: clamp(10px, 1.6vw, 24px);
}

.alvin-race-car {
	position: fixed;
	right: var(--an-racer-right);
	top: 120px;
	width: var(--an-racer-w);
	z-index: 90;
	pointer-events: none;
	filter: drop-shadow(0 10px 14px rgba(14,27,54,0.35));
	transition: transform 220ms var(--ease-race);
	will-change: top, transform;
}
.alvin-race-car svg { width: 100%; height: auto; display: block; }
.alvin-race-car.is-racing svg {
	animation: alvinRaceWobble 280ms var(--ease-race) infinite alternate;
	transform-origin: 50% 70%;
}
@keyframes alvinRaceWobble {
	from { transform: translateX(-1px) rotate(-1.2deg); }
	to   { transform: translateX(1px)  rotate(1.2deg); }
}
.alvin-race-car.is-finished { transform: rotate(-4deg) translateY(-1px); }

.alvin-race-line {
	position: absolute;
	right: var(--an-racer-right);
	width: var(--an-racer-w);
	height: 10px;
	z-index: 41;
	pointer-events: none;
	background-color: #fff;
	background-image: conic-gradient(#0B0B0F 25%, #fff 0 50%, #0B0B0F 0 75%, #fff 0);
	background-size: 10px 10px;
	border-top: 2px solid var(--an-orange);
	border-bottom: 2px solid var(--an-orange);
	box-shadow: 0 4px 10px rgba(14,27,54,0.18);
}
.alvin-race-line::after {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--an-orange);
	background: rgba(11,11,15,0.88);
	padding: 3px 8px;
	border-radius: 3px;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(14,27,54,0.25);
}
.alvin-race-line--start  { top: 108px; }
.alvin-race-line--start::after {
	content: "Start";
	top: calc(100% + 6px);
}
.alvin-race-line--finish { bottom: 180px; }
.alvin-race-line--finish::after {
	content: "Finish";
	bottom: calc(100% + 6px);
}

/* ---------- Mobile nav open state (Shopify-style full-screen overlay) ---------- */
.alvin-site-header.is-menu-open .alvin-primary-nav {
	transform: translateX(0);
	pointer-events: auto;
	visibility: visible;
}
.alvin-site-header.is-menu-open .alvin-primary-nav__link {
	color: #fff;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 26px;
	letter-spacing: -0.005em;
	padding: 18px 4px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.alvin-site-header.is-menu-open .alvin-primary-nav__link.is-active { color: var(--an-orange); border-bottom-color: rgba(255,255,255,0.08); }
/* Header chrome flips to dark when menu is open so logo/toggle read against the panel.
   Lift the header above the promo banner (z-index 100) so the overlay covers it. */
.alvin-site-header.is-menu-open {
	background: #000;
	border-bottom-color: transparent;
	z-index: 200;
}
.alvin-site-header.is-menu-open .alvin-logo,
.alvin-site-header.is-menu-open .alvin-logo__text,
.alvin-site-header.is-menu-open .alvin-logo__text span { color: #fff; }
.alvin-site-header.is-menu-open .alvin-menu-toggle {
	border-color: rgba(255,255,255,0.4);
	z-index: 100;
}
.alvin-site-header.is-menu-open .alvin-menu-toggle span { background: #fff; }
/* Persistent CTA pinned to the bottom of the open menu (Shopify "Log in" pattern). */
.alvin-site-header.is-menu-open .alvin-cta-btn {
	transform: translateX(0);
	pointer-events: auto;
}
body:has(.alvin-site-header.is-menu-open) { overflow: hidden; }

/* ---------- Outcomes: featured badges + core skills ---------- */
.alvin-section--feature {
	background:
		radial-gradient(1200px 420px at 50% -10%, rgba(224,90,22,0.08), transparent 70%),
		linear-gradient(180deg, var(--an-paper-warm) 0%, var(--bg1) 100%);
	border-top: 1px solid var(--border-1);
	border-bottom: 1px solid var(--border-1);
	position: relative;
}
.alvin-section--feature::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--an-orange) 0%, var(--an-orange-bright) 50%, var(--an-navy) 100%);
}
.alvin-badge-grid--featured {
	gap: 20px;
	margin-top: 40px;
}
.alvin-badge-grid--featured .alvin-badge-card {
	background: #fff;
	box-shadow: var(--sh-sm);
	border-color: var(--border-1);
	position: relative;
	overflow: hidden;
}
.alvin-badge-grid--featured .alvin-badge-card::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--an-orange);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 280ms var(--ease-out);
}
.alvin-badge-grid--featured .alvin-badge-card:hover {
	border-color: var(--an-navy);
	box-shadow: var(--sh-lg);
	transform: translateY(-6px);
}
.alvin-badge-grid--featured .alvin-badge-card:hover::after { transform: scaleX(1); }
.alvin-badge-grid--featured .alvin-badge { width: 84px; }

/* Core skills - alternating rows with distinct topic backgrounds */
.alvin-skills-stack {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 48px;
}
.alvin-skill-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
	align-items: center;
	gap: 48px;
	padding: 56px 48px;
	border-radius: var(--r-xl);
}
/* Print-lab row: warm workshop — paper-warm base, soft orange wash */
.alvin-skill-row:not(.alvin-skill-row--reverse) {
	background:
		linear-gradient(135deg, rgba(224,90,22,0.10) 0%, rgba(242,154,46,0.06) 50%, rgba(250,247,242,0.0) 100%),
		var(--an-paper-warm);
	border-left: 4px solid var(--an-orange);
}
/* Dark studio row: ink base, studio-blue wash, reversed layout */
.alvin-skill-row--reverse {
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	background:
		linear-gradient(225deg, rgba(46,92,148,0.18) 0%, rgba(27,46,82,0.08) 55%, rgba(27,46,82,0.02) 100%),
		var(--an-navy-deep);
	border-left: 4px solid var(--an-orange);
	color: #fff;
}
.alvin-skill-row--reverse .alvin-skill-row__copy { order: 2; }
.alvin-skill-row--reverse .alvin-skill-row__media { order: 1; }
.alvin-skill-row--reverse .alvin-skill-row__copy h3 { color: #fff; }
.alvin-skill-row--reverse .alvin-skill-row__lede { color: rgba(255,255,255,0.82); }
.alvin-skill-row--reverse .alvin-skill-row__list { color: rgba(255,255,255,0.92); }
.alvin-skill-row--reverse .alvin-skill-row__list strong { color: var(--an-orange-bright); }
.alvin-skill-row--reverse .alvin-skill-row__list li::before { color: var(--an-orange-bright); }
.alvin-skill-row--reverse .alvin-eyebrow { color: var(--an-orange-bright); }
.alvin-skill-row__copy .alvin-eyebrow { color: var(--an-orange); margin-bottom: 8px; }
.alvin-skill-row__copy h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(32px, 3.4vw, 46px);
	letter-spacing: -0.005em;
	margin: 0 0 16px;
	color: var(--an-navy);
}
.alvin-skill-row__lede {
	font-size: 19px;
	line-height: 1.55;
	color: var(--fg2);
	margin: 0 0 22px;
	max-width: 620px;
}
.alvin-skill-row__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--fg1);
	max-width: 620px;
}
.alvin-skill-row__list li {
	padding-left: 22px;
	position: relative;
}
.alvin-skill-row__list li::before {
	content: "→";
	position: absolute;
	left: 0; top: 0;
	color: var(--an-orange);
	font-weight: 700;
}
.alvin-skill-row__list strong { color: var(--an-navy); }
.alvin-skill-row__media { display: flex; justify-content: center; }

/* TikTok embed wrapper + placeholder */
.alvin-tiktok {
	margin-top: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.alvin-tiktok__player {
	width: 100%;
	max-width: 280px;
	aspect-ratio: 9 / 16;
	background: #000;
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-md);
	overflow: hidden;
	padding: 6px;
}
.alvin-tiktok__player iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--r-md);
	display: block;
}
.alvin-skill-row--reverse .alvin-tiktok__player {
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.18);
	box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.alvin-tiktok__credit {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--an-orange);
	font-weight: 700;
	transition: color 180ms var(--ease-out);
}
.alvin-tiktok__credit:hover { color: var(--an-orange-deep); }
.alvin-skill-row--reverse .alvin-tiktok__credit { color: var(--an-orange-bright); }
.alvin-skill-row--reverse .alvin-tiktok__credit:hover { color: #fff; }
.alvin-tiktok--placeholder {
	width: 100%;
}
.alvin-tiktok__frame {
	width: 100%;
	aspect-ratio: 9 / 16;
	max-width: 320px;
	margin: 0 auto;
	border-radius: var(--r-lg);
	background:
		repeating-linear-gradient(135deg, rgba(27,46,82,0.04) 0 8px, transparent 8px 16px),
		linear-gradient(160deg, var(--an-navy-deep) 0%, var(--an-navy) 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
	border: 1px solid rgba(255,255,255,0.08);
}
.alvin-tiktok__eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--an-orange-bright);
	font-weight: 700;
}
.alvin-tiktok__play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--an-orange);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 22px;
	line-height: 1;
	padding-left: 4px;
	box-shadow: 0 6px 20px rgba(224,90,22,0.35);
}
.alvin-tiktok__hint {
	font-size: 12px;
	color: rgba(255,255,255,0.65);
	letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.alvin-feature-grid,
	.alvin-zones,
	.alvin-numbered,
	.alvin-formats,
	.alvin-week,
	.alvin-badge-grid { grid-template-columns: repeat(2, 1fr); }
	.alvin-streams { grid-template-columns: repeat(3, 1fr); }
	.alvin-journey { grid-template-columns: repeat(3, 1fr); }
	.alvin-levels { grid-template-columns: repeat(2, 1fr); }
	.alvin-skill-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
	.alvin-skill-row--reverse .alvin-skill-row__copy { order: 1; }
	.alvin-skill-row--reverse .alvin-skill-row__media { order: 2; }
	.alvin-founders { grid-template-columns: repeat(2, 1fr); }
	.alvin-stats { grid-template-columns: repeat(2, 1fr) !important; }
	.alvin-location-card { grid-template-columns: 1fr; }
	.alvin-location-card__media { min-height: 280px; }
	.alvin-testimonials { grid-template-columns: 1fr; }
	.alvin-site-footer__inner { grid-template-columns: 1fr; }
	.alvin-contact-grid { grid-template-columns: 1fr; }
	.alvin-split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	/* Drop backdrop-filter on mobile — it creates a containing block that
	   would scope the menu's fixed positioning to the header's box. */
	.alvin-site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
	.alvin-menu-toggle { display: flex; margin-left: auto; }
	/* Mobile menu panel: always rendered as a fixed off-screen overlay so it can
	   slide in from the right when .is-menu-open is set on the header. */
	.alvin-primary-nav {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100dvh;
		margin: 0;
		flex: none;
		gap: 4px;
		padding: 92px 28px 140px;
		background: #000;
		z-index: 70;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
		visibility: hidden;
	}
	/* Orange CTA: pinned to the bottom of the open menu, slides in with it. */
	.alvin-site-header .alvin-cta-btn {
		display: inline-flex;
		position: fixed;
		left: 24px;
		right: 24px;
		bottom: 32px;
		margin-left: 0;
		z-index: 90;
		justify-content: center;
		font-size: 14px;
		padding: 18px 28px;
		transform: translateX(120%);
		transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}
	.alvin-race-car,
	.alvin-race-line { display: none; }
	.alvin-hero__content { padding: 84px 24px 48px; }
	.alvin-hero--inner .alvin-hero__content { padding: 72px 24px 28px; }
	.alvin-section > * { padding-left: 24px; padding-right: 24px; }
	.alvin-feature-grid,
	.alvin-zones,
	.alvin-numbered,
	.alvin-formats,
	.alvin-week,
	.alvin-badge-grid,
	.alvin-journey,
	.alvin-compare,
	.alvin-paths,
	.alvin-form__row { grid-template-columns: 1fr; }
	/* Programs: levels + streams become a swipeable scroll-snap carousel on phones */
	.alvin-levels,
	.alvin-streams {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 14px;
		padding: 4px 24px 18px;
		margin: 24px -24px 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.alvin-levels::-webkit-scrollbar,
	.alvin-streams::-webkit-scrollbar { display: none; }
	.alvin-levels > .alvin-level,
	.alvin-streams > .alvin-stream {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}
	.alvin-level__grid { font-size: 40px; top: 12px; right: 14px; }
	.alvin-level__flag { width: 22px; height: 22px; bottom: 12px; right: 12px; }
	.alvin-skill-row { padding: 32px 20px; gap: 24px; }
	.alvin-skill-row__copy h3 { font-size: 26px; }
	.alvin-skills-stack { gap: 20px; }
	.alvin-site-footer__cols { grid-template-columns: 1fr; gap: 20px; }
	.alvin-event { grid-template-columns: 72px 1fr; }
	.alvin-event__tag { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
	.alvin-founders { grid-template-columns: 1fr; }
	.alvin-founder img,
	.alvin-founder .alvin-founder__avatar { width: 120px; height: 120px; }
	.alvin-site-footer__base { flex-direction: column; align-items: flex-start; }
	.alvin-location-card__info { padding: 32px; }
	.alvin-form { padding: 28px; }
	.alvin-logo__text span { font-size: 14px; }
	.alvin-logo__text em { font-size: 10px; }
}

/* ---------- Visit / Location (new layout) ---------- */
.alvin-visit-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.alvin-visit-photo,
.alvin-visit-map {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--sh-lg);
	margin: 0;
}
.alvin-visit-photo {
	background: linear-gradient(135deg, #1B2E52, var(--an-ink));
	color: #fff;
}
.alvin-visit-photo__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 40px 28px 96px;
	text-align: center;
	background:
		repeating-linear-gradient(45deg, transparent 0 28px, rgba(255,255,255,0.03) 28px 30px),
		linear-gradient(135deg, #1B2E52, #0E1B36);
}
.alvin-visit-photo__badge {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	background: var(--an-orange);
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
}
.alvin-visit-photo__camera {
	width: 72px;
	height: 72px;
	border-radius: 16px;
	background: rgba(255,255,255,0.08);
	border: 1.5px dashed rgba(255,255,255,0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.75);
}
.alvin-visit-photo__camera svg { width: 30px; height: 30px; }
.alvin-visit-photo__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 22px;
	line-height: 1.1;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: #fff;
	max-width: 26ch;
}
.alvin-visit-photo__hint {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.55);
	max-width: 34ch;
}
.alvin-visit-photo__hint code {
	background: rgba(255,255,255,0.08);
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 10.5px;
}
.alvin-visit-photo__tags {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	z-index: 2;
}
.alvin-visit-photo__tag {
	background: rgba(255,255,255,0.95);
	color: var(--an-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 7px 11px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	backdrop-filter: blur(6px);
}
.alvin-visit-photo__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #1BAE4F;
}
.alvin-visit-photo__tag--alt {
	background: var(--an-orange);
	color: #fff;
}
.alvin-visit-map {
	background: var(--bg2);
}
.alvin-visit-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Gallery + details body */
.alvin-visit-body {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 18px;
	align-items: stretch;
}
.alvin-visit-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 1fr;
	gap: 12px;
	min-height: 520px;
}
.alvin-visit-gallery__tile {
	margin: 0;
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: rgba(255,255,255,0.05);
	box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.alvin-visit-gallery__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 600ms var(--ease-out);
}
.alvin-visit-gallery__tile:hover img { transform: scale(1.04); }
.alvin-visit-gallery__tile--tall { grid-row: span 2; }
.alvin-visit-gallery__tile--wide { grid-column: span 2; }

/* Wayfinding row (entrance photo + directions card) */
.alvin-visit-wayfinding {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: stretch;
}
.alvin-visit-entrance {
	position: relative;
	margin: 0;
	border-radius: var(--r-xl);
	overflow: hidden;
	box-shadow: var(--sh-lg);
	aspect-ratio: 4 / 3;
	background: var(--bg2);
}
.alvin-visit-entrance img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.alvin-visit-entrance__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	background: var(--an-orange);
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
}
.alvin-visit-wayfinding__card {
	background: var(--bg1);
	border-radius: var(--r-xl);
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	box-shadow: var(--sh-lg);
}
.alvin-visit-wayfinding__title {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.05;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--fg1);
}
.alvin-visit-wayfinding__copy {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--fg2);
	font-weight: 500;
}

/* Reusable location details card */
.alvin-location-info {
	background: var(--bg1);
	border-radius: var(--r-xl);
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	box-shadow: var(--sh-lg);
}
.alvin-location-info__block { display: flex; flex-direction: column; gap: 10px; }
.alvin-location-info__block h3 {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: -0.005em;
	color: var(--fg1);
}
.alvin-location-info__addr {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--fg2);
	font-weight: 600;
}
.alvin-location-info__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin-top: 4px;
}
.alvin-location-info__links a {
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--an-orange);
}
.alvin-location-info__links a:hover { text-decoration: underline; }

.alvin-location-info__channels {
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.alvin-location-info__channels li {
	display: flex;
	align-items: center;
	gap: 14px;
}
.alvin-location-info__channels li > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.alvin-location-info__label {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg3, #6d7483);
}
.alvin-location-info__channels a,
.alvin-location-info__wechat-id {
	font-size: 15px;
	font-weight: 700;
	color: var(--fg1);
	font-family: var(--font-body);
	word-break: break-word;
}
.alvin-location-info__channels a {
	transition: color 160ms var(--ease-out);
}
.alvin-location-info__channels a:hover { color: var(--an-orange); }
.alvin-location-info__wechat-id {
	font-family: var(--font-mono);
	font-size: 14px;
	letter-spacing: 0.02em;
}
.alvin-location-info__ico {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(224,90,22,0.1);
	color: var(--an-orange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.alvin-location-info__ico svg { width: 20px; height: 20px; }
.alvin-location-info__ico--email { background: rgba(0,66,108,0.1); color: var(--an-navy); }
.alvin-location-info__ico--whatsapp { background: rgba(37,211,102,0.12); color: #20B858; }
.alvin-location-info__ico--wechat { background: rgba(7,193,96,0.12); color: #07C160; }

.alvin-hours.alvin-hours--stacked {
	margin: 4px 0 0;
	padding: 14px 0 0;
	gap: 6px 20px;
	border-top: 1px dashed var(--border-1);
}
.alvin-hours.alvin-hours--stacked dt {
	font-size: 10.5px;
	letter-spacing: 0.18em;
}
.alvin-hours.alvin-hours--stacked dd {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--fg1);
	font-weight: 600;
}
.alvin-location-info__cta { margin-top: 4px; }
.alvin-location-info--compact { padding: 28px; gap: 20px; }
.alvin-location-info--compact .alvin-location-info__block h3 { font-size: 24px; }
.alvin-location-info--compact .alvin-location-info__ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
}
.alvin-location-info--compact .alvin-location-info__ico svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------------
 *  Social icons row — used in footer, location, and contact aside.
 *  The wrapper is only emitted when at least one platform has a value, so
 *  there's no explicit "hide when empty" CSS; the container just never appears.
 * ---------------------------------------------------------------------------
 */
.alvin-socials {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.alvin-socials__heading {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg2, #9aa0ac);
}

.alvin-socials__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Base circle — selector intentionally specific to beat
   .alvin-site-footer__cols a { display: block; padding: 5px 0; }
   which would otherwise squash the flex centering in the footer. */
.alvin-socials .alvin-socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: rgba(0, 66, 108, 0.08);
	border: 1px solid rgba(0, 66, 108, 0.14);
	color: var(--an-navy, #00426c);
	line-height: 0;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.alvin-socials .alvin-socials__link svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.alvin-socials .alvin-socials__link:hover,
.alvin-socials .alvin-socials__link:focus-visible {
	background: var(--an-orange, #ff8c00);
	border-color: var(--an-orange, #ff8c00);
	color: #fff;
	transform: translateY(-1px);
}

.alvin-socials .alvin-socials__link:focus-visible {
	outline: 2px solid var(--an-orange, #ff8c00);
	outline-offset: 3px;
}

/* Footer variant — sits on dark background. */
.alvin-site-footer__follow { display: flex; flex-direction: column; gap: 14px; }
.alvin-site-footer__follow h4 { margin: 0; }

.alvin-socials--footer .alvin-socials__link {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.alvin-socials--footer .alvin-socials__link:hover,
.alvin-socials--footer .alvin-socials__link:focus-visible {
	background: var(--an-orange, #ff8c00);
	border-color: var(--an-orange, #ff8c00);
	color: #fff;
}

/* Keep the contact aside card flush with the form height */
.alvin-contact-side { display: flex; flex-direction: column; gap: 12px; }
.alvin-contact-side .alvin-location-info { height: 100%; }

/* Visit layout responsive */
@media (max-width: 1100px) {
	.alvin-visit-top,
	.alvin-visit-body,
	.alvin-visit-wayfinding { grid-template-columns: 1fr; }
	.alvin-visit-gallery { min-height: 0; grid-auto-rows: 200px; }
	.alvin-visit-gallery__tile--tall { grid-row: span 1; }
	.alvin-visit-gallery__tile--wide { grid-column: span 2; }
}
@media (max-width: 720px) {
	.alvin-visit-photo,
	.alvin-visit-map,
	.alvin-visit-entrance { aspect-ratio: auto; min-height: 320px; }
	.alvin-visit-photo__inner { padding: 36px 24px 84px; }
	.alvin-visit-photo__title { font-size: 20px; }
	.alvin-visit-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.alvin-visit-wayfinding__card { padding: 28px; }
	.alvin-location-info { padding: 28px; gap: 22px; }
}
