/* ══════════════════════════════════════════════════════════════
   EICS 2027 — Main Stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
	--paper: #f8f1e9;
	--paper-strong: rgba(251, 245, 239, 0.92);
	--paper-soft: rgba(251, 245, 239, 0.78);
	--clay: #b7683a;
	--clay-55: rgba(183, 104, 58, 0.55);
	--clay-30: rgba(183, 104, 58, 0.42);
	--clay-16: rgba(183, 104, 58, 0.22);
	--clay-08: rgba(183, 104, 58, 0.12);
	--ink: #1f1209;
	--ink-60: rgba(31, 18, 9, 0.78);
	--ink-38: rgba(31, 18, 9, 0.62);
	--ink-20: rgba(31, 18, 9, 0.46);
	--ink-08: rgba(31, 18, 9, 0.12);
	--status-active: #5f3b25;
	--status-extended: #b7683a;
	--status-done: rgba(31, 18, 9, 0.4);
	--status-aside: rgba(31, 18, 9, 0.58);
	--shadow: rgba(69, 34, 15, 0.16);
	--max: 1140px;
}

/* ── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--paper);
	overflow-x: hidden;
	font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* ── Background texture ──────────────────────────────────── */
.bg {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../img/texture/groovepaper.png");
	background-repeat: repeat;
	mix-blend-mode: multiply;
	opacity: 0.56;
}

.bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			ellipse 50% 40% at 80% 10%,
			rgba(203, 214, 230, 0.3),
			transparent
		),
		radial-gradient(
			ellipse 38% 32% at 14% 82%,
			rgba(213, 146, 100, 0.09),
			transparent
		);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 4vmin, 3.5rem) clamp(1.5rem, 5vw, 3rem);
	overflow: hidden;
}

/* ── Building silhouette ─────────────────────────────────── */
.hero-building {
	position: absolute;
	bottom: 0;
	left: 0;
	width: clamp(11rem, 26vw, 26rem);
	aspect-ratio: 1579.63 / 715.37;
	background: var(--ink-08);
	-webkit-mask: url("../img/logo/building.svg") no-repeat bottom left / contain;
	mask: url("../img/logo/building.svg") no-repeat bottom left / contain;
	pointer-events: none;
	z-index: 0;
	opacity: 0;
	transform: translateY(2rem);
	animation: building-rise 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-basilisk {
	position: absolute;
	right: 0;
	bottom: 0;
	width: clamp(11rem, 26vw, 22rem);
	aspect-ratio: 1739.08 / 1231.46;
	background: var(--ink-08);
	-webkit-mask: url("../img/logo/baselisk.svg") no-repeat bottom right / contain;
	mask: url("../img/logo/baselisk.svg") no-repeat bottom right / contain;
	pointer-events: none;
	z-index: 0;
	opacity: 0;
	transform: translateY(2rem);
	animation: building-rise 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 5rem;
	background: linear-gradient(to top, var(--paper), transparent);
	pointer-events: none;
	z-index: 1;
}

/* ── Top bar ──────────────────────────────────────────────── */
.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	overflow: visible;
	padding: 0 clamp(1.2rem, 4vw, 2.4rem);
	height: 4rem;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition:
		background 0.5s ease,
		border-color 0.5s ease,
		box-shadow 0.5s ease;
	opacity: 0;
	animation: fade-in 0.8s ease 0.2s forwards;
}

.is-returning .topbar {
	animation: none;
	opacity: 1;
}

.topbar.is-scrolled {
	background: rgba(248, 241, 233, 0.92);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	border-bottom-color: var(--clay-16);
	box-shadow: 0 1px 8px rgba(86, 46, 23, 0.06);
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.topbar-sigchi {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
}

.topbar-sep {
	width: 1px;
	height: 0.8rem;
	background: var(--clay-30);
}

.topbar-conf {
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-38);
	display: none;
}

@media (min-width: 640px) {
	.topbar-conf {
		display: inline;
	}
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.topbar-year {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-38);
	display: none;
}

@media (min-width: 480px) {
	.topbar-year {
		display: inline;
	}
}

.topbar-nav {
	flex: 1;
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 0.2rem;
	list-style: none;
	min-width: 0;
	margin-left: auto;
}

.topbar-nav-item {
	position: relative;
	color: var(--ink-60);
}

.topbar-nav-item.has-children::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: max(100%, 15rem);
	height: 0.85rem;
}

.topbar-nav-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.05rem;
	min-height: 2.45rem;
	padding: 0 0.35rem 0 0.62rem;
	border-radius: 999px;
	color: var(--ink-60);
	transition:
		background 0.25s ease,
		color 0.25s ease;
}

.topbar-nav-item.has-children > .topbar-nav-trigger:hover,
.topbar-nav-item.has-children > .topbar-nav-trigger:focus-within,
.topbar-nav-item.is-open > .topbar-nav-trigger {
	background: var(--clay-08);
	color: var(--ink);
}

.topbar-nav-link,
.topbar-nav-caret {
	border-radius: 999px;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.topbar-nav-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.45rem;
	padding: 0.5rem 0.82rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ink-60);
	text-decoration: none;
	white-space: nowrap;
}

.topbar-nav-item:not(.has-children) > .topbar-nav-link:hover,
.topbar-nav-item:not(.has-children) > .topbar-nav-link:focus-visible,
.topbar-nav-item:not(.has-children) > .topbar-nav-link.is-current {
	background: var(--clay-08);
	color: var(--ink);
	outline: none;
}

.topbar-nav-item:not(.has-children) > .topbar-nav-link.is-current,
.topbar-nav-item:not(.has-children) > .topbar-nav-link.is-current:hover,
.topbar-nav-item:not(.has-children)
	> .topbar-nav-link.is-current:focus-visible {
	background: transparent;
	color: var(--clay);
}

.topbar-nav-item.has-children > .topbar-nav-trigger > .topbar-nav-link {
	padding: 0.5rem 0.18rem 0.5rem 0;
}

.topbar-nav-item.has-children > .topbar-nav-trigger > .topbar-nav-link:hover,
.topbar-nav-item.has-children
	> .topbar-nav-trigger
	> .topbar-nav-link:focus-visible,
.topbar-nav-item.is-open > .topbar-nav-trigger > .topbar-nav-link,
.topbar-nav-item.is-current > .topbar-nav-trigger > .topbar-nav-link {
	background: transparent;
	color: inherit;
	outline: none;
}

.topbar-nav-item.is-current > .topbar-nav-trigger,
.topbar-nav-item.is-current > .topbar-nav-trigger:hover,
.topbar-nav-item.is-current > .topbar-nav-trigger:focus-within {
	background: transparent;
	color: var(--clay);
}

.topbar-nav-caret {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.9rem;
	border: none;
	background: transparent;
	color: currentColor;
	cursor: pointer;
}

.topbar-nav-caret::before {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-0.12rem) rotate(-45deg);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav-caret:hover,
.topbar-nav-caret:focus-visible,
.topbar-nav-item.has-children > .topbar-nav-trigger:hover > .topbar-nav-caret,
.topbar-nav-item.has-children
	> .topbar-nav-trigger:focus-within
	> .topbar-nav-caret,
.topbar-nav-item.is-open > .topbar-nav-trigger > .topbar-nav-caret {
	color: currentColor;
	outline: none;
}

.topbar-nav-item.is-open > .topbar-nav-trigger > .topbar-nav-caret::before {
	transform: translateY(0.08rem) rotate(45deg);
}

.topbar-dropdown {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	min-width: 15rem;
	padding: 0.72rem;
	list-style: none;
	border: 1px solid var(--clay-16);
	border-radius: 1rem;
	background: var(--paper-strong);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1rem 2rem rgba(31, 18, 9, 0.09);
	opacity: 0;
	transform: translateY(0.3rem);
	pointer-events: none;
	transition:
		opacity 0.2s ease,
		transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-dropdown li + li {
	margin-top: 0.16rem;
}

.topbar-nav-item.is-open > .topbar-dropdown,
.topbar-nav-item.has-children:focus-within > .topbar-dropdown {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.topbar-dropdown-link {
	display: block;
	padding: 0.9rem 1.05rem;
	border-radius: 0.7rem;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink-60);
	text-decoration: none;
	transition:
		background 0.22s ease,
		color 0.22s ease;
}

.topbar-dropdown-link:hover,
.topbar-dropdown-link:focus-visible,
.topbar-dropdown-link.is-current {
	background: var(--clay-08);
	color: var(--ink);
	outline: none;
}

.topbar-burger {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.24rem;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--clay-16);
	border-radius: 999px;
	background: var(--paper-strong);
	color: var(--ink);
	cursor: pointer;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition:
		border-color 0.25s ease,
		background 0.25s ease,
		color 0.25s ease;
}

.topbar-burger:hover,
.topbar-burger:focus-visible {
	border-color: var(--clay-30);
	color: var(--clay);
	outline: none;
}

.topbar-burger-line {
	display: block;
	width: 1rem;
	height: 1.5px;
	border-radius: 999px;
	background: currentColor;
	transform-origin: center;
	transition:
		transform 0.25s ease,
		opacity 0.2s ease;
}

.topbar-burger[aria-expanded="true"] .topbar-burger-line:nth-child(1) {
	transform: translateY(0.39rem) rotate(45deg);
}

.topbar-burger[aria-expanded="true"] .topbar-burger-line:nth-child(2) {
	opacity: 0;
}

.topbar-burger[aria-expanded="true"] .topbar-burger-line:nth-child(3) {
	transform: translateY(-0.39rem) rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	top: 4rem;
	left: 0;
	right: 0;
	z-index: 99;
	padding: 0 1.25rem 1.25rem;
	border-bottom: 1px solid var(--clay-16);
	background: rgba(248, 241, 233, 0.96);
	-webkit-backdrop-filter: blur(18px) saturate(1.25);
	backdrop-filter: blur(18px) saturate(1.25);
	box-shadow: 0 0.8rem 1.8rem rgba(31, 18, 9, 0.08);
	max-height: calc(100svh - 4rem);
	overflow-y: auto;
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	padding-top: 0.75rem;
}

.mobile-menu-item {
	border-bottom: 1px solid var(--clay-08);
}

.mobile-menu-trigger {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.mobile-menu-link,
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 0.95rem 0;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 0.96rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.mobile-menu-trigger > .mobile-menu-link {
	flex: 1;
}

.mobile-menu-trigger > .mobile-menu-toggle {
	width: 2.4rem;
	flex: 0 0 2.4rem;
	justify-content: center;
	padding-left: 0.2rem;
	padding-right: 0.2rem;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
	color: var(--clay);
	outline: none;
}

.mobile-menu-toggle::after {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-0.08rem) rotate(45deg);
	transition: transform 0.25s ease;
}

.mobile-menu-toggle[aria-expanded="true"]::after {
	transform: translateY(0.1rem) rotate(-135deg);
}

.mobile-menu-subnav {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0 0 0.95rem 1rem;
}

.mobile-menu-subnav[hidden] {
	display: none;
}

.mobile-menu-sublink {
	display: block;
	padding: 0.45rem 0;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink-60);
	text-decoration: none;
}

.mobile-menu-sublink:hover,
.mobile-menu-sublink:focus-visible,
.mobile-menu-sublink.is-current {
	color: var(--ink);
	outline: none;
}

body.has-mobile-menu {
	overflow: hidden;
}

.topbar-logo {
	height: 3.4rem;
	width: 3.4rem;
	flex-shrink: 0;
	display: grid;
	place-items: center;
}

.topbar-logo svg {
	height: 3.4rem;
	width: auto;
	display: block;
	overflow: visible;
	font-family: "Lato", sans-serif;
}

.topbar-sep--faint {
	opacity: 0.4;
	display: none;
}

.topbar-conf--sub {
	display: none;
}

@media (min-width: 900px) {
	.topbar-sep--faint {
		display: block;
	}
	.topbar-conf--sub {
		display: inline;
	}
}

@media (min-width: 960px) {
	.topbar-nav {
		display: flex;
	}

	.topbar-burger,
	.mobile-menu {
		display: none !important;
	}
}

@media (max-width: 959px) {
	.topbar {
		padding-right: clamp(1rem, 4vw, 1.4rem);
	}
}

/* ── Floating news card ──────────────────────────────────── */
.news-card {
	position: fixed;
	top: clamp(5rem, 8vmin, 6.5rem);
	left: clamp(1rem, 3vw, 2.5rem);
	z-index: 98;
	width: min(30rem, calc(100vw - 2rem));
	border: 1px solid var(--clay-16);
	border-radius: 0.75rem;
	background: var(--paper);
	overflow: hidden;
	opacity: 0;
	transform: translateY(1rem);
	animation: news-card-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.4s forwards;
	transition:
		border-color 0.3s ease,
		border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		width 0.48s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.3s ease;
}

/* Collapsed state — only the tab header visible */
.news-card.is-collapsed .news-card-body {
	max-height: 0;
	overflow: hidden;
}

.news-card.is-collapsed .news-card-tab-caret {
	transform: rotate(180deg);
}

/* ── Inner-page pill state ───────────────────── */
/* On non-homepage pages: collapsed card shrinks to icon + caret only */
.news-card.is-inner-page.is-collapsed {
	width: 5rem;
	border-radius: 999px;
	filter: opacity(0.55);
}

.news-card.is-inner-page.is-collapsed:hover,
.news-card.is-inner-page.is-collapsed:focus-within {
	filter: none;
}

.news-card.is-inner-page.is-collapsed .news-card-tab {
	padding: 0.6rem 1rem;
	gap: 0;
}

.news-card.is-inner-page.is-collapsed .news-card-tab-caret {
	margin-left: auto;
}

/* Label fades in/out as the card expands/collapses */
.news-card.is-inner-page .news-card-tab-label {
	overflow: hidden;
	white-space: nowrap;
	transition: opacity 0.25s ease 0.18s;
}

.news-card.is-inner-page.is-collapsed .news-card-tab-label {
	max-width: 0;
	opacity: 0;
	transition: opacity 0.15s ease;
}

@keyframes news-card-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Tab / toggle header ─────────────────────── */
.news-card-tab {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.85rem 1.3rem;
	background: var(--clay-16);
	color: var(--clay);
	border: none;
	border-bottom: 1px solid var(--clay-16);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.2s ease;
}

.news-card-tab:hover {
	background: var(--clay-30);
}

.news-card-tab-icon {
	display: flex;
	align-items: center;
	opacity: 0.65;
}

.news-card-tab-icon svg {
	width: 16px;
	height: 16px;
}

.news-card-tab-label {
	flex: 1;
	text-align: left;
}

.news-card-tab-caret {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4.5px solid transparent;
	border-right: 4.5px solid transparent;
	border-bottom: 5px solid currentColor;
	opacity: 0.6;
	transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-tab[aria-expanded="false"] .news-card-tab-caret {
	transform: rotate(180deg);
}

/* ── Card body ───────────────────────────────── */
.news-card-body {
	max-height: 36rem;
	overflow-y: auto;
	transition: max-height 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-body[hidden] {
	display: block;
	max-height: 0;
	overflow: hidden;
}

.news-card-section {
	padding: 1rem 1.3rem;
}

.news-card-section + .news-card-section {
	border-top: 1px solid var(--clay-08);
}

/* ── Badge ───────────────────────────────────── */
.news-card-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--clay);
	background: var(--clay-08);
	border: 1px solid var(--clay-30);
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	margin-bottom: 0.8rem;
}

/* ── Dates list ──────────────────────────────── */
.news-card-dates {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.news-card-date-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 0.5rem 0;
}

.news-card-date-row + .news-card-date-row {
	border-top: 1px solid var(--clay-08);
}

.news-card-date-row dt {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--ink-60);
}

.news-card-date-row dd {
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0;
}

.date-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin-top: 0.75rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--clay-08);
}

.date-legend:empty {
	display: none;
}

.date-legend--sidebar {
	margin-top: 1rem;
}

.date-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	color: var(--ink-20);
}

.date-legend-swatch {
	display: inline-block;
	width: 1rem;
	height: 0.7rem;
	position: relative;
	color: var(--status-aside);
}

.date-legend-swatch::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 2px solid currentColor;
	transform: translateY(-50%);
}

.date-legend-swatch--active {
	color: var(--status-active);
}

.date-legend-swatch--extended {
	color: var(--status-extended);
}

.date-legend-swatch--extended::before {
	border-top-style: dotted;
}

.date-legend-swatch--done {
	color: var(--status-done);
}

.date-legend-swatch--done::before {
	top: 52%;
}

.date-legend-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-20);
}

/* ── News heading ────────────────────────────── */
.news-card-heading {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
	margin-bottom: 0.6rem;
}

/* ── News list ───────────────────────────────── */
.news-card-news {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.news-card-news li {
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--ink-60);
	line-height: 1.55;
	padding-left: 1rem;
	position: relative;
}

.news-card-news li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--clay);
}

.news-card-news time {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ink-20);
	margin-bottom: 0.1rem;
}

/* ── Wide laptop: slightly tighter floating card ────────── */
@media (min-width: 1181px) and (max-width: 1512px) {
	.news-card {
		top: clamp(4.6rem, 7vmin, 5.8rem);
		left: clamp(1rem, 2.4vw, 2rem);
		width: min(26rem, calc(100vw - 2rem));
	}

	.news-card-tab {
		padding: 0.74rem 1.1rem;
		font-size: 0.74rem;
	}

	.news-card-section {
		padding: 0.88rem 1.1rem;
	}

	.news-card-badge {
		font-size: 0.67rem;
		padding: 0.28rem 0.72rem;
		margin-bottom: 0.7rem;
	}

	.news-card-date-row {
		padding: 0.44rem 0;
	}

	.news-card-date-row dt {
		font-size: 0.84rem;
	}

	.news-card-date-row dd {
		font-size: 0.78rem;
	}

	.news-card-heading {
		font-size: 0.71rem;
		margin-bottom: 0.5rem;
	}

	.news-card-news {
		gap: 0.55rem;
	}

	.news-card-news li {
		font-size: 0.81rem;
		padding-left: 0.9rem;
	}

	.news-card-news time {
		font-size: 0.67rem;
	}
}

/* ── Tablet and laptop: inline below hero ──────────────── */
@media (max-width: 1180px) {
	.news-card {
		position: relative;
		top: auto;
		left: auto;
		width: min(32rem, calc(100vw - 2rem));
		margin: calc(4rem + 0.75rem) auto clamp(1.5rem, 3vmin, 2.5rem);
		opacity: 1;
		transform: none;
		animation: none;
	}
	.news-card-body[hidden] {
		display: none;
	}
	.news-card.is-collapsed .news-card-body {
		max-height: none;
		overflow: visible;
	}
	.news-card.is-collapsed .news-card-tab-caret {
		transform: none;
	}
	/* Collapsed pill on inner pages: left-align instead of centering */
	.news-card.is-inner-page.is-collapsed {
		margin-left: clamp(1rem, 3vw, 2.5rem);
		margin-right: auto;
	}
}

/* ── Center content ──────────────────────────────────────── */
.hero-center {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.6rem, 1.5vmin, 1rem);
	max-width: 720px;
	width: 100%;
	text-align: center;
}

/* ── Logo ────────────────────────────────────────────────── */
.logo-host {
	width: min(60%, 480px);
	display: grid;
	place-items: center;
	filter: drop-shadow(0 0.3rem 1.2rem var(--shadow));
}

.logo-host svg {
	width: 100%;
	height: auto;
	will-change: transform;
	overflow: visible;
	font-family: "Lato", sans-serif;
}

.logo-host svg.logo [data-drawable] {
	stroke-dasharray: var(--length);
	stroke-dashoffset: var(--length);
	fill: none;
}

.logo-host svg.logo.play [data-drawable] {
	animation: draw var(--duration) cubic-bezier(0.4, 0, 0.2, 1) var(--delay)
		forwards;
}

.logo-host svg.logo .text-target {
	opacity: 0;
}

.logo-host svg.logo.play .text-target {
	animation: text-in 0.6s ease var(--text-delay) forwards;
}

.logo-host svg.logo.play {
	animation: logo-drift 6s ease-in-out var(--sequence-end) infinite alternate;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: clamp(0.4rem, 1vmin, 0.8rem) 0;
}

.divider-line {
	width: clamp(1.8rem, 5vw, 3.2rem);
	height: 1px;
	background: var(--clay-30);
	transform: scaleX(0);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.divider-dot {
	position: relative;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--clay);
	opacity: 0;
	transform: scale(0.3);
	transition:
		opacity 0.4s ease,
		transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.divider-dot::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 1px solid var(--clay-30);
	opacity: 0;
}

.divider.is-visible .divider-line {
	transform: scaleX(1);
}

.divider.is-visible .divider-dot {
	opacity: 1;
	transform: scale(1);
}

.divider.is-visible .divider-dot::before {
	animation: dot-pulse 2.8s ease-out 1.2s infinite;
}

/* ── City name ───────────────────────────────────────────── */
.city {
	text-align: center;
}

.city-name {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(3.8rem, 10vw, 8rem);
	font-weight: 500;
	line-height: 0.94;
	letter-spacing: -0.02em;
	color: var(--ink);
	white-space: nowrap;
}

.city-char {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.3em);
	transition:
		opacity 0.5s ease calc(var(--i) * 0.06s),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 0.06s);
}

.city.is-visible .city-char {
	opacity: 1;
	transform: translateY(0);
}

.city:not(.split) .city-name {
	opacity: 0;
	transform: translateY(0.8rem);
	transition:
		opacity 0.8s ease,
		transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.city:not(.split).is-visible .city-name {
	opacity: 1;
	transform: none;
}

/* ── City meta ───────────────────────────────────────────── */
.city-meta {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: 0.3rem;
	opacity: 0;
	transform: translateY(0.4rem);
	transition:
		opacity 0.5s ease,
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-meta.is-visible {
	opacity: 1;
	transform: none;
}

.city-country {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-60);
}

.city-sep {
	width: 1.8rem;
	height: 1px;
	background: var(--clay-30);
}

.city-year {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--clay);
}

/* ── City subtitle ───────────────────────────────────────── */
.city-subtitle {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-style: italic;
	font-size: clamp(1.1rem, 2.4vw, 1.45rem);
	font-weight: 400;
	color: var(--ink-60);
	margin-top: -0.1rem;
	opacity: 0;
	transform: translateY(0.4rem);
	transition:
		opacity 0.6s ease,
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-subtitle.is-visible {
	opacity: 1;
	transform: none;
}

.logo-more {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.8rem;
	font-size: 0.74rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--clay);
	text-decoration: none;
	opacity: 0;
	transform: translateY(0.4rem);
	transition:
		opacity 0.6s ease,
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		color 0.25s ease;
}

.logo-more::after {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: var(--clay-30);
	transform-origin: left center;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease;
}

.logo-more:hover {
	color: var(--ink);
}

.logo-more:hover::after {
	transform: scaleX(1.16);
	background: var(--clay);
}

.logo-more.is-visible {
	opacity: 1;
	transform: none;
}

/* ── Scroll indicator ────────────────────────────────────── */
.scroll-hint {
	position: absolute;
	bottom: clamp(1.2rem, 3vmin, 2rem);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.38rem;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0.35rem 1rem;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.scroll-hint.is-visible {
	opacity: 0.82;
}

.scroll-hint:hover {
	opacity: 1;
}

.scroll-hint-label {
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
	opacity: 0.9;
}

.scroll-hint-line {
	width: 1.5px;
	height: 1.95rem;
	background: linear-gradient(180deg, transparent, var(--clay));
	animation: scroll-pulse 2.5s ease-in-out 4s infinite;
}

.scroll-hint-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--clay);
	opacity: 0.82;
}

.back-to-top {
	position: fixed;
	right: clamp(0.9rem, 2vw, 1.5rem);
	bottom: clamp(0.9rem, 2vw, 1.5rem);
	z-index: 120;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	height: 40px;
	padding: 0 0.95rem;
	border: 1px solid var(--clay-30);
	border-radius: 999px;
	background: var(--paper-strong);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 0.35rem 1rem rgba(45, 30, 18, 0.08);
	color: var(--ink);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(0.75rem);
	transition:
		opacity 0.35s ease,
		transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease,
		color 0.25s ease;
}

.back-to-top::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-top: 1.5px solid currentColor;
	border-left: 1.5px solid currentColor;
	transform: translateY(0.08rem) rotate(45deg);
}

.back-to-top-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.back-to-top:hover {
	border-color: var(--clay);
	color: var(--clay);
}

/* ═══════════════════════════════════════════════════════════
   DATES
═══════════════════════════════════════════════════════════ */
.dates {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--clay-16);
	padding: clamp(3rem, 6vmin, 5rem) clamp(1.5rem, 5vw, 3rem);
}

.dates-wrap {
	max-width: var(--max);
	margin: 0 auto;
}

.dates-header {
	margin-bottom: clamp(1.8rem, 4vmin, 3rem);
}

.dates-label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--clay);
	margin-bottom: 0.5rem;
}

.dates-heading {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.08;
	color: var(--ink);
}

.dates-note {
	font-size: clamp(0.98rem, 1.5vw, 1.06rem);
	font-weight: 400;
	color: var(--ink-60);
	margin-top: 0.65rem;
	line-height: 1.7;
	max-width: 38rem;
}

/* ── Round cards ─────────────────────────────────────────── */
.rounds {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.2rem, 3vmin, 1.8rem);
}

@media (min-width: 768px) {
	.rounds {
		grid-template-columns: repeat(3, 1fr);
	}
}

.round {
	border: 1px solid var(--clay-30);
	border-radius: 0.5rem;
	padding: clamp(1.2rem, 2.5vmin, 1.8rem);
	background: var(--paper-soft);
	box-shadow: 0 0.75rem 1.8rem rgba(31, 18, 9, 0.05);
	opacity: 0;
	transform: translateY(1rem);
	transition:
		opacity 0.6s ease,
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.round.in-view {
	opacity: 1;
	transform: none;
}

.round:nth-child(2) {
	transition-delay: 0.08s;
}

.round:nth-child(3) {
	transition-delay: 0.16s;
}

.round-label {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--clay-08);
	margin-bottom: 0.6rem;
}

.round-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.55rem 0;
}

.round-row + .round-row {
	border-top: 1px solid var(--clay-08);
}

.round-event {
	font-size: 0.94rem;
	font-weight: 500;
	color: var(--ink);
}

.round-value {
	font-size: 0.82rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.08em;
	margin-left: auto;
	text-align: right;
}

/* ── Conference row ──────────────────────────────────────── */
.conference-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	margin-top: clamp(1.5rem, 3vmin, 2.2rem);
	padding-top: clamp(1.2rem, 2.5vmin, 1.8rem);
	border-top: 1px solid var(--clay-16);
	opacity: 0;
	transform: translateY(0.6rem);
	transition:
		opacity 0.6s ease 0.2s,
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.conference-row.in-view {
	opacity: 1;
	transform: none;
}

.conference-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-60);
}

.conference-value {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 500;
	color: var(--clay);
}
/* ═══════════════════════════════════════════════════════════
   Date Status
═══════════════════════════════════════════════════════════*/
.date-value {
	display: inline-block;
	color: var(--status-aside);
	text-decoration-color: currentColor;
	text-decoration-thickness: 1.2px;
	text-underline-offset: 0.16em;
}

.date-value--active {
	color: var(--status-active);
}

.date-value--extended {
	color: var(--status-extended);
	text-decoration-line: underline;
	text-decoration-style: dotted;
}

.date-value--done {
	color: var(--status-done);
	text-decoration-line: line-through;
}

.date-value--aside {
	color: var(--status-aside);
}

.news-card-date-row.is-done dt,
.page-sidebar-date-row.is-done dt,
.round-row.is-done .round-event {
	color: var(--ink-38);
}

.news-card-date-row.is-extended dt,
.page-sidebar-date-row.is-extended dt,
.round-row.is-extended .round-event {
	color: var(--ink);
}
/* ═══════════════════════════════════════════════════════════
   CONTENT SECTIONS
═══════════════════════════════════════════════════════════ */

.section {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-top: 1px solid var(--clay-08);
	padding: clamp(3rem, 6vmin, 5rem) clamp(1.5rem, 5vw, 3rem);
}

.section-wrap {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vmin, 2.5rem);
	opacity: 0;
	transform: translateY(1.2rem);
	transition:
		opacity 0.7s ease,
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-wrap.in-view {
	opacity: 1;
	transform: none;
}

.section-body {
	min-width: 0;
}

@media (min-width: 768px) {
	.section-wrap {
		grid-template-columns: 10rem 1fr;
		gap: clamp(2rem, 4vw, 5rem);
	}
}

.section-label {
	display: flex;
	gap: 0.5rem;
	align-items: baseline;
}

@media (min-width: 768px) {
	.section-label {
		flex-direction: column;
		gap: 0.25rem;
		padding-top: 0.6rem;
	}
}

.section-num {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--ink-38);
}

.section-tag {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
}

.section-heading {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.08;
	margin-bottom: clamp(0.8rem, 2vmin, 1.2rem);
}

.section-text {
	font-size: clamp(1rem, 1.3vw, 1.08rem);
	font-weight: 400;
	line-height: 1.8;
	color: var(--ink-60);
	max-width: 44rem;
}

.section-text + .section-text {
	margin-top: 0.9rem;
}

.venue-layout {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
	width: min(100%, 64rem);
	position: relative;
}

.venue-copy {
	display: grid;
	gap: 0.95rem;
	position: relative;
	z-index: 2;
}

.venue-copy .section-heading {
	margin-bottom: 0;
}

.venue-copy .section-text + .section-text {
	margin-top: 0;
}

.venue-panel {
	position: relative;
	border: 1px solid var(--clay-16);
	border-radius: 1.1rem;
	background: var(--paper-strong);
	box-shadow: 0 0.9rem 2rem rgba(31, 18, 9, 0.06);
	overflow: hidden;
}

.venue-panel::before {
	content: "";
	position: absolute;
	inset: 1rem 1rem auto auto;
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	background: radial-gradient(
		circle,
		rgba(183, 104, 58, 0.16),
		transparent 70%
	);
	pointer-events: none;
	z-index: 2;
}

.venue-panel-media {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(
			180deg,
			rgba(248, 241, 233, 0) 52%,
			rgba(248, 241, 233, 0.18) 100%
		),
		linear-gradient(135deg, rgba(183, 104, 58, 0.08), rgba(88, 124, 127, 0.12));
	overflow: hidden;
}

.venue-panel-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(248, 241, 233, 0) 55%,
		rgba(248, 241, 233, 0.16) 100%
	);
	pointer-events: none;
}

.venue-panel-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media (min-width: 980px) {
	#venue {
		padding-top: 0;
		padding-bottom: 0;
		padding-right: 0;
	}

	#venue .section-wrap {
		position: relative;
		max-width: var(--max);
		width: 100%;
		padding-top: clamp(3rem, 6vmin, 5rem);
		padding-bottom: clamp(3rem, 6vmin, 5rem);
		min-height: clamp(30rem, 38vw, 42rem);
	}

	.venue-layout {
		display: block;
		width: 100%;
		min-height: 0;
		padding-right: 0;
		position: static;
	}

	.venue-copy {
		max-width: min(42rem, 46vw);
		padding-right: clamp(2.5rem, 4vw, 5rem);
	}

	.venue-panel {
		position: absolute;
		top: 0;
		bottom: 0;
		right: min(-1.5rem, calc((100vw - var(--max)) / -2 - 1rem));
		width: clamp(33rem, 46vw, 54rem);
		max-width: none;
		border: none;
		border-radius: 0;
		background: none;
		box-shadow: none;
		overflow: visible;
		z-index: 1;
	}

	.venue-panel::before {
		inset: auto auto 1.5rem 32%;
		width: 8rem;
		height: 8rem;
		background: radial-gradient(
			circle,
			rgba(183, 104, 58, 0.2),
			transparent 72%
		);
	}

	.venue-panel-media {
		height: 100%;
		aspect-ratio: auto;
		border-radius: 1.6rem 0 0 1.6rem;
		box-shadow: 0 1.2rem 3rem rgba(31, 18, 9, 0.12);
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.12) 6%,
			rgba(0, 0, 0, 0.42) 18%,
			rgba(0, 0, 0, 0.78) 32%,
			#000 48%,
			#000 100%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.12) 6%,
			rgba(0, 0, 0, 0.42) 18%,
			rgba(0, 0, 0, 0.78) 32%,
			#000 48%,
			#000 100%
		);
	}

	.venue-panel-media::after {
		background:
			linear-gradient(
				90deg,
				rgba(248, 241, 233, 0.96),
				rgba(248, 241, 233, 0.06) 32%
			),
			linear-gradient(
				180deg,
				rgba(248, 241, 233, 0.06) 58%,
				rgba(248, 241, 233, 0.22) 100%
			);
	}

	.venue-panel-image {
		opacity: 0.96;
	}
}

/* ═══════════════════════════════════════════════════════════
   SUBPAGES
═══════════════════════════════════════════════════════════ */
.page-main {
	position: relative;
	z-index: 1;
	padding: clamp(6.5rem, 10vw, 8.5rem) clamp(1.5rem, 5vw, 3rem)
		clamp(4rem, 8vw, 6rem);
}

/* ── Hero-first layout (page-main--hero) ─────────────────── */
.page-main--hero {
	padding: 0 0 clamp(4rem, 8vw, 6rem);
}

/* Full-bleed page hero */
.page-main--hero > .page-hero {
	position: relative;
	overflow: hidden;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: linear-gradient(
		168deg,
		var(--paper) 30%,
		rgba(183, 104, 58, 0.07) 100%
	);
	border-bottom: 1px solid var(--clay-08);
	padding: clamp(7rem, 14vw, 10rem) clamp(1.5rem, 5vw, 3rem)
		clamp(4rem, 8vw, 6.5rem);
}

/* Building silhouette — right */
.page-hero-building {
	position: absolute;
	bottom: 0;
	right: 0;
	width: clamp(14rem, 34vw, 36rem);
	aspect-ratio: 1579.63 / 715.37;
	background: var(--ink-08);
	-webkit-mask: url("../img/logo/building.svg") no-repeat bottom right /
		contain;
	mask: url("../img/logo/building.svg") no-repeat bottom right / contain;
	pointer-events: none;
}

/* Basilisk silhouette — left */
.page-hero-basilisk {
	position: absolute;
	bottom: 0;
	left: -1rem;
	width: clamp(10rem, 20vw, 22rem);
	aspect-ratio: 1739.08 / 1231.46;
	background: var(--ink-08);
	opacity: 0.45;
	-webkit-mask: url("../img/logo/baselisk.svg") no-repeat bottom left /
		contain;
	mask: url("../img/logo/baselisk.svg") no-repeat bottom left / contain;
	pointer-events: none;
}

/* Inner content wrapper */
.page-hero-content {
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: 0 auto;
}

/* Decorative rule between eyebrow and title */
.page-hero-rule {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0.9rem 0 1.4rem;
}

.page-hero-rule span {
	width: clamp(1.8rem, 5vw, 3.2rem);
	height: 1px;
	background: var(--clay-30);
}

.page-hero-dot {
	flex-shrink: 0;
	width: 4px !important;
	height: 4px !important;
	border-radius: 50%;
	background: var(--clay) !important;
}

/* Toulouse / conference location tag */
.page-conf-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.8rem;
	font-size: 0.71rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-20);
}

.page-conf-city {
	color: var(--clay);
}

.page-conf-sep {
	display: inline-block;
	width: 1.4rem;
	height: 1px;
	background: var(--clay-30);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════ */

/* Strip the default page-main padding */
.about-main {
	position: relative;
	z-index: 1;
	padding: 0;
}


/* ── Split hero ──────────────────────────────────────────── */

/* Outer hero */
.about-hero {
	border-bottom: 1px solid var(--clay-16);
}

/* Full-bleed split: left paper / right clay — proportional to viewport */
.about-hero-split {
	display: grid;
	grid-template-columns: 1fr 38%;
	min-height: clamp(28rem, 72vh, 52rem);
}

/* Left: paper — conference identity */
.about-hero-l {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(5rem, 8vw, 7rem) clamp(2rem, 5vw, 5rem);
}

.about-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--clay);
	margin-bottom: 1.6rem;
}

.about-eyebrow-sep {
	display: inline-block;
	width: 1.1rem;
	height: 1px;
	background: var(--clay-30);
	flex-shrink: 0;
}

.about-title {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(3.2rem, 8vw, 9rem);
	font-weight: 500;
	line-height: 0.92;
	color: var(--ink);
	letter-spacing: -0.02em;
}

.about-intro {
	margin-top: 1.8rem;
	max-width: 38rem;
	font-size: clamp(0.95rem, 1.15vw, 1.05rem);
	line-height: 1.85;
	color: var(--ink-60);
}

/* Right: paper — Toulouse city identity (no clay fill) */
.about-hero-r {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0;
	border-left: 1px solid var(--clay-16);
	overflow: hidden;
}

.about-hero-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0, 0, 0, 0.12) 6%,
		rgba(0, 0, 0, 0.42) 18%,
		rgba(0, 0, 0, 0.78) 32%,
		#000 48%,
		#000 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0, 0, 0, 0.12) 6%,
		rgba(0, 0, 0, 0.42) 18%,
		rgba(0, 0, 0, 0.78) 32%,
		#000 48%,
		#000 100%
	);
}

/* Capitole architectural ghost — subtle clay tint on paper */
.about-capitole {
	position: absolute;
	inset: 0;
	background: var(--clay-16);
	-webkit-mask: url("../img/logo/building.svg") no-repeat center 28% / 88% auto;
	mask: url("../img/logo/building.svg") no-repeat center 28% / 88% auto;
	pointer-events: none;
}

.about-city-id {
	position: relative;
	z-index: 1;
}

.about-city-name {
	display: block;
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2.6rem, 4.5vw, 5rem);
	font-weight: 400;
	font-style: italic;
	color: var(--ink);
	line-height: 1;
}

.about-city-tag {
	display: block;
	margin-top: 0.65rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--clay);
}

/* ── Quote ───────────────────────────────────────────────── */
.about-quote {
	padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 6vw, 5rem);
	border-bottom: 1px solid var(--clay-08);
}

.about-quote-wrap {
	max-width: var(--max);
	margin: 0 auto;
	position: relative;
}

.about-quote-mark {
	position: absolute;
	top: -2rem;
	left: -0.25rem;
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(8rem, 18vw, 15rem);
	line-height: 1;
	color: var(--clay-08);
	pointer-events: none;
	user-select: none;
}

.about-quote-text {
	position: relative;
	padding-left: clamp(3.5rem, 8vw, 8rem);
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(1.7rem, 3.2vw, 2.8rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.35;
	color: var(--ink);
}

.about-quote-cite {
	display: block;
	padding-left: clamp(3.5rem, 8vw, 8rem);
	margin-top: 1.2rem;
	font-style: normal;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--clay);
}

/* ── Content sections ────────────────────────────────────── */
.about-sections {
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem)
		clamp(4rem, 8vw, 6rem);
}

.about-sections .section:first-child {
	border-top: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 680px) {
	.about-hero-split {
		grid-template-columns: 1fr;
	}

	.about-hero-r {
		min-height: 11rem;
		justify-content: flex-end;
	}
}

/* ═══════════════════════════════════════════════════════════
   ATTENDING PAGE
═══════════════════════════════════════════════════════════ */

.attending-main {
	position: relative;
	z-index: 1;
	padding: 0;
}

.attending-hero .about-hero-split {
	grid-template-columns: 58% 1fr;
}

/* ── Ville Rose strip ────────────────────────────────────── */
.ville-rose {
	border-bottom: 1px solid var(--clay-08);
	padding: clamp(2rem, 4.5vw, 3.2rem) clamp(1.5rem, 5vw, 3rem);
	background: linear-gradient(
		140deg,
		color-mix(in srgb, var(--clay) 7%, var(--paper)) 0%,
		var(--paper) 55%
	);
	overflow: hidden;
	position: relative;
}

.ville-rose-bg {
	position: absolute;
	right: -0.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(5rem, 13vw, 14rem);
	font-weight: 400;
	font-style: italic;
	color: var(--clay-08);
	line-height: 1;
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}

.ville-rose-inner {
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.ville-rose-name {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2rem, 4vw, 3.6rem);
	font-weight: 400;
	font-style: italic;
	color: var(--clay);
	white-space: nowrap;
	line-height: 1.1;
	flex-shrink: 0;
}

.ville-rose-sep {
	width: 1px;
	height: clamp(2.8rem, 5vw, 4rem);
	background: var(--clay-16);
	flex-shrink: 0;
}

.ville-rose-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.ville-rose-kicker {
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--clay);
}

.ville-rose-text {
	font-size: clamp(0.88rem, 1.05vw, 0.96rem);
	line-height: 1.7;
	color: var(--ink-60);
	max-width: 38rem;
}

/* ── Venue split section ─────────────────────────────────── */
.venue-section {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--clay-08);
	display: grid;
	grid-template-columns: 54% 1fr;
	min-height: clamp(28rem, 64vh, 48rem);
	overflow: hidden;
}

.venue-section-l {
	display: grid;
	grid-template-columns: 10rem 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-content: center;
	padding: clamp(3rem, 6vmin, 5rem) clamp(2rem, 4vw, 4rem)
		clamp(3rem, 6vmin, 5rem) clamp(1.5rem, 5vw, 3rem);
}

.venue-section-r {
	position: relative;
	border-left: 1px solid var(--clay-16);
	overflow: hidden;
}

.venue-section-r iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.venue-location {
	margin-top: 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.venue-location-label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--ink-38);
}

.venue-location-label svg {
	flex-shrink: 0;
	color: var(--clay);
}


/* ── Copy field ─────────────────────────────────────────── */
.copy-field {
	display: flex;
	align-items: stretch;
	background: color-mix(in srgb, var(--clay) 4%, var(--paper));
	border: 1.5px solid var(--clay-16);
	border-radius: 0.55rem;
	overflow: hidden;
	transition: border-color 0.15s;
	width: 100%;
}

.copy-field:focus-within {
	border-color: var(--clay-30);
}

.copy-field-value {
	flex: 1;
	padding: 0.6rem 0.85rem;
	font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas",
		"Liberation Mono", monospace;
	font-size: 0.78rem;
	line-height: 1.5;
	letter-spacing: 0.025em;
	color: var(--ink-60);
	user-select: text;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.copy-field-actions {
	display: flex;
	flex-shrink: 0;
	border-left: 1px solid var(--clay-16);
}

.copy-field-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--clay);
	text-decoration: none;
	transition: background 0.15s;
	-webkit-appearance: none;
}

.copy-field-btn + .copy-field-btn,
.copy-field-btn + .copy-field-btn--maps {
	border-left: 1px solid var(--clay-16);
}

.copy-field-btn:hover {
	background: color-mix(in srgb, var(--clay) 10%, var(--paper));
}

.copy-field-btn svg {
	width: 0.88rem;
	height: 0.88rem;
	flex-shrink: 0;
}

.copy-field-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.copy-field-icon--done {
	display: none;
}

/* Copied state */
.copy-field.is-copied {
	border-color: rgba(70, 130, 70, 0.35);
}

.copy-field.is-copied .copy-field-value {
	color: rgba(45, 105, 45, 0.82);
}

.copy-field.is-copied .copy-field-icon--copy {
	display: none;
}

.copy-field.is-copied .copy-field-icon--done {
	display: flex;
	color: rgba(45, 120, 45, 0.9);
	animation: copy-pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes copy-pop {
	from { transform: scale(0.6); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

/* ── Transport cards ─────────────────────────────────────── */
.transport-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
	margin-top: clamp(1.4rem, 3vmin, 2rem);
}

.transport-card {
	border: 1px solid var(--clay-16);
	border-radius: 1rem;
	padding: 1.25rem 1.3rem 1.3rem;
	background: var(--paper-strong);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.transport-card-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.transport-card-icon {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	border: 1px solid var(--clay-16);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--clay);
	flex-shrink: 0;
	background: color-mix(in srgb, var(--clay) 5%, var(--paper));
}

.transport-card-icon svg {
	width: 0.95rem;
	height: 0.95rem;
}

.transport-card-title {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--ink);
}

.transport-card-text {
	font-size: 0.9rem;
	line-height: 1.72;
	color: var(--ink-60);
}

.transport-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	padding-top: 0.1rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--clay);
	text-decoration: none;
	border-bottom: 1px solid var(--clay-30);
	padding-bottom: 0.05rem;
	width: fit-content;
	transition: border-color 0.15s;
}

.transport-card-link:hover {
	border-color: var(--clay);
}

.transport-card-link svg {
	width: 0.7rem;
	height: 0.7rem;
}

/* ── City fact chips ─────────────────────────────────────── */
.city-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-top: clamp(1.4rem, 3vmin, 2rem);
}

.city-fact {
	padding: 1.1rem 1.05rem;
	border: 1px solid var(--clay-16);
	border-radius: 0.85rem;
	background: var(--paper-soft);
}

.city-fact-value {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(1.55rem, 2.6vw, 2.2rem);
	font-weight: 500;
	color: var(--clay);
	line-height: 1;
}

.city-fact-label {
	margin-top: 0.38rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ink-38);
	line-height: 1.35;
}

/* ── Attending responsive ────────────────────────────────── */
@media (max-width: 860px) {
	.venue-section {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.venue-section-l {
		grid-template-columns: auto 1fr;
	}

	.venue-section-r {
		min-height: 18rem;
		border-left: none;
		border-top: 1px solid var(--clay-16);
	}

	.transport-grid {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 560px) {
	.venue-section-l {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.attending-hero .about-hero-split {
		grid-template-columns: 1fr;
	}

	.attending-hero .about-hero-r {
		min-height: 11rem;
		justify-content: flex-end;
	}

	.ville-rose-bg {
		display: none;
	}

	.ville-rose-inner {
		flex-direction: column;
		gap: 0.9rem;
	}

	.ville-rose-sep {
		display: none;
	}

	.city-facts {
		grid-template-columns: 1fr 1fr;
	}
}

/* ── History Chart ──────────────────────────────────────────
   Vertical timeline: time flows top→bottom, streams are columns,
   tributaries merge into the EICS main trunk. Rendered inline below
   the Conference History section text.
   All visual styles live inside the SVG's own <style> block.  */
.history-chart {
	margin-top: 2.5rem;
	width: 100%;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.history-chart svg {
	display: block;
	width: 100%;
	height: auto;
}



/* ─────────────────────────────────────────────────────────── */
.page-shell {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.page-sidebar,
.page-shell-main {
	min-width: 0;
}

.page-hero {
	border: 1px solid var(--clay-16);
	border-radius: 1.1rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	background: var(--paper-soft);
	box-shadow: 0 0.8rem 2rem rgba(31, 18, 9, 0.05);
}

.page-hero--bare {
	border: none;
	border-radius: 0;
	background: none;
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}

.page-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay);
}

.page-eyebrow::before {
	content: "";
	width: 2rem;
	height: 1px;
	background: var(--clay-30);
}

.page-title {
	margin-top: 0.9rem;
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	font-weight: 500;
	line-height: 0.98;
	color: var(--ink);
}

.page-intro {
	margin-top: 1rem;
	max-width: 44rem;
	font-size: clamp(0.9rem, 1.2vw, 1rem);
	font-weight: 400;
	line-height: 1.8;
	color: var(--ink-60);
}

.page-intro + .page-intro {
	margin-top: 0.9rem;
}

.page-intro--note {
	padding: 0.7rem 1rem;
	border-left: 3px solid var(--clay-30);
	background: color-mix(in srgb, var(--clay) 5%, var(--paper));
	border-radius: 0 0.4rem 0.4rem 0;
	font-size: clamp(0.9rem, 1.2vw, 0.98rem);
}

/* ── Template CTA ────────────────────────────────────────── */
.template-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.1rem;
	padding: 0.65rem 0.9rem 0.65rem 0.75rem;
	border: 1.5px solid var(--clay-30);
	border-radius: 0.6rem;
	background: color-mix(in srgb, var(--clay) 4%, var(--paper));
	color: var(--clay);
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s;
}

.template-cta:hover {
	background: color-mix(in srgb, var(--clay) 10%, var(--paper));
	border-color: var(--clay-55);
}

.template-cta-icon {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
}

.template-cta-body {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.template-cta-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--clay);
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.template-cta-sub {
	font-size: 0.72rem;
	color: var(--ink-38);
	font-weight: 400;
	line-height: 1.3;
}

.template-cta-arrow {
	flex-shrink: 0;
	margin-left: 0.25rem;
	width: 0.8rem;
	height: 0.8rem;
	opacity: 0.55;
}

.page-intro-heading {
	margin-top: 1.6rem;
	margin-bottom: 0.2rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--clay);
}

.page-intro-lede {
	color: rgba(31, 18, 9, 0.88);
}

.page-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1rem;
}

.page-card {
	border: 1px solid var(--clay-16);
	border-radius: 0.9rem;
	padding: 1.2rem 1.15rem;
	background: var(--paper-strong);
}

.page-card h2,
.page-card h3 {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
	margin-bottom: 0.7rem;
}

.page-card p,
.page-card li {
	font-size: 0.96rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--ink-60);
}

.page-card ul {
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.page-card li {
	position: relative;
	padding-left: 0.95rem;
}

.page-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.68rem;
	width: 0.32rem;
	height: 0.32rem;
	border-radius: 50%;
	background: var(--clay);
}

.page-section {
	padding-top: 1rem;
}

.page-section + .page-section {
	border-top: 1px solid var(--clay-08);
}

.page-section-title {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 500;
	line-height: 1.08;
	color: var(--ink);
	margin-bottom: 0.8rem;
	scroll-margin-top: 6rem;
}

.page-section-text {
	max-width: 46rem;
	font-size: clamp(0.9rem, 1.2vw, 1rem);
	font-weight: 400;
	line-height: 1.8;
	color: var(--ink-60);
}

.page-section-text + .page-section-text {
	margin-top: 0.9rem;
}

.page-section-text--citation {
	font-style: italic;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--clay-30);
	background: var(--paper-strong);
	border-radius: 0 0.4rem 0.4rem 0;
}

.page-section-text--citation-wrong {
	opacity: 0.5;
}

.page-section-list {
	max-width: 46rem;
	padding-left: 1.25rem;
	margin-top: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: clamp(0.9rem, 1.2vw, 1rem);
	line-height: 1.8;
	color: var(--ink-60);
}

.page-section-link,
.section-text a,
.section-body a,
.about-intro a,
.page-intro a {
	color: var(--clay);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-color: var(--clay-30);
	transition: text-decoration-color 0.15s;
}

.page-section-link:hover,
.section-text a:hover,
.section-body a:hover,
.about-intro a:hover,
.page-intro a:hover {
	text-decoration-color: var(--clay);
}

.topics-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.85rem;
	list-style: none;
	padding: 0;
}

.topics-tag {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem 0.45rem 0.75rem;
	border: 1px solid var(--clay-16);
	border-radius: 0.55rem;
	background: rgba(183, 104, 58, 0.04);
	font-size: clamp(0.82rem, 1.1vw, 0.92rem);
	line-height: 1.5;
	color: var(--ink-60);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.topics-tag::before {
	content: "";
	flex-shrink: 0;
	width: 0.3rem;
	height: 0.3rem;
	border-radius: 50%;
	background: var(--clay);
	opacity: 0.7;
	translate: 0 -0.05em;
	align-self: center;
}

.req-list {
	list-style: none;
	padding: 0;
	margin-top: 0.85rem;
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.req-item {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--clay-16);
	border-radius: 0.55rem;
	background: rgba(183, 104, 58, 0.04);
	font-size: clamp(0.82rem, 1.1vw, 0.92rem);
	line-height: 1.55;
	color: var(--ink-60);
}

.req-item-label {
	display: block;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 0.2rem;
}

.page-meta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1rem;
}

.page-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0.8rem;
	border: 1px solid var(--clay-30);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-60);
}

.page-shell--contributions {
	align-items: start;
}

@media (min-width: 960px) {
	.page-shell--committees {
		grid-template-columns: minmax(16.5rem, 19rem) minmax(0, 1fr);
		gap: clamp(1.4rem, 3vw, 2.6rem);
		align-items: start;
	}
}

@media (min-width: 960px) {
	.page-shell--contributions {
		grid-template-columns: minmax(17rem, 20rem) minmax(0, 1fr);
		gap: clamp(1.4rem, 3vw, 2.4rem);
		align-items: start;
	}

	.page-shell--contributions .page-sidebar {
		position: static;
		top: auto;
	}
}

.page-sidebar {
	display: grid;
	gap: 1rem;
	align-content: start;
}

@media (min-width: 960px) {
	.page-sidebar {
		position: sticky;
		top: 5.5rem;
	}
}

.committee-sidebar-card--contact .page-sidebar-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-sidebar-card,
.page-content-card {
	border: 1px solid var(--clay-16);
	border-radius: 1rem;
	background: var(--paper-strong);
	box-shadow: 0 0.8rem 1.8rem rgba(31, 18, 9, 0.05);
	scroll-margin-top: 5.5rem;
}

.page-content-card--link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.page-content-card--link:hover,
.page-content-card--link:focus-visible {
	border-color: var(--clay);
	box-shadow: 0 1rem 2.4rem rgba(31, 18, 9, 0.1);
	transform: translateY(-2px);
	outline: none;
}

.page-sidebar-card {
	padding: 1.2rem 1.15rem;
}

.page-sidebar-title {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	font-weight: 500;
	line-height: 0.96;
	color: var(--ink);
}

.page-sidebar-note {
	margin-top: 0.65rem;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ink-60);
}

.page-sidebar-nav {
	display: grid;
	margin-top: 0.8rem;
}

.page-sidebar-link {
	display: block;
	padding: 0.72rem 0;
	border-top: 1px solid var(--clay-08);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--clay);
	text-decoration: none;
	transition: color 0.22s ease;
}

.page-sidebar-link:hover,
.page-sidebar-link:focus-visible {
	color: var(--ink);
	outline: none;
}

.page-sidebar-link--active {
	color: var(--ink);
	font-weight: 700;
	pointer-events: none;
}

.page-sidebar-rounds {
	display: grid;
	gap: 1.15rem;
	margin-top: 1rem;
}

.page-sidebar-round-title {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--clay);
}

.page-sidebar-round-list {
	margin-top: 0.55rem;
}

.page-sidebar-date-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.8rem;
	padding: 0.55rem 0;
	border-top: 1px solid var(--clay-08);
}

.page-sidebar-round:last-child .page-sidebar-date-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.page-sidebar-date-row dt {
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ink-60);
}

.page-sidebar-date-row dd {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.page-shell-main {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.page-main--contributions .page-hero,
.page-content-card {
	padding: clamp(1.4rem, 3vw, 2rem);
}

.page-content-card {
	scroll-margin-top: 5.5rem;
}

.page-content-card .page-section-title {
	margin-bottom: 0.75rem;
}

.committee-section + .committee-section {
	margin-top: 1rem;
}

.committee-section-head {
	display: grid;
	gap: 1rem;
	align-items: start;
	margin-bottom: 1.2rem;
}

@media (min-width: 860px) {
	.committee-section-head {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

.committee-section-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1;
	color: var(--ink);
}

.committee-section-title-main {
	font-weight: 700;
}

.committee-section-title-accent {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--clay);
}

.committee-section-text {
	margin-top: 0.85rem;
	max-width: 44rem;
	font-size: clamp(1rem, 1.28vw, 1.06rem);
	line-height: 1.8;
	color: var(--ink-60);
}

.committee-section-email {
	align-self: start;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--clay-30);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--clay);
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
}

.committee-section-email:hover,
.committee-section-email:focus-visible {
	color: var(--paper);
	background: var(--clay);
	border-color: var(--clay);
	outline: none;
}

/* ── Committee sections (full-width, no column layout) ──── */
.committee-body {
	max-width: var(--max);
	margin: 0 auto;
	text-align: center;
	position: relative;
}

/* Ghost Roman numeral behind section title */
.committee-numeral {
	position: absolute;
	top: -0.6rem;
	right: -0.5rem;
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(5rem, 11vw, 9.5rem);
	font-weight: 600;
	line-height: 1;
	color: rgba(183, 104, 58, 0.07);
	letter-spacing: -0.03em;
	pointer-events: none;
	user-select: none;
}

.committee-body-title {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2.8rem, 5.5vw, 5rem);
	font-weight: 500;
	line-height: 0.96;
	color: var(--ink);
	margin-bottom: 0.7rem;
}

/* Italic serif caption — rendered from group.description */
.committee-body-description {
	max-width: 36rem;
	margin: 0.5rem auto 1.3rem;
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-style: italic;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.75;
	color: var(--ink-60);
}

/* Accent word (e.g. "Chairs") in the title */
.committee-accent {
	font-style: italic;
	color: var(--clay);
}

/* Contact row: email + optional website icon */
.committee-body-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin-bottom: 1.2rem;
}

.committee-body-email {
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	font-weight: 600;
	color: var(--clay);
	text-decoration: none;
}

.committee-body-email:hover,
.committee-body-email:focus-visible {
	text-decoration: underline;
	outline: none;
}

/* Subtle globe icon next to the email */
.committee-body-website-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border: 1px solid var(--clay-16);
	border-radius: 50%;
	color: var(--ink-38);
	text-decoration: none;
	flex-shrink: 0;
	transition:
		color 0.18s,
		border-color 0.18s;
}

.committee-body-website-icon:hover,
.committee-body-website-icon:focus-visible {
	color: var(--clay);
	border-color: var(--clay-30);
	outline: none;
}

.committee-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.2rem;
}

.committee-card {
	display: grid;
	gap: 0.85rem;
	align-content: start;
	width: clamp(9rem, 13vw, 10.5rem);
}

.committee-card--placeholder {
	opacity: 0.5;
}

.committee-card-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background:
		radial-gradient(
			circle at top right,
			rgba(183, 104, 58, 0.18),
			transparent 42%
		),
		linear-gradient(135deg, rgba(183, 104, 58, 0.08), rgba(31, 18, 9, 0.06));
	border: 1px solid var(--clay-16);
	box-shadow:
		0 0 0 4px rgba(183, 104, 58, 0.06),
		0 2px 10px rgba(69, 34, 15, 0.07);
}

.committee-card-media--monogram {
	/* Diagonal hatching — references Toulouse's terracotta brick surface texture */
	background-image:
		repeating-linear-gradient(
			-45deg,
			rgba(183, 104, 58, 0.1) 0px,
			rgba(183, 104, 58, 0.1) 1px,
			transparent 1px,
			transparent 9px
		);
	background-color: rgba(183, 104, 58, 0.06);
}

.committee-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.committee-card-monogram {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--clay);
}

.committee-card-body {
	display: grid;
	gap: 0.28rem;
	text-align: center;
}

.committee-card-role {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
}

.committee-card-name {
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
}

.committee-card-affiliation {
	font-size: 0.94rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ink-60);
}

.committee-card-website {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.4rem;
	width: 1.6rem;
	height: 1.6rem;
	border: 1px solid var(--clay-16);
	border-radius: 50%;
	color: var(--ink-38);
	text-decoration: none;
	transition:
		color 0.18s,
		border-color 0.18s;
}

.committee-card-website:hover,
.committee-card-website:focus-visible {
	color: var(--clay);
	border-color: var(--clay-30);
	outline: none;
}

/* ── Tags ────────────────────────────────────────────────── */
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: clamp(1rem, 2vmin, 1.5rem);
}

.tag {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-60);
	border: 1px solid var(--clay-30);
	border-radius: 999px;
	padding: 0.36rem 0.85rem;
}

/* ── Section decorative basilisk ────────────────────────── */
.section-deco {
	position: absolute;
	right: -6%;
	bottom: 0;
	width: clamp(18rem, 28vw, 36rem);
	aspect-ratio: 1739.08 / 1231.46;
	background: rgba(110, 100, 92, 0.07);
	-webkit-mask: url("../img/logo/baselisk.svg") no-repeat bottom right / contain;
	mask: url("../img/logo/baselisk.svg") no-repeat bottom right / contain;
	pointer-events: none;
}

/* ── City skyline ────────────────────────────────────────── */
.city-skyline {
	display: block;
	width: 100%;
	max-width: 42rem;
	height: auto;
	margin-top: clamp(1.4rem, 3vmin, 2.2rem);
	opacity: 0.55;
}

/* ── Pull quote ──────────────────────────────────────────── */
.pull-quote {
	border-left: 3px solid var(--clay);
	padding: 1.1rem 0 1.1rem 1.5rem;
	margin-top: clamp(1rem, 2.5vmin, 1.8rem);
}

.pull-quote p {
	font-family: "Cormorant Garamond", "Georgia", serif;
	font-style: italic;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	line-height: 1.55;
	color: var(--ink);
}

.pull-quote cite {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.72rem;
	font-weight: 800;
	font-style: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--clay-16);
}

.footer-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(1.4rem, 3vmin, 2rem) clamp(1.5rem, 5vw, 3rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-60);
}

.footer-mark {
	display: flex;
	gap: 0.28rem;
}

.footer-mark-dot {
	width: 0.22rem;
	height: 0.22rem;
	border-radius: 50%;
	background: var(--clay);
	opacity: 0.52;
}

@media (max-width: 720px) {
	.footer-wrap {
		justify-content: center;
		text-align: center;
	}

	.footer-mark {
		display: none;
	}
}

@media (max-width: 640px) {
	.hero {
		padding-top: 5.5rem;
		padding-bottom: 4rem;
	}

	.mobile-menu {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.city-name {
		font-size: clamp(3.3rem, 17vw, 5.4rem);
	}

	.round-row {
		align-items: center;
	}

	.page-main {
		padding-top: 6rem;
	}
}

/* ═══════════════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════════════ */
@keyframes fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes draw {
	0% {
		stroke-dashoffset: var(--length);
		opacity: 0;
	}
	12% {
		opacity: 1;
	}
	100% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

@keyframes text-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes logo-drift {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-0.4rem);
	}
}

@keyframes building-rise {
	from {
		opacity: 0;
		transform: translateY(2rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scroll-pulse {
	0%,
	100% {
		opacity: 0.4;
		transform: scaleY(1);
	}
	50% {
		opacity: 1;
		transform: scaleY(1.1);
	}
}

@keyframes dot-pulse {
	0% {
		opacity: 0.5;
		transform: scale(0.5);
	}
	100% {
		opacity: 0;
		transform: scale(3.5);
	}
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — max-width: 768px
   Desktop-first overrides for phones and small tablets.
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

	/* ── Touch targets (≥ 48 × 48 px) ──────────────────────── */
	/* back-to-top was 40px — bump to meet accessibility minimum */
	.back-to-top {
		height: 48px;
	}

	/* Burger: ~44px on desktop → 3rem (48px) for thumb comfort */
	.topbar-burger {
		width: 3rem;
		height: 3rem;
	}

	/* Mobile menu rows already have padding; enforce hard min */
	.mobile-menu-link,
	.mobile-menu-toggle {
		min-height: 48px;
	}

	/* ── Section containers ─────────────────────────────────── */
	/* Guarantee a 1 rem gutter on each side at all phone widths */
	.section {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.dates {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	/* ── Section headings ───────────────────────────────────── */
	/* clamp minimum (2 rem / 32px) is a touch large on 375px;
	   drop the floor to 1.75 rem and tie the fluid value to vw */
	.section-heading {
		font-size: clamp(1.75rem, 6.5vw, 2.5rem);
	}

	/* ── Homepage pull-quote ────────────────────────────────── */
	/* Original left-border padding clamp bottoms at 1.5rem; keep
	   it flush with the section gutter so the border doesn't
	   create a false double indent at narrow widths */
	.pull-quote {
		padding-left: 1rem;
	}

	/* ── About page hero ────────────────────────────────────── */
	/* Left panel: on mobile the news card above already clears
	   the topbar, so the hero-l just needs internal breathing room */
	.about-hero-l {
		padding: 2rem 1.25rem 2rem;
	}

	/* Display title: clamp(3.2rem, 8vw, 9rem) bottoms at 51px
	   on a 375px phone — noticeably oversized; pull it back */
	.about-title {
		font-size: clamp(2.2rem, 10vw, 3.2rem);
	}

	/* ── About quote ────────────────────────────────────────── */
	/* clamp(3.5rem, 8vw, 8rem) → 56px indent on a 375px screen
	   leaves only ~270px of text width; reduce to 1.75 rem */
	.about-quote {
		padding: 2.5rem 1.25rem;
	}

	.about-quote-text,
	.about-quote-cite {
		padding-left: 1.75rem;
	}

	/* ── About content sections ─────────────────────────────── */
	.about-sections {
		padding: 2rem 1rem 3rem;
	}

	/* ── Sub-page full-bleed hero ───────────────────────────── */
	/* clamp bottoms at 1.5 rem on horizontal; tighten to 1.25 */
	.page-main--hero > .page-hero {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	/* ── Sub-page title ─────────────────────────────────────── */
	/* clamp(2.4rem, 6vw, 4.8rem) → 38px on phones; reduce
	   minimum slightly and tighten the fluid multiplier */
	.page-title {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	/* ── Sidebar and content cards ──────────────────────────── */
	/* Tighten inner padding for compact phone screens */
	.page-sidebar-card {
		padding: 1rem;
	}

	.page-main--contributions .page-hero,
	.page-content-card {
		padding: 1rem;
	}

	/* ── Committee body title ───────────────────────────────── */
	/* clamp(2.8rem, 5.5vw, 5rem) → 44.8px minimum — reduce */
	.committee-body-title {
		font-size: clamp(2rem, 8vw, 2.8rem);
	}

	/* ── Committee grid ─────────────────────────────────────── */
	/* Default card minimum is 13rem (208px); at 375px you get
	   1 card per row with lots of wasted space. Let cards flex
	   to ~42vw so two sit side-by-side on most phones */
	.committee-card {
		width: clamp(9rem, 42vw, 13rem);
	}

	/* ── Round value alignment ──────────────────────────────── */
	/* margin-left: auto pushes the value right in the flex row.
	   On very narrow screens that can orphan it; clear it so the
	   value sits inline after the label, separated by the gap */
	.round-value {
		margin-left: 0;
	}
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.hero-building {
		opacity: 1 !important;
		transform: none !important;
	}
	.topbar {
		opacity: 1 !important;
	}
	.divider-line {
		transform: scaleX(1) !important;
	}
	.divider-dot {
		opacity: 1 !important;
		transform: scale(1) !important;
	}
	.divider-dot::before {
		animation: none !important;
	}
	.city-meta,
	.city-subtitle,
	.logo-more,
	.scroll-hint {
		opacity: 1 !important;
		transform: none !important;
	}
	.round,
	.conference-row,
	.section-wrap {
		opacity: 1 !important;
		transform: none !important;
	}

	.logo-host svg.logo [data-drawable] {
		stroke-dashoffset: 0 !important;
	}
	.logo-host svg.logo .text-target {
		animation: none !important;
		opacity: 1 !important;
	}
	.logo-host svg.logo.play {
		animation: none !important;
	}
	.scroll-hint-line {
		animation: none !important;
	}
	.scroll-hint {
		animation: none !important;
	}
}
