/* ==========================================================================
   LVSC redesign (v2)
   Loaded only on pages rendered through common/v2/*. The original
   style.css is untouched and still serves every other page.
   ========================================================================== */

:root {
	--navy: #0A1F5C;
	--navy-deep: #06143D;
	--navy-ink: #071233;
	--navy-card: #0D1C4A;
	--navy-line: #1C2D63;
	--yellow: #FFD100;
	--lane-red: #E23B3B;

	--ink: #0E1525;
	--muted: #5A6478;
	--muted-light: #C9D2EA;
	--muted-dark: #9AA6C6;
	--bg: #F4F6FA;
	--surface: #FFFFFF;
	--line: #E6EAF2;
	--line-strong: #D9DFEB;

	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 3px rgba(10, 31, 92, .08);
	--shadow: 0 4px 16px rgba(10, 31, 92, .08);
	--shadow-lift: 0 12px 28px rgba(10, 31, 92, .14);

	--container: 1240px;
	--gutter: 24px;
	--header-h: 76px;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body.v2 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.v2 img { max-width: 100%; height: auto; }
.v2 a { color: var(--navy); }
.v2 a:hover { color: var(--navy-deep); }
.v2 :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.v2 h1, .v2 h2, .v2 h3, .v2 h4 { line-height: 1.15; margin: 0; }
.v2 p { margin: 0; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--yellow);
	color: var(--navy-deep) !important;
	font-weight: 700;
	border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }

.eyebrow {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--yellow);
}

/* Condensed italic display headings, the "WE ARE VULCANS" voice */
.display {
	font-family: var(--font-display);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: clamp(40px, 5.5vw, 64px);
	line-height: .95;
	letter-spacing: -.005em;
}
.display span { color: var(--yellow); }
.display--navy { color: var(--navy); }
.display--sm { font-size: 30px; font-style: normal; }

/* Lane-rope stripe used as a section edge */
.lanes {
	height: 8px;
	background: repeating-linear-gradient(90deg,
		var(--yellow) 0 28px, var(--navy-ink) 28px 40px,
		var(--lane-red) 40px 68px, var(--navy-ink) 68px 80px);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.v2 .btn--yellow { background: var(--yellow); color: var(--navy-deep); }
.v2 .btn--yellow:hover { background: #FFE04D; color: var(--navy-deep); }

.v2 .btn--navy { background: var(--navy); color: #fff; }
.v2 .btn--navy:hover { background: var(--navy-deep); color: #fff; }

.v2 .btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; font-weight: 600; }
.v2 .btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.v2 .btn--ghost { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.v2 .btn--ghost:hover { background: var(--navy); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Shared hover lift for clickable cards */
.card-lift { transition: transform .2s, box-shadow .2s; }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px 32px;
	min-height: var(--header-h);
}

.v2 .brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
	flex: none;
}
.v2 .brand:hover { color: var(--yellow); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 16px 28px;
	flex: 1 1 auto;
}
.site-nav nav { flex: 1 1 auto; }
.site-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v2 .site-nav__links a {
	display: inline-block;
	padding: 8px 0;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.v2 .site-nav__links a:hover { color: var(--yellow); }
.v2 .site-nav__links a[aria-current="page"] { border-bottom-color: var(--yellow); }

.site-nav__actions { display: flex; align-items: center; gap: 10px; }

.site-search {
	display: flex;
	align-items: center;
	height: 44px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1.5px solid transparent;
	transition: border-color .15s, background-color .15s;
}
.site-search:focus-within { border-color: var(--yellow); background: rgba(255, 255, 255, .16); }
.site-search input {
	width: 120px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	padding: 0 0 0 16px;
}
.site-search input::placeholder { color: var(--muted-light); }
.site-search button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	min-height: 44px;
	padding: 8px 14px;
	border: 1.5px solid rgba(255, 255, 255, .4);
	border-radius: 999px;
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.site-search input { width: 0; padding: 0; }
	.site-search:focus-within input { width: 120px; padding-left: 16px; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.brand img { width: 42px; height: 42px; }
	.brand__name { font-size: 21px; }
	.nav-toggle { display: inline-flex; }

	/* Without JS the menu simply stays open below the bar */
	.js .site-nav { display: none; }
	.site-nav {
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 8px 0 32px;
	}
	.js .site-nav.is-open { display: flex; }
	.site-header__inner { flex-wrap: wrap; column-gap: 12px; }
	/* Keep the logo row the full bar height when the open menu wraps below it,
	   so the logo and Menu button don't jump up */
	.v2 .brand { min-height: var(--header-h); }
	.site-nav__links { flex-direction: column; gap: 0; }
	.v2 .site-nav__links a {
		display: block;
		padding: 14px 0;
		font-size: 18px;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
	}
	.v2 .site-nav__links a[aria-current="page"] { color: var(--yellow); border-bottom-color: rgba(255, 255, 255, .12); }
	.site-nav__actions { flex-wrap: wrap; gap: 16px 12px; }
	.site-search { flex: 1 1 100%; }
	.site-search input,
	.site-search:focus-within input { width: 100%; padding-left: 16px; }
	.site-nav__actions .btn { flex: 1 1 0; }
}

/* ---------- Home hero ---------- */

.hero {
	color: #fff;
	background:
		linear-gradient(90deg, rgba(6, 20, 61, .94) 0%, rgba(6, 20, 61, .72) 45%, rgba(6, 20, 61, .15) 100%),
		url("/assets/images/swimmingRace.jpg") center / cover no-repeat,
		var(--navy-deep);
}
.hero__inner { padding-top: 96px; padding-bottom: 150px; }
.hero__title {
	margin-top: 18px !important;
	font-family: var(--font-display);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: clamp(68px, 9.5vw, 140px);
	line-height: .86 !important;
	letter-spacing: -.01em;
}
.hero__title span { color: var(--yellow); }
.hero__lede {
	margin-top: 26px !important;
	max-width: 540px;
	font-size: 19px;
	line-height: 1.55;
	color: #DCE3F2;
}
.hero .btn-row { margin-top: 34px; }

@media (max-width: 700px) {
	.hero {
		background:
			linear-gradient(180deg, rgba(6, 20, 61, .55) 0%, rgba(6, 20, 61, .92) 70%),
			url("/assets/images/swimmingRace.jpg") center / cover no-repeat,
			var(--navy-deep);
	}
	.hero__inner { padding-top: 64px; padding-bottom: 104px; }
	.hero__lede { font-size: 17px; }
	.hero .btn { flex: 1 1 auto; }
}

/* ---------- Inner page hero ---------- */

/* Desktop: navy behind the title, the photo on the right 60% fading in. Full width, the band was
   so wide and short that photos were blown up and only a thin slice showed (faces cut through). */
.page-hero {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--navy-deep);
}
.page-hero::before {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 40%;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 20, 61, .55) 0%, rgba(6, 20, 61, .15) 60%, rgba(6, 20, 61, .1) 100%),
		var(--page-hero-image, none) var(--page-hero-focus, center) / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
	mask-image: linear-gradient(90deg, transparent 0, #000 35%);
}
/* Phones and narrow screens: the photo full width behind the title, darkened for legibility */
@media (max-width: 760px) {
	.page-hero::before {
		left: 0;
		-webkit-mask-image: none;
		mask-image: none;
		background:
			linear-gradient(90deg, rgba(6, 20, 61, .9) 0%, rgba(6, 20, 61, .6) 70%, rgba(6, 20, 61, .4) 100%),
			var(--page-hero-image, none) var(--page-hero-focus, center) / cover no-repeat;
	}
}
.page-hero__inner { position: relative; padding-top: 72px; padding-bottom: 64px; }
.page-hero__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: clamp(44px, 6.5vw, 84px);
	line-height: .92 !important;
	max-width: 18ch;
}
.page-hero__sub { margin-top: 14px !important; font-size: 18px; color: var(--muted-light); font-weight: 500; }

/* ---------- Quick links (overlap the hero) ---------- */

.quick-links {
	position: relative;
	margin-top: -64px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.v2 .quick-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px;
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--ink);
	text-decoration: none;
}
.quick-link__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #EEF2FB;
	color: var(--navy);
}
.quick-link strong { display: block; font-size: 16px; line-height: 1.3; }
.quick-link strong + span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }

@media (max-width: 700px) {
	.quick-links { margin-top: -48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.v2 .quick-link { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
	.quick-link strong + span { display: none; }
}

/* ---------- Section scaffolding ---------- */

.section { padding-top: 80px; }
.section > .display { margin-bottom: 28px; }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 28px;
}
.section-head__lede { margin-top: 10px !important; font-size: 17px; color: var(--muted-light); }

/* ---------- Social feed ---------- */

.feed {
	margin-top: 80px;
	background: var(--navy-ink);
	color: #fff;
}
.feed__body { padding: 72px 0 48px; }

.feed__strip {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 24px;
	scrollbar-width: thin;
	scrollbar-color: var(--yellow) var(--navy-card);
	outline-offset: -3px;
}
.feed__strip::-webkit-scrollbar { height: 8px; }
.feed__strip::-webkit-scrollbar-track { background: var(--navy-card); }
.feed__strip::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 8px; }

.v2 .post-card {
	flex: 0 0 300px;
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	background: var(--navy-card);
	border-radius: 6px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	transition: transform .2s;
}
.v2 .post-card:hover { transform: translateY(-4px); color: #fff; }
.post-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--navy-line);
}
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px; flex: 1; }
.post-card__meta {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted-dark);
}
.post-card__platform { color: var(--yellow); }
.post-card__caption {
	font-size: 15px;
	line-height: 1.5;
	color: #E3E8F5;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feed__empty { max-width: 620px; font-size: 17px; color: var(--muted-light); }

@media (max-width: 700px) {
	.feed { margin-top: 64px; }
	.feed__body { padding: 56px 0 32px; }
	.v2 .post-card { flex-basis: 78vw; max-width: 300px; }
}

/* ---------- Squads ---------- */

.squad-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.v2 .squad-card {
	display: flex;
	align-items: flex-end;
	min-height: 360px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	background: var(--squad-image, none) var(--squad-pos, center) / cover no-repeat, var(--navy);
}
.squad-card__text {
	display: block;
	width: 100%;
	padding: 48px 24px 24px;
	background: linear-gradient(transparent, rgba(6, 20, 61, .92));
	color: #fff;
}
.squad-card__text strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 32px;
	text-transform: uppercase;
	line-height: 1.05;
}
.squad-card__text span { font-size: 15px; color: #DCE3F2; }

@media (max-width: 700px) {
	.v2 .squad-card { min-height: 240px; }
}

/* ---------- Panels & lists (events, news) ---------- */

.two-up {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding-bottom: 80px;
}
.panel {
	flex: 1 1 420px;
	min-width: 0;
	padding: 28px;
	background: var(--surface);
	border-radius: var(--radius-lg);
}
.panel__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
}
.panel__head a { font-weight: 600; font-size: 14px; white-space: nowrap; }

.list { margin: 0; padding: 0; list-style: none; }
.v2 .list__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}
.v2 .list__item:hover strong { color: var(--navy); text-decoration: underline; }
.list__text { display: flex; flex-direction: column; min-width: 0; }
.list__text strong { font-size: 16px; line-height: 1.35; }
.list__text span { font-size: 14px; color: var(--muted); }
.list__thumb {
	flex: none;
	width: 72px;
	height: 56px;
	border-radius: var(--radius-sm);
	object-fit: cover;
	background: var(--bg);
}

.date-chip {
	flex: none;
	width: 56px;
	padding: 8px 0;
	border-radius: 12px;
	background: var(--navy);
	color: #fff;
	text-align: center;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .06em;
	line-height: 1.2;
}
.date-chip span { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: 0; line-height: 1; }

@media (max-width: 700px) {
	.panel { padding: 22px; }
}

/* ---------- Join band ---------- */

.join-band { background: var(--navy); color: #fff; }
.join-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 64px;
	padding-bottom: 64px;
}
.join-band .display { font-size: clamp(40px, 5vw, 56px); }
.join-band p { margin-top: 12px !important; max-width: 560px; font-size: 17px; color: #DCE3F2; }

/* ---------- Partners ---------- */

.partners { padding: 56px 0; background: var(--surface); }
.partners__title {
	margin-bottom: 20px !important;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.partners__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.partners__list a { display: block; }
.partners__list img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .75;
	transition: filter .2s, opacity .2s;
}
.partners__list a:hover img,
.partners__list a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: #B8C2DA; font-size: 14px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 40px;
}
.site-footer__brand p { margin-top: 14px !important; max-width: 320px; line-height: 1.6; }
.site-footer h2 {
	margin-bottom: 14px !important;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav li + li { margin-top: 8px; }
.v2 .site-footer a { color: #B8C2DA; text-decoration: none; }
.v2 .site-footer a:hover { color: var(--yellow); }

.v2 .social-links { display: flex; gap: 10px; margin: 20px 0 0 !important; padding: 0; list-style: none; }
.v2 .social-links li { margin: 0; padding: 0; }
.v2 .social-links li::before, .v2 .social-links li::marker { content: none; }
.v2 .social-links a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .2);
	color: #fff;
}
.v2 .social-links a:hover { border-color: var(--yellow); color: var(--yellow); }

.site-footer__marks { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.site-footer__marks { gap: 20px; align-items: center; }
.site-footer__marks img {
	height: 56px;
	width: auto;
	opacity: .9;
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 13px;
}

@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__marks { grid-column: 1 / -1; }
}

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

/* ---------- Page hero extras ---------- */

.page-hero--compact .page-hero__inner { padding-top: 48px; padding-bottom: 44px; }
.page-hero--compact .page-hero__title { font-size: clamp(36px, 5vw, 60px); max-width: 24ch; }
.page-hero--overlap .page-hero__inner { padding-bottom: 120px; }
.page-hero__lede { margin-top: 16px !important; max-width: 640px; font-size: 19px; line-height: 1.5; color: #DCE3F2; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted-light); }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.v2 .crumbs a { color: var(--muted-light); text-decoration: none; }
.v2 .crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--yellow); }

/* ---------- Page scaffolding ---------- */

.page-body { padding-top: 56px; padding-bottom: 80px; }
.page-body--narrow { max-width: 760px; }
.section--last { padding-bottom: 80px; }
.section-spacer { height: 80px; }
.block { margin-top: 56px; }
.block--tight { margin-top: 40px; }
.block-title { margin-bottom: 20px; }
.quick-links--page + .section { padding-top: 48px; }
.two-up--flush { padding-bottom: 24px; }
.two-up--stacked { padding-bottom: 0; } /* another .section follows, which brings its own top gap */

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}
.layout--article { grid-template-columns: minmax(0, 1fr) 340px; }
.layout__aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.layout__main > .prose + .block-title,
.layout__main > .prose + .feature-grid { margin-top: 40px; }

@media (max-width: 960px) {
	.layout, .layout--article { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.layout__aside { position: static; }
}

.intro-split {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; gap: 28px; } }

.stat-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stat-list li {
	display: flex; flex-direction: column;
	padding: 20px 24px;
	border-left: 6px solid var(--yellow);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.stat-list strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: var(--navy); text-transform: uppercase; }
.stat-list span { color: var(--muted); font-size: 15px; }

.squad-grid--short .squad-card { min-height: 260px; }

/* ---------- Prose (CMS and long-form text) ---------- */

.prose { font-size: 17px; line-height: 1.7; color: #26304A; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em !important; }
.prose--lead { font-size: 19px; }
.prose--lead > p:first-child { font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.prose--article { max-width: 760px; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em !important; color: var(--navy); }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li + li { margin-top: .35em; }
.prose a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yellow); }
.prose img { border-radius: var(--radius); display: block; }
.prose figure { margin: 1.5em 0 0; }
.prose blockquote { margin: 1.5em 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #EEF2FB; color: var(--navy); }
.prose iframe, .prose video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.prose .aligncenter { margin-left: auto; margin-right: auto; }

/* ---------- Aside blocks ---------- */

.aside-block {
	padding: 24px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.aside-block > * + * { margin-top: 14px !important; }
.aside-block__title { font-size: 18px; font-weight: 800; color: var(--navy); }
.aside-block--navy { background: var(--navy); color: #DCE3F2; box-shadow: none; }
.aside-block--navy .aside-block__title { color: #fff; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Document list ---------- */

.doc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.v2 .doc-list__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.v2 .doc-list__item:hover { border-color: var(--navy); background: #F7F9FD; }
.doc-list__icon {
	display: grid; place-items: center; flex: none;
	width: 38px; height: 38px;
	border-radius: 10px;
	background: #EEF2FB;
	color: var(--navy);
}
.doc-list__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.doc-list__text strong { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.doc-list__text span { font-size: 13px; color: var(--muted); }
.doc-list__type {
	flex: none;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--bg);
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
}
.aside-block--navy .doc-list__item,
.welfare .doc-list__item { border-color: transparent; }

/* ---------- Accordion (squads) ---------- */

.accordion { display: grid; gap: 10px; }
.accordion__item {
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.accordion__item summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding: 18px 56px 18px 22px;
	position: relative;
	cursor: pointer;
	list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 10px; height: 10px;
	border-right: 2.5px solid var(--navy);
	border-bottom: 2.5px solid var(--navy);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
.accordion__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.accordion__item summary:hover .accordion__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.accordion__item[open] { box-shadow: inset 6px 0 0 var(--yellow), var(--shadow); }
.accordion__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.accordion__meta { font-size: 14px; color: var(--muted); font-weight: 600; }
.accordion__body { padding: 0 22px 22px; }
.accordion__body > * + * { margin-top: 12px !important; }
.accordion__foot { font-size: 14px; font-weight: 600; }
.accordion__coaches { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.accordion__coaches strong { color: var(--ink); margin-right: 4px; }

/* ---------- Facts ---------- */

.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.facts li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.facts strong { color: var(--ink); font-size: 15px; }
.facts__icon {
	display: grid; place-items: center; flex: none;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: #EEF2FB;
	color: var(--navy);
}

/* ---------- Feature boxes ---------- */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.feature-grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.feature {
	padding: 26px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	border-top: 5px solid var(--yellow);
}
.feature p { margin-top: 8px !important; font-size: 15px; color: var(--muted); }
.feature__icon {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--navy);
	color: var(--yellow);
}
.feature__title { font-size: 19px; font-weight: 800; color: var(--navy); }

/* ---------- Coaches ---------- */

.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.coach-grid--lg { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.v2 .coach-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
}
.coach-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; background: #DDE3EF; } /* headshots: keep the face in */
.coach-card__text { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; border-top: 4px solid var(--yellow); }
.coach-card__text strong { font-size: 17px; line-height: 1.3; }
.coach-card__text span { font-size: 14px; color: var(--muted); }
.v2 .coach-card:hover strong { color: var(--navy); }

@media (max-width: 520px) {
	.coach-grid, .coach-grid--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.coach-card__text { padding: 12px; }
	.coach-card__text strong { font-size: 15px; }
}

.profile {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.profile__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #DDE3EF; }
.profile__body > * + * { margin-top: 16px !important; }
.profile__role { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--navy); line-height: 1; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
	.profile { grid-template-columns: 1fr; gap: 24px; }
	.profile__photo { max-width: 260px; }
}

.badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--navy-deep);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.6;
}
.badge--soft { background: #EEF2FB; color: var(--navy); }

/* ---------- Cards (news, search) ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card {
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.v2 .card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card__media img.is-logo { object-fit: contain; padding: 14%; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.card__title { font-size: 19px; line-height: 1.3; }
.v2 .card:hover .card__title { color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.card__excerpt { font-size: 15px; color: var(--muted); }

@media (min-width: 900px) {
	.card-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.card-grid--featured > .card:first-child { grid-column: 1 / -1; }
	.card-grid--featured > .card:first-child .card__link { flex-direction: row; }
	.card-grid--featured > .card:first-child .card__media { flex: 0 0 58%; aspect-ratio: 16 / 9; }
	.card-grid--featured > .card:first-child .card__body { justify-content: center; padding: 36px; }
	.card-grid--featured > .card:first-child .card__title { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: 1; }
	.card-grid--featured > .card:first-child .card__excerpt { font-size: 17px; }
}

/* ---------- Toolbar & forms ---------- */

.toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.toolbar__search { display: flex; gap: 8px; flex: 1 1 320px; max-width: 520px; }
.toolbar__search .input { flex: 1; min-width: 0; }
.v2 .toolbar__social { font-size: 15px; color: var(--muted); text-decoration: none; }
.v2 .toolbar__social:hover { color: var(--navy); }

.input {
	width: 100%;
	padding: 11px 16px;
	border: 1.5px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: 15px;
}
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 209, 0, .6); }
.input--lg { padding: 15px 22px; font-size: 17px; }
.input--sm { width: auto; padding: 8px 14px; font-size: 14px; }
select.input { border-radius: 10px; }

.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); }
.form .input { border-radius: 10px; }

.notice { padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.notice--error { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C2C2; }

/* Search panel */
.search-panel {
	padding: 24px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	box-shadow: var(--shadow);
}
.search-panel__row { display: flex; gap: 10px; }
.search-panel__row .input { flex: 1; min-width: 0; border-color: transparent; }
.search-panel__row .btn { flex: none; }
.search-panel__filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
	display: inline-block;
	padding: 7px 14px;
	border: 1.5px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.chip:hover span { border-color: #fff; }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.select-wrap { display: flex; align-items: center; gap: 10px; color: var(--muted-light); font-size: 14px; font-weight: 600; }
.search-summary { margin: 28px 0 20px !important; font-size: 16px; color: var(--muted); }
.search-summary strong { color: var(--ink); }
.page-body--narrow .search-panel + .block-title { margin-top: 48px; }

@media (max-width: 560px) {
	.search-panel { padding: 16px; }
	.search-panel__row { flex-direction: column; }
}

/* ---------- Pager ---------- */

.pager { margin-top: 40px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v2 .pager__num, .v2 .pager__step {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}
.v2 a.pager__num:hover, .v2 .pager__step:hover { background: var(--navy); color: #fff; }
.v2 .pager__num[aria-current] { background: var(--yellow); color: var(--navy-deep); box-shadow: none; }
.pager__gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 520px) { .pager__step span { display: none; } }

/* ---------- Panel extras ---------- */

.panel__label { margin-top: 18px !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel__text { margin-bottom: 16px !important; color: var(--muted); }
.panel--navy { background: var(--navy); color: #DCE3F2; }
.panel--navy .display { color: #fff; }
.panel--navy .panel__text { color: #DCE3F2; }
.panel > .btn-row { margin-top: 20px; }
.list__icon {
	display: grid; place-items: center; flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: #EEF2FB;
	color: var(--navy);
}

/* ---------- Policies ---------- */

.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.v2 .jump-links a {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.v2 .jump-links a:hover { background: var(--navy); color: #fff; }

.welfare {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 32px;
	padding: 36px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #DCE3F2;
}
.welfare__text > * + * { margin-top: 14px !important; }
.welfare__text .display { color: #fff; }
.welfare__text .btn-row { margin-top: 22px !important; }
.welfare__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--yellow); color: var(--navy-deep); }
.welfare__links h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.welfare .btn svg { flex: none; }
@media (max-width: 860px) {
	.welfare { grid-template-columns: 1fr; padding: 24px; }
	.welfare .btn { white-space: normal; text-align: left; overflow-wrap: anywhere; }
}

.doc-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 20px;
	margin-top: 24px;
	align-items: start;
}

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

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.contact-card {
	display: flex; flex-direction: column;
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.contact-card__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--navy); line-height: 1.05; }
.contact-card__who { margin-top: 6px !important; font-weight: 700; }
.contact-card__what { margin-top: 8px !important; color: var(--muted); font-size: 15px; flex: 1; }
.v2 .contact-card__email {
	margin-top: 18px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #EEF2FB;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.v2 .contact-card__email:hover { background: var(--navy); color: #fff; }

/* ---------- Misc ---------- */

.cta-strip {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	margin-top: 56px;
	padding: 28px 32px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border-left: 6px solid var(--yellow);
	box-shadow: var(--shadow-sm);
}
.cta-strip h2 { font-size: 20px; color: var(--navy); }
.cta-strip p { margin-top: 4px !important; color: var(--muted); }

.back-link { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px !important; font-weight: 700; }
.v2 .back-link a { text-decoration: none; }
.v2 .back-link a:hover { text-decoration: underline; }
.v2 .edit-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

.auth-card {
	padding: 36px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	max-width: 460px;
	margin: 0 auto;
}
.auth-card__title { font-size: 24px; color: var(--navy); }
.auth-card .btn-row { margin-top: 20px; }
.auth-card__help { margin-top: 18px !important; font-size: 14px; }
.auth-card .notice { margin-top: 16px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }

@media (max-width: 700px) {
	.page-body { padding-top: 40px; padding-bottom: 56px; }
	.page-hero__lede { font-size: 17px; }
	.prose--lead { font-size: 17px; }
	.prose--lead > p:first-child { font-size: 19px; }
	.section-spacer { height: 56px; }
	.section { padding-top: 56px; }
	.two-up:not(.two-up--stacked):not(.two-up--flush) { padding-bottom: 56px; }
	.page-hero--overlap .page-hero__inner { padding-bottom: 96px; }
	.welfare, .cta-strip, .auth-card { padding: 24px; }
}

/* ---------- About page ---------- */

.kicker {
	margin-bottom: 8px !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lane-red);
}
.about-section { padding-top: 24px; padding-bottom: 56px; }
.about-section--last { padding-bottom: 80px; }
.about-section__head { margin-bottom: 28px; }
.about-section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

.about-section--first { padding-top: 64px; }

/* Our story: photo beside a short text, no card */
.story-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: center;
}
.v2 .story-row__img { display: block; width: 100%; height: auto; aspect-ratio: 615 / 351; object-fit: cover; border-radius: var(--radius-lg); }
.story-row__text > * + * { margin-top: 14px !important; }
.story-row__text .display { font-size: clamp(38px, 4.4vw, 54px); }
.story-row__text .display span { color: var(--lane-red); }
.story-row__text p:not(.kicker) { font-size: 17px; line-height: 1.6; color: #26304A; }
.v2 .story-card__link { display: inline-block; font-weight: 700; text-decoration: none; }
.v2 .story-card__link:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
@media (max-width: 860px) { .story-row { grid-template-columns: 1fr; } }
/* Homepage: a short preview of the About page (story + Olympians) */
.v2 .about-hook__olympians { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius); background: #F1F4FA; color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.35; text-decoration: none; }
.v2 .about-hook__olympians:hover { background: #E6EBF5; }
.about-hook__faces { display: flex; flex: none; }
.v2 .about-hook__faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.v2 .about-hook__faces img + img { margin-left: -12px; }
.about-hook__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Pathway: numbered stages joined by a lane rope */
.pathway {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pathway::before {
	content: "";
	position: absolute;
	left: 8%; right: 8%;
	top: 118px;
	height: 6px;
	border-radius: 3px;
	background: repeating-linear-gradient(90deg, var(--yellow) 0 28px, var(--navy-ink) 28px 40px, var(--lane-red) 40px 68px, var(--navy-ink) 68px 80px);
}
.pathway__step { position: relative; }
.v2 .pathway__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
}
.pathway__media {
	position: relative;
	display: block;
	height: 150px;
	background: linear-gradient(rgba(6, 20, 61, .25), rgba(6, 20, 61, .55)), var(--step-image) var(--step-pos, center) / cover no-repeat, var(--navy);
}
.pathway__num {
	position: absolute;
	left: 22px; bottom: -26px;
	display: grid; place-items: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	border: 4px solid var(--surface);
	background: var(--yellow);
	color: var(--navy-deep);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
}
.pathway__body { display: flex; flex-direction: column; gap: 6px; padding: 40px 22px 24px; flex: 1; }
.pathway__body strong { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--navy); line-height: 1.05; }
.pathway__body > span { font-size: 15px; color: var(--muted); }
.pathway__body .pathway__more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--navy); }
.v2 .pathway__card:hover .pathway__more { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

@media (max-width: 860px) {
	.pathway { grid-template-columns: 1fr; gap: 20px; }
	.pathway::before { display: none; }
	.pathway__media { height: 170px; }
	.pathway__body { padding: 36px 20px 22px; }
	.pathway__body strong { font-size: 24px; }
}

/* The team */
.team-strip {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v2 .team-strip a { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; }
.team-strip img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 25%;
	border-radius: 50%;
	border: 4px solid var(--surface);
	box-shadow: 0 0 0 3px var(--yellow);
	margin-bottom: 10px;
	transition: transform .2s;
}
.team-strip a:hover img { transform: translateY(-3px); }
.team-strip strong { font-size: 15px; line-height: 1.3; text-align: center; }
.team-strip span { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .team-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Welfare strip */
.welfare-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 24px;
	padding: 28px 32px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #DCE3F2;
}
.welfare-strip .welfare__icon { flex: none; }
.welfare-strip__text { flex: 1 1 320px; }
.welfare-strip__text h2 { color: #fff; font-size: 22px; }
.welfare-strip__text p { margin-top: 4px !important; }
.welfare-strip .badge-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
	margin-top: 18px; padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
.v2 .welfare-strip .badge-row img { height: 46px; width: auto; opacity: .92; }
@media (max-width: 700px) { .welfare-strip { padding: 24px; } }

@media (prefers-reduced-motion: reduce) { .team-strip a:hover img { transform: none; } }

/* ---------- History page ---------- */

/* Milestone strip: cards scroll sideways with snapping */
.moments { padding: 64px 0 72px; }
.moments__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.moments__nav { display: flex; gap: 10px; }
.moments__btn {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1.5px solid var(--navy);
	background: transparent;
	color: var(--navy);
	cursor: pointer;
	transition: background .15s, color .15s, opacity .15s;
}
.moments__btn:hover { background: var(--navy); color: #fff; }
.moments__btn--next { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }
.moments__btn--next:hover { background: #FFE04D; color: var(--navy-deep); }
.moments__btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--navy); border-color: var(--navy); }

/* The strip lines its first card up with the page container, then runs to the window edge */
.moments__strip {
	--strip-inset: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 4px var(--strip-inset) 16px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--strip-inset);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.moments__strip::-webkit-scrollbar { display: none; }
.moments__strip:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }

.moment {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #DCE3F2;
	overflow: hidden;
	scroll-snap-align: start;
}
.moment--photo { flex-basis: 300px; }
.moment__img { display: block; width: 100%; height: 160px; object-fit: cover; }
.moment__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 26px; }
.moment__year { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 60px; line-height: .9; color: var(--yellow); }
.moment--photo .moment__year { font-size: 48px; }
.moment__year--range { font-size: 44px; }
.moment__title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.25; }
.moment__body p { font-size: 15px; line-height: 1.55; }

.moments__foot { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.moments__progress { flex: 1; height: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.moments__progress span { display: block; height: 100%; width: 20%; border-radius: 2px; background: var(--navy); transition: width .2s; }
.moments__hint { font-size: 13px; color: var(--muted); white-space: nowrap; }

@media (max-width: 700px) {
	.moments { padding: 48px 0 56px; }
	.moment { flex-basis: 78vw; max-width: 280px; }
	.moments__nav { display: none; }
	.moments__hint { white-space: normal; }
}

/* Hall of Fame band */
.fame { margin-top: 24px; background: var(--navy); color: #DCE3F2; }
.fame > .container { padding-top: 80px; padding-bottom: 72px; }
.fame .display { color: #fff; }
.fame__lede { margin-top: 12px !important; max-width: 560px; font-size: 17px; }
.fame-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fame-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--navy-card); overflow: hidden; border: 1px solid var(--navy-line); }
.fame-card__photo { position: relative; aspect-ratio: 4 / 4.2; display: grid; place-items: center; background: linear-gradient(160deg, #13286B, var(--navy-ink)); }
.fame-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.fame-card__initials { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 84px; color: rgba(255, 255, 255, .14); }
.fame-card__level {
	position: absolute; left: 14px; bottom: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	background: #fff; color: var(--navy-deep);
}
.fame-card__level--olympian, .fame-card__level--paralympian { background: var(--yellow); }
.fame-card__level--tbc { background: transparent; color: var(--yellow); border: 1px dashed var(--yellow); }
.fame-card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; border-top: 4px solid var(--yellow); flex: 1; }
.fame-card__body h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; color: #fff; }
.fame-card dl { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.fame-card dl > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fame-card dt { color: var(--muted-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fame-card dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
/* Phones: each Olympian becomes a compact row (photo left, details right) */
@media (max-width: 560px) {
	.fame-grid { gap: 12px; }
	.fame-card { flex-direction: row; }
	/* A fixed portrait frame, not a strip stretched to the text's height (which cropped faces badly) */
	.fame-card .fame-card__photo { flex: none; width: 104px; height: 132px; aspect-ratio: auto; align-self: flex-start;
		margin: 12px 0 12px 12px; border-radius: 12px; overflow: hidden; }
	.fame-card .fame-card__photo img { position: absolute; inset: 0; object-position: 50% 22%; }
	.fame-card .fame-card__initials { font-size: 40px; }
	.fame-card .fame-card__level { left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; font-size: 9px; letter-spacing: .06em; text-align: center; }
	.fame-card__body { gap: 8px; padding: 12px 14px 14px; border-top: 0; min-width: 0; }
	.fame-card__body h3 { font-size: 20px; }
	.fame-card dl { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; }
	.fame-card dl > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
	.fame-card dt { font-size: 10px; }
	/* Columns fit whole words ("Breaststroke") rather than breaking them */
	.fame-card dl { grid-template-columns: repeat(2, minmax(min-content, 1fr)); }
	.fame-card dl > div { min-width: auto; }
	.fame-card dd { overflow-wrap: normal; }
}
.flag-bearers { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--navy-line); }
.flag-bearers__title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; text-transform: uppercase; color: #fff; }
.flag-bearers__lede { margin-top: 4px !important; font-size: 15px; color: var(--muted-light); }
.flag-bearers ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .flag-bearers ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flag-bearers ul { grid-template-columns: 1fr; } }
.flag-bearers li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--navy-card); font-size: 14px; line-height: 1.5; color: var(--muted-light); }
.flag-bearers__years { color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.flag-bearers strong { color: #fff; font-size: 17px; }
.fame__more { margin-top: 32px !important; font-size: 15px; }
.v2 .fame__more a { color: var(--yellow); font-weight: 700; }

/* Placeholder for facts still to be confirmed */
.tbc {
	display: inline-block;
	padding: 1px 6px;
	border: 1px dashed var(--yellow);
	border-radius: 6px;
	color: var(--yellow);
	font-size: 12px;
	font-weight: 700;
}

/* Olympians teaser (about page) */
.fame--teaser { margin: 24px 0; }
.fame--teaser > .container { padding-top: 64px; padding-bottom: 64px; }
.olympians { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .olympians { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .olympians { grid-template-columns: repeat(2, 1fr); } }
.olympians__card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); background: var(--navy-card); border: 1px solid var(--navy-line); overflow: hidden; color: inherit; text-decoration: none; }
.olympians__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-top: 4px solid var(--yellow); flex: 1; }
.olympians__body strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.05; text-transform: uppercase; color: #fff; }
.olympians__body span { font-size: 13px; color: var(--muted-light); }

/* History page intro and stats */
.history-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .history-intro { grid-template-columns: 1fr; gap: 28px; } }
.history-intro .display span { color: var(--lane-red); }
.history-intro__text p:not(.kicker) { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.history-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.history-stats li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--navy); }
.history-stats strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 44px; line-height: 1; color: var(--yellow); }
.history-stats span { font-size: 14px; line-height: 1.4; color: var(--muted-light); }

/* Folded timeline (history page) */
.history-timeline { padding-top: 0; }
.timeline-fold { margin-top: 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.timeline-fold summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; cursor: pointer; list-style: none; background: var(--navy); }
.timeline-fold summary::-webkit-details-marker { display: none; }
.timeline-fold summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.timeline-fold__text { display: flex; flex-direction: column; gap: 6px; }
.timeline-fold__title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; color: #fff; }
.timeline-fold__lede { font-size: 15px; color: var(--muted-light); }
.timeline-fold__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 15px; transition: transform .15s; }
.timeline-fold summary:hover .timeline-fold__btn { transform: translateY(-1px); }
.timeline-fold__chev { width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.timeline-fold[open] .timeline-fold__chev { transform: rotate(-135deg) translateY(-2px); }
.timeline-fold__hide, .timeline-fold[open] .timeline-fold__show { display: none; }
.timeline-fold[open] .timeline-fold__hide { display: inline; }
.timeline-fold .milestones { margin: 24px 32px 0; padding-bottom: 24px; }
@media (max-width: 560px) {
	.timeline-fold summary { padding: 22px 20px; }
	.timeline-fold .milestones { margin: 20px 20px 0; }
}

/* Club milestones (history page) */
.milestones { position: relative; max-width: 820px; margin: 24px 0 0; padding: 0; list-style: none; }
.milestones::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 107px; width: 2px; background: var(--yellow); border-radius: 2px; }
.milestones li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 14px 0; }
.milestones li::before { content: ""; position: absolute; left: 102px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--yellow); }
.milestones__year { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--navy); text-align: right; }
.milestones__title { margin: 0 0 2px; font-size: 17px; color: var(--ink); }
.milestones p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 560px) {
	.milestones::before { left: 5px; }
	.milestones li { grid-template-columns: 1fr; gap: 2px; padding-left: 28px; }
	.milestones li::before { left: 0; top: 18px; }
	.milestones__year { text-align: left; font-size: 19px; }
}

/* Club legends */
.legends { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.legends li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.legends__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.legends li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.legends strong { font-size: 16px; color: var(--ink); }
.legends .legends__everyone { background: var(--navy); }
.legends__everyone .legends__mark { background: var(--yellow); color: var(--navy); }
.legends .legends__everyone > span:last-child { color: var(--muted-light); }
.legends__everyone strong { color: #fff; }
.legends__memory { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--bg-soft, #EEF1F7); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.legends__award { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.legends__award svg { flex: none; color: var(--navy); }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.v2 *, .v2 *::before, .v2 *::after { transition: none !important; }
	.card-lift:hover, .v2 .post-card:hover, .card:hover .card__media img, .gallery a:hover img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* News stream: filters, social cards, post dialog                     */
/* ------------------------------------------------------------------ */
.stream-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.stream-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stream-filters__fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stream-filters__fields .input[type=search] { width: 240px; max-width: 100%; }
.v2 .pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 2px solid var(--line-strong); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none;
}
.v2 .pill:hover { border-color: var(--navy); color: var(--navy); }
.v2 .pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.v2 .pill:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.social-card__open {
	display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none;
	font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.social-card__open:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: inherit; }
.social-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy); }
.social-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.social-card:hover .social-card__media img { transform: scale(1.04); }
.social-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.social-card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.social-card__platform { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.social-card--instagram .social-card__platform { color: #B1306F; }
.social-card--facebook .social-card__platform { color: #1B66C9; }
.social-card__caption { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .social-card--text { background: var(--navy); color: #fff; }
.social-card--text .social-card__body { justify-content: space-between; padding: 24px; min-height: 260px; }
.social-card--text .social-card__meta { color: #C9D2EA; }
.social-card--text .social-card__platform { color: var(--yellow) !important; }
.social-card--text .social-card__caption { font-size: 18px; font-weight: 600; line-height: 1.45; -webkit-line-clamp: 7; }
.social-card__more { font-size: 14px; font-weight: 700; color: var(--yellow); }

.post-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink); }
.post-dialog::backdrop { background: rgba(6, 20, 61, .85); }
/* The page behind an open post doesn't scroll */
html:has(.post-dialog[open]) { overflow: hidden; }
.post-dialog__body, .post-dialog__inner { overscroll-behavior: contain; }
.post-dialog__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); max-height: calc(100vh - 32px); }
.post-dialog--text .post-dialog__inner { grid-template-columns: 1fr; max-width: 620px; }
.post-dialog__media { background: var(--navy-deep); display: grid; place-items: center; min-height: 0; }
.post-dialog__media[hidden] { display: none; }
.post-dialog__media img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
/* Only the words scroll on a long post; the picture stays put */
.post-dialog__body { display: flex; flex-direction: column; gap: 16px; padding: 32px; max-height: calc(100vh - 32px); overflow-y: auto; }
.post-dialog__meta { margin: 0; font-size: 14px; color: var(--muted); padding-right: 40px; }
.post-dialog__meta strong { color: var(--ink); margin-right: 4px; }
.post-dialog__caption { margin: 0; font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.post-dialog__actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-dialog__actions [hidden] { display: none; }
.post-dialog__close {
	position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
}
.post-dialog__close:focus-visible { outline: 3px solid var(--yellow); }
@media (max-width: 760px) {
	.post-dialog__inner { grid-template-columns: 1fr; overflow-y: auto; max-height: calc(100vh - 32px); }
	.post-dialog__media img { max-height: 60vh; }
	.post-dialog__body { padding: 24px; max-height: none; overflow: visible; }
	.stream-filters__fields { width: 100%; }
	.stream-filters__fields .input[type=search] { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.social-card:hover .social-card__media img { transform: none; }
}

/* Pinned notice: homepage bar and the card at the top of /news */
.v2 .notice-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
	min-height: 52px; padding: 10px 16px; background: var(--yellow); color: var(--navy-deep); text-decoration: none; text-align: center; font-size: 15px;
}
.v2 .notice-bar:hover { color: var(--navy-deep); }
.v2 .notice-bar:hover .notice-bar__more { text-decoration-thickness: 3px; }
.notice-bar__tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--navy-deep); color: var(--yellow); padding: 4px 10px; border-radius: 999px; }
.notice-bar__more { font-weight: 700; text-decoration: underline; }
.pinned {
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 28px;
	padding: 22px 26px; background: var(--surface, #fff); border: 2px solid var(--yellow); border-radius: var(--radius-lg);
}
.pinned__tag {
	flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: var(--yellow); color: var(--navy-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pinned__text { flex: 1 1 380px; min-width: 0; }
.pinned__title { margin: 0; font-size: 20px; font-weight: 800; color: var(--navy); }
.pinned__text p { margin: 4px 0 0; color: var(--muted); }

/* Event page: Results button above the details */
.v2 .results-cta { margin: 0 0 24px; }

/* Events page: labels on event rows */
.v2 .list__text .event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.v2 .list__text .event-tag {
	display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy);
	font-size: 12px; font-weight: 700; line-height: 1.5;
}
.v2 .list__text .event-tag--now { background: var(--navy); color: #fff; }
.v2 .list__text .event-tag--entries { background: #e8eef7; color: var(--navy); }
.v2 .list__text .event-tag--soon { background: #fbe3e1; color: #8a1c14; }
.v2 .list__text .event-tag--results { background: #dff3e6; color: #17663a; }
/* News: the Events tab lists past events as rows */
.v2 .panel--events { max-width: 860px; }

/* Club records page (/events/records) */
.records__lists { margin-bottom: 20px; }
.records__filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.records__filters .field { margin: 0; flex: 1 1 150px; }
.records__filters .records__search { flex: 2 1 240px; }
.records__meta { margin-bottom: 8px; font-size: 14px; }
.records__group { margin-top: 32px; }
.records__group h2 { margin-bottom: 12px; }
.records__table-wrap { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm, 0 1px 3px rgba(11,31,92,.08)); overflow: hidden; }
.records__table { width: 100%; border-collapse: collapse; }
.records__table th, .records__table td { padding: 10px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.records__table thead th { border-top: 0; background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.records__table tbody th { width: 22%; font-weight: 700; color: var(--navy); white-space: nowrap; }
.records__table td { width: 39%; }
.rec__time { display: block; font-size: 17px; color: var(--navy); font-variant-numeric: tabular-nums; }
.rec__name { display: block; }
.rec__date { display: block; font-size: 13px; color: var(--muted); }
.rec__none { color: var(--muted); }
.records__table td.is-new { box-shadow: inset 4px 0 0 var(--yellow); }
.records__table td.is-match { background: #FFF6CC; }
.records__table td.is-faded > * { opacity: .4; }
.rec__new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--navy);
	font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.records__news { margin: 4px 0 10px; font-weight: 600; color: var(--navy); }
.records__news .rec__new { margin: 0 4px 0 0; }
.records__new-only { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; cursor: pointer; }
.records__empty { margin-top: 24px; }
.records__banded { margin-top: 48px; padding-top: 8px; border-top: 2px solid var(--line); }
.records__banded-title { margin-top: 24px; }
.records__banded > .muted { margin-top: 6px; }
.records__event-title { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.v2 .records [hidden] { display: none !important; }
@media (max-width: 600px) {
	.records__table th, .records__table td { padding: 8px 10px; }
	.records__table tbody th { white-space: normal; }
	.rec__time { font-size: 15px; }
}

/* Events page: club records card */
.v2 .records-teaser { margin: 0 0 12px; font-weight: 600; }
.v2 .records-teaser .rec__new { margin: 0 6px 0 0; }
.v2 .records-downloads { margin-top: 12px; font-size: 14px; }

/* Header photo caption (e.g. History) */
.v2 .page-hero__caption {
	position: absolute; right: 16px; bottom: 10px;
	padding: 3px 10px; border-radius: 999px;
	background: rgba(6, 20, 61, .7); color: #DCE3F2; font-size: 12px; font-weight: 600; text-decoration: none;
}
.v2 .page-hero__caption:hover { color: var(--yellow); }

/* Timeline photos (History) */
.milestones__photo { margin: 14px 0 4px; max-width: 460px; }
.milestones__photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-sm); }
.milestones__photo figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.milestones li { scroll-margin-top: 90px; }


/* ---------- Event page: the facts lead, as tiles ---------- */

.v2 .event-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 0; padding: 0; list-style: none;
}
.v2 .event-fact {
	display: flex; flex-direction: column; gap: 2px;
	padding: 22px 24px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	min-width: 0;
}
.v2 .event-fact__icon {
	display: grid; place-items: center;
	width: 44px; height: 44px; margin-bottom: 12px;
	border-radius: 12px;
	background: #EEF2FB;
	color: var(--navy);
}
.v2 .event-fact__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.v2 .event-fact__value { font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--navy); overflow-wrap: anywhere; }
.v2 .event-fact__note { margin-top: 4px; font-size: 14px; color: var(--muted); }
.v2 a.event-fact__note { color: var(--navy); font-weight: 600; }
.v2 .event-fact--highlight { box-shadow: inset 0 0 0 2px var(--yellow), var(--shadow-sm); }
.v2 .event-fact--highlight .event-fact__icon { background: var(--yellow); }
.v2 .event-hosted {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin: 16px 0 0; padding: 14px 24px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #B9C4DE;
}
.v2 .event-hosted svg { color: var(--yellow); }
.v2 .event-hosted strong { color: #fff; }
.v2 .event-body { max-width: 860px; margin-top: 40px; }
.v2 .event-body > :first-child { margin-top: 0 !important; }

/* ---------- Calendar feed link (/events) ---------- */

.v2 .cal-subscribe {
	display: flex; gap: 12px; align-items: center;
	margin: 20px 0 0; padding: 14px 16px;
	border-radius: var(--radius);
	background: #EEF2FB;
	font-size: 14px; color: var(--muted);
}
.v2 .cal-subscribe__icon {
	display: grid; place-items: center; flex: none;
	width: 32px; height: 32px; border-radius: 9px;
	background: var(--surface); color: var(--navy);
}
.v2 .cal-subscribe strong { display: block; color: var(--ink); font-size: 15px; }
.v2 .cal-subscribe a { color: var(--navy); font-weight: 700; }
