/* ==========================================================================
   Jack Spear: site styles
   Palette: Flight Deck Navy, Jack Blue, Signal Orange, Paper Cream, Stage Black
   Signal Orange is used for the aircraft symbol, route lines and the primary action only.
   ========================================================================== */

:root {
	--js-navy: var(--wp--preset--color--navy, #13283F);
	--js-blue: var(--wp--preset--color--blue, #1556A8);
	--js-orange: var(--wp--preset--color--orange, #F18A32);
	--js-cream: var(--wp--preset--color--cream, #F5F2EB);
	--js-stage: var(--wp--preset--color--stage, #1A2028);
	--js-muted: var(--wp--preset--color--muted, #5A6472);
	--js-display: var(--wp--preset--font-family--display, "Archivo Black", Impact, sans-serif);
	--js-mono: var(--wp--preset--font-family--mono, "IBM Plex Mono", ui-monospace, monospace);
	--js-gutter: clamp(1rem, 4vw, 3rem);
	--js-header-h: 76px;
	--focus: var(--js-blue);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; background: var(--js-cream); }
html.calm { scroll-behavior: auto; }

/* Immersive pages: the page is see-through so the fixed scene shows behind it */
body.is-home,
body.world-aviation,
body.world-comedy,
body.world-mobility { background: transparent; }
html:has(body.is-home),
html:has(body.world-aviation),
html:has(body.world-comedy) { background: var(--js-navy); }
html:has(body.world-mobility) { background: var(--js-cream); }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }

.scene-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	z-index: -1;
	pointer-events: none;
	transition: opacity 0.5s var(--ease);
}

/* Dark contexts: cream text, orange focus rings */
.is-dark,
.hero,
.chapter--aviation,
.chapter--comedy,
.where-next,
.pillar-arrival--aviation,
.pillar-arrival--comedy,
.site-footer,
.mobile-bar,
.menu-sheet {
	--focus: var(--js-orange);
	color: var(--js-cream);
}
.is-dark a:where(:not(.wp-element-button)),
.hero a:where(:not(.wp-element-button)),
.chapter--aviation a:where(:not(.wp-element-button)),
.chapter--comedy a:where(:not(.wp-element-button)),
.where-next a:where(:not(.wp-element-button)),
.site-footer a:where(:not(.wp-element-button)) { color: var(--js-cream); }

:where(a, button, input, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.readout,
.wp-block-post-terms.readout,
.wp-block-post-date {
	font-family: var(--js-mono);
	font-size: 0.75rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	opacity: 0.85;
	margin: 0;
}
.readout a { text-decoration: none; }
.lead { font-size: var(--wp--preset--font-size--large); line-height: 1.5; }
h1, h2, h3 { text-wrap: balance; }
.wp-block-heading { margin-top: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-element-button,
.wp-block-button__link { transition: transform 0.18s var(--ease), background-color 0.18s, color 0.18s, box-shadow 0.18s; }
.wp-block-button:not(.is-style-route):not(.is-style-ghost) .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(241, 138, 50, 0.7); }

.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: currentColor;
	box-shadow: inset 0 0 0 1.5px currentColor;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 2.5px currentColor; }

/* Route link: a text link whose orange route line draws on hover */
.wp-block-button.is-style-route .wp-block-button__link {
	background: transparent;
	color: currentColor;
	padding: 0.4rem 0;
	border-radius: 0;
	position: relative;
	font-weight: 700;
}
.wp-block-button.is-style-route .wp-block-button__link::after,
.route-underline::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--js-orange);
	transform-origin: left;
	transform: scaleX(0.35);
	transition: transform 0.18s var(--ease);
}
.wp-block-button.is-style-route .wp-block-button__link:hover::after,
.wp-block-button.is-style-route .wp-block-button__link:focus-visible::after { transform: scaleX(1); }
.wp-block-button.is-style-route .wp-block-button__link::before { content: "\2192\00a0"; color: var(--js-orange); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	height: var(--js-header-h);
	display: flex;
	align-items: center;
	padding: 0 var(--js-gutter);
	color: var(--js-navy);
	transition: transform 0.35s var(--ease), background-color 0.35s, height 0.35s, box-shadow 0.35s;
}
body.is-home .site-header,
body.world-aviation .site-header,
body.world-comedy .site-header { color: var(--js-cream); --focus: var(--js-orange); }
html.is-scrolled .site-header { height: 56px; background: rgba(245, 242, 235, 0.96); box-shadow: 0 1px 0 rgba(19, 40, 63, 0.08); }
html.is-scrolled body.is-home .site-header,
html.is-scrolled body.world-aviation .site-header,
html.is-scrolled body.world-comedy .site-header { background: rgba(19, 40, 63, 0.94); box-shadow: 0 1px 0 rgba(245, 242, 235, 0.08); }
html.header-hidden .site-header { transform: translateY(-100%); }

.site-header__inner {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
}
.site-header a { color: inherit; text-decoration: none; }
.wordmark {
	font-family: var(--js-display);
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.wordmark img { height: 34px; width: auto; }
.nav-routes, .nav-secondary { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-secondary { justify-self: end; }
.nav-routes a, .nav-secondary a:not(.nav-cta) {
	font-weight: 700;
	font-size: 0.95rem;
	position: relative;
	padding: 0.35rem 0;
}
.nav-routes a::after, .nav-secondary a:not(.nav-cta)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--js-orange);
	transform: scaleX(0); transform-origin: left; transition: transform 0.18s var(--ease);
}
.nav-routes a:hover::after, .nav-routes a[aria-current="page"]::after,
.nav-secondary a:not(.nav-cta):hover::after, .nav-secondary a[aria-current="page"]::after { transform: scaleX(1); }
.nav-routes .num { font-family: var(--js-mono); font-size: 0.68rem; opacity: 0.7; margin-right: 0.35rem; font-weight: 500; }
.nav-cta {
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px currentColor;
}
.nav-cta:hover { box-shadow: inset 0 0 0 2.5px currentColor; }

/* --------------------------------------------------------------------------
   Mini-instrument (docked scene)
   -------------------------------------------------------------------------- */
.mini-instrument {
	position: fixed;
	left: 16px;
	top: calc(var(--js-header-h) + 12px);
	width: 64px;
	height: 64px;
	z-index: 40;
	border-radius: 50%;
	display: block;
	opacity: 0;
	transform: scale(0.6);
	pointer-events: none;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), top 0.35s;
	box-shadow: 0 8px 22px -10px rgba(19, 40, 63, 0.6);
}
html.is-docked .mini-instrument { opacity: 1; transform: none; pointer-events: auto; }
html.is-scrolled .mini-instrument { top: 68px; }
html.header-hidden .mini-instrument { top: 12px; }
.mini-instrument svg { width: 100%; height: 100%; display: block; }
.mini-instrument .instrument__dial { transform: translateY(calc((var(--page-progress, 0) - 0.5) * -70px)); transition: transform 0.2s linear; }

/* --------------------------------------------------------------------------
   Shared layout
   -------------------------------------------------------------------------- */
.wp-site-blocks > main, main.site-main { margin-block-start: 0; }
.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	max-width: 1360px;
	margin-inline: auto;
	padding-inline: var(--js-gutter);
}
.section-pad { padding-block: clamp(4rem, 10vw, 8.5rem); }

/* --------------------------------------------------------------------------
   1. Hero and route selector
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	max-width: none;
	padding: var(--js-header-h) var(--js-gutter) 0;
	overflow: hidden;
	margin: 0 !important;
}
html:not(.scene-on) .hero { background: radial-gradient(120% 90% at 70% 40%, #2c425d 0%, #13283F 55%, #0a1828 100%); }

.hero__copy {
	grid-column: 1 / span 5;
	grid-row: 1;
	align-self: center;
	position: relative;
	z-index: 3;
	padding-block: 2rem 4rem;
}
.hero__copy .hero__title { margin: 1rem 0 1.25rem; font-size: clamp(2.6rem, 5.4vw, 5.25rem); }
.hero__copy .hero__intro { font-size: var(--wp--preset--font-size--large); max-width: 30ch; line-height: 1.45; opacity: 0.92; }
.hero__copy .wp-block-buttons { margin-top: 2rem; }

.hero__stage {
	grid-column: 5 / -1;
	grid-row: 1;
	position: relative;
	min-height: calc(100svh - var(--js-header-h));
	margin: 0 !important;
}
.hero__portrait {
	position: absolute !important;
	left: 2%;
	bottom: 0;
	height: 90%;
	width: 58%;
	margin: 0 !important;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	transform: translate3d(calc(var(--tilt-x, 0) * 4px), calc(var(--tilt-y, 0) * 3px), 0);
	transition: transform 0.6s var(--ease);
}
.hero__portrait img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

.route-selector { position: absolute; inset: 0; }
.route-selector__instrument {
	position: absolute;
	top: 15%;
	left: 58%;
	width: min(76vh, 50vw);
	aspect-ratio: 1;
	transform: translateX(-50%);
	z-index: 1;
}
.route-selector__instrument .instrument-svg { width: 100%; height: 100%; display: block; transition: opacity 0.8s var(--ease); }
html.scene-on .hero .instrument-svg { opacity: 0; }

.route-selector__routes { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.route-selector__routes ol { list-style: none; margin: 0; padding: 0; }
.route-link {
	position: absolute;
	pointer-events: auto;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	text-decoration: none;
	color: var(--js-cream) !important;
	transform: translate(-50%, -100%);
	padding: 0.5rem 0.75rem;
	text-align: center;
	white-space: nowrap;
}
.route-link__num { font-family: var(--js-mono); font-size: 0.7rem; letter-spacing: 0.16em; opacity: 0.8; }
.route-link__name { font-family: var(--js-display); font-size: clamp(1.05rem, 1.6vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.02em; position: relative; }
.route-link__name::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--js-orange);
	transform: scaleX(0.3); transition: transform 0.2s var(--ease);
}
.route-link:hover .route-link__name::after,
.route-link:focus-visible .route-link__name::after { transform: scaleX(1); }
.route-link__line {
	display: block; width: 2px; height: 22px; background: var(--js-orange); margin-top: 6px;
	transform-origin: top; transform: scaleY(0.4); transition: transform 0.2s var(--ease);
}
.route-link:hover .route-link__line, .route-link:focus-visible .route-link__line { transform: scaleY(1); }

/* Arc positions: markers at -30, 0, +30 degrees, just outside the bezel */
.route-selector__instrument ~ .route-selector__routes .route-link--aviation { left: calc(58% - min(76vh, 50vw) * 0.30); top: calc(15% + min(76vh, 50vw) * 0.02); }
.route-selector__instrument ~ .route-selector__routes .route-link--comedy { left: 58%; top: calc(15% - min(76vh, 50vw) * 0.03); }
.route-selector__instrument ~ .route-selector__routes .route-link--mobility { left: calc(58% + min(76vh, 50vw) * 0.30); top: calc(15% + min(76vh, 50vw) * 0.02); }

.tilt-toggle {
	position: absolute; right: var(--js-gutter); bottom: 1.25rem; z-index: 5;
	font: 500 0.72rem/1 var(--js-mono); letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--js-cream); background: rgba(19, 40, 63, 0.7); border: 1px solid rgba(245, 242, 235, 0.35);
	border-radius: 999px; padding: 0.6rem 0.9rem;
}
.tilt-toggle[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Chapters (Aviation, Comedy, Mobility)
   -------------------------------------------------------------------------- */
.chapter {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: center;
	padding: clamp(5rem, 12vh, 8rem) var(--js-gutter);
	margin: 0 !important;
	max-width: none;
}
.chapter__panel {
	grid-column: 1 / span 6;
	position: relative;
	padding: clamp(2rem, 4vw, 3.5rem);
	padding-left: clamp(2.25rem, 4.5vw, 4rem);
	margin: 0 !important;
}
.chapter--comedy .chapter__panel { grid-column: 7 / -1; }

/* The orange route line: draws down the panel edge when the chapter arrives */
.chapter__panel::before {
	content: "";
	position: absolute;
	left: clamp(1rem, 2vw, 1.75rem);
	top: clamp(2rem, 4vw, 3.5rem);
	bottom: clamp(2rem, 4vw, 3.5rem);
	width: 2px;
	background: var(--js-orange);
	transform-origin: top;
	transform: scaleY(0);
	transition: transform 0.6s var(--ease) 0.15s;
}
.chapter__panel.is-in::before, html.calm .chapter__panel::before, html:not(.js) .chapter__panel::before { transform: scaleY(1); }

.chapter--aviation .chapter__panel { background: rgba(19, 40, 63, 0.9); }
.chapter--comedy .chapter__panel { background: rgba(14, 18, 24, 0.93); }
.chapter--mobility .chapter__panel { background: rgba(245, 242, 235, 0.95); color: var(--js-stage); }
.chapter__panel .wp-block-heading { margin: 0.75rem 0 1rem; }
.chapter__panel p { max-width: 54ch; }

/* Fallback worlds when the 3D scene is off (Tier D / Calm mode / loading) */
html:not(.scene-on) .chapter--aviation,
html:not(.scene-on) .pillar-arrival--aviation { background: linear-gradient(180deg, #11468f 0%, #4f86c6 60%, #8db4de 100%); }
html:not(.scene-on) .chapter--comedy,
html:not(.scene-on) .pillar-arrival--comedy { background: radial-gradient(40% 70% at 30% 0%, rgba(255, 238, 205, 0.18) 0%, rgba(255, 238, 205, 0) 70%), #0a0d12; }
html:not(.scene-on) .chapter--mobility,
html:not(.scene-on) .pillar-arrival--mobility { background: linear-gradient(180deg, #f8f4ec 0%, #eee3cf 100%); }
html:not(.scene-on) .where-next { background: radial-gradient(110% 90% at 70% 45%, #3a5675 0%, #13283F 60%, #0d1f35 100%); }

.proof-readouts {
	list-style: none;
	padding: 0;
	margin: 1.75rem 0 2rem !important;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(245, 242, 235, 0.18);
	border: 1px solid rgba(245, 242, 235, 0.18);
}
.proof-readouts li { background: rgba(19, 40, 63, 0.96); padding: 0.9rem 1rem; font-size: 0.92rem; line-height: 1.35; }
.proof-readouts li strong { display: block; font-family: var(--js-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; font-weight: 500; margin-bottom: 0.3rem; }

.chapter-photo { margin: 1.5rem 0 !important; }
.chapter-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.chapter-photo figcaption, .wp-block-image figcaption {
	font-family: var(--js-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-top: 0.6rem; text-align: left;
}

.quote-large { border: 0 !important; padding: 0 !important; margin: 1.5rem 0 !important; }
.quote-large p { font-family: var(--js-display); font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.12; }
.quote-large cite { font-family: var(--js-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; opacity: 0.75; }

.clip-frame {
	margin: 1.5rem 0 !important;
	aspect-ratio: 16 / 9;
	background: #000;
	display: grid;
	place-items: center;
	position: relative;
	overflow: hidden;
}
.clip-frame img { width: 100%; height: 100%; object-fit: cover; }
.clip-frame .wp-block-embed__wrapper, .clip-frame iframe, .clip-frame video { width: 100%; height: 100%; }

.tip-card {
	border-top: 2px solid var(--js-navy);
	padding-top: 1.25rem;
	margin: 1.75rem 0 2rem !important;
}
.tip-card .wp-block-heading { font-family: var(--wp--preset--font-family--body); font-weight: 800; font-size: 1.25rem; margin: 0.35rem 0 0.5rem; letter-spacing: 0; }
.tip-card ol { padding-left: 1.2rem; margin: 0.5rem 0 0; }

/* --------------------------------------------------------------------------
   About (homepage) and reading sections
   -------------------------------------------------------------------------- */
.about-home, .work, .reading {
	background: var(--js-cream);
	color: var(--js-stage);
	margin: 0 !important;
	max-width: none;
	position: relative;
}
.about-home__inner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	max-width: 1360px;
	margin: 0 auto;
	padding: clamp(5rem, 11vw, 9rem) var(--js-gutter);
	align-items: start;
}
.about-home__text { grid-column: 2 / span 5; position: sticky; top: 120px; }
.about-home__text p { font-size: 1.125rem; }
.photo-trio {
	grid-column: 8 / -1;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
	margin: 0 !important;
}
.photo-trio .wp-block-image { margin: 0; }
.photo-trio .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-trio .wp-block-image:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.photo-trio .wp-block-image:nth-child(2) { grid-column: 1 / span 3; aspect-ratio: 3 / 4; }
.photo-trio .wp-block-image:nth-child(3) { grid-column: 4 / -1; aspect-ratio: 3 / 4; margin-top: 3rem; }

/* --------------------------------------------------------------------------
   The work: Grit Up! and Acting
   -------------------------------------------------------------------------- */
.book-feature {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	max-width: 1360px;
	margin: 0 auto !important;
	padding: clamp(3rem, 8vw, 7rem) var(--js-gutter);
	align-items: center;
}
.book-feature__cover { grid-column: 2 / span 4; margin: 0 !important; }
.book-feature__cover img { width: 100%; height: auto; box-shadow: 0 40px 60px -30px rgba(19, 40, 63, 0.55), 0 2px 0 rgba(19, 40, 63, 0.1); transform: rotate(-2deg); }
.book-feature__text { grid-column: 7 / span 5; }
.reader-quote { border-left: 2px solid var(--js-navy); padding-left: 1.25rem; margin: 1.5rem 0 !important; }
.reader-quote p { font-size: 1.15rem; font-style: italic; }
.reader-quote cite { font-family: var(--js-mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--js-muted); }

.letterbox {
	background: var(--js-stage);
	color: var(--js-cream);
	--focus: var(--js-orange);
	padding: clamp(4rem, 9vw, 7rem) var(--js-gutter);
	margin: 0 !important;
	position: relative;
	overflow: hidden;
	max-width: none;
}
.letterbox::before, .letterbox::after {
	content: ""; position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 2;
	transition: transform 0.9s var(--ease); pointer-events: none;
}
.letterbox::before { top: 0; transform-origin: top; }
.letterbox::after { bottom: 0; transform-origin: bottom; }
.letterbox.is-in::before, .letterbox.is-in::after, html.calm .letterbox::before, html.calm .letterbox::after, html:not(.js) .letterbox::before, html:not(.js) .letterbox::after { transform: scaleY(0); }
.letterbox a:where(:not(.wp-element-button)) { color: var(--js-cream); }
.letterbox__inner { max-width: 1240px; margin: 0 auto; }
.letterbox__frame { aspect-ratio: 2.39 / 1; margin: 1.5rem 0 !important; background: #000; overflow: hidden; }
.letterbox__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.letterbox__credits { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }

/* --------------------------------------------------------------------------
   7. Where to next?
   -------------------------------------------------------------------------- */
.where-next {
	min-height: 92vh;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: center;
	padding: clamp(5rem, 12vh, 8rem) var(--js-gutter);
	margin: 0 !important;
	max-width: none;
}
.where-next__panel { grid-column: 1 / span 6; background: rgba(19, 40, 63, 0.9); padding: clamp(2rem, 4vw, 3.5rem); margin: 0 !important; }
.community-links { list-style: none; padding: 0; margin: 1.5rem 0 0 !important; display: grid; gap: 0.35rem; }
.community-links a { text-decoration: none; font-weight: 700; }
.community-links a::before { content: "\2192\00a0"; color: var(--js-orange); }
.community-links a:hover { text-decoration: underline; }
.latest-story { margin-top: 0.75rem !important; font-size: 0.95rem; opacity: 0.9; }

/* Newsletter sign-up ("Jacked Up Weekly") */
.route-signup { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0; max-width: 520px; }
.route-signup label:not(.screen-reader-text) { flex-basis: 100%; font-family: var(--js-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.route-signup input[type="email"],
.route-signup input[type="text"] {
	flex: 1 1 200px;
	min-height: 50px;
	padding: 0 1.1rem;
	border-radius: 999px;
	border: 1.5px solid rgba(245, 242, 235, 0.55);
	background: rgba(245, 242, 235, 0.06);
	color: inherit;
	font: inherit;
}
.reading .route-signup input[type="email"], .site-main .reading .route-signup input[type="email"],
.reading .route-signup input[type="text"], .site-main .reading .route-signup input[type="text"] { border-color: rgba(19, 40, 63, 0.4); background: #fff; }
.route-signup button {
	min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--js-orange); color: var(--js-navy); font: 700 1rem/1 var(--wp--preset--font-family--body);
}
.route-signup__note { flex-basis: 100%; font-size: 0.85rem; opacity: 0.8; margin: 0.25rem 0 0; min-height: 1.2em; }

/* --------------------------------------------------------------------------
   Pillar pages
   -------------------------------------------------------------------------- */
.pillar-arrival {
	min-height: 88vh;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: end;
	padding: calc(var(--js-header-h) + 4rem) var(--js-gutter) clamp(3rem, 8vh, 6rem);
	margin: 0 !important;
	max-width: none;
}
.pillar-arrival__copy { grid-column: 1 / span 6; margin: 0 !important; }
.pillar-arrival--comedy .pillar-arrival__copy { grid-column: 7 / -1; }
.pillar-arrival__copy .wp-block-heading { font-size: clamp(2.6rem, 6vw, 5.25rem); margin: 0.75rem 0 1rem; }
.pillar-arrival--mobility { color: var(--js-stage); }
.pillar-arrival--aviation .pillar-arrival__copy,
.pillar-arrival--comedy .pillar-arrival__copy { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }

.reading .reading__inner, .pillar-body {
	max-width: 1240px;
	margin: 0 auto !important;
	padding: clamp(3.5rem, 8vw, 6.5rem) var(--js-gutter);
}
.pillar-body > * + * { margin-top: clamp(3rem, 7vw, 5.5rem) !important; }
.section-head { display: grid; gap: 0.5rem; margin-bottom: 1.5rem !important; max-width: 720px; }
.section-head .wp-block-heading { margin: 0; }

.signature-module { background: var(--js-navy); color: var(--js-cream); --focus: var(--js-orange); padding: clamp(2rem, 4vw, 3.5rem); }
.signature-module a:where(:not(.wp-element-button)) { color: var(--js-cream); }
.world-mobility .signature-module { background: #fff; color: var(--js-stage); --focus: var(--js-blue); border: 1px solid rgba(19, 40, 63, 0.12); }
.world-mobility .signature-module a:where(:not(.wp-element-button)) { color: var(--js-blue); }

.route-map { list-style: none; margin: 1.5rem 0 0 !important; padding: 0 0 0 1.75rem; position: relative; display: grid; gap: 1.75rem; }
.route-map::before { content: ""; position: absolute; left: 0.45rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--js-orange); }
.route-map li { position: relative; }
.route-map li::before { content: ""; position: absolute; left: -1.62rem; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--js-navy); border: 2px solid var(--js-orange); }
.route-map strong { display: block; font-family: var(--js-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; opacity: 0.8; }

.clip-theatre { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-top: 1.5rem !important; }
.clip-theatre > * { margin: 0 !important; }
.clip-theatre .clip-frame:first-child { grid-row: span 2; }

.tips-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem !important; }
.tips-filter button {
	font: 700 0.9rem/1 var(--wp--preset--font-family--body); padding: 0.65rem 1rem; border-radius: 999px; cursor: pointer;
	background: transparent; color: var(--js-navy); border: 1.5px solid rgba(19, 40, 63, 0.35);
}
.tips-filter button[aria-pressed="true"] { background: var(--js-navy); color: var(--js-cream); border-color: var(--js-navy); }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2rem; }
.tips-grid .tip-card { margin: 0 !important; }
.tips-grid .tip-card[hidden] { display: none; }

.proof-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; border-top: 1px solid rgba(19, 40, 63, 0.15); padding-top: 2rem !important; }
.proof-strip > * { margin: 0 !important; }

.pillar-action {
	display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center;
	background: var(--js-navy); color: var(--js-cream); --focus: var(--js-orange);
	padding: clamp(2rem, 4vw, 3.25rem);
}
.pillar-action > * { margin: 0 !important; }
.pillar-action a:where(:not(.wp-element-button)) { color: var(--js-cream); }

.change-course {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem;
	border-top: 1px solid rgba(19, 40, 63, 0.15);
	padding-top: 1.5rem !important;
}
.change-course > * { margin: 0 !important; }
.change-course a { font-family: var(--js-display); text-transform: uppercase; text-decoration: none; font-size: 1.1rem; color: var(--js-navy); position: relative; }
.change-course a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--js-orange); transform: scaleX(0.3); transform-origin: left; transition: transform 0.2s var(--ease); }
.change-course a:hover::after, .change-course a:focus-visible::after { transform: scaleX(1); }

/* Pillar stories (Journal posts tagged to the pillar) */
.story-list .wp-block-post-template, .journal-list { list-style: none; padding: 0; margin: 0; }
.story-list .wp-block-post, .journal-list .wp-block-post { border-top: 1px solid rgba(19, 40, 63, 0.15); padding: 1.25rem 0; margin: 0; }
.story-item, .journal-item { display: grid; grid-template-columns: 9rem 1fr auto; gap: 0.5rem 1.5rem; align-items: baseline; margin: 0 !important; }
.story-item > *, .journal-item > * { margin: 0 !important; }
.story-item .wp-block-post-title, .journal-item .wp-block-post-title { font-family: var(--wp--preset--font-family--body); font-weight: 800; font-size: 1.25rem; letter-spacing: 0; line-height: 1.3; }
.story-item .wp-block-post-title a, .journal-item .wp-block-post-title a { text-decoration: none; color: var(--js-stage); }
.story-item .wp-block-post-title a:hover, .journal-item .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--js-orange); text-decoration-thickness: 2px; }
.journal-item .wp-block-post-excerpt { grid-column: 2 / 3; color: var(--js-muted); font-size: 0.98rem; }
.journal-item .wp-block-post-excerpt__more-text { display: none; }

/* --------------------------------------------------------------------------
   Reading pages (About, Grit Up!, Acting, Journal, Contact, articles)
   -------------------------------------------------------------------------- */
.page-intro {
	max-width: 1240px;
	margin: 0 auto !important;
	padding: calc(var(--js-header-h) + clamp(3rem, 8vw, 6rem)) var(--js-gutter) clamp(2rem, 5vw, 3.5rem);
	padding-left: max(var(--js-gutter), 104px);
}
.page-intro .wp-block-heading { font-size: clamp(2.4rem, 6vw, 5rem); margin: 0.75rem 0 1rem; max-width: 16ch; }
.page-intro .lead { max-width: 46ch; }
.prose { max-width: 720px; margin-inline: auto !important; padding-inline: var(--js-gutter); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 3rem; }
.prose img { max-width: 100%; height: auto; }

.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(0.75rem, 2vw, 1.5rem); max-width: 1240px; margin: 0 auto !important; padding: 0 var(--js-gutter) clamp(3rem, 8vw, 6rem); padding-left: max(var(--js-gutter), 104px); }
.two-col__main { grid-column: 1 / span 7; margin: 0 !important; }
.two-col__side { grid-column: 9 / -1; margin: 0 !important; }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0 !important; display: grid; gap: 2rem; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-top: 1px solid rgba(19, 40, 63, 0.15); padding-top: 1rem; }
.timeline strong { font-family: var(--js-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--js-muted); }

.facts { list-style: none; padding: 0; margin: 1rem 0 0 !important; display: grid; gap: 1px; background: rgba(19, 40, 63, 0.15); border: 1px solid rgba(19, 40, 63, 0.15); }
.facts li { background: var(--js-cream); padding: 1rem 1.1rem; }
.facts strong { display: block; font-family: var(--js-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--js-muted); margin-bottom: 0.25rem; }

.enquiry-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 !important; }
.enquiry-routes .wp-block-button { width: 100%; margin: 0; }
.enquiry-routes .wp-block-button__link { width: 100%; text-align: left; border-radius: 4px; padding: 1.1rem 1.25rem; }

.journal-filter { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1rem !important; }
.journal-filter a { font-family: var(--js-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--js-navy); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.journal-filter a:hover, .journal-filter a[aria-current="page"] { border-bottom-color: var(--js-orange); }

.article-header { max-width: 820px; margin: 0 auto !important; padding: calc(var(--js-header-h) + clamp(3rem, 7vw, 5rem)) var(--js-gutter) 2rem; }
.article-header .wp-block-post-title { font-size: clamp(2.1rem, 5vw, 3.75rem); margin: 0.75rem 0 1rem; }
.article-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.article-close {
	max-width: 720px; margin: clamp(3rem, 7vw, 5rem) auto !important; padding: 2rem var(--js-gutter) 0;
	border-top: 2px solid var(--js-navy);
}
.wp-block-post-featured-image.article-image { max-width: 1100px; margin: 0 auto 2.5rem !important; padding: 0 var(--js-gutter); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--js-navy);
	position: relative;
	margin: 0 !important;
	padding: clamp(3.5rem, 7vw, 5.5rem) var(--js-gutter) 2rem;
}
.site-footer__inner { max-width: 1360px; margin: 0 auto; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr; gap: 2.5rem; }
.site-footer h2 { font-family: var(--js-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; opacity: 0.75; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--js-orange); text-decoration-thickness: 2px; }
.site-footer .wordmark { font-size: 1.6rem; margin-bottom: 0.75rem; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
	margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(245, 242, 235, 0.15); font-size: 0.85rem; opacity: 0.85;
}
.site-footer__base ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.calm-toggle {
	font: 500 0.75rem/1 var(--js-mono); letter-spacing: 0.12em; text-transform: uppercase;
	background: transparent; color: var(--js-cream); border: 1px solid rgba(245, 242, 235, 0.4); border-radius: 999px; padding: 0.55rem 0.9rem; cursor: pointer;
}
.calm-toggle[aria-pressed="true"] { background: var(--js-cream); color: var(--js-navy); }
.social-links { display: flex !important; gap: 1rem !important; flex-wrap: wrap; margin-top: 1.25rem !important; }

/* --------------------------------------------------------------------------
   Mobile bar and menu sheet
   -------------------------------------------------------------------------- */
.mobile-bar, .menu-sheet { display: none; }

/* --------------------------------------------------------------------------
   Route transition overlay (push through the glass)
   -------------------------------------------------------------------------- */
.route-transition {
	position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0;
	background: var(--js-navy);
	transition: opacity 0.6s var(--ease);
}

/* --------------------------------------------------------------------------
   Reveals: headlines and photographs only. Body copy is never animated.
   -------------------------------------------------------------------------- */
html.js:not(.calm) .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
html.js:not(.calm) .reveal.is-in { opacity: 1; transform: none; }
html.js:not(.calm) .reveal-photo img { clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease); }
html.js:not(.calm) .reveal-photo.is-in img { clip-path: inset(0 0 0 0); }

/* Calm mode and reduced motion: everything in place, short fades only */
html.calm *, html.calm *::before, html.calm *::after { transition-duration: 0.15s !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.15s !important; animation: none !important; scroll-behavior: auto !important; }
	.hero__portrait { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.hero__copy { grid-column: 1 / span 6; }
	.hero__stage { grid-column: 5 / -1; }
	.chapter__panel { grid-column: 1 / span 8; }
	.chapter--comedy .chapter__panel { grid-column: 5 / -1; }
	.where-next__panel { grid-column: 1 / span 8; }
	.about-home__text { grid-column: 1 / span 6; }
	.photo-trio { grid-column: 7 / -1; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
	:root { --js-header-h: 60px; }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.nav-routes, .nav-secondary li:not(.nav-secondary__cta) { display: none; }
	.site-header__inner { grid-template-columns: 1fr auto; }

	.mobile-bar {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: rgba(19, 40, 63, 0.97);
		padding: 0 0 env(safe-area-inset-bottom);
		box-shadow: 0 -1px 0 rgba(245, 242, 235, 0.1);
		transition: transform 0.3s var(--ease);
	}
	html.reading-down .mobile-bar { transform: translateY(100%); }
	.mobile-bar a, .mobile-bar button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
		min-height: 64px; color: var(--js-cream); text-decoration: none; background: none; border: 0; cursor: pointer;
		font: 700 0.82rem/1 var(--wp--preset--font-family--body);
	}
	.mobile-bar .num { font: 500 0.62rem/1 var(--js-mono); letter-spacing: 0.12em; opacity: 0.7; }
	.mobile-bar a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--js-orange); }

	.menu-sheet {
		position: fixed; inset: 0; z-index: 70; background: var(--js-navy); overflow-y: auto;
		padding: 5rem var(--js-gutter) 7rem;
	}
	.menu-sheet.is-open { display: block; }
	.menu-sheet ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.25rem; }
	.menu-sheet a { color: var(--js-cream); text-decoration: none; font-family: var(--js-display); text-transform: uppercase; font-size: 1.75rem; line-height: 1.5; }
	.menu-sheet__close { position: absolute; top: 1rem; right: var(--js-gutter); background: none; border: 1px solid rgba(245, 242, 235, 0.4); color: var(--js-cream); border-radius: 999px; padding: 0.6rem 1rem; font: 500 0.75rem/1 var(--js-mono); letter-spacing: 0.12em; text-transform: uppercase; }

	.mini-instrument { width: 48px; height: 48px; left: 12px; }

	/* Hero: Jack first, the instrument rising behind his shoulders, then the routes as rows */
	.hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "stage" "copy" "routes";
		padding: var(--js-header-h) 0 2rem;
		align-content: start;
	}
	.hero__stage, .route-selector, .route-selector__routes { display: contents; }
	.hero__portrait {
		grid-area: stage;
		position: relative !important;
		left: auto; bottom: auto;
		width: 100%;
		height: 40svh;
		z-index: 2;
		transform: none;
	}
	.route-selector__instrument {
		grid-area: stage;
		position: relative;
		top: auto; left: auto;
		align-self: end;
		justify-self: center;
		width: 96vw;
		transform: translateY(58%);
		z-index: 1;
	}
	.hero__copy { grid-area: copy; padding: 1.5rem var(--js-gutter) 0.5rem; z-index: 3; background: linear-gradient(180deg, rgba(10, 24, 40, 0) 0%, rgba(10, 24, 40, 0.9) 18%, #0d1a2a 100%); }
	.hero__copy .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); margin: 0.5rem 0 0.75rem; }
	.hero__copy .hero__intro { font-size: 1.05rem; }
	.hero__copy { padding-top: 0.5rem; }
	.route-link { padding: 0.8rem 1rem; }
	.hero__copy .wp-block-buttons { margin-top: 1.25rem; }
	.route-selector__routes ol {
		grid-area: routes;
		display: grid;
		gap: 1px;
		background: rgba(245, 242, 235, 0.15);
		margin: 0.5rem var(--js-gutter) 0;
		position: relative;
		z-index: 3;
	}
	.route-link {
		position: relative;
		left: auto !important; top: auto !important;
		transform: none;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: 1rem;
		width: 100%;
		padding: 1.05rem 1rem;
		background: #0d1a2a;
		text-align: left;
	}
	.route-link__name { font-size: 1.2rem; }
	.route-link__line { width: 22px; height: 2px; margin: 0 0 0 auto; transform: none; }
	.hero { min-height: auto; }

	.chapter, .where-next, .pillar-arrival { grid-template-columns: minmax(0, 1fr); padding-inline: 0; min-height: auto; padding-block: 0 4rem; }
	.chapter { padding-top: 40vh; }
	.chapter__panel, .chapter--comedy .chapter__panel, .where-next__panel { grid-column: 1; }
	.where-next { padding-top: 40vh; }
	.pillar-arrival { padding: calc(var(--js-header-h) + 36vh) var(--js-gutter) 3rem; }
	.pillar-arrival__copy, .pillar-arrival--comedy .pillar-arrival__copy { grid-column: 1; }
	.proof-readouts { grid-template-columns: 1fr; }

	.about-home__inner, .book-feature { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
	.about-home__text, .photo-trio, .book-feature__cover, .book-feature__text { grid-column: 1; position: static; }
	.book-feature__cover { max-width: 280px; }

	.two-col { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; padding-left: var(--js-gutter); }
	.two-col__main, .two-col__side { grid-column: 1; }
	.page-intro { padding-left: var(--js-gutter); padding-top: calc(var(--js-header-h) + 4.5rem); }
	.enquiry-routes { grid-template-columns: 1fr; }
	.clip-theatre { grid-template-columns: 1fr; }
	.clip-theatre .clip-frame:first-child { grid-row: auto; }
	.pillar-action { grid-template-columns: 1fr; }
	.story-item, .journal-item { grid-template-columns: 1fr; }
	.journal-item .wp-block-post-excerpt { grid-column: 1; }
	.site-footer__cols { grid-template-columns: 1fr; gap: 2rem; }
	.timeline li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Editor: keep immersive sections readable while editing */
.editor-styles-wrapper .hero,
.editor-styles-wrapper .chapter--aviation,
.editor-styles-wrapper .where-next { background: #13283F; color: var(--js-cream); }
.editor-styles-wrapper .chapter--comedy { background: #0a0d12; color: var(--js-cream); }
.editor-styles-wrapper .chapter--mobility { background: #eee3cf; }
.editor-styles-wrapper .pillar-arrival--aviation { background: #1556A8; color: var(--js-cream); }
.editor-styles-wrapper .pillar-arrival--comedy { background: #0a0d12; color: var(--js-cream); }
.editor-styles-wrapper .pillar-arrival--mobility { background: #eee3cf; }
.editor-styles-wrapper .hero__portrait { position: relative !important; width: 60%; height: auto; }
.editor-styles-wrapper .route-selector { position: relative; min-height: 320px; }
.editor-styles-wrapper .reveal, .editor-styles-wrapper .reveal-photo img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.editor-styles-wrapper .letterbox::before, .editor-styles-wrapper .letterbox::after { display: none; }
.editor-styles-wrapper .mini-instrument { display: none; }

/* --------------------------------------------------------------------------
   Structural resets for block-theme wrappers
   -------------------------------------------------------------------------- */
.wp-site-blocks > * { margin-block-start: 0 !important; }
.site-main > .wp-block-post-content > *,
.site-main > .wp-block-post-content { margin-block: 0; }
.site-header__inner > nav:last-child { justify-self: end; }
.site-header.wp-block-template-part { margin: 0; }
.page-hero-photo { max-width: 1240px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem) !important; padding: 0 var(--js-gutter); padding-left: max(var(--js-gutter), 104px); }
.page-hero-photo img { aspect-ratio: 21 / 9; }
.pillar-action .route-signup input[type="email"],
.pillar-action .route-signup input[type="text"],
.signature-module .route-signup input[type="email"] { background: rgba(245, 242, 235, 0.06) !important; border-color: rgba(245, 242, 235, 0.55) !important; }
.pillar-action__text > * + * { margin-top: 0.75rem; }
.latest-story .wp-block-post-template { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.latest-story__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem; }
.latest-story__item > * { margin: 0 !important; }
.latest-story .wp-block-post-title { font-family: var(--wp--preset--font-family--body); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
.latest-story .wp-block-post-title a { color: var(--js-cream); }
.journal .wp-block-query-pagination { margin-top: 2rem; font-weight: 700; }
.journal-filter-wrap { padding-bottom: 0 !important; padding-top: 0 !important; }
.sample { scroll-margin-top: 100px; }
.prose .wp-block-image img { height: auto; }
.reading .wp-block-search { margin-top: 1.5rem; max-width: 520px; }

.route-link, .route-signup input, .route-signup button { box-sizing: border-box; }
@media (max-width: 899px) { .route-link__name::after { display: none; } }

/* Jacked Up Weekly badge in the newsletter panel */
.newsletter-badge { float: left; width: 128px; margin: 0 1.5rem 1rem 0 !important; }
.newsletter-badge img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.where-next__panel .route-signup { clear: both; }
@media (max-width: 899px) { .newsletter-badge { width: 96px; margin-right: 1rem !important; } }
.route-signup__note.is-error { color: #ffb4a8; }
.reading .route-signup__note.is-error { color: #b3261e; }
.route-signup.is-done input { opacity: 0.6; }

/* Sign-up confirmation card */
.route-signup.is-done > :not(.signup-success) { display: none !important; }
.signup-success {
	flex-basis: 100%;
	position: relative;
	padding: 1.25rem 1.5rem 1.25rem 4.25rem;
	border-radius: 18px;
	border: 2px solid var(--js-orange);
	background: rgba(241, 138, 50, 0.14);
	animation: signup-in 0.45s var(--ease) both;
	outline: none;
}
.signup-success::before {
	content: "\2713";
	position: absolute;
	left: 1.25rem;
	top: 1.3rem;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--js-orange);
	color: var(--js-navy);
	font: 700 1.15rem/2.1rem var(--wp--preset--font-family--body);
	text-align: center;
}
.signup-success__title { font-family: var(--js-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.15; margin: 0 0 0.35rem !important; }
.signup-success__text { margin: 0 !important; font-size: 1rem; line-height: 1.5; opacity: 0.92; }
@keyframes signup-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Photos follow their own shape (portrait or landscape), never cropped.
   Tall photos are capped so they never fill more than about two-thirds of the screen.
   -------------------------------------------------------------------------- */
.chapter-photo img,
.page-hero-photo img,
.photo-trio .wp-block-image img,
.clip-frame:not(:has(iframe, video)) img {
	aspect-ratio: auto !important;
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: min(68vh, 620px);
	object-fit: contain;
	display: block;
	margin-inline: auto;
}
.chapter-photo, .page-hero-photo { text-align: center; }
.chapter-photo figcaption, .page-hero-photo figcaption { text-align: left; }

/* About trio: each photo keeps its own shape; the layout adapts around them */
.photo-trio { align-items: start; }
.photo-trio .wp-block-image:nth-child(n) { aspect-ratio: auto; }
.photo-trio .wp-block-image img { max-height: 520px; }

/* Comedy clip box: a black 16:9 frame only when it holds a video; a photo keeps its own shape */
.clip-frame:not(:has(iframe, video)) { aspect-ratio: auto; background: transparent; display: block; }
