/**
 * Cotidianamente — theme styles.
 *
 * 1.  Tokens and base
 * 2.  Reveal animations
 * 3.  Header and navigation
 * 4.  Buttons
 * 5.  Section scaffolding and editorial type
 * 6.  Hero
 * 7.  Process stages
 * 8.  Programme overview and details
 * 9.  Audience
 * 10. Registration form
 * 11. Testimonial carousel
 * 12. FAQ
 * 13. Closing CTA and footer
 * 13b. Trajectory page
 * 14. Inner pages
 * 14b. Event page and home event band
 * 15. Responsive
 */

/* ------------------------------------------------------------------ *
 * 1. Tokens and base
 * ------------------------------------------------------------------ */

:root {
	--cot-canvas: #f6f1ea;
	--cot-surface: #fbf8f4;
	--cot-deep: #28432c;
	--cot-deep-dark: #1c2f1f;
	--cot-deep-soft: #3a5c40;
	--cot-ink: #1f1d1a;
	--cot-body: #4f4a43;
	--cot-muted: #6a6157;
	--cot-accent: #c09a50;
	--cot-accent-dark: #86662c;
	--cot-cream: #efe8de;
	--cot-rule: #e2d8ca;

	--cot-font-sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--cot-font-serif: Newsreader, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--cot-font-script: "La Belle Aurore", "Segoe Script", "Bradley Hand", cursive;

	--cot-shadow-soft: 0 1px 2px rgba(31, 29, 26, .04), 0 8px 24px rgba(31, 29, 26, .06);
	--cot-shadow-raised: 0 2px 4px rgba(31, 29, 26, .05), 0 18px 40px rgba(31, 29, 26, .1);

	--cot-radius-s: .25rem;
	--cot-radius: .375rem;
	--cot-radius-l: .5rem;

	--cot-gutter: 1.5rem;
	--cot-container: min(100% - (var(--cot-gutter) * 2), 75rem);
	--cot-container-wide: min(100% - (var(--cot-gutter) * 2), 84rem);
	--cot-narrow: min(100% - (var(--cot-gutter) * 2), 52rem);

	--cot-header-h: 5.25rem;
	--cot-ease: cubic-bezier(.22, .68, .3, 1);
	--cot-section-y: clamp(4rem, 8vw, 7rem);

	/* Line icons, drawn with currentColor through `mask`. */
	--cot-ico-live: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
	--cot-ico-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='1.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
	--cot-ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
	--cot-ico-people: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='3'/%3E%3Cpath d='M3.5 19c.6-3 2.8-4.5 5.5-4.5s4.9 1.5 5.5 4.5'/%3E%3Ccircle cx='16.5' cy='8' r='2.4'/%3E%3Cpath d='M15.5 13.2c2.6-.3 4.6 1.2 5 4.3'/%3E%3C/svg%3E");
	--cot-ico-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 15.5h6'/%3E%3C/svg%3E");
	--cot-ico-video: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='1.5'/%3E%3Cpath d='m16 10.5 5-3v9l-5-3'/%3E%3C/svg%3E");
	--cot-ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.5 7 8.5 6.5L20.5 7'/%3E%3C/svg%3E");
	--cot-ico-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.2V4h8.2L21 13.8 13.8 21z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.3'/%3E%3C/svg%3E");
}

@font-face {
	font-family: Geist;
	src: url("fonts/Geist-Variable.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 100 900;
}

@font-face {
	font-family: Newsreader;
	src: url("fonts/Newsreader-Variable.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 200 800;
}

@font-face {
	font-family: Newsreader;
	src: url("fonts/Newsreader-Variable-Italic.woff2") format("woff2");
	font-display: swap;
	font-style: italic;
	font-weight: 200 800;
}

@font-face {
	font-family: "La Belle Aurore";
	src: url("fonts/LaBelleAurore-Regular.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--cot-canvas);
	color: var(--cot-body);
	font-family: var(--cot-font-sans);
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	padding: 0;
	overflow-x: clip;
}

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

:where(a, button, input, textarea, summary, .wp-block-button__link) {
	transition:
		color .22s var(--cot-ease),
		background-color .22s var(--cot-ease),
		border-color .22s var(--cot-ease),
		box-shadow .22s var(--cot-ease),
		transform .22s var(--cot-ease);
}

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

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

.cot-skip-link {
	position: absolute;
	top: .5rem;
	left: .5rem;
	z-index: 200;
	padding: .7rem 1.1rem;
	border-radius: 999px;
	background: var(--cot-deep);
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	transform: translateY(-160%);
}

.cot-skip-link:focus-visible {
	transform: translateY(0);
}

/* ------------------------------------------------------------------ *
 * 2. Reveal animations
 * ------------------------------------------------------------------ */

.js-reveal .cot-reveal {
	opacity: 0;
	transform: translate3d(0, 1.75rem, 0);
	transition:
		opacity .7s var(--cot-ease),
		transform .7s var(--cot-ease);
	transition-delay: calc(var(--cot-reveal-index, 0) * 90ms);
	will-change: opacity, transform;
}

.js-reveal .cot-reveal.is-visible {
	opacity: 1;
	transform: none;
	will-change: auto;
}

/* ------------------------------------------------------------------ *
 * 3. Header and navigation
 * ------------------------------------------------------------------ */

.cot-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 248, 244, .88);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--cot-ease), box-shadow .3s var(--cot-ease), background-color .3s var(--cot-ease);
}

.cot-header.is-scrolled {
	border-bottom-color: var(--cot-rule);
	box-shadow: 0 6px 26px rgba(31, 29, 26, .05);
	background: rgba(251, 248, 244, .96);
}

.cot-header__inner {
	width: var(--cot-container-wide);
	min-height: var(--cot-header-h);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	transition: min-height .3s var(--cot-ease);
}

.cot-header.is-scrolled .cot-header__inner {
	min-height: 4.375rem;
}

/* Brand — the site logo block, or the bundled lockup when no logo is set. */
.cot-brand,
.wp-block-site-logo.cot-brand {
	margin: 0;
	flex: 0 0 auto;
	line-height: 0;
}

.cot-brand a,
.cot-brand img {
	display: block;
}

.cot-brand img {
	width: auto;
	height: clamp(1.9rem, 3.2vw, 2.375rem);
	max-width: none;
	transition: height .3s var(--cot-ease);
}

.cot-header.is-scrolled .cot-brand img {
	height: 1.875rem;
}

.cot-brand a:hover img {
	opacity: .78;
}

/* Fallback: no custom logo set in WordPress yet. */
.cot-header__inner > .cot-brand-fallback {
	display: block;
	flex: 0 0 auto;
	width: clamp(9.5rem, 17vw, 12.5rem);
}

.cot-brand-fallback img {
	display: block;
	width: 100%;
	height: auto;
}

.cot-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(1rem, 2.4vw, 2rem);
}

.cot-nav {
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .02em;
}

.cot-nav .wp-block-navigation__container {
	flex-wrap: nowrap;
	gap: clamp(1rem, 2.2vw, 2rem);
}

.cot-nav .wp-block-navigation-item {
	white-space: nowrap;
}

.cot-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: .35rem;
	color: var(--cot-ink);
}

.cot-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--cot-accent-dark);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s var(--cot-ease);
}

.cot-nav .wp-block-navigation-item__content:hover::after,
.cot-nav .wp-block-navigation-item.is-current .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.cot-nav .wp-block-navigation-item__content:hover {
	color: var(--cot-accent-dark);
}

.cot-header__cta {
	margin: 0;
}

.cot-header__cta .wp-block-button__link {
	min-height: 2.625rem;
	padding: .7rem 1.35rem;
	font-size: .75rem;
	white-space: nowrap;
}

/* Mobile overlay.
 * Note: never set `display` here — core toggles the open button's display at
 * its 600px breakpoint with equal specificity, and this sheet loads after it. */
.cot-nav .wp-block-navigation__responsive-container-open,
.cot-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: .5rem;
	border-radius: 999px;
	color: var(--cot-ink);
}

.cot-nav .wp-block-navigation__responsive-container-open:hover {
	background: var(--cot-cream);
}

.cot-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.75rem var(--cot-gutter) 2.5rem;
	background: var(--cot-canvas);
}

.cot-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	padding-top: 3rem;
}

.cot-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem;
}

.cot-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: 1.75rem;
	font-weight: 400;
	letter-spacing: -.01em;
}

/* ------------------------------------------------------------------ *
 * 4. Buttons
 * ------------------------------------------------------------------ */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	min-height: 3rem;
	padding: 1rem 2rem;
	border-radius: 999px;
	background: var(--cot-accent);
	box-shadow: none;
	color: var(--cot-ink);
	font-family: var(--cot-font-sans);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
}

.wp-block-button__link::after {
	content: "→";
	font-size: 1.1em;
	letter-spacing: 0;
	transition: transform .28s var(--cot-ease);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background: var(--cot-accent-dark);
	color: #fff;
	transform: translateY(-2px);
}

.wp-block-button__link:hover::after,
.wp-block-button__link:focus-visible::after {
	transform: translateX(4px);
}

.wp-block-button__link:active {
	transform: translateY(0);
}

/* Understated link with an arrow, for secondary paths. */
.cot-text-link {
	margin: 0;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cot-text-link a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding-block: .25rem;
	border-bottom: 1px solid currentColor;
	color: var(--cot-accent-dark);
}

.cot-text-link a::after {
	content: "→";
	transition: transform .28s var(--cot-ease);
}

.cot-text-link a:hover {
	color: var(--cot-ink);
}

.cot-text-link a:hover::after {
	transform: translateX(4px);
}

/* ------------------------------------------------------------------ *
 * 5. Section scaffolding and editorial type
 * ------------------------------------------------------------------ */

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

.cot-section > [class*="__inner"],
.cot-closing__inner {
	width: var(--cot-container);
	margin-inline: auto;
}

.cot-eyebrow {
	margin: 0 0 1rem;
	color: var(--cot-accent-dark);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .24em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Kept for patterns saved before the editorial restyle. */
.cot-eyebrow--dark {
	color: var(--cot-accent-dark);
}

.cot-section-title {
	margin: 0 auto;
	max-width: 24ch;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.875rem, 3.2vw, 2.75rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.1;
	text-wrap: balance;
}

.cot-section-title em,
.cot-hero__title em,
.cot-about__title em,
.cot-event-cta__title em {
	font-style: italic;
}

.cot-section-title--left {
	margin-inline: 0;
	max-width: 18ch;
}

.cot-section-lead {
	max-width: 50ch;
	margin: 1.125rem auto 0;
	color: var(--cot-body);
	font-size: clamp(1rem, 1.3vw, 1.0625rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.cot-section-lead--left {
	margin-inline: 0;
}

.cot-panel-title {
	margin: 0 0 1.25rem;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.2;
}

.cot-script {
	font-family: var(--cot-font-script);
	font-weight: 400;
	letter-spacing: .01em;
}

/* Name plus stacked credentials, set in small spaced capitals. */
.cot-credit {
	margin: 0;
	color: var(--cot-muted);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1.9;
	text-transform: uppercase;
}

.cot-credit strong,
.cot-credit span {
	display: block;
}

.cot-credit strong {
	margin-bottom: .25rem;
	color: var(--cot-ink);
	font-size: 1.0625rem;
	font-weight: 400;
	letter-spacing: .16em;
}

/* Blocks rendered with `is-layout-flow` still receive core's blockGap as a
 * margin on every child but the first. Where this theme re-lays a group out as
 * a grid or flex row, that margin offsets rows unevenly — reset it. */
.cot-hero > *,
.cot-hero__inner > *,
.cot-hero__aside > *,
.cot-stage-grid > *,
.cot-stage > *,
.cot-stage__head > *,
.cot-overview__cols > *,
.cot-audience__cols > *,
.cot-registration__box > *,
.cot-details__table > *,
.cot-detail-row > *,
.cot-carousel__track > *,
.cot-faq__list > *,
.cot-guide__inner > *,
.cot-closing__inner > *,
.cot-footer__inner > * {
	margin-block: 0;
}

/* ------------------------------------------------------------------ *
 * 6. Hero
 * ------------------------------------------------------------------ */

.cot-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(38rem, 52vw, 48rem);
	background: #c9c3ba;
	color: var(--cot-ink);
	overflow: hidden;
}

/* The photo fills the band; copy sits over the quiet wall on its left. */
.cot-hero__figure {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}

.cot-hero__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 35%;
}

/* A flat ivory wash softens the grey wall so dark type reads comfortably. */
.cot-hero__figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(246, 241, 234, .26);
	pointer-events: none;
}

.cot-hero__inner {
	width: var(--cot-container-wide);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 1fr) minmax(0, 17rem);
	padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
}

.cot-hero__copy {
	grid-column: 1;
	align-self: center;
}

.cot-hero .cot-eyebrow {
	color: var(--cot-ink);
}

.cot-hero__title {
	margin: 0;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(3rem, 5.8vw, 5.5rem);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: .98;
	text-wrap: balance;
}

.cot-hero__title em {
	display: block;
}

.cot-hero__lead {
	max-width: 36ch;
	margin: 1.5rem 0 0;
	color: var(--cot-ink);
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.cot-hero__actions {
	margin-top: 2rem;
	gap: .875rem;
}

/* Row of practical facts, each with a line icon above its label. */
.cot-facts {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	max-width: 34rem;
}

.cot-facts li {
	display: grid;
	justify-items: center;
	gap: .625rem;
	color: var(--cot-ink);
	font-size: .625rem;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

.cot-ico::before {
	content: "";
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	background-color: currentColor;
	mask: var(--cot-ico) center / contain no-repeat;
	-webkit-mask: var(--cot-ico) center / contain no-repeat;
}

.cot-ico--live { --cot-ico: var(--cot-ico-live); }
.cot-ico--calendar { --cot-ico: var(--cot-ico-calendar); }
.cot-ico--clock { --cot-ico: var(--cot-ico-clock); }
.cot-ico--people { --cot-ico: var(--cot-ico-people); }
.cot-ico--doc { --cot-ico: var(--cot-ico-doc); }
.cot-ico--video { --cot-ico: var(--cot-ico-video); }
.cot-ico--mail { --cot-ico: var(--cot-ico-mail); }
.cot-ico--tag { --cot-ico: var(--cot-ico-tag); }

.cot-hero__aside {
	grid-column: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2.5rem;
	text-align: right;
}

.cot-hero__motto {
	color: var(--cot-ink);
	font-size: .625rem;
	font-weight: 500;
	letter-spacing: .3em;
	line-height: 2.4;
	text-transform: uppercase;
}

/* Sits under the motto, over the pale wall; the credit card drops to the foot. */
.cot-hero__note {
	max-width: 13rem;
	color: var(--cot-ink);
	font-size: 1.375rem;
	line-height: 1.45;
	text-align: left;
	transform: rotate(-6deg);
}

.cot-hero__note::after {
	content: "";
	display: block;
	width: 1.75rem;
	height: 1px;
	margin: 1rem auto 0;
	background: currentColor;
	transform: rotate(6deg);
}

.cot-hero .cot-credit {
	margin-top: auto !important;
	padding: 1rem 1.125rem;
	border-radius: var(--cot-radius-s);
	background: rgba(251, 248, 244, .8);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--cot-body);
	font-size: .5625rem;
	text-align: left;
}

.cot-hero .cot-credit strong {
	font-size: .9375rem;
	letter-spacing: .14em;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ *
 * 7. Process stages
 * ------------------------------------------------------------------ */

.cot-process {
	background: var(--cot-canvas);
}

.cot-process__inner {
	width: var(--cot-container-wide) !important;
}

.cot-process__lead {
	max-width: 66ch;
	font-size: .9375rem;
}

.cot-stage-grid {
	margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(.875rem, 1.4vw, 1.25rem);
}

/* Head, photo and text share row tracks across the cards in a row, so a title
 * that wraps longer keeps every photo and text block level with its siblings. */
.cot-stage {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	gap: 0;
	border-radius: var(--cot-radius-s);
	background: var(--cot-surface);
	box-shadow: var(--cot-shadow-soft);
	overflow: hidden;
	transition: transform .35s var(--cot-ease), box-shadow .35s var(--cot-ease);
}

.cot-stage:hover {
	transform: translateY(-4px);
	box-shadow: var(--cot-shadow-raised);
}

.cot-stage__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: .875rem;
	min-height: 6.5rem;
	padding: 1.375rem 1.25rem 1.25rem;
}

.cot-stage__num {
	color: var(--cot-accent-dark);
	font-family: var(--cot-font-serif);
	font-size: 1.875rem;
	font-weight: 300;
	line-height: 1;
}

.cot-stage__title {
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.15;
	text-wrap: balance;
}

.cot-stage__title::before {
	content: "";
	display: block;
	width: 1.25rem;
	height: 1px;
	margin: .5rem 0 .75rem;
	background: var(--cot-accent-dark);
}

.cot-stage__photo {
	margin: 0;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: var(--cot-cream);
}

.cot-stage__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--cot-ease);
}

.cot-stage:hover .cot-stage__photo img {
	transform: scale(1.04);
}

.cot-stage__text {
	padding: 1.125rem 1.25rem 1.5rem;
	color: var(--cot-body);
	font-size: .875rem;
	line-height: 1.6;
	text-wrap: pretty;
}

/* A quote set between two hairlines. */
.cot-pullquote {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	margin: clamp(2.5rem, 4.5vw, 3.5rem) 0 0 !important;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	font-style: italic;
	line-height: 1.4;
}

.cot-pullquote::before,
.cot-pullquote::after {
	content: "";
	flex: 1 1 0;
	min-width: 1.5rem;
	height: 1px;
	background: var(--cot-rule);
}

/* ------------------------------------------------------------------ *
 * 8. Programme overview and details
 * ------------------------------------------------------------------ */

.cot-overview {
	background: var(--cot-surface);
}

.cot-overview__intro {
	max-width: 40rem;
}

.cot-overview__cols {
	margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: start;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cot-overview__panel {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-radius: var(--cot-radius);
	background: var(--cot-cream);
}

.cot-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .875rem;
}

.cot-checklist li {
	position: relative;
	padding-left: 2rem;
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.6;
}

.cot-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--cot-accent-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .75rem no-repeat;
}

.cot-details {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--cot-rule);
	border-radius: var(--cot-radius);
	background: #fff;
	box-shadow: var(--cot-shadow-soft);
}

.cot-details__table {
	display: grid;
}

.cot-detail-row {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr);
	align-items: baseline;
	gap: .75rem 1.25rem;
	padding-block: .8125rem;
	border-top: 1px solid var(--cot-rule);
}

.cot-detail-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.cot-detail-label {
	margin: 0;
	color: var(--cot-ink);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cot-detail-value {
	margin: 0;
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.5;
	text-align: right;
}

/* ------------------------------------------------------------------ *
 * 9. Audience
 * ------------------------------------------------------------------ */

.cot-audience {
	background: var(--cot-canvas);
}

.cot-audience__cols {
	margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cot-audience__card {
	height: 100%;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-radius: var(--cot-radius);
	background: var(--cot-surface);
	box-shadow: var(--cot-shadow-soft);
}

.cot-audience__card--yes {
	border-top: 2px solid var(--cot-accent);
}

.cot-audience__card--no {
	border-top: 2px solid var(--cot-rule);
	background: rgba(251, 248, 244, .55);
}

.cot-marklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .875rem;
}

.cot-marklist li {
	position: relative;
	padding-left: 1.875rem;
	font-size: .9375rem;
	line-height: 1.6;
}

.cot-marklist li::before {
	position: absolute;
	left: 0;
	top: -.05em;
	width: 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.cot-marklist--yes li::before {
	content: "✓";
	color: var(--cot-accent-dark);
}

.cot-marklist--no li::before {
	content: "–";
	color: #a89b86;
}

/* ------------------------------------------------------------------ *
 * 10. Registration form
 * ------------------------------------------------------------------ */

.cot-registration {
	background: var(--cot-surface);
}

.cot-registration__box {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	overflow: hidden;
	border-radius: var(--cot-radius-l);
	background: var(--cot-cream);
	box-shadow: var(--cot-shadow-raised);
}

.cot-registration__photo {
	position: relative;
	margin: 0;
	min-height: 100%;
	overflow: hidden;
	background: #ded6c8;
}

.cot-registration__photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 26rem;
	object-fit: cover;
	object-position: 55% center;
}

.cot-form-wrap {
	padding: clamp(2rem, 4vw, 3.5rem);
}

.cot-form-title {
	margin: 0 0 .75rem;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.1;
}

.cot-form-intro {
	max-width: 40ch;
	margin: 0 0 1.75rem;
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.6;
}

.cot-form {
	display: grid;
	gap: 1.125rem;
}

.cot-field {
	display: grid;
	gap: .4375rem;
}

.cot-field label {
	color: var(--cot-ink);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.cot-optional {
	color: var(--cot-muted);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.cot-field input,
.cot-field textarea {
	width: 100%;
	padding: .875rem 1rem;
	border: 1px solid #d9cebd;
	border-radius: var(--cot-radius-s);
	background: #fff;
	color: var(--cot-ink);
	font: inherit;
	font-size: .9375rem;
}

.cot-field input::placeholder,
.cot-field textarea::placeholder {
	color: #9d9282;
}

.cot-field input:hover,
.cot-field textarea:hover {
	border-color: #c7b9a3;
}

.cot-field input:focus,
.cot-field textarea:focus {
	border-color: var(--cot-accent-dark);
	box-shadow: 0 0 0 4px rgba(134, 102, 44, .12);
	outline: none;
}

.cot-field textarea {
	min-height: 6.5rem;
	resize: vertical;
}

/* Honeypot: off-screen for people, still filled in by naive bots. */
.cot-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cot-form-status {
	margin: 0;
	padding: .75rem 1rem;
	border-left: 3px solid var(--cot-deep);
	border-radius: var(--cot-radius-s);
	background: var(--cot-cream);
	color: var(--cot-deep);
	font-size: .9375rem;
	line-height: 1.5;
}

.cot-form-status[data-tone="error"] {
	border-left-color: #b3261e;
	background: #fbeae8;
	color: #7a1c16;
}

.cot-form-note a {
	color: inherit;
}

.cot-submit {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	min-height: 3rem;
	margin-top: .25rem;
	padding: 1rem 2rem;
	border: 0;
	border-radius: 999px;
	background: var(--cot-accent);
	color: var(--cot-ink);
	cursor: pointer;
	font: inherit;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cot-submit::after {
	content: "→";
	letter-spacing: 0;
	transition: transform .28s var(--cot-ease);
}

.cot-submit:hover,
.cot-submit:focus-visible {
	background: var(--cot-accent-dark);
	color: #fff;
	transform: translateY(-2px);
}

.cot-submit:hover::after {
	transform: translateX(4px);
}

/* While a message is sending the button is disabled; show it as busy. */
.cot-submit:disabled {
	background: var(--cot-accent);
	color: var(--cot-ink);
	cursor: progress;
	opacity: .6;
	transform: none;
}

.cot-submit:disabled::after {
	transform: none;
}

.cot-form-note {
	margin: 0;
	color: var(--cot-muted);
	font-size: .8125rem;
	line-height: 1.5;
}

/* ------------------------------------------------------------------ *
 * 11. Testimonial carousel
 * ------------------------------------------------------------------ */

.cot-testimonials {
	background: var(--cot-canvas);
}

.cot-testimonials .cot-eyebrow,
.cot-testimonials .cot-section-title {
	text-align: center;
}

.cot-carousel {
	position: relative;
	margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
	--cot-slide-gap: 1.25rem;
	--cot-per-view: 3;
}

.cot-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cot-per-view) - 1) * var(--cot-slide-gap)) / var(--cot-per-view));
	gap: var(--cot-slide-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-block: .5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cot-carousel__track::-webkit-scrollbar {
	display: none;
}

.cot-carousel.is-dragging .cot-carousel__track {
	scroll-behavior: auto;
	scroll-snap-type: none;
	cursor: grabbing;
	user-select: none;
}

.cot-carousel.is-enhanced .cot-carousel__track {
	cursor: grab;
}

.cot-testimonial {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.75rem 1.625rem;
	border-radius: var(--cot-radius);
	background: var(--cot-surface);
	box-shadow: var(--cot-shadow-soft);
	transition: box-shadow .35s var(--cot-ease), transform .35s var(--cot-ease);
}

.cot-testimonial:hover {
	transform: translateY(-4px);
	box-shadow: var(--cot-shadow-raised);
}

.cot-testimonial__quote {
	flex: 1;
	margin: 0;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: 1.0625rem;
	line-height: 1.55;
	text-wrap: pretty;
}

.cot-testimonial__quote::before {
	content: "";
	display: block;
	width: 1.5rem;
	height: 1.125rem;
	margin-bottom: .875rem;
	background: var(--cot-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M13 24H2V13C2 6 6 1.5 13 0v5c-3.5 1-5 3.3-5 6h5v13Zm17 0H19V13C19 6 23 1.5 30 0v5c-3.5 1-5 3.3-5 6h5v13Z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M13 24H2V13C2 6 6 1.5 13 0v5c-3.5 1-5 3.3-5 6h5v13Zm17 0H19V13C19 6 23 1.5 30 0v5c-3.5 1-5 3.3-5 6h5v13Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cot-person {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0 .75rem;
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--cot-rule);
}

.cot-avatar {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.375rem;
	height: 2.375rem;
	border-radius: 50%;
	background: var(--cot-deep);
	color: #fff;
	font-size: .875rem;
	font-weight: 600;
}

.cot-person__name {
	color: var(--cot-ink);
	font-size: .875rem;
	font-weight: 600;
}

.cot-person__role {
	color: var(--cot-muted);
	font-size: .75rem;
	font-weight: 500;
}

/* Controls are injected by theme.js so they never appear without JS. */
.cot-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.75rem;
}

.cot-carousel__button {
	display: grid;
	place-items: center;
	width: 2.875rem;
	height: 2.875rem;
	padding: 0;
	border: 1px solid var(--cot-rule);
	border-radius: 50%;
	background: var(--cot-surface);
	color: var(--cot-ink);
	cursor: pointer;
	font: inherit;
	font-size: 1.125rem;
	line-height: 1;
}

.cot-carousel__button:hover:not(:disabled) {
	border-color: var(--cot-ink);
	background: var(--cot-ink);
	color: #fff;
	transform: translateY(-2px);
}

.cot-carousel__button:disabled {
	opacity: .35;
	cursor: default;
}

.cot-carousel__dots {
	position: relative;
	display: flex;
	align-items: center;
	gap: .375rem;
}

.cot-carousel__dot {
	width: .625rem;
	height: .625rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d6cbbb;
	cursor: pointer;
	transition: width .3s var(--cot-ease), background-color .3s var(--cot-ease);
}

.cot-carousel__dot[aria-current="true"] {
	width: 1.75rem;
	background: var(--cot-accent);
}

/* Enlarge the hit area without enlarging the visual dot. */
.cot-carousel__dot::before {
	content: "";
	position: absolute;
	width: 2.75rem;
	height: 2.75rem;
	transform: translate(-50%, -50%);
}

/* ------------------------------------------------------------------ *
 * 12. FAQ
 * ------------------------------------------------------------------ */

.cot-faq {
	background: var(--cot-surface);
}

.cot-faq__list {
	width: var(--cot-narrow);
	margin: clamp(2.25rem, 4vw, 3rem) auto 0;
	display: grid;
	gap: .625rem;
}

.cot-faq__item {
	padding: 0;
	border: 1px solid var(--cot-rule);
	border-radius: var(--cot-radius);
	background: var(--cot-canvas);
	overflow: hidden;
	transition: border-color .28s var(--cot-ease), background-color .28s var(--cot-ease);
}

/* Bottom space is padding, not the answer's margin: core flow layout zeroes the
 * last child's bottom margin, which left open answers touching the border. */
.cot-faq__item[open] {
	padding-bottom: 1.375rem;
	border-color: #cfc1ab;
	background: #fff;
	box-shadow: var(--cot-shadow-soft);
}

.cot-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	color: var(--cot-ink);
	cursor: pointer;
	font-family: var(--cot-font-serif);
	font-size: 1.1875rem;
	font-weight: 400;
	line-height: 1.35;
	list-style: none;
}

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

.cot-faq__item summary::after {
	content: "";
	flex: 0 0 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--cot-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1d1a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / .875rem no-repeat;
	transition: transform .3s var(--cot-ease), background-color .3s var(--cot-ease);
}

.cot-faq__item summary:hover {
	color: var(--cot-accent-dark);
}

.cot-faq__item[open] summary::after {
	transform: rotate(180deg);
	background-color: var(--cot-accent);
}

.cot-faq__item > :not(summary) {
	margin: 0 1.5rem;
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.65;
	text-wrap: pretty;
}

.cot-faq__item[open] > :not(summary) {
	animation: cot-faq-in .35s var(--cot-ease) both;
}

@keyframes cot-faq-in {
	from {
		opacity: 0;
		transform: translateY(-.4rem);
	}
}

/* ------------------------------------------------------------------ *
 * 13. Closing CTA and footer
 * ------------------------------------------------------------------ */

.cot-closing {
	position: relative;
	padding-block: clamp(3.5rem, 6vw, 5rem);
	background: var(--cot-deep);
	color: #fff;
}

.cot-closing__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
	align-items: center;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.cot-closing__copy {
	text-align: center;
}

.cot-closing__copy > * {
	margin-block: 0;
}

.cot-closing__title {
	max-width: 22ch;
	margin: 0 auto;
	color: #fff;
	font-family: var(--cot-font-serif);
	font-size: clamp(2rem, 3.6vw, 2.875rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.08;
	text-wrap: balance;
}

.cot-closing__lead {
	max-width: 48ch;
	margin: 1rem auto 0 !important;
	color: rgba(255, 255, 255, .82);
	font-size: clamp(1rem, 1.3vw, 1.0625rem);
	line-height: 1.6;
	text-wrap: pretty;
}

.cot-closing .wp-block-buttons {
	margin-top: 2rem !important;
}

.cot-closing__note {
	padding: 1.5rem 0 1.5rem clamp(1.5rem, 3vw, 2.5rem);
	border-left: 1px solid rgba(255, 255, 255, .28);
	color: rgba(255, 255, 255, .9);
	font-size: 1.75rem;
	line-height: 1.4;
}

.cot-closing__note::after {
	content: "";
	display: block;
	width: 1.75rem;
	height: 1px;
	margin-top: 1rem;
	background: currentColor;
}

.cot-footer {
	padding-block: clamp(3rem, 5vw, 4rem) 0;
	background: var(--cot-deep-dark);
	color: rgba(255, 255, 255, .72);
	font-size: .875rem;
}

.cot-footer__inner {
	width: var(--cot-container);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
}

.cot-footer__logo {
	margin: 0 0 1.25rem;
	line-height: 0;
}

.cot-footer__logo img {
	width: auto;
	height: 2.125rem;
	max-width: none;
	/* The brand mark is dark green; lighten it for the dark band. */
	filter: brightness(0) invert(1);
	opacity: .92;
}

.cot-footer__note {
	max-width: 34ch;
	margin: 0;
	color: rgba(255, 255, 255, .62);
	font-size: .875rem;
	line-height: 1.6;
}

.cot-footer__title {
	margin: 0 0 1rem;
	color: #fff;
	font-family: var(--cot-font-sans);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.cot-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .625rem;
}

.cot-footer__list a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
}

.cot-footer__list a:hover {
	color: var(--cot-accent);
}

.cot-footer__legal {
	width: var(--cot-container);
	margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 2rem;
}

.cot-footer__legal p {
	margin: 0;
	color: rgba(255, 255, 255, .5);
	font-size: .75rem;
	line-height: 1.5;
}

.cot-footer__legal a {
	color: inherit;
}

.cot-footer__legal a:hover {
	color: var(--cot-accent);
}

/* ------------------------------------------------------------------ *
 * 13b. Trajectory page
 * ------------------------------------------------------------------ */

.cot-about {
	padding-block: clamp(3rem, 6vw, 5.5rem);
	background: var(--cot-canvas);
}

.cot-about__inner {
	width: var(--cot-container);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.cot-about__inner > * {
	margin-block: 0;
}

.cot-about__figure {
	margin: 0;
	border-radius: var(--cot-radius);
	overflow: hidden;
	box-shadow: var(--cot-shadow-raised);
	aspect-ratio: 4 / 5;
	background: var(--cot-cream);
}

.cot-about__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cot-about__title {
	margin: 0 0 1.25rem;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(2.25rem, 4.4vw, 3.5rem);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.04;
	text-wrap: balance;
}

.cot-about__lead {
	margin: 0 0 1.125rem;
	color: var(--cot-body);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.65;
}

.cot-about__intro p:last-child {
	margin: 0;
	line-height: 1.7;
}

.cot-about__intro strong {
	color: var(--cot-ink);
	font-weight: 600;
}

.cot-approach {
	background: var(--cot-surface);
}

.cot-approach__cols {
	margin-top: clamp(2.25rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cot-approach__cols > * {
	margin-block: 0;
}

.cot-approach__card {
	height: 100%;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--cot-rule);
	border-top: 2px solid var(--cot-accent);
	border-radius: var(--cot-radius);
	background: var(--cot-canvas);
}

.cot-approach__card p:last-child {
	margin-bottom: 0;
}

.cot-approach__card p {
	margin: 0 0 1rem;
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.7;
	text-wrap: pretty;
}

.cot-approach__tag {
	margin: 0 0 .625rem !important;
	color: var(--cot-accent-dark);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.cot-approach__card .cot-panel-title {
	margin-bottom: 1rem;
	font-size: 1.625rem;
}

.cot-help {
	background: var(--cot-canvas);
}

.cot-help__grid {
	margin-top: clamp(2rem, 3.5vw, 2.75rem);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(.875rem, 1.8vw, 1.25rem);
}

.cot-help__grid > * {
	margin-block: 0;
}

.cot-help__item {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 100%;
	margin: 0;
	padding: 1.25rem 1.25rem 1.25rem 1.125rem;
	border-radius: var(--cot-radius);
	background: var(--cot-surface);
	box-shadow: var(--cot-shadow-soft);
	color: var(--cot-ink);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.4;
	text-wrap: pretty;
}

.cot-help__item::before {
	content: "";
	flex: 0 0 .5rem;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--cot-accent);
}

.cot-quote {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: var(--cot-cream);
}

.cot-quote__inner {
	width: var(--cot-narrow);
	margin-inline: auto;
}

.cot-quote__text {
	margin: 0;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.375rem, 2.8vw, 2rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.35;
	text-wrap: balance;
}

.cot-quote__text::before {
	content: "";
	display: block;
	width: 2.25rem;
	height: 1.75rem;
	margin: 0 auto 1.25rem;
	background: var(--cot-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M13 24H2V13C2 6 6 1.5 13 0v5c-3.5 1-5 3.3-5 6h5v13Zm17 0H19V13C19 6 23 1.5 30 0v5c-3.5 1-5 3.3-5 6h5v13Z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M13 24H2V13C2 6 6 1.5 13 0v5c-3.5 1-5 3.3-5 6h5v13Zm17 0H19V13C19 6 23 1.5 30 0v5c-3.5 1-5 3.3-5 6h5v13Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cot-quote__author {
	margin: 1.5rem 0 0;
	color: var(--cot-accent-dark);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ *
 * 14. Inner pages
 * ------------------------------------------------------------------ */

.cot-page {
	width: var(--cot-narrow);
	margin-inline: auto;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.cot-page .cot-page__title {
	margin: 0 0 1.5rem;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 400;
	letter-spacing: -.02em;
}

.cot-page__meta {
	margin: 0 0 2rem;
	color: var(--cot-muted);
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* Legal copy: long-form reading on the narrow page column. */
.cot-legal {
	color: var(--cot-body);
	font-size: 1rem;
	line-height: 1.7;
}

.cot-legal h2 {
	margin: 2.5rem 0 .75rem;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.375rem, 2.2vw, 1.625rem);
	font-weight: 400;
	line-height: 1.25;
}

.cot-legal p,
.cot-legal ul {
	margin: 0 0 1rem;
}

.cot-legal ul {
	padding-left: 1.25rem;
}

.cot-legal li + li {
	margin-top: .5rem;
}

.cot-legal strong {
	color: var(--cot-ink);
}

.cot-legal .cot-legal__updated {
	color: var(--cot-muted);
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.cot-post-card {
	padding-block: 1.75rem;
	border-bottom: 1px solid var(--cot-rule);
}

.cot-post-card h2 {
	margin: 0 0 .5rem;
	font-size: 1.5rem;
}

/* ------------------------------------------------------------------ *
 * 14b. Event page and home event band
 * ------------------------------------------------------------------ */

/* Home: band between the hero and the stages. */
.cot-event-cta {
	background: var(--cot-cream);
}

.cot-event-cta__box {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.cot-event-cta__box > *,
.cot-event-cta__copy > * {
	margin-block: 0;
}

.cot-event-cta__photo {
	margin: 0;
	border-radius: var(--cot-radius);
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--cot-canvas);
	box-shadow: var(--cot-shadow-raised);
}

.cot-event-cta__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.cot-event-cta__title {
	margin-top: 0;
	max-width: 18ch;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(2rem, 3.6vw, 2.875rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.08;
	text-wrap: balance;
}

.cot-event-cta .cot-event-cta__lead {
	max-width: 46ch;
	margin-top: 1.125rem;
	color: var(--cot-body);
	font-size: clamp(1rem, 1.3vw, 1.0625rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.cot-event-cta .cot-event-cta__days {
	margin-top: 1.5rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.cot-event-cta__days li {
	padding: .45rem .9rem;
	border: 1px solid var(--cot-rule);
	border-radius: 999px;
	background: var(--cot-surface);
	color: var(--cot-ink);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 1.3;
}

.cot-event-cta .wp-block-buttons {
	margin-top: 2rem;
}

/* Event: portrait, introduction and what's included, side by side. */
.cot-guide {
	background: var(--cot-surface);
}

.cot-guide__inner {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(2rem, 3.5vw, 3.5rem);
	padding-right: max(var(--cot-gutter), (100% - 84rem) / 2);
}

.cot-guide__photo {
	align-self: stretch;
	margin: 0;
	min-height: 32rem;
	overflow: hidden;
	background: var(--cot-cream);
}

.cot-guide__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.cot-guide__intro {
	padding-block: clamp(3rem, 5vw, 4.5rem);
}

.cot-guide__intro > * {
	margin-block: 0;
}

.cot-guide__title {
	max-width: 14ch;
	margin-bottom: 1.25rem !important;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.875rem, 2.8vw, 2.5rem);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: 1.08;
	text-wrap: balance;
}

.cot-guide__intro p:not([class]) {
	color: var(--cot-body);
	font-size: .9375rem;
	line-height: 1.65;
}

.cot-guide__intro p:not([class]) + p:not([class]) {
	margin-top: .875rem;
}

.cot-signature {
	margin-top: 1.25rem !important;
	color: var(--cot-ink);
	font-size: 2.5rem;
	line-height: 1.2;
	transform: rotate(-4deg);
	transform-origin: left center;
}

.cot-credit--quiet {
	margin-top: .75rem !important;
	font-size: .625rem;
}

.cot-guide .cot-text-link {
	margin-top: 1.5rem !important;
}

.cot-includes {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-radius: var(--cot-radius);
	background: var(--cot-cream);
}

.cot-includes > * {
	margin-block: 0;
}

.cot-includes__title {
	margin-bottom: 1.5rem !important;
	color: var(--cot-ink);
	font-family: var(--cot-font-serif);
	font-size: clamp(1.625rem, 2.4vw, 2rem);
	font-weight: 400;
	letter-spacing: -.01em;
	line-height: 1.1;
}

.cot-includes__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1.375rem;
}

/* Text stays one flow (a grid would split the bold lead-in from its sentence). */
.cot-includes__list li {
	position: relative;
	min-height: 2rem;
	padding-left: 3.25rem;
	color: var(--cot-body);
	font-size: .875rem;
	line-height: 1.55;
	text-wrap: pretty;
}

.cot-includes__list li::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 2rem;
	height: 2rem;
	color: var(--cot-ink);
}

.cot-includes__list strong {
	color: var(--cot-ink);
	font-weight: 600;
}

.cot-enrol {
	background: var(--cot-canvas);
}

.cot-enrol__inner > * {
	margin-block: 0;
}

.cot-enrol__head {
	max-width: 46rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
}

.cot-enrol__soon {
	margin: 0;
	padding: 1.25rem;
	border-radius: var(--cot-radius);
	background: var(--cot-cream);
	color: var(--cot-ink);
	font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * 15. Responsive
 * ------------------------------------------------------------------ */

/* Laptop / small desktop */
@media (max-width: 1180px) {
	.cot-stage-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cot-stage__head {
		min-height: 0;
	}

	.cot-carousel {
		--cot-per-view: 2;
	}

	.cot-guide__inner {
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
		padding-right: var(--cot-gutter);
	}

	.cot-includes {
		grid-column: 1 / -1;
		width: var(--cot-container);
		margin: 0 auto clamp(3rem, 6vw, 4.5rem) !important;
	}
}

/* Tablet: the photo sits above the copy instead of behind it. */
@media (max-width: 1024px) {
	:root {
		--cot-header-h: 4.75rem;
	}

	.cot-hero {
		display: block;
		min-height: 0;
		background: var(--cot-canvas);
	}

	.cot-hero__figure {
		position: relative;
		inset: auto;
		z-index: 0;
		aspect-ratio: 16 / 10;
	}

	.cot-hero__figure::after {
		content: none;
	}

	.cot-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
		padding-block: clamp(2.5rem, 6vw, 3.5rem) clamp(3rem, 7vw, 4.5rem);
	}

	.cot-hero__copy,
	.cot-hero__aside {
		grid-column: 1;
	}

	.cot-hero__copy {
		max-width: 40rem;
	}

	.cot-hero__aside {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 1rem 2.5rem;
		padding-top: 2rem;
		border-top: 1px solid var(--cot-rule);
		text-align: left;
	}

	.cot-hero__motto {
		display: none;
	}

	.cot-hero__note {
		max-width: 16rem;
		margin-top: 0 !important;
		transform: rotate(-4deg);
	}

	.cot-hero__note::after {
		margin-left: 0;
	}

	.cot-hero .cot-credit {
		padding: 0;
		background: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		font-size: .625rem;
	}

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

	.cot-overview__intro,
	.cot-section-title--left,
	.cot-section-lead--left {
		max-width: none;
	}

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

	.cot-registration__photo img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

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

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

	.cot-about__inner {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.cot-about__portrait {
		width: min(100%, 22rem);
	}

	.cot-about__intro {
		max-width: 44rem;
	}

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

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

	.cot-event-cta__box {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.cot-event-cta__photo {
		width: min(100%, 22rem);
	}

	.cot-event-cta__title,
	.cot-event-cta .cot-event-cta__lead {
		margin-inline: auto;
	}

	.cot-event-cta .cot-event-cta__days,
	.cot-event-cta .wp-block-buttons {
		justify-content: center;
	}

	.cot-closing__inner {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
	}

	.cot-closing__note {
		padding: 1.5rem 0 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .28);
		text-align: center;
	}

	.cot-closing__note::after {
		margin-inline: auto;
	}
}

/* Below this the six nav links plus the CTA no longer fit on one line; the
 * "Aulas en vivo" link still leads to checkout. Specificity has to beat
 * `.wp-block-buttons.is-layout-flex`. */
@media (max-width: 1140px) {
	.cot-header .wp-block-buttons.cot-header__cta {
		display: none;
	}
}

/* Between core's 600px overlay breakpoint and here, six links do not fit beside
 * the logo: tighten the row, then drop the two links that only jump down the
 * home page. The overlay menu (`.is-menu-open`) still lists every link. */
@media (max-width: 900px) {
	.cot-brand img {
		height: 1.75rem;
	}

	.cot-nav {
		font-size: .75rem;
	}

	.cot-nav .wp-block-navigation__container {
		gap: .875rem;
	}
}

@media (max-width: 820px) {
	.cot-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .cot-nav__extra {
		display: none;
	}
}

/* Large phone / small tablet */
@media (max-width: 782px) {
	:root {
		--cot-gutter: 1.25rem;
	}

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

	.cot-carousel {
		--cot-per-view: 1;
		--cot-slide-gap: 1rem;
	}

	.cot-carousel__track {
		/* Peek the next card so the carousel reads as swipeable. */
		grid-auto-columns: min(88%, 26rem);
	}

	.cot-guide__inner {
		grid-template-columns: minmax(0, 1fr);
		padding-right: 0;
	}

	.cot-guide__photo {
		min-height: 0;
		aspect-ratio: 4 / 5;
		width: var(--cot-container);
		max-width: 26rem;
		margin: clamp(3rem, 8vw, 4rem) auto 0 !important;
		border-radius: var(--cot-radius);
	}

	.cot-guide__intro {
		width: var(--cot-container);
		margin-inline: auto;
		padding-block: 0;
	}

	.cot-includes {
		grid-column: auto;
	}
}

/* Phone */
@media (max-width: 640px) {
	:root {
		--cot-section-y: clamp(3.25rem, 11vw, 4.5rem);
	}

	.cot-hero__figure {
		aspect-ratio: 4 / 3;
	}

	.cot-hero__figure img {
		object-position: 72% 30%;
	}

	.cot-hero__title {
		font-size: clamp(2.625rem, 12vw, 3.25rem);
	}

	.cot-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 1rem;
	}

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

	.cot-stage-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.cot-stage__photo {
		aspect-ratio: 16 / 10;
	}

	.cot-pullquote {
		display: block;
		padding-block: 1.5rem;
		border-block: 1px solid var(--cot-rule);
	}

	.cot-pullquote::before,
	.cot-pullquote::after {
		content: none;
	}

	.cot-detail-row {
		grid-template-columns: minmax(0, 1fr);
		gap: .25rem;
	}

	.cot-detail-value {
		text-align: left;
	}

	.cot-faq__item summary {
		padding: 1.0625rem 1.125rem;
		font-size: 1.0625rem;
	}

	.cot-faq__item[open] {
		padding-bottom: 1.125rem;
	}

	.cot-faq__item > :not(summary) {
		margin-inline: 1.125rem;
	}

	.cot-form-wrap {
		padding: 1.75rem 1.25rem 2rem;
	}

	.cot-submit {
		width: 100%;
		justify-content: center;
	}

	.cot-wide-button .wp-block-button__link,
	.cot-hero__actions .wp-block-button,
	.cot-hero__actions .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.cot-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.cot-footer__legal {
		flex-direction: column;
		align-items: flex-start;
	}

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

	.cot-approach__card {
		padding: 1.5rem 1.25rem;
	}

	.cot-includes {
		padding: 1.5rem 1.25rem;
	}
}

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

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

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.js-reveal .cot-reveal {
		opacity: 1;
		transform: none;
	}

	.cot-carousel__track {
		scroll-behavior: auto;
	}
}
