/* St Pete's Big Give: "Gulf Deco" (design system Concept E). Load after palettes.css. */

/* Colors come from palettes.css: set data-palette on <html>. These are the
   roles Gulf Deco builds on top of the palette. */
:root {
	--silver-text: var(--silver);  /* eyebrows, stat labels, numerals */
	--em: var(--accent);           /* italic accents and text links */
	--rays: var(--silver);         /* sunburst, arch outlines, double rule */
	--rays-opacity: .24;
	--line: color-mix(in srgb, var(--silver) 22%, transparent);
	--focus: var(--em);            /* keyboard focus ring; deep slate on light surfaces */
	--slate: var(--bg);            /* slate accents (ticks, links, focus borders) on light surfaces */

	/* Form neutrals (the same in every study). */
	--field-ink: #1b2631;
	--field-muted: #4f5c69;
	--field-fill: #fbfaf8;
	--field-border: #7d8894;       /* 3.5:1 on the field fill */
	--hairline: #d6dbe0;

	--serif: "DM Serif Display", Georgia, serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(16px, 4.5vw, 56px);
	--section: clamp(64px, 9vw, 104px);
}

/* Light-led palette: silver can't carry small text on porcelain, so it drops to
   pewter, and the pink italic uses the darker text pink. */
[data-palette="porcelain-slate"] {
	--silver-text: var(--pewter);
	--em: var(--accent-text-light);
	--rays: #8d98a3;
	--rays-opacity: .45;
	--line: color-mix(in srgb, #8d98a3 35%, transparent);
	--slate: var(--bg-deep);
}

/* Light bands: the pink focus ring can't be seen on porcelain or white, so focus
   switches to slate there (DESIGN.md's Light-Surface Contrast Rule). */
.apply-body { --focus: var(--slate); }

/* Homepage bands (assigned by position in site.js): deep and light alternate
   after the hero; the closing band returns to the page color. Each band sets
   the roles its sections use, so any section reads correctly on any band. */
.band--base { background: var(--bg); color: var(--text); }
.band--deep { background: var(--bg-deep); color: var(--text); }
.band--surface {
	background: var(--surface-light);
	--text: var(--bg-deep);
	--text-muted: var(--pewter);
	--silver-text: var(--pewter);
	--em: var(--accent-text-light);
	--focus: var(--bg-deep);
	--rays: #8d98a3;
	--rays-opacity: .45;
	--line: color-mix(in srgb, var(--pewter) 25%, transparent);
	color: var(--text);
}
/* The dark-ink button would vanish on a deep band; it flips to light there. */
.band--deep .btn--night { background: var(--surface-light); color: var(--bg-deep); }
.band--deep .btn--night:hover { background: color-mix(in srgb, var(--surface-light) 85%, #000); }
/* White logo tiles need an edge on the light band. */
.band--surface :is(.circle-logo:not(.circle-logo--ph), .winner__logo) { box-shadow: 0 0 0 1px var(--hairline); }

/* These blocks stay dark slate on porcelain-slate, so they get the dark-surface roles back. */
[data-palette="porcelain-slate"] :is(.band--deep, .seat:not(.seat--open), .site-footer, .partner-strip) {
	--text: #f2f0ec;
	--text-muted: #b7c2cc;
	--silver-text: var(--silver);
	--em: var(--accent);
	--focus: var(--accent);
	--rays: var(--silver);
	--line: color-mix(in srgb, var(--silver) 22%, transparent);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; color: var(--em); }

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

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -48px; z-index: 100;
	padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.eyebrow {
	font: 700 11px/1.5 var(--sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--silver-text);
}

/* Buttons */

.btn {
	display: inline-block;
	padding: 15px 28px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 700 15px/1.1 var(--sans);
	text-align: center;
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn--coral { background: var(--accent); color: var(--accent-ink); }
.btn--coral:hover { background: color-mix(in srgb, var(--accent) 78%, #fff); transform: translateY(-1px); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--night { background: var(--bg-deep); color: var(--surface-light); }
.btn--night:hover { background: color-mix(in srgb, var(--bg-deep) 80%, #000); }

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

/* Header */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 96%, transparent);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.wordmark {
	display: inline-flex; align-items: center; gap: 12px;
	font: 400 25px/1 var(--serif);
	text-decoration: none;
	white-space: nowrap;
}
.wordmark svg { width: 34px; height: 20px; flex: none; }
.wordmark .arch { stroke: var(--rays); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; font-size: 14px; }
.site-nav ul a { color: var(--text-muted); text-decoration: none; }
.site-nav ul a:hover { color: var(--text); }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	background: none; border: 1px solid var(--line); border-radius: 999px;
	color: var(--text); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; margin: 0 auto;
	background: currentColor; 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; }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 24px var(--gutter) 28px;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 0; font-size: 18px; }
	.site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
}

/* Hero with sunburst */

.hero { position: relative; overflow: hidden; text-align: center; }
.hero__rays {
	position: absolute; left: 50%; bottom: -40px;
	width: max(1100px, 100%); height: auto;
	transform: translateX(-50%);
	pointer-events: none;
}
.hero__rays .rays { stroke: var(--rays); stroke-opacity: var(--rays-opacity); }
.hero__rays .arcs { stroke: var(--rays); stroke-opacity: calc(var(--rays-opacity) + .06); }
.sun { fill: var(--accent); }
.hero__rays .sun { fill-opacity: .9; }
.hero__inner { position: relative; padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(140px, 18vw, 200px); }
.hero__title {
	margin: 22px 0 24px;
	font: 400 clamp(44px, 9.5vw, 116px)/.92 var(--serif);
	letter-spacing: -.01em;
}
:is(.hero__title, .section__title, .apply__title, .apply-hero__title) { text-wrap: balance; }
.hero__lede {
	max-width: 600px;
	margin: 0 auto 32px;
	font-size: clamp(17px, 2vw, 19px);
	color: var(--text-muted);
}
.hero .actions { justify-content: center; }

.double-rule { height: 6px; border-top: 1px solid var(--rays); border-bottom: 1px solid var(--rays); }

/* Stats */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 44px 0; text-align: center; }
.stats div { display: flex; flex-direction: column-reverse; padding: 0 12px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dd { font: 400 clamp(46px, 5.5vw, 62px)/1 var(--serif); }
.stats dt { margin-top: 8px; font-size: 13px; color: var(--silver-text); }

@media (max-width: 760px) {
	.stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.stats div:nth-child(3) { border-left: 0; }
}

/* Sections */

.section { padding: var(--section) 0; }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head > p:not(.eyebrow) { color: var(--text-muted); font-size: 18px; }
.section__title {
	margin: 14px 0 18px;
	font: 400 clamp(40px, 5.8vw, 64px)/1 var(--serif);
}

/* Arched act cards */

.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arch-card {
	padding: 64px 32px 36px;
	border: 1px solid var(--rays);
	border-radius: 200px 200px 10px 10px;
	background: var(--bg);
	text-align: center;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .45s;
}
.arch-card__num { font: italic 400 22px/1 var(--serif); color: var(--silver-text); transition: color .45s; }
.arch-card h3 { margin: 14px 0 10px; font: 400 36px/1.05 var(--serif); }
.arch-card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.arch-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.arch-card:hover .arch-card__num { color: var(--em); }

@media (prefers-reduced-motion: reduce) {
	.arch-card { transition: none; }
	.arch-card:hover { transform: none; }
}

@media (max-width: 860px) {
	.acts { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* Rivalry */

.sides { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.side {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	height: 100%;
	padding: clamp(48px, 6vw, 64px) clamp(24px, 4vw, 40px) 40px;
	border-radius: 220px 220px 12px 12px;
	text-align: center;
}
.side { border: 2px solid var(--rays); }
.rivalry .section__title em { color: var(--silver-text); }
.side__stat { margin-top: 8px; font: 400 clamp(44px, 5vw, 58px)/1 var(--serif); }
.side__note { margin-bottom: 18px; color: var(--text-muted); max-width: 24em; }
.side .btn { margin-top: auto; }
.btn__ext { margin-left: .35em; font-weight: 400; }
.versus { font: italic 400 34px/1 var(--serif); color: var(--silver-text); }
.next-steps {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
	margin-top: 32px;
	color: var(--text-muted); font-size: 15px;
}
.next-steps li { display: flex; align-items: baseline; gap: 10px; }
.next-steps li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rays); transform: translateY(-2px); }

@media (max-width: 560px) {
	.next-steps { flex-direction: column; align-items: center; }
}

@media (max-width: 860px) {
	.sides { grid-template-columns: 1fr; gap: 16px; }
	.versus { text-align: center; }
}

/* Apply (porcelain) */

.apply { padding: var(--section) 0; }
.apply .eyebrow { color: var(--silver-text); }
.apply__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: end; margin-bottom: 48px; }
.apply__title { margin-top: 14px; font: 400 clamp(42px, 6vw, 72px)/.98 var(--serif); }
.apply__top p:not(.eyebrow) { margin-bottom: 24px; font-size: 18px; color: var(--text-muted); }

.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seat {
	padding: 84px 32px 36px;
	border-radius: 160px 160px 10px 10px;
	background: var(--bg-deep);
	color: var(--text);
	text-align: center;
}
.apply .seat .eyebrow { color: var(--silver-text); }
.seat h3 { margin: 12px 0 8px; font: 400 30px/1.1 var(--serif); }
.seat p:not(.eyebrow) { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.seat--open { background: transparent; color: var(--bg-deep); border: 2px dashed var(--pewter); }
.apply .seat--open .eyebrow { color: var(--pewter); }
.seat--open p:not(.eyebrow) { color: var(--pewter); }

.when { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--rays); }
.when div { display: flex; flex-direction: column; padding: 18px 16px 0 0; }
.when dd { margin-top: 4px; font: 400 24px/1.15 var(--serif); }
.when dt { font-size: 14px; color: var(--text-muted); }

@media (max-width: 860px) {
	.apply__top { grid-template-columns: 1fr; }
	.seats { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
	.when { grid-template-columns: 1fr 1fr; row-gap: 20px; }
}

/* About */

.about__inner { max-width: 760px; text-align: center; }
.about__inner > p:not(.eyebrow) { color: var(--text-muted); font-size: 18px; }
.about__inner > p + p { margin-top: 16px; }
.about__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; }
.about__links a { font-weight: 700; color: var(--text); text-decoration-color: var(--em); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Footer */

.site-footer { padding: 40px 0; background: var(--bg-deep); color: var(--text-muted); font-size: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer__bottom .wordmark { color: var(--text); font-size: 21px; }
.site-footer__bottom a:not(.wordmark) { color: var(--em); }

/* Partners: full light module (handoff version A) */

.partners {
	padding: var(--section) 0 calc(var(--section) - 8px);
	text-align: center;
}
.partners .eyebrow { color: var(--silver-text); }
.partners .section__title { margin-bottom: 14px; }
.partners__lede { max-width: 620px; margin: 0 auto; font-size: 17px; color: var(--text-muted); }
.partners__rule {
	position: relative;
	width: 220px; height: 6px;
	margin: 40px auto 36px;
	border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver);
}
.partners__rule::after {
	content: ""; position: absolute; left: 50%; top: -14px;
	width: 28px; height: 14px;
	border-radius: 14px 14px 0 0;
	background: var(--accent);
	transform: translateX(-50%);
}

.hosts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin: 52px 0 4px; padding-top: 40px; border-top: 1px solid var(--line); }
.host { font: 400 26px/1.15 var(--serif); text-align: left; }
.host small { display: block; margin-bottom: 6px; font: 700 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--silver-text); }
.hosts__and { font: italic 400 30px/1 var(--serif); color: var(--em); }
.host--logo { text-align: center; }
.host--logo small { margin-bottom: 18px; }
.hosts .circle-logo--host { /* beats the base .circle-logo size later in the file */
	width: 240px; height: 184px;
	margin: 0;
	padding: 44px 36px 16px;
	border: 1px solid #d6dbe0;
	outline-color: color-mix(in srgb, var(--pewter) 35%, transparent);
}
.hosts:has(.host--logo) { gap: 20px 40px; }
/* Linked hosts lift like the partner logo tiles (Tile lift, DESIGN.md). */
.host--link { color: inherit; text-decoration: none; }
.host--link .circle-logo--host { transition: transform .2s ease, box-shadow .2s ease; }
.host--link:is(:hover, :focus-visible) .circle-logo--host { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(36, 52, 68, .12); }
.host--link:focus-visible { outline: none; }
.host--link:focus-visible .circle-logo--host { outline: 3px solid var(--focus, var(--em)); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.host--link:is(:hover, :focus-visible) .circle-logo--host { transform: none; }
}

.tier { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.tier::before,
.tier::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.partners__venue { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 40px; }
/* Community partners: a centered row (same tile size whether there are 2 or 6). */
.partners__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partners__grid .logo { flex: 0 0 calc((100% - 5 * 16px) / 6); }

/* More than six: a slow, continuous scroll that pauses on hover or focus. */
.partners__marquee {
	overflow: hidden;
	margin: 0 calc(var(--gutter) * -1);
	padding: 6px 0 10px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track { display: flex; width: max-content; animation: partners-scroll calc(var(--count) * 5s) linear infinite; }
.partners__set { display: flex; gap: 16px; padding-right: 16px; }
.partners__set .logo { flex: none; width: 180px; }
.partners__marquee:is(:hover, :focus-within) .partners__track { animation-play-state: paused; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.partners__marquee { margin: 0; -webkit-mask-image: none; mask-image: none; }
	.partners__track { width: auto; animation: none; }
	.partners__set { flex-wrap: wrap; justify-content: center; padding: 0; }
	.partners__set[aria-hidden] { display: none; }
}

/* Logo tiles: white arches, every logo in full color; they lift on hover or focus. */
.logo {
	display: grid; place-items: center;
	height: 120px;
	padding: 34px 22px 12px; /* top padding clears the arch's curve */
	background: #fff;
	border: 1px solid #d6dbe0;
	border-radius: 120px 120px 8px 8px;
	color: #1b2631;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(36, 52, 68, .12); }
.logo--big { width: min(300px, 100%); height: 150px; border-radius: 150px 150px 8px 8px; }
.logo--big { padding: 50px 40px 14px; }
.tile-name { font: 400 20px/1.1 var(--serif); }

.partners__cta {
	display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px;
	margin-top: 44px;
	padding: 10px 10px 10px 28px;
	background: #fff;
	border: 1px solid #d6dbe0;
	border-radius: 999px;
	font-size: 15px;
	text-decoration: none;
}
.btn--slate { padding: 13px 22px; font-size: 14px; background: var(--bg-deep); color: var(--surface-light); }
[data-palette="porcelain-slate"] .btn--slate { background: var(--text); }
.partners__cta:hover .btn--slate { background: color-mix(in srgb, var(--bg-deep) 80%, #000); }

@media (max-width: 960px) {
	.partners__grid .logo { flex-basis: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 560px) {
	.partners__grid { gap: 12px; }
	.partners__grid .logo { flex-basis: calc((100% - 12px) / 2); }
	.partners__set .logo { width: 150px; }
	.logo { height: 104px; }
	.partners__cta { padding: 16px; border-radius: 24px; }
}

/* Partners: compact dark strip (handoff version B) */

.partner-strip { padding: 36px 0; background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
[data-palette="porcelain-slate"] .partner-strip { background: var(--bg-deep); }
.partner-strip__inner { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
.partner-strip__title { margin-top: 8px; font: 400 26px/1.1 var(--serif); }
.partner-strip__logos { display: flex; flex-wrap: wrap; gap: 10px; }
/* Chips are 112 wide with a 56px top radius; the padding keeps the logo box
   below the curve so square logos don't poke out of the arch. */
.chip {
	display: grid; place-items: center;
	width: 112px; height: 88px;
	padding: 22px 18px 9px;
	background: #fff;
	border-radius: 56px 56px 6px 6px;
	color: #1b2631;
	text-decoration: none;
}
.chip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.chip .tile-name { font-size: 15px; }

@media (max-width: 860px) {
	.partner-strip__inner { grid-template-columns: 1fr; gap: 20px; }
}

/* /apply */

.apply-hero { position: relative; overflow: hidden; }
.apply-hero__rays {
	position: absolute; right: -120px; top: -40px;
	width: 700px; height: 700px;
	pointer-events: none;
}
.apply-hero__rays .rays { stroke: var(--rays); stroke-opacity: calc(var(--rays-opacity) * .75); }
.apply-hero__rays .arcs { stroke: var(--rays); stroke-opacity: calc(var(--rays-opacity) * .85); }
.apply-hero__inner {
	position: relative;
	display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end;
	padding-top: 40px; padding-bottom: 64px;
}
.crumb { margin-bottom: 22px; font-size: 13px; color: var(--text-muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--silver-text); font-weight: 500; }
.apply-hero__title { margin: 14px 0 20px; font: 400 clamp(48px, 7vw, 80px)/.95 var(--serif); }
.apply-hero__lede { max-width: 600px; font-size: 18px; color: var(--text-muted); }
.awards { display: grid; gap: 10px; }
.awards .eyebrow { margin-bottom: 4px; }
.award {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding: 14px 24px;
	border: 1px solid color-mix(in srgb, var(--silver-text) 45%, transparent);
	border-radius: 999px;
}
.award b { font: 400 32px/1 var(--serif); }
.award span { color: var(--silver-text); }
.award--first { border-color: var(--accent); }
.award--first b { color: var(--em); }

@media (max-width: 860px) {
	.apply-hero__inner { grid-template-columns: 1fr; gap: 32px; }
}

.apply-body { padding: 56px 0 var(--section); background: var(--surface-light); color: var(--field-ink); }
/* Desktop: checklist and timeline in a sidebar. Phones: checklist, then the form,
   then the timeline, so the source order (and tab order) matches the screen. */
.apply-body__grid {
	display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 0 40px; align-items: start;
	grid-template-areas: "ready form" "next form";
	grid-template-rows: auto 1fr;
}
.apply-ready { grid-area: ready; }
.apply-next { grid-area: next; }
.formwrap { grid-area: form; }
@media (max-width: 960px) {
	.apply-body__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ready" "form" "next"; }
	.apply-next { margin-top: 20px; }
}

.card { margin-bottom: 20px; padding: 26px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; }
.card .eyebrow { color: var(--pewter); }
.card h2 { margin: 8px 0 14px; font: 400 26px/1.1 var(--serif); }
.card--help p:not(.eyebrow) { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--field-muted); }
.apply-body a { color: var(--slate); font-weight: 700; }

.ready li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.45; }
.ready li:first-child { border-top: 0; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--slate); color: #f2f0ec; font-size: 12px; font-weight: 700; }
.warn { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #fbe9e4; color: #5a2a22; font-size: 13.5px; line-height: 1.45; }

.timeline li { position: relative; padding: 0 0 18px 26px; font-size: 14px; line-height: 1.5; color: var(--field-muted); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--slate); background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 17px; bottom: 2px; width: 1px; background: var(--hairline); }
.timeline li:last-child::after { display: none; }
.timeline li.is-now::before { background: var(--accent); border-color: var(--accent); }
.timeline b { display: block; color: var(--field-ink); }

/* The application form */

.formwrap { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; }
.form-closed { padding: 16px 24px; border-radius: 14px 14px 0 0; background: #fbe9e4; color: #5a2a22; font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--hairline); }
.form-closed a { color: inherit; }
/* The step bar sticks under the header while the form scrolls. */
.steps {
	position: sticky; top: 76px; z-index: 5;
	display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column;
	background: #fff;
	border-bottom: 1px solid var(--hairline);
}
.formwrap > .steps:first-child { border-radius: 14px 14px 0 0; }
.steps li + li { border-left: 1px solid var(--hairline); }
.steps a { display: block; height: 100%; padding: 16px 18px; color: var(--pewter); font-size: 13px; font-weight: 400; text-decoration: none; }
.steps a:hover,
.steps a.is-current { background: #f6f4f1; box-shadow: inset 0 -3px 0 var(--accent); }
.steps a.has-error b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #b5584a; vertical-align: middle; }
.steps b { display: block; margin-bottom: 4px; font: 400 20px/1 var(--serif); color: var(--field-ink); }
/* Phones: a compact numbered bar; only the current section is named. */
@media (max-width: 700px) {
	.steps a { padding: 10px 6px; text-align: center; }
	.steps b { margin: 0; font-size: 17px; }
	.steps__label { display: none; }
	.steps a.is-current .steps__label { display: block; margin-top: 2px; font-size: 11px; line-height: 1.2; }
}

.app-form { padding: 8px clamp(20px, 4vw, 40px) 40px; }
.required-key { margin-top: 20px; font-size: 13px; color: var(--field-muted); }
.app-form fieldset { min-width: 0; margin: 0; padding: 32px 0 8px; border: 0; border-bottom: 1px solid var(--hairline); }
.app-form fieldset:last-of-type { border-bottom: 0; }
.app-form legend { padding: 0; }
.sec { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; font: 400 32px/1 var(--serif); color: var(--field-ink); }
.sec__n { font: italic 400 22px/1 var(--serif); color: #b5584a; }

.fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 22px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin-bottom: 20px; grid-column: span 12; }
.f--half { grid-column: span 6; }
.f--third { grid-column: span 4; }
.f--quarter { grid-column: span 3; }
@media (max-width: 760px) {
	.f--quarter { grid-column: span 6; }
}
@media (max-width: 560px) {
	.f:is(.f--half, .f--third, .f--quarter) { grid-column: span 12; }
}
.f > label:not(.agree) { font: 700 14px/1.3 var(--sans); color: var(--field-ink); }
.req { color: #b5584a; }
.hint { margin-top: -2px; font-size: 13px; line-height: 1.45; color: var(--field-muted); }
/* Fields that share a row put their hint under the input, so labels and inputs
   line up across the row whether or not a field has a hint. */
.f:is(.f--half, .f--third, .f--quarter) > .hint { order: 1; margin-top: 0; }

.app-form :is(input[type=text], input[type=email], input[type=tel], input[type=url], textarea, select) {
	width: 100%;
	padding: 12px 14px;
	background: var(--field-fill);
	border: 1.5px solid var(--field-border);
	border-radius: 8px;
	color: var(--field-ink);
	font: 400 15px/1.4 var(--sans);
}
.app-form ::placeholder { color: var(--pewter); opacity: 1; }
.app-form :is(input:not([type=checkbox]), textarea, select):focus { outline: none; border-color: var(--slate); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--slate) 30%, transparent); }
.app-form textarea { min-height: 120px; resize: vertical; }
.app-form textarea.tall { min-height: 200px; }
.app-form [aria-invalid="true"] { border-color: #b5584a; }
.count { align-self: flex-end; font-size: 12px; color: var(--pewter); }
.count.is-over { color: #a3463a; font-weight: 700; }
.field-error { font-size: 13px; font-weight: 700; color: #a3463a; }
.form-error { margin-top: 24px; padding: 16px 20px; border-radius: 10px; background: #fbe9e4; color: #5a2a22; }
.form-error p { font-weight: 700; }
.form-error ul { margin-top: 8px; padding-left: 20px; list-style: disc; font-size: 14px; line-height: 1.6; }
.apply-body .form-error a { color: #5a2a22; }
.info { padding: 12px 14px; border-radius: 10px; background: #f6f4f1; font-size: 14px; color: var(--field-muted); }

/* Closed preview: read-only but fully legible. */
.app-form fieldset:disabled :is(input, textarea, select, button) { cursor: not-allowed; opacity: 1; color: var(--field-ink); background: #f6f4f1; }
.app-form fieldset:disabled :is(.up, .sig) { background: #f6f4f1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.chips span { padding: 7px 12px; border-radius: 999px; background: #e9edf1; color: var(--slate); font: 700 12px/1 var(--sans); }

.up {
	position: relative;
	display: flex; align-items: center; gap: 16px;
	padding: 16px 18px;
	background: var(--field-fill);
	border: 1.5px dashed var(--field-border);
	border-radius: 10px;
}
.up:focus-within { border-color: var(--slate); box-shadow: 0 0 0 3px color-mix(in srgb, var(--slate) 30%, transparent); }
.up__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--slate); color: #f2f0ec; font-size: 18px; }
.up__text b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.up__text span { font-size: 13px; color: var(--field-muted); }
.up input[type=file] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }

.agree {
	display: grid; grid-template-columns: 24px 1fr; gap: 14px;
	padding: 18px;
	background: var(--field-fill);
	border: 1px solid var(--field-border);
	border-radius: 10px;
	cursor: pointer;
}
.agree:focus-within { border-color: var(--slate); box-shadow: 0 0 0 3px color-mix(in srgb, var(--slate) 30%, transparent); }
.agree--error { border-color: #b5584a; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--slate); }
.agree__title { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.agree__text { display: block; font-size: 13.5px; line-height: 1.55; color: var(--field-muted); }
.f:has(.agree) { margin-bottom: 12px; }

.sig { position: relative; background: var(--field-fill); border: 1.5px solid var(--field-border); border-radius: 10px; }
.sig__pad { display: block; width: 100%; height: 120px; touch-action: none; cursor: crosshair; }
.sig__line { display: flex; justify-content: space-between; align-items: center; margin: 0 18px; border-top: 1px solid var(--field-border); font-size: 12px; color: var(--pewter); }
/* 44px-tall target at the same visual size. */
.sig__clear { min-height: 44px; margin-right: -12px; padding: 0 12px; background: none; border: 0; color: var(--slate); font: 700 13px/1 var(--sans); text-decoration: underline; cursor: pointer; }

.submit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.submit p { max-width: 420px; font-size: 13.5px; line-height: 1.5; color: var(--field-muted); }
.submit .btn { font-size: 16px; padding: 16px 30px; white-space: nowrap; cursor: pointer; }
.submit .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you and 404 */

.thanks__inner { max-width: 720px; text-align: center; }
.thanks__inner > p:not(.eyebrow) { color: var(--text-muted); font-size: 18px; }
.thanks__inner .actions { justify-content: center; margin-top: 28px; }

/* Header give button: on phones the nav collapses, so the pill moves next to the menu button. */
.header-give { display: none; padding: 11px 18px; font-size: 14px; }
@media (max-width: 900px) {
	.header-give { display: inline-block; margin-left: auto; }
	.site-nav .btn--coral { display: none; }
}
/* While the Women vs. Guys band is on screen its own buttons are the pink moment. */
.site-header.is-at-give :is(.header-give, .site-nav .btn--coral) { visibility: hidden; }
@media (max-width: 359px) {
	.header-give { display: none; }
}
@media (max-width: 400px) {
	.site-header__inner { gap: 12px; }
	.wordmark { gap: 8px; font-size: 20px; }
	.wordmark svg { width: 28px; height: 16px; }
	.header-give { padding: 10px 14px; font-size: 13px; }
}

/* Partners hosts stack on phones instead of staggering. */
@media (max-width: 560px) {
	.hosts { flex-direction: column; gap: 10px; }
	.host { text-align: center; }
}

/* Questions (shown only when the CMS has answers) */

.faq__list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 4px;
	font: 400 22px/1.25 var(--serif);
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 400 26px/1 var(--sans); color: var(--silver-text); }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 4px 22px; color: var(--text-muted); }
.faq__answer p + p { margin-top: 12px; }

/* Closing band: the last thing donors see is the night itself, not the sponsor ask. */

.closing { position: relative; overflow: hidden; padding: var(--section) 0; text-align: center; }
.closing__sun { display: block; width: 120px; height: 60px; margin: 0 auto 28px; }
.closing__sun .arch { fill: none; stroke: var(--rays); stroke-width: 1.5; }
.closing__title { margin: 14px 0 12px; font: 400 clamp(40px, 6vw, 72px)/1 var(--serif); text-wrap: balance; }
.closing__title em { color: var(--silver-text); } /* the sun and the button are this band's pink */
.closing__where { color: var(--text-muted); font-size: 18px; }
.closing__where a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 4px; }
.closing .actions { justify-content: center; margin-top: 32px; }

/* Hero date line (replaces the kicker label above the headline) */

.hero__details {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
	margin: -12px auto 30px;
	color: var(--text);
	font-size: 16px; font-weight: 500;
}
.hero__details span:not(.dot) { white-space: nowrap; }
.hero__details .dot { margin: 0 12px; color: var(--silver-text); }

/* Last year: photos of the room and last year's winner */

.ly__photos {
	display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
	height: clamp(420px, 46vw, 580px);
}
.ly__photo { margin: 0; min-height: 0; overflow: hidden; border-radius: 10px; }
.ly__photo--1 { grid-row: span 2; border-radius: 400px 400px 10px 10px; }
.ly__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
	.ly__photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
	.ly__photo--1 { grid-column: span 2; grid-row: auto; height: 300px; border-radius: 200px 200px 10px 10px; }
	.ly__photo--2, .ly__photo--3 { height: 180px; }
}
/* Side photos hidden in the CMS: the arch alone, centered; or one side photo at full height. */
.ly__photos--solo { grid-template-columns: minmax(0, 620px); grid-template-rows: 1fr; justify-content: center; }
.ly__photos--solo .ly__photo--1 { grid-row: auto; }
.ly__photos--pair > .ly__photo:not(.ly__photo--1) { grid-row: span 2; }
@media (max-width: 760px) {
	.ly__photos--solo { grid-template-columns: 1fr; }
	.ly__photos--solo .ly__photo--1 { grid-column: auto; }
	.ly__photos--pair > .ly__photo { grid-column: span 2; grid-row: auto; }
}

/* Placeholder for a photo that hasn't been supplied yet. */
.ph {
	display: grid; place-content: center; justify-items: center; gap: 6px;
	width: 100%; height: 100%; min-height: 160px;
	padding: 20px;
	background: color-mix(in srgb, var(--rays) 9%, transparent);
	border: 1.5px dashed color-mix(in srgb, var(--rays) 55%, transparent);
	border-radius: inherit;
	text-align: center;
}
.ph__icon { width: 40px; height: 40px; margin-bottom: 4px; fill: none; stroke: var(--silver-text); stroke-width: 2; }
.ph__label { font: 400 20px/1.2 var(--serif); color: var(--text); }
.ph__hint { font-size: 13px; color: var(--text-muted); }
.ph-text { color: var(--text-muted); font-style: italic; }

.winner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: center;
	max-width: 980px;
	margin: 56px auto 0;
	padding: clamp(20px, 3vw, 28px);
	background: color-mix(in srgb, var(--text) 5%, transparent);
	border: 1px solid var(--line);
	border-radius: 14px;
}
.winner__photo { height: 100%; min-height: 260px; overflow: hidden; border-radius: 10px; }
.winner__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.winner__heading { font: 400 15px/1.3 var(--sans); font-weight: 700; color: var(--silver-text); }
.winner__id { display: flex; align-items: center; gap: 18px; margin: 16px 0 18px; }
.winner__logo {
	display: grid; place-items: center; flex: none;
	width: 108px; height: 68px; padding: 10px;
	background: #fff; border-radius: 60px 60px 6px 6px;
}
.winner__logo img { max-width: 100%; max-height: 44px; object-fit: contain; }
.winner__logo .ph-text--logo { font-size: 11px; line-height: 1.2; color: var(--field-muted); text-align: center; }
.winner__name { font: 400 clamp(26px, 3vw, 34px)/1.1 var(--serif); }
.winner__meta { margin-top: 4px; color: var(--text-muted); font-size: 15px; }
.winner__text { color: var(--text-muted); }
.winner__link { margin-top: 14px; }
.winner__link a { font-weight: 700; color: var(--text); text-decoration-color: var(--em); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 760px) {
	.winner { grid-template-columns: 1fr; }
	.winner__photo { min-height: 220px; }
}

/* Closing band date line (replaces the kicker label) */
.closing__when { margin-bottom: 6px; color: var(--text); font-size: 18px; font-weight: 500; }

/* Header suns (server/lib/suns.js). Shapes and timings follow the
   sun-motion handoff; colors come from the palette roles. */

.hero-sun {
	position: absolute; left: 50%; bottom: 0;
	width: clamp(560px, 72vw, 900px); height: auto;
	transform: translateX(-50%);
	pointer-events: none;
	--band-tint: #fff;
}
[data-palette="porcelain-slate"] .hero-sun { --band-tint: var(--text); }
/* The new suns rise higher than the original sunburst, so the hero leaves them more room. */
.hero:has(.hero-sun) .hero__inner { padding-bottom: clamp(190px, 24vw, 280px); }

.hero-sun :is(.s-pink, .s-pink-0) { fill: var(--accent); }
.hero-sun .s-pink-1 { fill: color-mix(in srgb, var(--accent) 72%, #fff); }
.hero-sun .s-pink-2 { fill: color-mix(in srgb, var(--accent) 45%, #fff); }
.hero-sun .s-band-0 { fill: color-mix(in srgb, var(--bg) 95%, var(--band-tint)); }
.hero-sun .s-band-1 { fill: color-mix(in srgb, var(--bg) 91%, var(--band-tint)); }
.hero-sun .s-band-2 { fill: color-mix(in srgb, var(--bg) 85%, var(--band-tint)); }
.hero-sun .s-silver { fill: var(--rays); }
.hero-sun .ring { stroke: var(--rays); stroke-opacity: .35; }
.hero-sun .hz { stroke: var(--rays); stroke-opacity: .75; }

/* Motion */
.hero-sun :is(.band, .ring, .ref, .spark, .drift, .glow) { transform-box: fill-box; }
.hero-sun :is(.band, .ring) { transform-box: view-box; transform-origin: 280px 340px; }

/* 1A Breathe */
.m-breathe .band, .m-breathe .ring { animation: sun-breathe 6s ease-in-out infinite; }
.m-breathe .ring { opacity: .9; }
.m-breathe .b4 { animation-delay: .35s; } .m-breathe .b3 { animation-delay: .7s; }
.m-breathe :is(.b2, .a2) { animation-delay: 1.05s; } .m-breathe :is(.b1, .a1) { animation-delay: 1.4s; } .m-breathe :is(.b0, .a0) { animation-delay: 1.75s; }
@keyframes sun-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* 1B Glisten and 2B Glint: a sheen sweeps across the pink */
.hero-sun .sheen { animation: sun-sweep 7s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes sun-sweep { 0%, 55% { transform: skewX(-20deg) translateX(0); } 85%, 100% { transform: skewX(-20deg) translateX(820px); } }
.m-glisten .ring { animation: sun-ringglint 7s ease-in-out infinite; }
@keyframes sun-ringglint { 0%, 60%, 100% { stroke-opacity: .35; } 75% { stroke-opacity: .8; } }

/* 1C Sunrise on load */
.m-rise .band { animation: sun-rise 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.m-rise .ring { animation: sun-fade 1.2s ease-out 1.2s both; }
.m-rise .b5 { animation-delay: .1s; } .m-rise .b4 { animation-delay: .25s; } .m-rise .b3 { animation-delay: .4s; }
.m-rise .b2 { animation-delay: .55s; } .m-rise .b1 { animation-delay: .7s; } .m-rise .b0 { animation-delay: .85s; }
.hero-sun .glow { opacity: .35; animation: sun-glow 5s ease-in-out 1.6s infinite; }
@keyframes sun-rise { from { transform: translateY(90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sun-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sun-glow { 0%, 100% { opacity: .3; } 50% { opacity: .65; } }

/* 2A Water shimmer (and the slower ripple under 2B and 2C) */
.hero-sun .ref { transform-origin: center; }
:is(.m-shimmer, .m-glint, .m-drift) .ref { animation: sun-ripple 3.6s ease-in-out infinite; }
:is(.m-glint, .m-drift) .ref { animation-duration: 5s; }
.hero-sun .r1 { animation-delay: -.9s; } .hero-sun .r2 { animation-delay: -1.8s; } .hero-sun .r3 { animation-delay: -2.7s; }
@keyframes sun-ripple { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.82); opacity: .55; } }
.m-shimmer .hz { animation: sun-hz 3.6s ease-in-out infinite; }
@keyframes sun-hz { 0%, 100% { stroke-opacity: .75; } 50% { stroke-opacity: .45; } }

/* 2B sparkles on the water */
.hero-sun .spark { opacity: 0; transform-origin: center; animation: sun-twinkle 3.2s ease-in-out infinite; }
.hero-sun .s1 { animation-delay: .7s; animation-duration: 2.6s; } .hero-sun .s2 { animation-delay: 1.5s; animation-duration: 4s; }
.hero-sun .s3 { animation-delay: 2.1s; } .hero-sun .s4 { animation-delay: 1.1s; animation-duration: 2.4s; } .hero-sun .s5 { animation-delay: 2.7s; animation-duration: 3.6s; }
@keyframes sun-twinkle { 0%, 70%, 100% { opacity: 0; } 82% { opacity: .95; } }

/* 2C Setting sun */
.hero-sun .drift { animation: sun-drift 5s linear infinite; }
@keyframes sun-drift { from { transform: translateY(0); } to { transform: translateY(14px); } }

/* 3A Pulse */
.hero-sun .dot { transform-box: fill-box; transform-origin: center; }
.m-ripple .dot { animation: sun-pulse 3s ease-in-out infinite; }
.m-ripple .k1 { animation-delay: .18s; } .m-ripple .k2 { animation-delay: .36s; } .m-ripple .k3 { animation-delay: .54s; }
@keyframes sun-pulse { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 20% { transform: scale(1.5); opacity: .55; } }

/* 3B Twinkle */
.m-twinkle .dot { animation: sun-dtw 3.3s ease-in-out infinite; animation-delay: calc(var(--i) * -.31s); }
.m-twinkle :is(.k0, .k1) { animation: none; }
@keyframes sun-dtw { 0%, 100% { opacity: 1; } 45%, 55% { opacity: .15; } }

/* 3C Orbit */
.m-orbit .field { transform-box: view-box; transform-origin: 280px 340px; animation: sun-orbit 60s linear infinite; }
@keyframes sun-orbit { to { transform: rotate(360deg); } }

/* Visitors who ask for less motion see the still sun. */
@media (prefers-reduced-motion: reduce) {
	.hero-sun * { animation: none !important; }
	.hero-sun .spark { opacity: 0; }
}

/* Sun picker in the review bar */
.palette-switch select {
	margin-left: 4px; padding: 7px 10px;
	border: 0; border-radius: 999px;
	background: #333; color: #fff;
	font: inherit;
	cursor: pointer;
}


/* Giving-circle logos: a large white arch window nested in the top of each
   circle's silver arch, with a second silver line around it (arch within arch).
   The padding keeps the logo inside the curve, and the image fills that space so
   logos with built-in whitespace still read at size. */
.circle-logo {
	display: grid; place-items: center;
	width: min(280px, 78%); height: 220px;
	margin: 0 auto 18px;
	padding: 52px 42px 20px;
	background: #fff;
	border-radius: 999px 999px 10px 10px;
	outline: 1px solid color-mix(in srgb, var(--silver) 55%, transparent);
	outline-offset: 7px;
}
.circle-logo img { width: 100%; height: 100%; object-fit: contain; }

/* Logo tiles have a fixed height, but an auto grid row doesn't pass it on, so an
   image's max-height: 100% would fall back to its natural size and spill out.
   One minmax(0, 1fr) cell makes the inside of the padding a definite box. */
:is(.logo, .chip, .circle-logo) { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }

.circle.side { padding-top: clamp(26px, 3vw, 34px); }
@media (max-width: 560px) {
	.circle-logo { height: 184px; padding: 44px 34px 16px; }
}
.circle-logo--ph { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--silver) 50%, transparent); }
.circle-logo--ph span { font-size: 12px; line-height: 1.3; color: var(--text-muted); text-align: center; }
.circle-logo--lg { width: 200px; height: 120px; margin: 0; border-radius: 100px 100px 8px 8px; }
.circle-logo--lg img { max-height: 80px; }
.about__circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 32px; }


/* The two circles: logo, name, what they fund, track record, give and join */
.circle { gap: 8px; }
.circle .eyebrow { margin-top: 2px; }
.circle__focus { margin: 6px 0 2px; font: 400 clamp(28px, 3vw, 34px)/1.1 var(--serif); }
.circle__body { max-width: 24em; color: var(--text-muted); }
.circle__record { margin: 10px 0 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 15px; }
.circle__record b { margin-right: 4px; font: 400 26px/1 var(--serif); color: var(--text); }
.circle__join { margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration-color: var(--em); text-decoration-thickness: 2px; text-underline-offset: 5px; }

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