/* PRN Motorsport — theme styles. Layout, colours and type are fixed here by design. */

:root {
	--red: #ec3013; --red-h: #ff5330; --coral: #ff6a4d; --salmon: #ff9783; --maroon: #8f0e00;
	--ink: #f4f3f2; --soft: #d9d6d4; --muted: #c0bcba; --grey: #9c9894;
	--bg: #1a1b1d; --bg2: #232528; --card: #2a2c30; --deep: #141517; --line: rgba(255,255,255,.13);
	--font: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Changa One", "Ubuntu", sans-serif;
	--gutter: clamp(20px, 4vw, 48px);
	--sec: clamp(56px, 7vw, 96px);
	--ease: cubic-bezier(.22,.61,.36,1);
	--hdr: 76px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--sec) 0; }
.section--bg { background: var(--bg); }
.section--alt { background: var(--bg2); }
html { scroll-padding-top: var(--hdr); }

.kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--coral); line-height: 1.4; margin-bottom: 14px; }
.kicker--salmon { color: var(--salmon); }
.kicker--grey { color: var(--grey); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; color: var(--ink); text-wrap: balance; }
.lede { font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 56ch; margin-top: 14px; text-wrap: pretty; }
.muted { font-size: 16px; color: var(--muted); text-wrap: pretty; }

.sec-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 24px; align-items: end; margin-bottom: clamp(26px, 3.5vw, 44px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.split--center { align-items: center; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border-radius: 8px; border: 2px solid transparent;
	font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s var(--ease); }
.btn .prn-ico { flex: none; }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-h); color: #fff; }
.btn--outline { background: rgba(0,0,0,.18); border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: #201e1d; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--deep); border-color: var(--ink); }
.btn--white { background: #fff; color: var(--maroon); }
.btn--white:hover { background: var(--card); color: #fff; }
.btn--sm { padding: 11px 16px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.prn-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.prn-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events: none; transition: opacity .3s ease; }
.admin-bar .prn-header { top: 32px; }
.prn-header.is-scrolled, .prn-header.is-open { background: var(--card); box-shadow: 0 2px 18px rgba(0,0,0,.6); }
.prn-header.is-scrolled::before, .prn-header.is-open::before { opacity: 0; }
.prn-header__row { position: relative; display: flex; align-items: center; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
.prn-logo { display: block; flex: none; }
.prn-logo img { height: 55px; width: auto; }
.prn-nav { margin-left: auto; }
.prn-nav__list { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.prn-nav__list a { position: relative; display: block; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; transition: color .25s ease; }
.prn-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.prn-nav__list a:hover { color: var(--red); }
.prn-nav__list a:hover::after { transform: scaleX(1); }
.prn-burger, .prn-header__balance { display: none; }
.prn-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(0,0,0,.66); }

@media (max-width: 1024px) {
	.prn-header__row { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
	.prn-burger { display: inline-flex; position: relative; flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 0; }
	.prn-burger span, .prn-burger::before, .prn-burger::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s ease; }
	.prn-burger span { top: 19px; }
	.prn-burger::before { top: 11px; }
	.prn-burger::after { top: 27px; }
	.prn-header.is-open .prn-burger span { opacity: 0; }
	.prn-header.is-open .prn-burger::before { transform: translateY(8px) rotate(45deg); }
	.prn-header.is-open .prn-burger::after { transform: translateY(-8px) rotate(-45deg); }
	.prn-header__balance { display: block; flex: none; width: 40px; height: 40px; }
	.prn-logo { flex: 1; display: flex; justify-content: center; }
	.prn-logo img { height: 52px; }
	.prn-nav { position: fixed; left: 0; top: var(--hdr-bottom, 72px); bottom: 0; width: min(82vw, 330px); margin: 0; background: var(--card); padding: 12px 24px 24px;
		overflow-y: auto; box-shadow: 12px 0 40px rgba(0,0,0,.6); transform: translateX(-105%); transition: transform .34s var(--ease); z-index: 40; }
	.prn-header.is-open .prn-nav { transform: none; }
	.prn-nav__list { flex-direction: column; gap: 0; }
	.prn-nav__list a { font-size: 18px; padding: 16px 0; }
	.prn-nav__list a::after { display: none; }
	.prn-scrim { top: var(--hdr-bottom, 72px); }
}
@media (max-width: 782px) { .admin-bar .prn-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .prn-header { top: 0; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--bg); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(88vh, 800px); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 40%; }
.hero__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(26,27,29,0) 62%, var(--bg) 100%); }
.hero__inner { position: relative; padding-top: 120px; padding-bottom: 48px; }
.hero__copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); text-align: right; }
.hero__title { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 400; letter-spacing: normal; text-transform: none; }
.hero__copy strong { font-weight: 700; }
.hero__rule { width: 2px; align-self: stretch; min-height: 52px; background: rgba(255,255,255,.85); }
.hero__cta { padding: 16px 26px; font-size: 15px; }
@media (max-width: 767px) {
	.hero { min-height: 0; aspect-ratio: 2 / 3; }
	.hero__fade { background: linear-gradient(180deg, rgba(26,27,29,0) 42%, var(--bg) 100%); }
	.hero__inner { padding-top: 0; padding-bottom: 28px; }
	.hero__copy { flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 16px; }
	.hero__title { font-size: clamp(14px, 4.2vw, 17px); }
	.hero__rule { display: none; }
	.hero__cta { padding: 13px 18px; font-size: 13.5px; }
}

/* ── Badges ───────────────────────────────────────────────────────────── */
.badges { background: var(--bg); }
.badges__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(12px, 7.5vw, 124px); padding-top: clamp(32px, 4.2vw, 58px); padding-bottom: clamp(12px, 1.4vw, 20px); }
/* Laurel artwork comes from the theme; the text is typed in the Homepage form. */
.badge { flex: none; width: clamp(110px, 11vw, 150px); height: clamp(110px, 11vw, 150px); background-position: center; background-size: contain; background-repeat: no-repeat;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 clamp(24px, 2.4vw, 33px); color: #fff; }
.badge__num { font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.05; letter-spacing: -.01em; }
.badge__label { margin-top: 4px; font-size: clamp(8.5px, .78vw, 10.5px); font-weight: 500; line-height: 1.2; }
@media (max-width: 767px) {
	.badges__row { gap: 14px 2.5vw; }
	.badge { width: 27vw; height: 27vw; max-width: 140px; max-height: 140px; padding: 0 5.6vw; }
	.badge__num { font-size: clamp(15px, 5vw, 26px); }
	.badge__label { font-size: clamp(8px, 2.1vw, 10px); }
}

/* ── What you get ─────────────────────────────────────────────────────── */
.why__intro { margin-bottom: clamp(28px, 4.5vw, 60px); }
.why__photo img { width: 100%; height: clamp(260px, 28vw, 400px); object-fit: cover; }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.why-card { display: flex; flex-direction: column; gap: 14px; }
.why-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg2); }
.why-card__media img { width: 100%; height: 100%; object-fit: cover; }
.why-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,27,29,0) 40%, rgba(26,27,29,.62) 72%, rgba(26,27,29,.96) 100%); }
.why-card__media h3 { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-size: 20px; line-height: 1.15; color: #fff; font-weight: 700; text-wrap: balance; }
.why-card p { font-size: 16px; color: var(--muted); }
@media (max-width: 1024px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.why__intro .why__photo { order: -1; }
	.why__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.why-card, .why-card__media h3 { text-align: center; }
}

/* ── Programs: date tiles ─────────────────────────────────────────────── */
.dt-stage { position: relative; margin-bottom: 18px; }
.dt-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px; scroll-padding-inline: 2px; }
.dt-row::-webkit-scrollbar { display: none; }
.dt-stage .pc-arrow { top: 50%; }
.dt-stage.is-static .pc-arrow { display: none; }
.dt-tile { flex: none; width: 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 2px solid rgba(255,255,255,.08);
	color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .25s ease, background-color .25s ease, opacity .25s ease; }
.dt-tile:focus { outline: none; }
.dt-tile:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (hover: hover) { .dt-tile:not([aria-selected="true"]):hover { border-color: rgba(255,255,255,.28); } }
.dt-tile[aria-selected="true"] { border-color: var(--red); background: rgba(236,48,19,.14); }
.dt-top { display: flex; align-items: center; justify-content: space-between; }
.dt-mon { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--coral); }
.dt-dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf5f; box-shadow: 0 0 0 4px rgba(47,191,95,.16); }
.dt-day { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; line-height: 1.15; }
.dt-city { font-size: 15px; color: var(--soft); }
.dt-status { margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8ee0a6; }
.dt-tile--upcoming .dt-dot { background: #e0b340; box-shadow: 0 0 0 4px rgba(224,179,64,.16); }
.dt-tile--upcoming .dt-status { color: #f0cc72; }
/* Not bookable: sold out, running now (bookings closed) or completed. */
.dt-tile--sold, .dt-tile--closed, .dt-tile--done { opacity: .5; }
.dt-tile--sold .dt-mon, .dt-tile--sold .dt-status, .dt-tile--closed .dt-mon, .dt-tile--closed .dt-status, .dt-tile--done .dt-mon, .dt-tile--done .dt-status { color: var(--grey); }
.dt-tile--sold .dt-dot, .dt-tile--closed .dt-dot, .dt-tile--done .dt-dot { background: #6b6866; box-shadow: none; }
.dt-tile--sold[aria-selected="true"], .dt-tile--closed[aria-selected="true"], .dt-tile--done[aria-selected="true"] { opacity: .78; border-color: var(--grey); background: rgba(255,255,255,.05); }
@media (max-width: 767px) {
	.dt-stage { margin-bottom: 10px; }
	.dt-stage .pc-arrow { display: none; }
	.dt-row { gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
	.dt-tile { width: 136px; padding: 12px 14px; }
	.dt-day { font-size: 24px; }
	.dt-city { font-size: 14px; }
	.dt-status { letter-spacing: .05em; }
	/* Phones: the tile shows just the city; the venue and days sit in a bar below. */
	.dt-city--full { display: none; }
	.dt-city--short { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pc-where { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; background: var(--card); }
	.pc-where .prn-ico { flex: none; color: var(--red); }
	.pc-where__venue { font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--ink); }
	.pc-where__meta { margin-top: 2px; font-size: 14px; color: var(--muted); }
}
@media (min-width: 768px) { .dt-city--short, .pc-where { display: none; } }

/* ── Programs: card rail ──────────────────────────────────────────────── */
.pc-stage { position: relative; }
.pc-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
	padding: 14px 12px 18px; margin: 0 -12px; align-items: stretch; }
.pc-rail::-webkit-scrollbar { display: none; }
.pc-stage.is-static .pc-rail { justify-content: center; }
.pc-card { flex: 0 0 calc((100% - 48px) / 3); height: var(--pc-h, auto); scroll-snap-align: start; perspective: 1400px; display: flex; }
/* "Not sure which level" as the last card (desktop and tablet). */
.pc-helpcard { --help-red: #a8281a; position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px;
	padding: 28px 24px; border-radius: 14px; background: var(--help-red); color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.55); }
/* Photo fills the space under the button and fades into the red at its top edge. */
.pc-helpcard__media { position: relative; flex: 1 1 170px; min-height: 170px; margin: auto -24px -28px; }
.pc-helpcard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.pc-helpcard__media::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, var(--help-red) 0%, rgba(168,40,26,.75) 30%, rgba(168,40,26,.25) 65%, rgba(168,40,26,0) 100%); }
.pc-helpcard__head { display: flex; align-items: center; gap: 16px; }
.pc-helpcard .pc-help__ico { width: 52px; height: 52px; border-radius: 12px; }
.pc-helpcard .pc-title { color: #fff; font-size: 26px; }
.pc-helpcard p { font-size: 17px; line-height: 1.6; }
.pc-helpcard__btn { justify-content: space-between; padding: 16px 20px; }
@media (min-width: 768px) { .pc-foot .pc-help { display: none; } }
@media (max-width: 767px) { .pc-card--help { display: none; } }
.pc-flip { position: relative; flex: 1; display: flex; }
.pc-face { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: 14px; background: var(--card); box-shadow: 0 6px 24px rgba(0,0,0,.55);
	backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s var(--ease); }
.pc-front { flex: 1; }
.pc-back { position: absolute; inset: 0; transform: rotateY(180deg); overflow-y: auto; gap: 16px; }
.pc-card.is-flipped .pc-front { transform: rotateY(-180deg); }
.pc-card.is-flipped .pc-back { transform: rotateY(0deg); }
.pc-panel--sold .pc-card, .pc-panel--closed .pc-card, .pc-panel--done .pc-card,
.pc-panel--sold .pc-where, .pc-panel--closed .pc-where, .pc-panel--done .pc-where { filter: grayscale(1); opacity: .6; }
.pc-head { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.pc-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; background: rgba(236,48,19,.16); color: var(--red); display: flex; align-items: center; justify-content: center; }
.pc-level { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.pc-title { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--ink); }
.pc-desc { flex: 1; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.pc-meta { display: grid; gap: 8px; font-size: 15px; color: var(--soft); }
.pc-meta li { display: flex; align-items: flex-start; gap: 10px; }
.pc-meta .prn-ico { flex: none; color: var(--grey); margin-top: 3px; }
.pc-price { border-top: 2px solid rgba(255,255,255,.18); padding-top: 14px; display: grid; gap: 6px; }
.pc-prow { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--grey); }
.pc-pnow { margin-left: auto; font-size: 18px; font-weight: 700; color: var(--ink); }
.pc-pwas { font-size: 14px; color: #8e8a87; }
.pc-price--single .pc-plab { order: 3; }
.pc-price--single .pc-pnow { order: 1; margin-left: 0; font-size: 32px; line-height: 1; }
.pc-price--single .pc-pwas { order: 2; }
.pc-flipbtn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 20px; border-radius: 8px; border: 2px solid rgba(255,255,255,.3);
	background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	transition: background-color .28s ease, border-color .28s ease, color .28s ease; }
.pc-flipbtn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pc-flipbtn--back { justify-content: center; margin-top: auto; }
.pc-backtop { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pc-backtop .kicker { margin: 0; }
.pc-backtitle { font-family: var(--display); font-size: 22px; line-height: 1.15; color: var(--ink); }
.pc-points { display: grid; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--soft); align-content: start; }
.pc-points li { position: relative; padding-left: 24px; }
.pc-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border: 2px solid var(--red); border-radius: 50%; }
.pc-arrow { position: absolute; top: 45%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
	background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.5); transition: background-color .25s ease, opacity .25s ease; }
.pc-arrow:hover { background: var(--red-h); }
.pc-arrow--prev { left: -22px; }
.pc-arrow--next { right: -22px; }
.pc-arrow[disabled] { opacity: .3; pointer-events: none; }
.pc-stage.is-static .pc-arrow { display: none; }
.pc-empty { padding: 28px; border-radius: 12px; background: var(--card); color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .pc-face { transition: none; } .pc-rail { scroll-behavior: auto; } }
@media (max-width: 1024px) { .pc-card { flex-basis: calc((100% - 24px) / 2); } .pc-arrow--prev { left: -12px; } .pc-arrow--next { right: -12px; } }
@media (max-width: 767px) {
	.pc-stage { margin: 0 calc(-1 * var(--gutter)); }
	.pc-rail { margin: 0; gap: 16px; padding: 12px 28px 16px; scroll-padding-inline: 28px; }
	.pc-card { flex: 0 0 calc(100vw - 56px); scroll-snap-align: center; }
	.pc-face { padding: 24px 18px 20px; }
	.pc-arrow { width: 40px; height: 40px; margin-top: -20px; }
	.pc-arrow--prev { left: 6px; }
	.pc-arrow--next { right: 6px; }
}

/* Under the cards */
.pc-foot { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 36px; }
.pc-help { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border-radius: 12px; background: #b31200; color: #fff; }
.pc-help__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.pc-help__text { flex: 1; min-width: 0; font-size: 15px; }
.pc-help__title { font-weight: 700; font-size: 16px; }
.pc-help .btn { flex: none; }
@media (max-width: 767px) {
	.pc-foot { margin-top: 24px; }
	.pc-book { display: none; }
	.pc-help { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Included and rentals ─────────────────────────────────────────────── */
.inc__grid { align-items: stretch; }
.inc__photo img { width: 100%; height: 100%; min-height: clamp(240px, 26vw, 360px); object-fit: cover; }
.ticks { display: grid; gap: 10px; font-size: 16px; color: var(--soft); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .prn-ico { flex: none; color: var(--red); }
.ticks--top li { align-items: flex-start; gap: 12px; }
.ticks--top .prn-ico { margin-top: 5px; }
.ticks--sm { gap: 8px; color: var(--muted); }
.inc__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; margin-top: 24px; color: var(--ink); }
.note { margin-top: 24px; padding: 14px 16px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.note--outline { border: 2px solid rgba(255,255,255,.28); }
.note--inline { display: flex; align-items: flex-start; gap: 12px; }
.note--inline .prn-ico { flex: none; color: var(--red); margin-top: 1px; }
.rent { margin-top: clamp(28px, 4vw, 56px); }
.rent .kicker { color: var(--grey); }
.rent__label { color: var(--ink); }
.rent__intro { margin: 0 0 18px; max-width: 70ch; font-size: 16px; line-height: 1.55; color: var(--soft); }
.rent__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.rent-item { display: flex; align-items: center; gap: 14px; min-width: 0; background: var(--card); border-radius: 12px; padding: 12px 14px; }
.rent-item__img { flex: none; width: 76px; height: 66px; }
.rent-item__img img { width: 100%; height: 100%; object-fit: contain; }
.rent-item__text { min-width: 0; flex: 1; }
.rent-item__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.rent-item__price { font-size: 20px; font-weight: 700; color: var(--coral); }
.rent__travel { margin-top: 18px; font-size: 16px; color: var(--grey); }
@media (max-width: 767px) {
	.split.inc__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	/* Mobile order: label, heading, photo, list, helmet note. */
	.inc__grid > div:first-child { display: contents; }
	.inc__grid .kicker { order: 1; }
	.inc__grid .h2 { order: 2; }
	.inc__photo { order: 3; margin-top: 20px; }
	.inc__list { order: 4; }
	.inc__grid .note { order: 5; }
	.inc__photo img { min-height: 0; aspect-ratio: 16 / 11; }
}

/* ── Gallery: repeating 5-photo pattern ──────────────────────────────── */
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 15vw, 210px); gap: clamp(10px, 1.2vw, 16px); grid-auto-flow: dense; }
.gal-cell { display: block; cursor: zoom-in; position: relative; overflow: hidden; background: var(--bg); transition: transform .35s var(--ease); }
.gal-cell img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .gal-cell:hover { transform: scale(1.02); } }
.gal-cell:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gal-cell:nth-child(5n+4) { grid-column: span 2; }
.gal-cell:nth-child(5n) { grid-column: span 4; }
@media (max-width: 767px) {
	.gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 34vw; gap: 10px; }
	.gal-cell:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
	.gal-cell:nth-child(5n+4), .gal-cell:nth-child(5n) { grid-column: span 2; grid-row: auto; }
}

/* ── Coaches ──────────────────────────────────────────────────────────── */
.chief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.chief__photo { position: relative; }
.chief__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.chief__plate { position: absolute; right: -8px; bottom: -8px; display: grid; gap: 2px; padding: 16px 20px; background: var(--red); color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.chief__num { font-weight: 700; font-size: 40px; line-height: 1; }
.chief__plabel { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.chief__body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.chief__body .kicker { margin-bottom: 8px; }
.chief__name { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; font-weight: 700; }
.chief__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { min-width: 0; padding: 14px; background: var(--card); border-top: 2px solid var(--red); }
.stat__num { font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1; }
.stat__label { margin-top: 6px; font-size: clamp(10px, 1.05vw, 12px); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); line-height: 1.25; overflow-wrap: anywhere; }
.chief__press { margin-top: 16px; }
.chief__press .kicker { margin-bottom: 12px; }
.press { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: center; }
.press__logo { width: 100%; height: 34px; object-fit: contain; opacity: .85; }
.team { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.team::-webkit-scrollbar { display: none; }
.coach { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); min-width: 0; }
.coach__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.coach__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.92) 100%); }
.coach__photo h3 { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; font-size: 24px; line-height: 1.1; color: #fff; font-weight: 700; }
.coach .ticks { padding: 16px; }
@media (max-width: 1024px) { .team { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 767px) {
	.chief { grid-template-columns: minmax(0, 1fr); }
	.chief__plate { right: 0; bottom: 0; padding: 10px 14px; }
	.chief__num { font-size: 28px; }
	.chief__plabel { font-size: 10px; }
	.chief__stats { gap: 8px; }
	.stat { padding: 12px 10px; }
	.press { gap: 12px; }
	.press__logo { height: 26px; }
	.team { grid-auto-columns: 82%; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* ── Testimonials ─────────────────────────────────────────────────────── */
.tst-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.tst-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tst-video { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--card); cursor: pointer; }
.tst-video img { width: 100%; height: 100%; object-fit: cover; }
.tst-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tst-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(236,48,19,.92); color: #fff;
	display: flex; align-items: center; justify-content: center; transition: transform .28s var(--ease), background-color .28s ease; }
.tst-video:hover .tst-play { transform: scale(1.12); background: var(--red); }
.tst-card p { font-size: 16px; line-height: 1.55; color: var(--soft); }
.tst-name { margin-top: 10px; font-weight: 700; font-size: 16px; }
.tst-prog { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 2px; }
@media (max-width: 1024px) { .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Corporate ────────────────────────────────────────────────────────── */
.corp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.corp__cell { aspect-ratio: 4 / 3; overflow: hidden; }
.corp__cell img { width: 100%; height: 100%; object-fit: cover; }

/* ── Follow band ──────────────────────────────────────────────────────── */
.socials { position: relative; overflow: hidden; background: var(--deep); }
.socials__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.socials::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.socials::before { background: rgba(20,21,23,.72); }
.socials__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.socials__inner .kicker { margin: 0; }
.socials__inner .btn-row { justify-content: center; margin-top: 20px; }

/* ── Red banner ───────────────────────────────────────────────────────── */
.enroll { background: var(--red); color: #fff; padding: var(--sec) 0; }
.enroll__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: end; }
.enroll__heading { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 88px); line-height: .98; text-wrap: balance; }
.enroll__text { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; margin-bottom: 28px; max-width: 480px; }
@media (max-width: 767px) { .enroll__btn { display: none; } }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq__side { display: flex; flex-direction: column; min-width: 0; position: sticky; top: calc(var(--hdr) + 24px); }
.faq__side .h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.faq__photo { display: block; flex: none; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--hdr) - 200px); min-height: 280px; position: relative; overflow: hidden; }
.faq__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq__list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 17px; color: var(--ink); transition: color .22s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--coral); }
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; margin-top: 4px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 2.4px; border-radius: 2px; background: var(--red); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0deg); }
.faq.is-closing .faq__icon::after { transform: rotate(90deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 70ch; }
@media (max-width: 900px) {
	.faq__grid { grid-template-columns: minmax(0, 1fr); }
	.faq__side { position: static; }
	.faq__photo { aspect-ratio: auto; height: 56vw; min-height: 0; max-height: none; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.prn-footer { background: var(--deep); color: var(--ink); }
.prn-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(44px, 6vw, 80px); padding-bottom: 32px; }
.prn-footer__logo img { height: 72px; width: auto; margin-bottom: 16px; }
.prn-footer__brand p { font-size: 16px; color: var(--muted); max-width: 320px; }
.prn-footer__social { display: flex; gap: 6px; margin-top: 16px; margin-left: -10px; }
.prn-footer__social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; }
.prn-footer__social a:hover, .prn-footer__contact a:hover { color: var(--salmon); }
.prn-footer__label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: 16px; }
.prn-footer__links { display: grid; gap: 10px; font-size: 16px; }
.prn-footer__links a { color: #fff; text-decoration: none; }
.prn-footer__links a:hover { color: var(--salmon); }
.prn-footer__contact { display: grid; gap: 12px; font-size: 16px; color: var(--muted); }
.prn-footer__contact li, .prn-footer__contact a { display: flex; align-items: flex-start; gap: 12px; color: #fff; text-decoration: none; }
.prn-footer__contact li > span { color: var(--muted); }
.prn-footer__contact .prn-ico { flex: none; color: #fff; margin-top: 2px; }
.prn-footer__bottom { border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; color: var(--grey); }
.prn-footer__bottom .wrap { padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 1024px) { .prn-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.prn-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.prn-footer__logo img { height: 64px; }
	.prn-footer__bottom .wrap { padding-bottom: 96px; }
}

/* ── Mobile WhatsApp bar ──────────────────────────────────────────────── */
.prn-fab { display: none; }
@media (max-width: 767px) {
	.prn-fab { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px 12px; background: var(--bg); border-top: 1px solid rgba(255,255,255,.12);
		box-shadow: 0 -10px 30px rgba(0,0,0,.45); transform: translateY(110%); transition: transform .34s var(--ease); }
	.prn-fab.is-visible { transform: none; }
	.prn-fab .btn { padding: 15px 20px; font-size: 15px; }
}

/* ── Mobile section rhythm ────────────────────────────────────────────── */
@media (max-width: 767px) {
	.section { padding: 48px 0; }
	.split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.sec-head { margin-bottom: 26px; gap: 12px; }
}

/* ── Scroll reveal (content stays visible without JS) ─────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Pages not yet rebuilt ────────────────────────────────────────────── */
.prn-legacy { padding-top: 84px; min-height: 60vh; }

/* ── Testimonial video viewer ─────────────────────────────────────────── */
.prn-no-scroll, .prn-no-scroll body { overflow: hidden; }
/* Photo viewer (gallery) */
.prn-viewer { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-rows: auto minmax(0, 1fr); background: rgba(8,8,9,.96); opacity: 0; transition: opacity .22s ease; }
.prn-viewer.is-open { opacity: 1; }
.prn-viewer[hidden] { display: none; }
.prn-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(12px, 2vw, 24px); }
.prn-viewer__count { font-size: 14px; letter-spacing: .12em; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.prn-viewer__stage { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 7vw, 104px) clamp(16px, 4vh, 40px); touch-action: pan-y; }
.prn-viewer__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: opacity .2s ease; }
.prn-viewer__img.is-loading { opacity: 0; }
.prn-viewer__btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.prn-viewer__btn:hover, .prn-viewer__btn:focus-visible { background: var(--red); outline: none; }
.prn-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.prn-viewer__prev { left: clamp(10px, 2vw, 32px); }
.prn-viewer__next { right: clamp(10px, 2vw, 32px); }
.prn-viewer.is-single .prn-viewer__nav { display: none; }
.gal-cell:focus-visible, .ms-gal__cell:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 767px) {
	.prn-viewer__stage { padding: 0 0 84px; }
	.prn-viewer__nav { top: auto; bottom: 20px; transform: none; }
	.prn-viewer__prev { left: calc(50% - 60px); }
	.prn-viewer__next { right: calc(50% - 60px); }
}
.prn-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; background: rgba(10,10,11,.94); }
.prn-lightbox[hidden] { display: none; }
.prn-lightbox__frame { position: relative; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.prn-lightbox__frame--tall { height: min(calc(100vh - 96px), calc((100vw - 32px) * 16 / 9)); aspect-ratio: 9 / 16; }
.prn-lightbox__frame--wide { width: min(calc(100vw - 32px), calc((100vh - 96px) * 16 / 9), 1280px); aspect-ratio: 16 / 9; }
.prn-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prn-lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.prn-lightbox__close:hover { background: var(--red); }

/* ══ Inner pages (Motorsport, Contact) ═══════════════════════════════════ */
.section--deep { background: var(--deep); }
.h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; color: var(--ink); text-wrap: balance; }
.h2--sm { font-size: clamp(26px, 2.8vw, 38px); }
.lede--lg { font-size: clamp(16px, 1.3vw, 19px); max-width: 600px; margin-top: 18px; }
.page-top { padding-top: calc(var(--hdr) + 40px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--coral); }
.text-link:hover { color: var(--red); }
.btn--on-red { background: transparent; }
.btn--on-red:hover { background: #fff; color: #ae1800; }
.enroll .btn-row { margin-top: 0; }

/* Full-screen banner under the transparent header */
.page-banner { position: relative; background: #08080a; height: 100vh; min-height: 340px; overflow: hidden; }
.page-banner picture, .page-banner img { display: block; width: 100%; height: 100%; }
.page-banner img { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 767px) {
	.page-banner { height: auto; min-height: 0; aspect-ratio: 2 / 3; }
	/* No portrait banner: show the wide one at full width, below the header. */
	.page-banner--wide-mobile { aspect-ratio: auto; padding-top: var(--hdr); }
	.page-banner--wide-mobile img { height: auto; aspect-ratio: 16 / 9; }
}

/* Motorsport intro + numbers */
.ms-intro__photo img { width: 100%; height: clamp(280px, 32vw, 420px); object-fit: cover; }

/* Feature rows (photo + text, alternating) */
.disc-list { display: grid; gap: clamp(32px, 4vw, 56px); }
.disc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.disc-row--flip .disc-row__media { order: 2; }
.disc-row__media { position: relative; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--card); }
.disc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.disc-row__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(236,48,19,.55);
	background: radial-gradient(circle at 50% 45%, rgba(236,48,19,.14), rgba(0,0,0,0) 60%), var(--card); }
.disc-row__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.disc-row__kicker .prn-ico { color: var(--red); }
.disc-row__title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; font-weight: 700; margin-bottom: 16px; text-wrap: balance; }
.disc-row__text p { font-size: 16.5px; color: var(--soft); max-width: 60ch; text-wrap: pretty; }
@media (max-width: 767px) {
	/* Phones: each area's label and title first, then its photos, then the text. */
	.disc-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.disc-row__text { display: contents; }
	.disc-row__kicker, .disc-row__title { order: -1; }
	.disc-row--flip .disc-row__media { order: 0; }
	.disc-row__media { margin-bottom: 20px; }
	.disc-row__text > .text-link { justify-self: start; }
	/* Intro: heading first, then the photo, then the text and buttons. */
	.ms-intro .split { gap: 0; }
	.ms-intro__text { display: contents; }
	.ms-intro__text > .lede, .ms-intro__text > .btn-row { order: 1; }
	.ms-intro__photo { margin-top: 22px; }
}

/* Race weekends gallery */
.ms-gal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.ms-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.ms-gal__cell { display: block; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; transition: transform .34s var(--ease); }
.ms-gal__cell img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .ms-gal__cell:hover { transform: scale(1.02); } }
@media (max-width: 767px) { .ms-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Contact */
.page-hero { position: relative; overflow: hidden; background: #08080a; padding: calc(var(--hdr) + clamp(40px, 5vw, 72px)) 0 clamp(48px, 6vw, 80px); }
.page-hero__inner { position: relative; z-index: 1; }
.page-404 { display: flex; align-items: center; min-height: 72vh; }
.page-hero--photo { display: flex; align-items: flex-end; min-height: min(78vh, 720px); }
.page-hero--photo .page-hero__inner { width: 100%; }
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__media img { object-fit: cover; object-position: 50% 55%; }
.page-hero__fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.62) 42%, rgba(8,8,10,.08) 78%), linear-gradient(0deg, rgba(8,8,10,.8) 0%, rgba(8,8,10,0) 45%), linear-gradient(180deg, rgba(8,8,10,.7) 0%, rgba(8,8,10,0) 28%); }
.page-hero--photo .lede { color: var(--ink); }
@media (max-width: 767px) {
	/* Phones: the photo shows clean, with the text on the dark band below it. */
	.page-hero--photo { display: block; min-height: 0; padding-top: 0; }
	.page-hero--photo .page-hero__media { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 5; }
	.page-hero--photo .page-hero__fade { display: none; }
	.page-hero--photo .page-hero__inner { padding-top: 28px; }
	/* The WhatsApp bar at the bottom of the screen already does this job on phones. */
	.ct-cta .btn { display: none; }
	.ct-cta .enroll__text { margin-bottom: 0; }
}
.ct-enquiry { align-items: start; }
.ct-enquiry__photo { margin-top: 26px; }
.ct-enquiry__photo img { width: 100%; height: clamp(220px, 24vw, 320px); object-fit: cover; }
.ct-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 14px; background: var(--card); box-shadow: 0 6px 24px rgba(0,0,0,.55); }
.ct-field { display: grid; gap: 7px; }
.ct-field > span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--grey); }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 13px 14px; border: 2px solid rgba(255,255,255,.18); border-radius: 8px; background: var(--bg);
	color: var(--ink); font: inherit; font-size: 16px; transition: border-color .24s ease; }
.ct-field textarea { resize: vertical; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #7d7976; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--red); }
.ct-field input[aria-invalid="true"] { border-color: var(--red); }
.ct-form__btn { justify-content: space-between; padding: 15px 20px; }
.ct-form__error { color: var(--salmon); font-size: 14px; }
.ct-form__note { font-size: 13px; color: #8e8a87; }
.ct-location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ct-places { display: grid; gap: 18px; margin-top: 22px; font-size: 16px; color: var(--soft); }
.ct-places li { display: flex; gap: 12px; align-items: flex-start; }
.ct-places .prn-ico { flex: none; margin-top: 3px; color: var(--red); }
.ct-places strong { color: var(--ink); }
.ct-map { position: relative; min-height: clamp(260px, 28vw, 380px); overflow: hidden; background: var(--card); }
.ct-map iframe, .ct-map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.ct-map iframe { filter: grayscale(.35) contrast(1.05); }
.ct-cards-band { background: var(--deep); }
.ct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; padding-top: clamp(28px, 3.4vw, 44px); padding-bottom: clamp(28px, 3.4vw, 44px); }
.ct-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 20px; border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
a.ct-card:hover { color: var(--ink); transform: translateY(-3px); border-color: rgba(236,48,19,.55); box-shadow: 0 14px 32px rgba(0,0,0,.55); }
.ct-card__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.ct-card__body { display: grid; gap: 4px; min-width: 0; }
.ct-card__value { font-weight: 700; font-size: 18px; line-height: 1.2; }
.ct-card__value--sm { font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; word-break: normal; }
.ct-card__value--xs { font-size: 14.5px; font-weight: 400; line-height: 1.45; color: var(--soft); }
.ct-card__note { font-size: 13px; color: var(--muted); }
.ct-card--main { background: var(--red); color: #fff; }
a.ct-card--main:hover { color: #fff; border-color: transparent; background: var(--red-h); }
.ct-card--main .ct-card__ico { background: #fff; color: var(--red); }
.ct-card--main .ct-card__note { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .ct-location { grid-template-columns: minmax(0, 1fr); } }

/* ── Motorsport page: what we do beyond the Track School ── */
.ms-work__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.ms-work .disc-list { gap: clamp(48px, 6vw, 88px); }
.ms-work .disc-row { scroll-margin-top: calc(var(--hdr) + 24px); }
.disc-row__media--grid { aspect-ratio: auto; overflow: visible; background: none; }
.disc-row__media--grid .corp__cell { background: var(--card); }
.ms-work__points { margin-top: 22px; }
.ms-work__note { margin-top: 18px; font-size: 15px; color: var(--grey); }
.ms-work .text-link { margin-top: 24px; }
.ms-results { display: grid; gap: 12px; }
.ms-result { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: var(--card); }
.ms-result__pos { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--red); }
.ms-result__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.ms-result__meta { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 767px) {
	.ms-result { grid-template-columns: 60px minmax(0, 1fr); padding: 16px; }
	.ms-result__pos { font-size: 24px; }
}
