/* ==========================================================================
   Tairseach — Passage West Business Summit
   Palette taken from the Tairseach logo: Atlantic navy and gateway teal legs,
   silver outline, and the teal light flare that becomes the page's horizon.
   ========================================================================== */

:root {
	--navy: #0f2d52;
	--navy-deep: #0a1f3b;
	--navy-night: #081a31;
	--teal: #007367;
	--teal-deep: #02534d;
	--glow: #3cd3bc;
	--glow-pale: #e8fffa;
	--silver: #7c888e;
	--silver-2: #a9b3b7;
	--silver-3: #d5dbdd;
	--wordmark: #6f7e7b;
	--mist: #eef3f3;
	--paper: #ffffff;
	--text: #1d3047;
	--text-soft: #4d5e6e;
	--line: #dde3e5;
	--line-strong: #c3ccd0;
	--error: #a4262c;
	--error-deep: #7a1c21;

	--font-ui: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 112px);
	--radius: 3px;
	--header-h: 72px;

	--hairline: linear-gradient(90deg, var(--silver) 0%, var(--silver-3) 55%, rgba(213, 219, 221, 0) 100%);
	--legs: linear-gradient(90deg, var(--navy) 0%, var(--teal) 70%, var(--glow) 100%);
}

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

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-ui);
	color: var(--navy);
	margin: 0 0 0.5em;
	line-height: 1.2;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--teal);
}

a:hover {
	color: var(--teal-deep);
}

:focus-visible {
	outline: 3px solid var(--teal);
	outline-offset: 2px;
}

.hero :focus-visible,
.section--navy :focus-visible,
.cta :focus-visible,
.dates :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--glow);
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--navy);
	color: #fff;
	font: 600 0.9375rem/1 var(--font-ui);
	border-radius: var(--radius);
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.text-link {
	color: var(--teal);
	font-family: var(--font-ui);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

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

.btn {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0.75em 1.35em;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-ui);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--small {
	min-height: 40px;
	padding: 0.55em 1.05em;
	font-size: 0.9375rem;
}

.btn--large {
	min-height: 52px;
	padding: 0.9em 1.6em;
	font-size: 1.0625rem;
}

.btn--primary {
	background: var(--teal);
	color: #fff;
}

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

.btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(213, 219, 221, 0.55);
}

.btn--ghost:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

/* On dark grounds the primary button takes the flare colour. */
.hero .btn--primary,
.cta .btn--primary {
	background: var(--glow);
	color: var(--navy-deep);
}

.hero .btn--primary:hover,
.cta .btn--primary:hover {
	background: var(--glow-pale);
	color: var(--navy-deep);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
	.site-header {
		background: rgba(255, 255, 255, 0.9);
		backdrop-filter: saturate(1.4) blur(10px);
	}
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--navy);
	flex-shrink: 0;
}

.brand__mark {
	width: auto;
	height: 46px;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand__name {
	font: 700 1.1875rem/1 var(--font-ui);
	letter-spacing: 0.01em;
	color: var(--navy);
}

.brand__sub {
	margin-top: 5px;
	font: 600 0.625rem/1 var(--font-ui);
	letter-spacing: 0.17em;
	text-transform: uppercase; /* matches the logo wordmark */
	color: var(--wordmark);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	display: block;
	padding: 8px 7px;
	white-space: nowrap;
	font: 500 0.9375rem/1.2 var(--font-ui);
	color: var(--navy);
	text-decoration: none;
	border-radius: var(--radius);
}

.nav-list a:hover {
	color: var(--teal);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 12px;
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	font: 600 0.875rem/1 var(--font-ui);
	color: var(--navy);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--navy);
	border-radius: 1px;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.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);
}

/* Language drop-down ------------------------------------------------------ */

.site-header__tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.lang {
	position: relative;
}

.lang__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	font: 600 0.875rem/1 var(--font-ui);
	color: var(--navy);
	cursor: pointer;
}

.lang__button:hover {
	border-color: var(--navy);
}

.flag {
	display: block;
	flex-shrink: 0;
	height: 14px;
	width: auto;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(15, 45, 82, 0.18);
}

.lang__chevron {
	width: 10px;
	height: 7px;
	transition: transform 0.15s ease;
}

.lang__button[aria-expanded="true"] .lang__chevron {
	transform: rotate(180deg);
}

.lang__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 60;
	min-width: 236px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	box-shadow: 0 18px 36px -18px rgba(10, 31, 59, 0.4);
}

.lang__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: var(--radius);
	font: 500 0.9375rem/1.2 var(--font-ui);
	color: var(--navy);
	text-decoration: none;
}

a.lang__option:hover {
	background: var(--mist);
	color: var(--navy);
}

.lang__check {
	width: 14px;
	height: 10px;
	margin-left: auto;
	color: var(--teal);
}

.lang__option.is-soon {
	color: var(--text-soft);
	cursor: default;
}

.lang__option.is-soon .flag {
	opacity: 0.7;
}

.lang__soon {
	margin-left: auto;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--mist);
	font: 600 0.75rem/1.2 var(--font-ui);
	color: var(--teal-deep);
	white-space: nowrap;
}

/* Horizon: the logo's light flare ----------------------------------------- */

.horizon {
	position: relative;
	height: 96px;
	pointer-events: none;
	overflow: hidden;
}

.horizon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(1240px, 96%);
	height: 100%;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(60, 211, 188, 0.42), rgba(60, 211, 188, 0.12) 45%, rgba(60, 211, 188, 0) 100%);
	animation: horizon-fade 1.8s ease-out both;
}

.horizon__line {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	background: linear-gradient(90deg, rgba(60, 211, 188, 0) 0%, rgba(60, 211, 188, 0.28) 14%, rgba(60, 211, 188, 0.9) 40%, var(--glow-pale) 50%, rgba(60, 211, 188, 0.9) 60%, rgba(60, 211, 188, 0.28) 86%, rgba(60, 211, 188, 0) 100%);
	box-shadow: 0 0 14px 1px rgba(60, 211, 188, 0.55);
	transform-origin: 50% 50%;
	animation: horizon-draw 1.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.horizon__core {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 260px;
	height: 12px;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, #ffffff 0%, rgba(232, 255, 250, 0.9) 30%, rgba(60, 211, 188, 0.45) 65%, rgba(60, 211, 188, 0) 100%);
	animation: horizon-fade 1.2s 0.35s ease-out both;
}

.horizon--cta {
	height: 64px;
	margin-bottom: 8px;
}

.horizon--cta::before {
	width: min(900px, 90%);
}

.horizon--cta .horizon__line,
.horizon--cta::before,
.horizon--cta .horizon__core {
	animation: none;
}

@keyframes horizon-draw {
	from {
		transform: scaleX(0);
		opacity: 0;
	}
	to {
		transform: scaleX(1);
		opacity: 1;
	}
}

@keyframes horizon-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	padding: 0 0 clamp(56px, 8vw, 96px);
	/* Matches the dark blue at the edges of the summit image so they disappear. */
	background: var(--navy);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.hero__top {
	display: flex;
	justify-content: center;
}

.hero__title {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	line-height: 0;
}

.hero__media {
	position: relative;
	display: block;
	/* Fade every edge of the image to nothing, so no outline is ever visible. */
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
	mask-composite: intersect;
}

.hero__logo {
	width: 100%;
	height: auto;
	margin-inline: auto;
	transition: opacity 0.8s ease;
}

/* Moving water (drawn by assets/js/water.js over the still image). */
.hero__water {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.hero__media.is-live .hero__water {
	opacity: 1;
}

.hero__media.is-live .hero__logo {
	opacity: 0;
}

/* The details sit over the faded lower edge of the summit image. */
.hero__bottom {
	position: relative;
	z-index: 1;
	margin-top: clamp(-110px, -8vw, -24px);
}

.hero .horizon {
	margin: 0 0 clamp(8px, 2vw, 20px);
}

.hero__when {
	margin: 0;
	font: 600 clamp(1.125rem, 2.2vw, 1.5rem)/1.3 var(--font-ui);
	color: #fff;
}

.hero__where {
	margin: 6px 0 0;
	font: 500 clamp(1rem, 1.6vw, 1.1875rem)/1.4 var(--font-ui);
	color: var(--silver-3);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(28px, 4vw, 40px);
}

.hero__host {
	margin: clamp(28px, 4vw, 44px) 0 0;
	font: 500 0.875rem/1.4 var(--font-ui);
	color: #9fb0b8;
}

/* "Set sail" (assets/js/sail.js): drag the island west to play the song.
   The compass W pulses and the island shows a grab hand; no text, on purpose. */
.hero__media {
	touch-action: pan-y; /* Sideways drags sail; up and down still scrolls. */
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.hero__media.is-over-island {
	cursor: grab;
}

.hero__media.is-dragging {
	cursor: grabbing;
}

/* A soft teal pulse around the compass W. */
.sail-compass {
	position: absolute;
	left: 10.3%;
	top: 37.3%;
	z-index: 2;
	width: 4.6%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(60, 211, 188, 0.32), rgba(60, 211, 188, 0) 100%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.sail-compass::before,
.sail-compass::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1.5px solid rgba(60, 211, 188, 0.9);
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(60, 211, 188, 0.55), inset 0 0 8px rgba(60, 211, 188, 0.3);
	opacity: 0;
	animation: sail-pulse 3.6s ease-out infinite;
}

.sail-compass::after {
	animation-delay: 1.8s;
}

.hero__media.is-dragging .sail-compass::before,
.hero__media.is-dragging .sail-compass::after,
.hero__media.is-playing .sail-compass::before,
.hero__media.is-playing .sail-compass::after {
	animation-duration: 1.8s;
}

.hero__media.is-armed .sail-compass,
.hero__media.is-playing .sail-compass {
	background: radial-gradient(closest-side, rgba(60, 211, 188, 0.6), rgba(60, 211, 188, 0) 100%);
}

@keyframes sail-pulse {
	0% {
		transform: scale(0.6);
		opacity: 0;
	}
	15% {
		opacity: 0.9;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sail-compass::before {
		opacity: 0.6;
		animation: none;
	}

	.sail-compass::after {
		display: none;
	}
}

/* Deadline notice ---------------------------------------------------------- */

.notice {
	background: var(--teal-deep);
	color: #fff;
}

.notice__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
	padding-block: 14px;
	text-align: center;
	font: 500 0.9375rem/1.45 var(--font-ui);
}

.notice strong {
	font-weight: 700;
}

.notice__link {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.notice__link:hover {
	color: var(--glow-pale);
}

/* Sections --------------------------------------------------------------- */

.section {
	padding-block: var(--section);
}

.section--mist {
	background: var(--mist);
}

.section--navy {
	background: var(--navy);
	color: #e3eaec;
}

.section-title {
	max-width: 24ch;
	margin: 0 0 0.6em;
	font-size: clamp(1.875rem, 3.6vw, 2.75rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--navy);
}

.section--navy .section-title {
	color: #fff;
}

.lead {
	font-size: clamp(1.1875rem, 1.7vw, 1.375rem);
	line-height: 1.5;
	color: var(--navy);
}

.subhead {
	margin: 44px 0 16px;
	font-size: 1.25rem;
	font-weight: 700;
}

/* Two-column "heading left, content right" layout. */
.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.split__head {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.split__head p {
	color: var(--text-soft);
	max-width: 36ch;
}

/* Intro ------------------------------------------------------------------ */

.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.intro__text {
	max-width: 64ch;
}

.glance {
	background: var(--mist);
	border-top: 3px solid var(--teal);
	padding: clamp(24px, 3vw, 36px);
}

.glance__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 700;
}

.glance__list {
	margin: 0;
}

.glance__list > div {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--line-strong);
}

.glance__list > div:first-child {
	border-top: 0;
}

.glance__list dt {
	font: 600 0.875rem/1.5 var(--font-ui);
	color: var(--text-soft);
}

.glance__list dd {
	margin: 0;
	font: 500 1rem/1.5 var(--font-ui);
	color: var(--navy);
}

/* Topics ----------------------------------------------------------------- */

.topics {
	list-style: none;
	margin: 0;
	padding: 0;
}

.topics__item {
	position: relative;
	padding: 24px 0;
}

.topics__item::before,
.venue__item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--hairline);
}

.topics__item:first-child {
	padding-top: 6px;
}

.topics__item:first-child::before {
	display: none;
}

.topics__item h3 {
	margin: 0 0 6px;
	font-size: 1.1875rem;
	font-weight: 600;
}

.topics__item p {
	color: var(--text-soft);
	max-width: 56ch;
}

/* Who you'll meet -------------------------------------------------------- */

.meet__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px clamp(32px, 5vw, 64px);
	list-style: none;
	margin: clamp(24px, 4vw, 40px) 0 0;
	padding: 0;
}

.meet__list li {
	position: relative;
	padding: 28px 0 20px;
}

.meet__list li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--legs);
}

.meet__list h3 {
	margin: 0 0 8px;
	font-size: 1.1875rem;
	font-weight: 600;
	max-width: 28ch;
}

.meet__list p {
	color: var(--text-soft);
	max-width: 46ch;
}

.meet__aim {
	margin-top: clamp(32px, 5vw, 56px);
	max-width: 56ch;
	font-size: clamp(1.1875rem, 1.7vw, 1.375rem);
	line-height: 1.5;
	font-style: italic;
	color: var(--navy);
}

/* Programme timeline ------------------------------------------------------ */

.programme__head {
	max-width: 62ch;
}

.programme__head p {
	color: var(--silver-3);
}

.timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: clamp(40px, 6vw, 64px) 0 0;
	padding: 0;
	counter-reset: step;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 13px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(60, 211, 188, 0) 0%, rgba(60, 211, 188, 0.85) 8%, rgba(60, 211, 188, 0.85) 92%, rgba(60, 211, 188, 0) 100%);
	box-shadow: 0 0 10px rgba(60, 211, 188, 0.45);
}

.timeline__item {
	position: relative;
	padding-top: 52px;
	counter-increment: step;
}

.timeline__item::before {
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--glow);
	border-radius: 50%;
	background: var(--navy);
	box-shadow: 0 0 0 5px var(--navy), 0 0 16px rgba(60, 211, 188, 0.55);
	font: 700 0.8125rem/1 var(--font-ui);
	color: var(--glow);
}

.timeline__item h3 {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}

.timeline__item p {
	font-size: 1rem;
	color: var(--silver-3);
}

/* Apply ------------------------------------------------------------------ */

.apply__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}

.checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 60ch;
}

.checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 14px;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.32em;
	width: 20px;
	height: 20px;
	background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.25' fill='none' stroke='%23007367' stroke-width='1.5'/%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%23007367' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: steps;
	max-width: 60ch;
}

.steps li {
	position: relative;
	padding-left: 48px;
	margin-bottom: 18px;
	counter-increment: steps;
}

.steps li::before {
	content: counter(steps);
	position: absolute;
	left: 0;
	top: 0.05em;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1.5px solid var(--teal);
	border-radius: 50%;
	font: 700 0.875rem/1 var(--font-ui);
	color: var(--teal);
}

.dates {
	background: var(--navy-deep);
	color: #fff;
	padding: clamp(24px, 3vw, 36px);
	position: relative;
	overflow: hidden;
}

.dates::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(60, 211, 188, 0), rgba(60, 211, 188, 0.9) 50%, rgba(60, 211, 188, 0));
	box-shadow: 0 0 12px rgba(60, 211, 188, 0.6);
}

.dates__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
}

.dates__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dates__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dates__item:first-child {
	border-top: 0;
}

.dates__when {
	font: 700 1.0625rem/1.35 var(--font-ui);
	color: #fff;
}

.dates__what {
	font-size: 1rem;
	color: var(--silver-3);
}

.dates__count {
	margin-top: 8px;
	padding: 4px 10px;
	border: 1px solid rgba(60, 211, 188, 0.5);
	border-radius: 999px;
	font: 600 0.8125rem/1.2 var(--font-ui);
	color: var(--glow);
}

.dates__item.is-past {
	opacity: 0.55;
}

.dates__item.is-past .dates__count {
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--silver-3);
}

/* Apply on Luma ---------------------------------------------------------- */

.register {
	margin-top: clamp(56px, 8vw, 96px);
	padding: clamp(24px, 5vw, 56px);
	background: var(--mist);
	border-top: 3px solid var(--teal);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.register__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.register__text {
	max-width: 46ch;
}

.register__text p {
	color: var(--text-soft);
}

.register__link {
	margin-top: 24px;
}

.register__note {
	margin-top: 20px;
	font-size: 0.9375rem;
}

.register__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.register__grid--single .register__text {
	max-width: 62ch;
}

.register__count {
	display: inline-block;
	margin-bottom: 18px;
	padding: 5px 12px;
	background: #fff;
	border: 1px solid var(--teal);
	border-radius: 999px;
	font: 600 0.875rem/1.2 var(--font-ui);
	color: var(--teal-deep);
}

.register__embed {
	position: relative;
	background: #fff;
	border: 1px solid rgba(191, 203, 218, 0.53);
	border-radius: 4px;
	overflow: hidden;
}

.register__embed iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
}

.embed-consent {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	min-height: 450px;
	padding: clamp(24px, 4vw, 44px);
}

.embed-consent[hidden] {
	display: none;
}

.embed-consent p {
	margin: 0;
	max-width: 46ch;
	color: var(--text-soft);
}

.embed-consent__title {
	font: 700 1.25rem/1.3 var(--font-ui);
	color: var(--navy) !important;
}

.embed-consent__alt {
	font-size: 0.9375rem;
}

/* Sponsor the summit -------------------------------------------------------- */

.btn--glow {
	background: var(--glow);
	color: var(--navy-deep);
}

.btn--glow:hover {
	background: var(--glow-pale);
	color: var(--navy-deep);
}

.sponsor__head {
	max-width: 64ch;
}

.sponsor__head p {
	color: var(--silver-3);
}

/* Partner with the summit: the pitch, then the levels, then contact and terms. */
.partner__intro {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.partner__kicker {
	margin: 0 0 14px;
	font: 600 0.8125rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--glow);
}

.sponsor__head .partner__motto {
	margin: -0.15em 0 18px;
	font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.3 var(--font-ui);
	color: #fff;
}

.partner__room {
	padding: clamp(24px, 3vw, 36px);
	background: var(--navy-deep);
	border-top: 3px solid var(--glow);
}

.partner__room p {
	color: var(--silver-3);
}

.partner__stat {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 0 0 12px;
}

.partner__room .partner__stat-num {
	font: 800 clamp(3rem, 6vw, 4.25rem)/0.9 var(--font-ui);
	letter-spacing: -0.02em;
	color: var(--glow);
}

.partner__stat-label {
	font: 600 0.875rem/1.2 var(--font-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.partner__room-title {
	margin: 26px 0 8px;
	font-size: 1.1875rem;
	font-weight: 700;
	color: #fff;
}

.partner__levels-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: clamp(48px, 6vw, 72px) 0 20px;
	font: 600 0.8125rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--silver-3);
}

.partner__levels-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(213, 219, 221, 0.3), rgba(213, 219, 221, 0));
}

.partner__levels-title + .tiers {
	margin-top: 0;
}

.partner__info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin-top: clamp(16px, 2vw, 24px);
}

.partner__card {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid rgba(213, 219, 221, 0.16);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.02);
}

.partner__card-title {
	margin: 0 0 14px;
	font: 600 0.75rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--glow);
}

.partner__person {
	margin: 0;
	font: 700 1.25rem/1.3 var(--font-ui);
	color: #fff;
}

.partner__role {
	margin: 2px 0 14px;
	font-style: italic;
	color: var(--silver-3);
}

.partner__lines {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 1rem/1.5 var(--font-ui);
}

.partner__terms {
	margin: 0;
	padding: 0;
	list-style: none;
}

.partner__terms li {
	position: relative;
	padding: 9px 0 9px 22px;
	border-top: 1px solid rgba(213, 219, 221, 0.12);
	color: #e3eaec;
	line-height: 1.5;
}

.partner__terms li:first-child {
	border-top: 0;
	padding-top: 0;
}

.partner__terms li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: calc(9px + 0.6em);
	width: 6px;
	height: 6px;
	background: var(--glow);
	transform: rotate(45deg);
}

.partner__terms li:first-child::before {
	top: 0.6em;
}

.partner__terms strong {
	color: #fff;
	font-weight: 600;
}

.partner__note {
	margin: 16px 0 0;
	font-size: 0.9375rem;
	color: #a9b8bd;
}

/* Tiers: each carries its own metal. Platinum leads with the strongest finish,
   then gold, then silver, stepping down in size, edge and glow. */
.tiers {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	margin-top: clamp(32px, 5vw, 56px);
}

.tier {
	--metal: linear-gradient(110deg, #737e84 0%, #c4ccd0 24%, #eef1f2 36%, #96a1a6 56%, #d3d9dc 74%, #7e898e 100%);
	--metal-btn: linear-gradient(110deg, #a3adb2 0%, #dfe4e6 38%, #f1f3f4 50%, #c3cbcf 72%, #a9b3b7 100%);
	--accent: #c3cbcf;
	--accent-rgb: 195, 203, 207;
	--edge: 0.5;
	--bar: 1px;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto 1fr;
	grid-template-areas: "main plus" "action plus";
	column-gap: clamp(28px, 4.5vw, 64px);
	padding: clamp(26px, 3.6vw, 44px);
	border-radius: 4px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), 0.09), rgba(var(--accent-rgb), 0) 55%),
		var(--navy-deep);
}

/* A one-pixel metal edge (a gradient border that follows the corners). */
.tier::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	padding: 1px;
	border-radius: inherit;
	background: var(--metal);
	opacity: var(--edge);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}

/* The polished top edge. */
.tier::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: var(--bar);
	border-radius: 4px 4px 0 0;
	background: var(--metal);
	opacity: var(--edge);
	pointer-events: none;
}

.tier--platinum {
	--metal: linear-gradient(110deg, #9aa3ab 0%, #eef1f3 20%, #ffffff 32%, #c3c9ce 50%, #f5f7f8 68%, #a6aeb5 100%);
	--metal-btn: linear-gradient(110deg, #b9c0c6 0%, #eef1f3 32%, #ffffff 48%, #d3d8dc 70%, #b3bac0 100%);
	--accent: #e4e8eb;
	--accent-rgb: 228, 232, 235;
	--edge: 1;
	--bar: 3px;
	padding: clamp(28px, 4.6vw, 60px);
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.045) 44%, rgba(255, 255, 255, 0) 60%),
		radial-gradient(120% 150% at 0% 0%, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0) 55%),
		var(--navy-night);
	box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.85), 0 0 60px -30px rgba(var(--accent-rgb), 0.35);
}

.tier--platinum::after {
	box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.55);
}

.tier--gold {
	--metal: linear-gradient(110deg, #9a7430 0%, #e9c675 22%, #fff0c2 34%, #cf9f45 54%, #f2d68c 72%, #a57c34 100%);
	--metal-btn: linear-gradient(110deg, #c9a04f 0%, #f1d48a 34%, #fbe7b0 50%, #d9ad55 74%, #c39645 100%);
	--accent: #e7c374;
	--accent-rgb: 231, 195, 116;
	--edge: 0.8;
	--bar: 2px;
}

.tier__main {
	grid-area: main;
	min-width: 0;
}

.tier__head {
	margin-bottom: clamp(22px, 3vw, 32px);
}

.tier__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font: 600 0.75rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

/* Rank marks: three for platinum, two for gold, one for silver. */
.tier__pips {
	display: inline-flex;
	gap: 6px;
}

.tier__pips i {
	width: 7px;
	height: 7px;
	background: var(--metal);
	transform: rotate(45deg);
}

.tier__tagline {
	margin: 12px 0 0;
	font: 500 0.9375rem/1.4 var(--font-ui);
	color: #c9d3d6;
}

.tier--platinum .tier__tagline {
	color: var(--accent);
}

.tier__name {
	margin: 0;
	font: 800 clamp(1.875rem, 3.4vw, 2.5rem)/1 var(--font-ui);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
}

.tier--platinum .tier__name {
	font-size: clamp(2.375rem, 5.2vw, 3.75rem);
}

.tier--gold .tier__name {
	font-size: clamp(2.125rem, 4.2vw, 3rem);
}

/* Metal lettering. Browsers without background-clip: text keep the solid
   accent colour above. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.tier__metal {
		background: var(--metal);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
	}
}

.tier__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 4px;
	font: 600 0.75rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.tier__label--plus .tier__metal {
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.tier__hint {
	padding: 4px 9px;
	border: 1px solid rgba(var(--accent-rgb), 0.35);
	border-radius: 999px;
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	color: #c9d3d6;
}

.tier__benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 52ch;
}

.tier__benefits li {
	position: relative;
	padding: 11px 0 11px 24px;
	border-top: 1px solid rgba(213, 219, 221, 0.12);
	color: #e3eaec;
	line-height: 1.5;
}

.tier__benefits li:first-child {
	border-top: 0;
}

.tier__benefits li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: calc(11px + 0.6em);
	width: 6px;
	height: 6px;
	background: var(--metal);
	transform: rotate(45deg);
}

/* The email button sits at the foot of the tier, in the tier's metal. */
.tier__action {
	grid-area: action;
	align-self: end;
	margin: 0;
	padding-top: 28px;
}

.tier__btn {
	white-space: normal;
	text-align: left;
	border: 0;
	background: var(--metal-btn);
	color: var(--navy-night);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 26px -14px rgba(var(--accent-rgb), 0.75);
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.tier__btn:hover {
	color: var(--navy-night);
	filter: brightness(1.07);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 30px -12px rgba(var(--accent-rgb), 0.9);
}

.tier__plus {
	grid-area: plus;
	min-width: 0;
	padding-top: 2px;
}

.tier__plus-intro {
	margin: 10px 0 16px;
	font-size: 1rem;
	color: var(--silver-3);
}

.addons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tier--silver .addons {
	grid-template-columns: minmax(0, 1fr);
}

.addons__item {
	margin: 0;
}

.addon {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 18px 52px 18px 18px;
	border: 1px solid rgba(213, 219, 221, 0.16);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.03);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.addon:hover {
	border-color: rgba(var(--accent-rgb), 0.6);
	background: rgba(var(--accent-rgb), 0.05);
}

.addon[aria-pressed="true"] {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
	box-shadow: 0 0 0 1px var(--accent), 0 14px 32px -20px rgba(var(--accent-rgb), 0.9);
}

.addon__name {
	font: 700 1rem/1.3 var(--font-ui);
	color: #fff;
}

.addon__text {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--silver-3);
}

/* Selection mark: an empty ring that fills with the tier's metal. */
.addon__check {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgba(213, 219, 221, 0.4);
	border-radius: 50%;
	transition: border-color 0.15s ease;
}

.addon:hover .addon__check {
	border-color: var(--accent);
}

.addon[aria-pressed="true"] .addon__check {
	border-color: transparent;
	background: var(--metal-btn);
}

.addon[aria-pressed="true"] .addon__check::after {
	content: "";
	position: absolute;
	inset: 0;
	background: no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%23081a31' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.section--navy .text-link {
	color: var(--glow);
}

.section--navy .text-link:hover {
	color: var(--glow-pale);
}

/* Venue ------------------------------------------------------------------ */

.venue {
	padding-block: clamp(56px, 7vw, 88px);
}

.venue__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
}

.venue__item {
	position: relative;
	padding-top: 22px;
}

.venue__item h3 {
	margin: 0 0 8px;
	font-size: 1.1875rem;
	font-weight: 600;
}

.venue__photo {
	margin: 0 0 clamp(28px, 3.5vw, 40px);
}

.venue__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 673 / 430;
	object-fit: cover;
	border-bottom: 3px solid var(--teal);
	box-shadow: 0 26px 50px -32px rgba(15, 45, 82, 0.55);
}

.venue__photo figcaption {
	margin-top: 10px;
	font: 500 0.8125rem/1.4 var(--font-ui);
	color: var(--text-soft);
}

/* Where to stay ------------------------------------------------------------ */

.stay__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.stay__photo {
	margin: 0;
}

.stay__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-bottom: 3px solid var(--teal);
	box-shadow: 0 26px 50px -32px rgba(15, 45, 82, 0.55);
}

.stay__kicker {
	margin: 0 0 14px;
	font: 600 0.8125rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal);
}

.stay__text .lead {
	margin: 0 0 0.75em;
}

.stay__text p:not(.lead):not(.stay__kicker):not(.stay__status) {
	color: var(--text-soft);
}

.stay__status {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 26px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font: 600 0.9375rem/1.45 var(--font-ui);
	color: var(--navy);
}

.stay__status::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 4px rgba(0, 115, 103, 0.14);
	transform: translateY(-1px);
}

@media (max-width: 960px) {
	.stay__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.about__legal {
	font-size: 0.9375rem;
	color: var(--text-soft);
}

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

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

/* The Tairseach logo has a white wordmark, so it sits on the brand navy. */
.about__logo {
	position: sticky;
	top: calc(var(--header-h) + 40px);
	margin: 0;
	padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
	background:
		radial-gradient(70% 55% at 50% 42%, rgba(0, 115, 103, 0.22), rgba(0, 115, 103, 0) 70%),
		var(--navy-deep);
	overflow: hidden;
}

.about__logo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(60, 211, 188, 0), rgba(60, 211, 188, 0.9) 50%, rgba(60, 211, 188, 0));
	box-shadow: 0 0 12px rgba(60, 211, 188, 0.6);
}

.about__logo img {
	width: 100%;
	max-width: 380px;
	margin-inline: auto;
}

.about__text {
	max-width: 66ch;
}

.ways {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.ways li {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 8px 24px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.ways li:last-child {
	border-bottom: 1px solid var(--line);
}

.ways h4 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--teal-deep);
	line-height: 1.5;
}

.ways p {
	color: var(--text-soft);
}

/* FAQ -------------------------------------------------------------------- */

.faq__item {
	border-top: 1px solid var(--line-strong);
}

.faq__item:last-child {
	border-bottom: 1px solid var(--line-strong);
}

.faq__item summary {
	position: relative;
	padding: 20px 48px 20px 0;
	list-style: none;
	cursor: pointer;
	font: 600 1.125rem/1.4 var(--font-ui);
	color: var(--navy);
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background:
		linear-gradient(var(--teal), var(--teal)) center / 16px 2px no-repeat,
		linear-gradient(var(--teal), var(--teal)) center / 2px 16px no-repeat;
	transition: background-size 0.2s ease;
}

.faq__item[open] summary::after {
	background-size: 16px 2px, 2px 0;
}

.faq__item summary:hover {
	color: var(--teal);
}

.faq__item p {
	margin: 0 0 24px;
	max-width: 64ch;
	color: var(--text-soft);
}

/* Closing call to action -------------------------------------------------- */

.cta {
	padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
	background:
		radial-gradient(55% 60% at 50% 0%, rgba(0, 115, 103, 0.25), rgba(0, 115, 103, 0) 70%),
		var(--navy-deep);
	color: #fff;
	text-align: center;
}

.cta__title {
	margin: 0 auto 0.35em;
	max-width: 30ch;
	font-size: clamp(1.625rem, 3.4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
}

.cta__status {
	margin: 0 0 1.1em;
	font: 600 1.0625rem/1.4 var(--font-ui);
	color: #fff;
}

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

.site-footer {
	padding: clamp(48px, 7vw, 72px) 0 28px;
	background: var(--navy-night);
	color: #c3cdd1;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr);
	gap: 40px;
}

.site-footer .brand__name {
	color: #fff;
}

.site-footer .brand__sub {
	color: #9aa8ae;
}

.site-footer__brand p {
	margin-top: 18px;
	max-width: 34ch;
	font-size: 1rem;
	color: #aebbc0;
}

.site-footer__heading {
	margin: 0 0 14px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 8px;
}

.site-footer a {
	font: 500 0.9375rem/1.5 var(--font-ui);
	color: #c3cdd1;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__legal {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-top: 20px;
	font: 500 0.8125rem/1.5 var(--font-ui);
	color: #93a3aa;
}

.site-footer__legal::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.site-footer__legal a {
	font-size: 0.8125rem;
	color: #93a3aa;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__legal-links li {
	margin: 0;
}

.link-button {
	padding: 0;
	background: none;
	border: 0;
	font: 500 0.8125rem/1.5 var(--font-ui);
	color: #93a3aa;
	cursor: pointer;
}

.link-button:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Cookie notice ----------------------------------------------------------- */

.consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	max-height: 75vh;
	overflow-y: auto;
	padding-block: 20px;
	background: var(--navy-deep);
	color: #dbe3e6;
	border-top: 1px solid rgba(60, 211, 188, 0.55);
	box-shadow: 0 -16px 40px -16px rgba(0, 0, 0, 0.45);
}

.consent[hidden] {
	display: none;
}

.consent__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px 40px;
	align-items: center;
}

.consent__title {
	margin: 0 0 6px;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #fff;
}

.consent__title:focus {
	outline: none;
}

.consent p {
	max-width: 76ch;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #c9d4d8;
}

.consent__details {
	margin-top: 8px;
}

.consent__details summary {
	cursor: pointer;
	font: 600 0.875rem/1.4 var(--font-ui);
	color: var(--glow);
}

.consent__details ul {
	margin: 10px 0;
	padding-left: 1.1em;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #c9d4d8;
}

.consent__details li {
	margin-bottom: 6px;
}

.consent__details strong {
	color: #fff;
	font-weight: 600;
}

.consent__details p {
	font-size: 0.875rem;
}

.consent a {
	color: var(--glow);
}

.consent__actions {
	display: flex;
	gap: 12px;
}

/* Accept and Reject are deliberately identical, as EU guidance expects. */
.btn--consent {
	min-width: 128px;
	background: #fff;
	color: var(--navy-deep);
	border-color: #fff;
}

.btn--consent:hover {
	background: var(--glow-pale);
	border-color: var(--glow-pale);
	color: var(--navy-deep);
}

/* Countdown bar (fixed along the bottom of the screen) -------------------- */

.countbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	background: var(--navy-night);
	color: #fff;
	box-shadow: 0 -12px 28px -18px rgba(0, 0, 0, 0.6);
}

/* The top edge is the same teal light line as the logo and the hero. */
.countbar::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(60, 211, 188, 0.15) 0%, rgba(60, 211, 188, 0.9) 35%, var(--glow-pale) 50%, rgba(60, 211, 188, 0.9) 65%, rgba(60, 211, 188, 0.15) 100%);
	box-shadow: 0 0 10px rgba(60, 211, 188, 0.55);
}

.countbar[hidden] {
	display: none;
}

.countbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	min-height: 62px;
	padding-block: 8px;
}

.countbar__title {
	margin: 0;
	font: 600 0.9375rem/1.3 var(--font-ui);
	color: var(--silver-3);
}

.countbar__title-short {
	display: none;
}

.countbar__units {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.countbar__units li {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.countbar__value {
	font: 700 1.5rem/1 var(--font-ui);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	color: #fff;
}

.countbar__unit {
	font: 600 0.8125rem/1 var(--font-ui);
	color: var(--glow);
}

.countbar__done {
	display: none;
	margin: 0 0 0 auto;
	font: 600 1rem/1.3 var(--font-ui);
	color: var(--glow);
}

.countbar.is-done .countbar__units {
	display: none;
}

.countbar.is-done .countbar__done {
	display: block;
}

.countbar__cta {
	flex-shrink: 0;
}

/* The footer extends under the bar (and the cookie notice while it is open),
   so nothing at the bottom of the page is ever hidden behind them. */
.site-footer {
	padding-bottom: calc(28px + var(--bar-h, 0px));
}

body.has-consent-banner .site-footer {
	padding-bottom: calc(28px + max(var(--consent-h, 0px), var(--bar-h, 0px)));
}

@media (max-width: 960px) {
	.countbar__title-long {
		display: none;
	}

	.countbar__title-short {
		display: inline;
	}
}

@media (max-width: 640px) {
	.countbar__inner {
		min-height: 56px;
		gap: 10px 14px;
	}

	.countbar__title {
		display: none;
	}

	.countbar__units {
		gap: 12px;
		margin-left: 0;
	}

	.countbar__value {
		font-size: 1.25rem;
	}

	.countbar__unit {
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	.countbar__inner {
		justify-content: center;
	}

	.countbar__cta {
		display: none;
	}
}

/* Inner pages ------------------------------------------------------------ */

.inner {
	padding-block: clamp(48px, 7vw, 96px);
}

.inner__head {
	margin-bottom: 32px;
}

.inner__title {
	font-size: clamp(2rem, 4.2vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.1;
}

.inner__meta {
	font: 500 0.875rem/1.4 var(--font-ui);
	color: var(--text-soft);
}

.post-summary {
	padding: 24px 0;
	border-top: 1px solid var(--line);
}

.post-summary__title {
	font-size: 1.375rem;
	margin-bottom: 4px;
}

.post-summary__title a {
	color: var(--navy);
	text-decoration: none;
}

.post-summary__title a:hover {
	color: var(--teal);
}

.prose h2 {
	margin-top: 1.6em;
	font-size: 1.75rem;
}

.prose h3 {
	margin-top: 1.4em;
	font-size: 1.3125rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
	margin: 0 0 1em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 0 0 0 20px;
	border-left: 3px solid var(--teal);
	font-style: italic;
	color: var(--navy);
}

.prose img {
	margin: 1.5em 0;
}

.prose .alignwide,
.prose .alignfull {
	max-width: none;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1199px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -24px rgba(10, 31, 59, 0.45);
		max-height: calc(100vh - var(--header-h) - var(--bar-h, 0px));
		overflow-y: auto;
	}

	.site-nav.is-open {
		display: flex;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list a {
		padding: 14px 0;
		font-size: 1.0625rem;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}

	.site-nav__cta {
		margin-top: 20px;
		width: 100%;
	}
}

/* Same collapsed menu when the full menu does not fit (set by site.js). */

.site-header.is-compact .nav-toggle {
	display: inline-flex;
}

.site-header.is-compact .site-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 8px var(--gutter) 24px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 18px 30px -24px rgba(10, 31, 59, 0.45);
	max-height: calc(100vh - var(--header-h) - var(--bar-h, 0px));
	overflow-y: auto;
}

.site-header.is-compact .site-nav.is-open {
	display: flex;
}

.site-header.is-compact .nav-list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.site-header.is-compact .nav-list a {
	padding: 14px 0;
	font-size: 1.0625rem;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
}

.site-header.is-compact .site-nav__cta {
	margin-top: 20px;
	width: 100%;
}

@media (max-width: 960px) {
	.partner__intro,
	.partner__info {
		grid-template-columns: minmax(0, 1fr);
	}

	.tier {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas: "main" "plus" "action";
		row-gap: 32px;
	}

	.tier__action {
		padding-top: 0;
	}

	.intro__grid,
	.split,
	.apply__grid,
	.register__grid,
	.about__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.split__head,
	.about__logo {
		position: relative;
		top: auto;
	}

	.about__logo img {
		max-width: 280px;
	}

	.timeline {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.timeline::before {
		top: 0;
		bottom: 0;
		left: 13px;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, rgba(60, 211, 188, 0) 0%, rgba(60, 211, 188, 0.85) 6%, rgba(60, 211, 188, 0.85) 94%, rgba(60, 211, 188, 0) 100%);
	}

	.timeline__item {
		padding: 2px 0 0 52px;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 64px;
	}

	body {
		font-size: 1.0625rem;
	}

	.admin-bar .site-header {
		top: 0;
	}

	.brand__mark {
		height: 40px;
	}

	.nav-toggle__label {
		display: none;
	}

	.consent__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.consent__actions .btn {
		flex: 1;
	}

	.embed-consent {
		min-height: 0;
	}

	.hero__actions .btn {
		width: 100%;
		max-width: 360px;
	}

	.hero__top {
		padding-inline: 0;
	}

	.hero__title {
		width: 115vw;
		max-width: none;
		margin-inline: -7.5vw;
	}

	.horizon {
		height: 72px;
	}

	.horizon__core {
		width: 160px;
	}

	.glance__list > div,
	.ways li {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.meet__list,
	.venue__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.addons {
		grid-template-columns: minmax(0, 1fr);
	}

	.tier__btn {
		width: 100%;
		text-align: center;
	}

	.register__link .btn {
		width: 100%;
	}

	/* On phones the Luma button opens the full Luma page instead of a small embed. */
	.register__embed {
		display: none;
	}

	.register__embed iframe {
		height: 520px;
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 420px) {
	.site-header__inner {
		gap: 10px;
	}

	.brand {
		gap: 8px;
	}

	.brand__mark {
		height: 36px;
	}

	.brand__name {
		font-size: 1.0625rem;
	}

	.brand__sub {
		letter-spacing: 0.12em;
	}

	.site-header__tools {
		gap: 8px;
	}

	.lang__button {
		gap: 6px;
		padding: 6px 8px;
	}
}

@media (max-width: 359px) {
	.lang__name {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	.site-header,
	.notice,
	.cta,
	.register__embed,
	.consent,
	.countbar,
	.horizon {
		display: none;
	}

	.hero,
	.section--navy,
	.dates {
		background: none;
		color: #000;
	}
}

/* Partnership application (tairseach.org/sponsorship-application) ---------- */

.app-hero {
	padding-top: clamp(44px, 6vw, 80px);
	background:
		radial-gradient(60% 90% at 50% 0%, rgba(0, 115, 103, 0.28), rgba(0, 115, 103, 0) 70%),
		var(--navy-deep);
	color: #fff;
}

.app-hero__kicker {
	margin: 0 0 12px;
	font: 600 0.8125rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--glow);
}

.app-hero__title {
	margin: 0 0 0.3em;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: #fff;
}

.app-hero__meta {
	margin: 0;
	font: 500 clamp(1rem, 1.6vw, 1.125rem)/1.5 var(--font-ui);
	color: #e3eaec;
}

.app-hero__host {
	margin: 6px 0 0;
	font-size: 0.9375rem;
	color: #a9b8bd;
}

.app-hero .horizon {
	margin: clamp(20px, 3vw, 32px) 0 0;
}

.app {
	padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 9vw, 112px);
	background: var(--mist);
}

.app__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(24px, 3.5vw, 48px);
	align-items: start;
}

.app__aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	gap: 16px;
}

.app__main {
	min-width: 0;
}

.app-card {
	padding: clamp(20px, 2.2vw, 26px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
}

.app-card__title {
	margin: 0 0 10px;
	font: 700 0.75rem/1.2 var(--font-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal);
}

.app-card p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--text-soft);
}

.app-card .app-card__person {
	margin: 0 0 8px;
	font: 700 1rem/1.3 var(--font-ui);
	color: var(--navy);
}

.app-card__person span {
	display: block;
	font: italic 400 0.875rem/1.4 var(--font-body);
	color: var(--text-soft);
}

.app-card__lines {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 0.9375rem/1.5 var(--font-ui);
	overflow-wrap: anywhere;
}

.app-steps__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.app-steps__list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font: 600 0.9375rem/1.3 var(--font-ui);
	color: var(--navy);
	text-decoration: none;
}

.app-steps__list li:first-child a {
	border-top: 0;
	padding-top: 2px;
}

.app-steps__list a:hover {
	color: var(--teal);
}

.app-steps__num {
	flex: 0 0 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mist);
	font-size: 0.75rem;
	color: var(--teal);
}

.app-intro {
	margin-bottom: 20px;
}

.app-intro p {
	max-width: 68ch;
}

.app-intro .app-intro__req {
	font: 500 0.875rem/1.4 var(--font-ui);
	color: var(--text-soft);
}

.app-alert {
	margin: 0 0 20px;
	padding: 18px 22px;
	border-left: 4px solid var(--error);
	background: #fff;
}

.app-alert p {
	margin: 0;
}

.app-alert__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	color: var(--error-deep);
}

.app-alert ul {
	margin: 0;
	padding-left: 1.2em;
}

.app-alert a {
	font-weight: 600;
	color: var(--error-deep);
}

.app-alert:focus {
	outline: 2px solid var(--error);
	outline-offset: 2px;
}

.app-form {
	display: grid;
	gap: 18px;
}

.app-trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.app-section {
	position: relative;
	padding: clamp(22px, 3.4vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.app-section::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 3px;
	border-radius: 4px 4px 0 0;
	background: var(--legs);
}

.app-section__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.app-section__num {
	flex: 0 0 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--navy);
	font: 700 0.9375rem/1 var(--font-ui);
	color: #fff;
}

.app-section__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 700;
}

.app-section__intro {
	margin: 12px 0 0;
	max-width: 64ch;
	color: var(--text-soft);
}

.app-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 22px;
	margin-top: 26px;
}

.field {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field--half {
	grid-column: span 1;
}

.field[hidden] {
	display: none;
}

.field__label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	font: 600 0.9375rem/1.4 var(--font-ui);
	color: var(--navy);
}

legend.field__label {
	float: left;
	width: 100%;
}

legend.field__label + * {
	clear: both;
}

.field__req {
	margin-left: 3px;
	font-weight: 700;
	color: var(--teal);
}

.field__hint {
	margin: -4px 0 10px;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--text-soft);
}

.field__input {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	background: #fff;
	font: 400 1rem/1.4 var(--font-ui);
	color: var(--text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea.field__input {
	min-height: 0;
	line-height: 1.55;
	resize: vertical;
}

.field__input:hover {
	border-color: var(--silver);
}

.field__input:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(0, 115, 103, 0.18);
}

.is-invalid .field__input {
	border-color: var(--error);
}

.field__error {
	margin: 8px 0 0;
	font: 600 0.875rem/1.4 var(--font-ui);
	color: var(--error);
}

.field__count {
	margin: 6px 0 0;
	font: 500 0.8125rem/1.4 var(--font-ui);
	color: var(--text-soft);
	text-align: right;
}

.field__count:empty {
	display: none;
}

.field__count.is-over {
	color: var(--error);
}

/* Radio buttons and tick boxes: the real input stays (hidden) for keyboards
   and screen readers; the box beside the label is drawn. */
.choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 8px;
}

.choices--inline {
	display: flex;
	flex-wrap: wrap;
}

.choice,
.level,
.plus-opt {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.choice__input {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.choice__ui {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	height: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	background: #fff;
	font: 500 0.9375rem/1.35 var(--font-ui);
	color: var(--text);
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choices--inline .choice__ui {
	min-width: 92px;
	padding-right: 18px;
}

.choice:hover .choice__ui {
	border-color: var(--teal);
}

.choice__box {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1.5px solid var(--silver);
	border-radius: 50%;
	background: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

input[type="checkbox"] + .choice__ui .choice__box {
	border-radius: 3px;
}

.choice__input:checked + .choice__ui {
	border-color: var(--teal);
	background: #f0f8f6;
	box-shadow: inset 0 0 0 1px var(--teal);
}

.choice__input:checked + .choice__ui .choice__box {
	border-color: var(--teal);
	background: var(--teal);
}

.choice__input[type="radio"]:checked + .choice__ui .choice__box::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #fff;
}

.choice__input[type="checkbox"]:checked + .choice__ui .choice__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.choice__input:focus-visible + .choice__ui {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

.choice__input:disabled + .choice__ui {
	opacity: 0.45;
	cursor: not-allowed;
}

.is-invalid .choice__ui {
	border-color: #d9a3a6;
}

.choice--consent .choice__ui {
	padding: 14px 16px;
	font: 400 1rem/1.5 var(--font-body);
}

/* Section 4, on navy, uses the same metals as the partnership levels. */
.app-section--partner {
	background: var(--navy);
	border-color: var(--navy);
	color: #e3eaec;
}

.app-section--partner::before {
	background: linear-gradient(90deg, var(--teal), var(--glow));
}

.app-section--partner .app-section__num {
	background: var(--glow);
	color: var(--navy-deep);
}

.app-section--partner .app-section__title,
.app-section--partner .field__label {
	color: #fff;
}

.app-section--partner .app-section__intro,
.app-section--partner .field__hint {
	color: var(--silver-3);
}

.app-section--partner :focus-visible {
	outline-color: var(--glow);
}

.app-section--partner .choice__ui {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(213, 219, 221, 0.28);
	color: #fff;
}

.app-section--partner .choice:hover .choice__ui {
	border-color: var(--glow);
}

.app-section--partner .choice__box {
	background: transparent;
	border-color: rgba(213, 219, 221, 0.6);
}

.app-section--partner .choice__input:checked + .choice__ui {
	background: rgba(60, 211, 188, 0.1);
	border-color: var(--glow);
	box-shadow: inset 0 0 0 1px var(--glow);
}

.app-section--partner .choice__input:checked + .choice__ui .choice__box {
	background: var(--glow);
	border-color: var(--glow);
}

.app-section--partner .choice__input[type="radio"]:checked + .choice__ui .choice__box::after {
	background: var(--navy-deep);
}

.app-section--partner .choice__input:focus-visible + .choice__ui {
	outline-color: var(--glow);
}

.app-section--partner .field__error {
	color: #ffb4b8;
}

.app-section--partner .field__input {
	border-color: transparent;
}

.level,
.plus-group {
	--metal: linear-gradient(110deg, #737e84 0%, #c4ccd0 24%, #eef1f2 36%, #96a1a6 56%, #d3d9dc 74%, #7e898e 100%);
	--accent: #c3cbcf;
	--accent-rgb: 195, 203, 207;
}

.level--platinum {
	--metal: linear-gradient(110deg, #9aa3ab 0%, #eef1f3 20%, #ffffff 32%, #c3c9ce 50%, #f5f7f8 68%, #a6aeb5 100%);
	--accent: #e4e8eb;
	--accent-rgb: 228, 232, 235;
}

.level--gold {
	--metal: linear-gradient(110deg, #9a7430 0%, #e9c675 22%, #fff0c2 34%, #cf9f45 54%, #f2d68c 72%, #a57c34 100%);
	--accent: #e7c374;
	--accent-rgb: 231, 195, 116;
}

.levels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.level__ui {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 20px 18px 18px;
	border: 1px solid rgba(var(--accent-rgb), 0.35);
	border-radius: 4px;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0) 60%),
		var(--navy-deep);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.level__ui::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	border-radius: 4px 4px 0 0;
	background: var(--metal);
}

.level:hover .level__ui {
	border-color: rgba(var(--accent-rgb), 0.75);
}

.choice__input:checked + .level__ui {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -24px rgba(var(--accent-rgb), 0.9);
}

.choice__input:focus-visible + .level__ui,
.choice__input:focus-visible + .plus-opt__ui {
	outline: 2px solid var(--glow);
	outline-offset: 3px;
}

.level__check {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgba(213, 219, 221, 0.45);
	border-radius: 50%;
}

.choice__input:checked + .level__ui .level__check {
	border-color: transparent;
	background: var(--metal);
}

.choice__input:checked + .level__ui .level__check::after {
	content: "";
	position: absolute;
	inset: 0;
	background: no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%23081a31' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.level .tier__eyebrow {
	margin: 0;
	padding-right: 28px;
	font-size: 0.6875rem;
}

.level__name {
	font: 800 1.625rem/1.05 var(--font-ui);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
}

.level__price {
	font: 700 1.25rem/1.2 var(--font-ui);
	color: #fff;
}

.level__tagline {
	font: 500 0.8125rem/1.4 var(--font-ui);
	color: #c9d3d6;
}

.level__benefits {
	display: grid;
	gap: 6px;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(213, 219, 221, 0.14);
}

.level__benefit {
	position: relative;
	padding-left: 15px;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #d5dde0;
}

.level__benefit::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 0.55em;
	width: 5px;
	height: 5px;
	background: var(--metal);
	transform: rotate(45deg);
}

.levels__undecided {
	margin-top: 10px;
}

.plus-empty {
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px dashed rgba(213, 219, 221, 0.3);
	border-radius: 4px;
	font-size: 0.9375rem;
	color: var(--silver-3);
}

.plus-empty[hidden],
.plus-group[hidden] {
	display: none;
}

.plus-group {
	margin-bottom: 12px;
}

.plus-group__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0 0 10px;
}

.plus-group__title .tier__metal {
	font: 800 1.25rem/1 var(--font-ui);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
}

.plus-group__note {
	font: 500 0.875rem/1.4 var(--font-ui);
	color: var(--silver-3);
}

.plus-group__note strong {
	color: #fff;
}

.plus-opts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.plus-opt__ui {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	column-gap: 10px;
	row-gap: 4px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(213, 219, 221, 0.22);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.plus-opt__ui .choice__box {
	grid-row: 1 / span 2;
	margin-top: 1px;
	background: transparent;
	border-color: rgba(213, 219, 221, 0.6);
}

.plus-opt__name {
	font: 700 0.9375rem/1.3 var(--font-ui);
	color: #fff;
}

.plus-opt__text {
	grid-column: 2;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--silver-3);
}

.plus-opt:hover .plus-opt__ui {
	border-color: rgba(var(--accent-rgb), 0.75);
}

.choice__input:checked + .plus-opt__ui {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
	box-shadow: inset 0 0 0 1px var(--accent);
}

.choice__input:checked + .plus-opt__ui .choice__box {
	border-color: var(--accent);
	background: var(--accent);
}

.choice__input:checked + .plus-opt__ui .choice__box::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--navy-deep);
}

.app-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding-top: 8px;
}

.app-submit p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--text-soft);
}

.app-submit .btn[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.app-thanks__mark {
	width: 56px;
	height: 56px;
	margin: 6px 0 18px;
	border-radius: 50%;
	background: var(--teal) no-repeat center / 26px 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.app-thanks__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.app-thanks p {
	max-width: 60ch;
}

.app-thanks__again {
	margin-top: 20px;
	font: 600 0.9375rem/1.4 var(--font-ui);
}

@media (max-width: 960px) {
	.app__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.app__aside {
		position: static;
		order: 2;
	}

	.app-steps {
		display: none;
	}

	.levels {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.app-fields,
	.plus-opts {
		grid-template-columns: minmax(0, 1fr);
	}

	.field--half {
		grid-column: 1 / -1;
	}

	.app-submit .btn {
		width: 100%;
	}
}
