/* ==========================================================================
   Queer Community Soup — theme styles
   ========================================================================== */

:root {
	--qcs-bg: #BDF4C8; /* mint from the logo artwork */
	--qcs-cream: #F3EEE4;
	--qcs-ink: #1C1630;
	--qcs-tomato: #F04A1D;
	--qcs-peri: #7C7CF4;
	--qcs-pink: #FBD9F1;
	--qcs-peach: #FFC4A3;
	--qcs-butter: #FCE9A8;
	--qcs-aqua: #A9D8F5;
	--qcs-lilac: #B7A3DB;
	--qcs-grass: #2FAE57;
	--qcs-white: #FFFDF8;
	--qcs-display: "Gloock", Georgia, serif;
	--qcs-body: "Bricolage Grotesque", system-ui, sans-serif;
	--qcs-hand: "Caveat", cursive;
	--qcs-gutter: clamp(16px, 4vw, 48px);
	--qcs-radius: 28px;
}

body {
	margin: 0;
	background: var(--qcs-bg);
	color: var(--qcs-ink);
	font-family: var(--qcs-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.qcs-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(1200px + 2 * var(--qcs-gutter));
	margin-inline: auto;
	padding-inline: var(--qcs-gutter);
}

/* Reset WordPress flow spacing on our structural wrappers. */
.qcs-main,
.qcs-main > .wp-block-post-content,
.qcs-main > .wp-block-post-content > *,
.qcs-header,
.qcs-footer { margin-block: 0; }
.qcs-main > .wp-block-post-content > * + * { margin-block-start: 0; }
/* Twenty Twenty-Five adds block-gap margins between top-level blocks; the design sets its own spacing. */
.wp-site-blocks > .qcs-topbar,
.wp-site-blocks > .qcs-header,
.wp-site-blocks > .qcs-main,
.wp-site-blocks > .qcs-footer { margin-block: 0 !important; }

h1, h2, h3, h4 { font-family: var(--qcs-display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--qcs-tomato); outline-offset: 3px; border-radius: 8px; }

/* ---------- Bits ---------- */

.qcs-eyebrow {
	font-family: var(--qcs-hand);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--qcs-tomato);
	transform: rotate(-2deg);
	display: inline-block;
}

.qcs-h2 { font-size: clamp(2.4rem, 5vw, 4rem); }

.qcs-chip {
	display: inline-block;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: rgba(28, 22, 48, .08);
	font-family: var(--qcs-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .01em;
}

.qcs-section { padding-block: clamp(64px, 9vw, 120px); }
.qcs-section--tight { padding-block: clamp(32px, 5vw, 64px); }
.qcs-section__head { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.qcs-section__head > * { margin: 0 !important; }
.qcs-section__sub { color: #4a4462; max-width: 44ch; }

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

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.wp-block-button__link,
.qcs-btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .95rem 1.6rem;
	border: 2px solid var(--qcs-ink);
	border-radius: 999px;
	background: var(--qcs-ink);
	color: var(--qcs-cream);
	font-family: var(--qcs-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.wp-block-button__link:hover,
.qcs-btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--qcs-tomato); border-color: var(--qcs-tomato); color: var(--qcs-white); }

.is-style-qcs-outline .wp-block-button__link { background: transparent; color: var(--qcs-ink); }
.is-style-qcs-outline .wp-block-button__link:hover { background: var(--qcs-ink); border-color: var(--qcs-ink); color: var(--qcs-cream); }

.qcs-actions { margin-top: 2rem; }
.qcs-actions--center { justify-content: center; }

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

.qcs-topbar {
	background: var(--qcs-tomato);
	color: var(--qcs-white);
	text-align: center;
	padding: .6rem var(--qcs-gutter);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.qcs-header { padding-block: .75rem; }
.qcs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.qcs-logo { margin: 0 !important; flex: none; }
.qcs-logo a { display: block; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.qcs-logo a:hover { transform: rotate(-5deg) scale(1.03); }
.qcs-logo img { display: block; width: 100%; height: auto; aspect-ratio: 1452 / 1122; }
.qcs-header .qcs-logo { width: clamp(170px, 18vw, 240px); }
.qcs-nav { font-weight: 500; }
.qcs-nav .wp-block-navigation__container { gap: 2rem; }
.qcs-nav a { text-decoration: none; color: #4b47b8; }
.qcs-nav a:hover,
.qcs-nav .current-menu-item a,
.qcs-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; color: var(--qcs-ink); }
.qcs-header__cta { margin: 0; }
.qcs-header__cta .wp-block-button__link { padding: .7rem 1.2rem; font-size: .9rem; }

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

.qcs-hero { padding-block: clamp(24px, 4vw, 48px) 0; }
.qcs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.qcs-hero__copy { container-type: inline-size; position: relative; padding-block: clamp(72px, 7vw, 104px) clamp(56px, 6vw, 96px); display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.qcs-hero__copy > * { margin: 0 !important; }
.qcs-hero__copy > .qcs-actions { margin-top: .75rem !important; }
.qcs-doodle--flower { position: absolute; top: -.5rem; left: 38%; width: 130px; color: var(--qcs-tomato); transform: rotate(-8deg); animation: qcs-sway 6s ease-in-out infinite; }
/* Sized to the column (cqi) so "every body." never runs into the photo. */
.qcs-hero__title { font-size: min(17cqi, 7rem); line-height: .98; padding-bottom: .06em; color: var(--qcs-tomato); }
.qcs-hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #4b47b8; max-width: 36ch; line-height: 1.55; }

.qcs-cloud {
	-webkit-mask: url("../shapes/cloud.svg") center / 100% 100% no-repeat;
	mask: url("../shapes/cloud.svg") center / 100% 100% no-repeat;
	aspect-ratio: 1;
}
.qcs-cloud svg { display: block; width: 100%; height: 100%; }
/*
 * The photo sits on the scrolling band: the people are cropped flat at row 1064 of 1136,
 * so shifting down by the remaining 72px (6.34%) lines that edge up with the top of the band,
 * while the blue sparkle below it overlaps the band.
 */
.qcs-hero__art,
.qcs-about-hero__art {
	/* Bleed past the page gutter to the right edge of the window. */
	--bleed: calc(var(--qcs-gutter) + max(0px, (100vw - 1200px - 2 * var(--qcs-gutter)) / 2));
	position: relative;
	z-index: 2;
	width: min(calc(100% + var(--bleed)), 980px);
	max-width: none;
	justify-self: end;
	align-self: end;
	margin: 0 calc(-1 * var(--bleed)) 0 0 !important;
	transform: translateY(6.34%);
}
.qcs-hero__art img { display: block; width: 100%; height: auto; aspect-ratio: 1156 / 1136; }

.qcs-about-hero .qcs-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.qcs-about-hero__title { color: var(--qcs-ink); font-size: min(15cqi, 6.5rem); }
.qcs-about-hero__art { transform: none; width: min(calc(100% + var(--bleed)), 1100px); }
.qcs-about-hero__art img { display: block; width: 100%; height: auto; aspect-ratio: 1360 / 1036; }

@keyframes qcs-sway { 50% { transform: rotate(6deg) translateY(-6px); } }

/* ---------- Marquee ---------- */

.qcs-marquee { position: relative; z-index: 1; overflow: hidden; padding-block: clamp(14px, 2vw, 22px); background: var(--qcs-tomato); color: var(--qcs-white); }
.qcs-marquee__track { display: flex; width: max-content; animation: qcs-marquee 60s linear infinite; }
.qcs-marquee__group { display: flex; flex: none; }
.qcs-marquee__group span {
	display: flex;
	align-items: center;
	white-space: nowrap;
	font-family: var(--qcs-body);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	font-size: clamp(1.6rem, 3.4vw, 2.75rem);
	line-height: 1;
}
.qcs-marquee__group span::after { content: ""; flex: none; width: .3em; height: .3em; margin-inline: .7em; border-radius: 50%; background: currentColor; }
@keyframes qcs-marquee { to { transform: translateX(-50%); } }

.qcs-orb {
	flex: none;
	display: grid;
	place-items: center;
	width: 9.5rem;
	aspect-ratio: 1;
	border-radius: 50%;
	padding: 1rem;
	box-sizing: border-box;
	text-align: center;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.1;
	text-decoration: none;
	color: var(--qcs-ink);
	transition: transform .25s ease;
}
a.qcs-orb:hover { transform: rotate(-8deg) scale(1.05); }
.qcs-orb--pink { background: #F7A8DE; }
.qcs-orb--butter { background: #F7E96B; }
.qcs-orb--aqua { background: #A6D8F2; }
.qcs-orb--peach { background: var(--qcs-peach); }
.qcs-orb--lilac { background: var(--qcs-lilac); }
.qcs-orb--tomato { background: var(--qcs-tomato); color: var(--qcs-white); }

/* ---------- Cards / bento ---------- */

.qcs-card {
	container-type: inline-size;
	position: relative;
	box-sizing: border-box;
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--qcs-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.qcs-card > * { margin: 0 !important; }
.qcs-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; }
.qcs-card--arch { border-radius: 42% 42% var(--qcs-radius) var(--qcs-radius) / 9% 9% var(--qcs-radius) var(--qcs-radius); }
.qcs-card--pink { background: var(--qcs-pink); }
.qcs-card--peach { background: var(--qcs-peach); }
.qcs-card--butter { background: var(--qcs-butter); }
.qcs-card--aqua { background: var(--qcs-aqua); }
.qcs-card--peri { background: var(--qcs-peri); color: var(--qcs-white); }
.qcs-card--peri .is-style-qcs-outline .wp-block-button__link { color: var(--qcs-white); border-color: var(--qcs-white); }
.qcs-card--peri .is-style-qcs-outline .wp-block-button__link:hover { background: var(--qcs-white); color: var(--qcs-ink); }
.qcs-card__art { width: 100%; max-width: 220px; margin-top: auto !important; align-self: center; }
.qcs-stat { font-family: var(--qcs-display); font-size: min(17cqi, 4rem); line-height: 1; }

.qcs-bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(190px, auto);
	gap: clamp(14px, 1.6vw, 22px);
}
.qcs-bento > * { margin: 0 !important; }
.qcs-bento__tall { padding-top: clamp(40px, 5vw, 64px); }
/* pink | peach / aqua | butter | periwinkle */
.qcs-bento > :nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.qcs-bento > :nth-child(2) { grid-column: 2; grid-row: 1; }
.qcs-bento > :nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.qcs-bento > :nth-child(4) { grid-column: 2; grid-row: 2; }
.qcs-bento > :nth-child(5) { grid-column: 4; grid-row: 1 / 3; justify-content: flex-end; }

/* ---------- Events ---------- */

.qcs-section--events { background: var(--qcs-white); }
.qcs-events {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.5vw, 32px);
}
.qcs-event {
	--tilt: -2deg;
	-webkit-mask: url("../shapes/wavy.svg") center / 100% 100% no-repeat;
	mask: url("../shapes/wavy.svg") center / 100% 100% no-repeat;
	transform: rotate(var(--tilt));
	transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.qcs-event:nth-child(2n) { --tilt: 2.5deg; }
.qcs-event:nth-child(3n) { --tilt: -1deg; }
.qcs-event:hover,
.qcs-event:focus-within { transform: rotate(0) translateY(-6px) scale(1.02); }
.qcs-event__link { display: flex; flex-direction: column; height: 100%; padding: 22px; box-sizing: border-box; gap: 1rem; text-decoration: none; color: var(--qcs-ink); }
.qcs-event__media { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: rgba(28, 22, 48, .08); }
.qcs-event__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qcs-event__body { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 0 4px 8px; flex: 1; }
.qcs-event__title { font-family: var(--qcs-display); font-size: 1.6rem; line-height: 1.1; }
.qcs-event__text { font-size: .95rem; line-height: 1.5; color: #3b3552; }
.qcs-event__src { margin-top: auto; font-weight: 700; font-size: .85rem; }
.qcs-event--pink { background: #F7A8DE; }
.qcs-event--butter { background: #F7E96B; }
.qcs-event--peach { background: var(--qcs-peach); }
.qcs-event--aqua { background: #A6D8F2; }
.qcs-event--lilac { background: var(--qcs-lilac); }
.qcs-event--peri { background: var(--qcs-peri); }
.qcs-event--peri .qcs-event__link,
.qcs-event--peri .qcs-event__text { color: var(--qcs-white); }
.qcs-events-empty { padding: 2rem; border: 2px dashed var(--qcs-ink); border-radius: var(--qcs-radius); font-size: 1.1rem; }

/* ---------- CTA band ---------- */

.qcs-cta__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 2vw, 24px); }
.qcs-cta__pill {
	background: #FF9F6B;
	border-radius: 999px;
	padding: clamp(36px, 5vw, 64px) clamp(32px, 6vw, 96px);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.qcs-cta__pill > * { margin: 0 !important; }
.qcs-cta__pill .qcs-h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 16ch; }
.qcs-burst {
	width: clamp(110px, 14vw, 190px);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	clip-path: polygon(50% 0%,56.88% 6.54%,65.45% 2.45%,69.98% 10.8%,79.39% 9.55%,81.11% 18.89%,90.45% 20.61%,89.2% 30.02%,97.55% 34.55%,93.46% 43.12%,100% 50%,93.46% 56.88%,97.55% 65.45%,89.2% 69.98%,90.45% 79.39%,81.11% 81.11%,79.39% 90.45%,69.98% 89.2%,65.45% 97.55%,56.88% 93.46%,50% 100%,43.12% 93.46%,34.55% 97.55%,30.02% 89.2%,20.61% 90.45%,18.89% 81.11%,9.55% 79.39%,10.8% 69.98%,2.45% 65.45%,6.54% 56.88%,0% 50%,6.54% 43.12%,2.45% 34.55%,10.8% 30.02%,9.55% 20.61%,18.89% 18.89%,20.61% 9.55%,30.02% 10.8%,34.55% 2.45%,43.12% 6.54%);
	animation: qcs-spin 24s linear infinite;
}
.qcs-burst svg { width: 62%; height: 62%; border-radius: 50%; background: #A6D8F2; padding: 8%; box-sizing: border-box; animation: qcs-spin 24s linear infinite reverse; }
.qcs-burst--grass { background: var(--qcs-grass); }
.qcs-burst--pink { background: #F7A8DE; }
.qcs-burst--pink svg { background: var(--qcs-butter); }
@keyframes qcs-spin { to { transform: rotate(360deg); } }

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


.qcs-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.qcs-split__art { width: 100%; max-width: 480px; }
.qcs-split__copy { display: flex; flex-direction: column; gap: 1.1rem; }
.qcs-split__copy > * { margin: 0 !important; }
.qcs-split__copy p:not(.qcs-eyebrow) { font-size: 1.1rem; max-width: 52ch; }

.qcs-wavy {
	-webkit-mask: url("../shapes/wavy.svg") center / 100% 100% no-repeat;
	mask: url("../shapes/wavy.svg") center / 100% 100% no-repeat;
	padding: clamp(28px, 4vw, 56px);
}
.qcs-wavy--lilac { background: var(--qcs-lilac); }
.qcs-wavy--pink { background: #F7A8DE; }
.qcs-wavy--butter { background: #F7E96B; }
.qcs-wavy--peach { background: var(--qcs-peach); }
.qcs-land { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: rotate(-.6deg); }
.qcs-land > * { margin: 0 !important; }
.qcs-land .qcs-eyebrow { color: var(--qcs-ink); }
.qcs-land__text { font-family: var(--qcs-display); font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.15; max-width: 26ch; }
.qcs-land__sub { max-width: 54ch; font-size: 1.1rem; }

.qcs-mission { background: var(--qcs-lilac); padding-block: clamp(56px, 8vw, 112px); }
.qcs-mission .qcs-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.qcs-mission .qcs-wrap > * { margin: 0 !important; }
.qcs-mission .qcs-eyebrow { color: var(--qcs-ink); }
.qcs-mission__text { font-family: var(--qcs-display); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.1; max-width: 24ch; }
.qcs-mission__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 60ch; }

.qcs-mandate { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.qcs-mandate > * { margin: 0 !important; padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); }
.qcs-mandate p:not(.qcs-step__num) { max-width: 48ch; font-size: 1.05rem; }

.qcs-faq { max-width: 880px; }
.qcs-faq__item { border-top: 2px solid var(--qcs-ink); padding: 1.25rem 0; margin: 0 !important; }
.qcs-faq__item:last-child { border-bottom: 2px solid var(--qcs-ink); }
.qcs-faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--qcs-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.qcs-faq__item summary::-webkit-details-marker { display: none; }
.qcs-faq__item summary::after { content: "+"; font-family: var(--qcs-body); font-weight: 400; transition: transform .2s; }
.qcs-faq__item[open] summary::after { transform: rotate(45deg); }
.qcs-faq__item p { margin-top: .75rem; max-width: 62ch; color: #3b3552; }

/* ---------- Volunteer ---------- */

.qcs-vhero { padding-top: clamp(24px, 4vw, 48px); }
.qcs-vhero__grid { display: grid; grid-template-columns: minmax(320px, 1fr) 1.5fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.qcs-vhero__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.qcs-vhero__copy > * { margin: 0 !important; }
.qcs-vhero__copy > p:not(.qcs-eyebrow) { color: #4a4462; max-width: 38ch; }
.qcs-vhero__title { font-family: var(--qcs-body); font-weight: 700; letter-spacing: -0.045em; font-size: clamp(2.6rem, 4.2vw, 3.9rem); line-height: .98; }

.qcs-roles {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 1fr);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* Sideways scrolling clips vertically too, so leave room for the hover lift. */
	padding-block: 12px 8px;
	margin-block: -12px -8px;
	margin-right: calc(-1 * var(--qcs-gutter));
	padding-right: var(--qcs-gutter);
}
.qcs-roles > * { margin: 0 !important; }
.qcs-role {
	scroll-snap-align: start;
	background: var(--qcs-white);
	border-radius: var(--qcs-radius);
	padding: 18px 18px 12px;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	transition: transform .25s ease;
}
.qcs-role:hover { transform: translateY(-6px); }
.qcs-role > * { margin: 0 !important; }
.qcs-role .qcs-chip { align-self: flex-start; }
.qcs-role h3 { font-family: var(--qcs-body); font-weight: 600; letter-spacing: -0.03em; font-size: 1.85rem; line-height: 1; }
.qcs-role p:not(.qcs-chip) { font-size: .9rem; color: #5a5470; min-height: 3em; }
.qcs-role__art { margin-top: .5rem !important; border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.qcs-role__art svg { width: 90%; }
.qcs-role__art--butter { background: #EDE88A; }
.qcs-role__art--peri { background: #C6CBF5; }
.qcs-role__art--lilac { background: #9A85BC; }
.qcs-role__art--peach { background: var(--qcs-peach); }

.qcs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.qcs-step { display: flex; flex-direction: column; gap: 1rem; margin: 0 !important; }
.qcs-step > * { margin: 0 !important; }
.qcs-step:nth-child(1) { transform: rotate(-1.5deg); }
.qcs-step:nth-child(2) { transform: rotate(1deg) translateY(12px); }
.qcs-step:nth-child(3) { transform: rotate(-.5deg); }
.qcs-step h3 { font-size: 2rem; }
.qcs-step__num { font-family: var(--qcs-display); font-size: 4.5rem; line-height: .9; }

.qcs-signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.qcs-signup__intro { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 2rem; }
.qcs-signup__intro > * { margin: 0 !important; }
.qcs-ticks { list-style: none; padding: 0; display: grid; gap: .7rem; font-size: 1.1rem; }
.qcs-ticks li { display: flex; gap: .7rem; align-items: baseline; }
.qcs-ticks li::before { content: "✿"; color: var(--qcs-tomato); }
.qcs-signup__form { background: var(--qcs-white); border: 2px solid var(--qcs-ink); border-radius: 36px; padding: clamp(24px, 4vw, 48px); box-shadow: 10px 10px 0 var(--qcs-peri); margin: 0 !important; }

.qcs-form { display: grid; gap: 1.25rem; }
.qcs-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.qcs-form__opt { font-weight: 400; color: #6a6480; }
.qcs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qcs-form input[type="text"],
.qcs-form input[type="email"],
.qcs-form textarea {
	font: inherit;
	font-weight: 400;
	padding: .85rem 1rem;
	border: 2px solid var(--qcs-ink);
	border-radius: 16px;
	background: var(--qcs-cream);
	color: var(--qcs-ink);
	width: 100%;
	box-sizing: border-box;
}
.qcs-form input:focus,
.qcs-form textarea:focus { outline: none; background: var(--qcs-white); box-shadow: 0 0 0 4px var(--qcs-pink); }
.qcs-form fieldset { border: 0; padding: 0; margin: 0; }
.qcs-form legend { font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.qcs-form__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.qcs-check { display: inline-flex !important; position: relative; }
.qcs-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qcs-check span { padding: .55rem 1rem; border: 2px solid var(--qcs-ink); border-radius: 999px; font-weight: 500; font-size: .9rem; transition: background-color .15s; }
.qcs-check input:checked + span { background: var(--qcs-peach); }
.qcs-check input:checked + span::before { content: "✓ "; }
.qcs-check input:focus-visible + span { outline: 3px solid var(--qcs-tomato); outline-offset: 2px; }
.qcs-hp { position: absolute !important; left: -9999px; }
.qcs-form .qcs-btn { justify-self: start; font-size: 1.05rem; }
.qcs-notice { padding: 1rem 1.25rem; border-radius: 16px; background: var(--qcs-pink); font-weight: 600; margin-bottom: 1.25rem; }
.qcs-notice--ok { background: var(--qcs-peach); }

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

.qcs-footer { padding-block: clamp(24px, 4vw, 48px); }
.qcs-footer__card { container-type: inline-size; background: var(--qcs-white); border-radius: 36px; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.qcs-footer__card > * { margin: 0; }
.qcs-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: clamp(32px, 4vw, 56px) !important; }
.qcs-footer__cols p { color: #4a4462; max-width: 32ch; margin-top: .5rem; }
.qcs-footer__head { font-family: var(--qcs-body); font-weight: 700; font-size: 1rem; }
.qcs-footer__links { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .25rem; }
.qcs-footer__links a { text-decoration: none; color: #4a4462; }
.qcs-footer__links a:hover { color: var(--qcs-tomato); }
.qcs-orbs { display: flex; flex-wrap: wrap; gap: clamp(8px, 1.5vw, 18px); }
/* Logo and link circles share one row; sizes follow the card width (cqi) so they always fit. */
.qcs-footer__brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4cqi;
	margin: 0 !important;
}
.qcs-footer__brand > * { margin: 0 !important; }
.qcs-footer .qcs-logo { width: clamp(220px, 38cqi, 440px); }
.qcs-footer__brand .qcs-orbs { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(8px, 1.4cqi, 16px); flex: none; }
.qcs-footer__brand .qcs-orb { width: clamp(5.5rem, 13cqi, 9.5rem); font-size: clamp(.8rem, 1.5cqi, 1.05rem); padding: .5rem; }
@container (max-width: 520px) {
	.qcs-footer__brand { flex-direction: column; align-items: flex-start; gap: 2rem; }
	.qcs-footer .qcs-logo { width: 100%; max-width: 360px; }
	.qcs-footer__brand .qcs-orb { width: 7.5rem; font-size: .9rem; }
}
.qcs-footer__land { margin-top: clamp(24px, 3vw, 40px) !important; font-weight: 600; }
.qcs-footer__land + .qcs-footer__fine { margin-top: .4rem !important; }
.qcs-footer__fine { margin-top: 1.25rem !important; font-size: .85rem; color: #6a6480; }

/* ---------- Generic pages ---------- */

.qcs-prose { padding-block: clamp(48px, 7vw, 96px); }
.qcs-prose h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }

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

@media (max-width: 999px) {
	.qcs-bento { grid-template-columns: repeat(2, 1fr); }
	.qcs-bento > * { grid-column: auto !important; grid-row: auto !important; }
	.qcs-bento__tall { grid-row: span 2 !important; }
	.qcs-bento__wide { grid-column: 1 / -1 !important; justify-content: flex-start !important; }
	.qcs-events { grid-template-columns: repeat(2, 1fr); }
	.qcs-vhero__grid { grid-template-columns: 1fr; }
	.qcs-cta__row { grid-template-columns: 1fr; justify-items: center; }
	.qcs-cta__row .qcs-burst--pink { display: none; }
	.qcs-cta__pill { border-radius: 48px; }
}

@media (max-width: 781px) {
	.qcs-header__inner { flex-wrap: wrap; }
	.qcs-header__cta { display: none; }
	.qcs-hero__grid,
	.qcs-about-hero .qcs-hero__grid,
	.qcs-split,
	.qcs-signup { grid-template-columns: 1fr; }
	.qcs-hero__copy { padding-block: 4rem 1rem; }
	.qcs-hero__title { font-size: min(17cqi, 5rem); }
	.qcs-hero__art,
	.qcs-about-hero__art { justify-self: center; width: 100%; max-width: 560px; margin: 1rem 0 0 !important; }
	.qcs-about-hero__art { max-width: 640px; }
	.qcs-doodle--flower { width: 96px; left: auto; right: 0; }
	.qcs-steps { grid-template-columns: 1fr; }
	.qcs-step:nth-child(2) { transform: rotate(1deg); }
	.qcs-signup__intro { position: static; }
	.qcs-footer__cols { grid-template-columns: 1fr; }
	.qcs-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.qcs-bento,
	.qcs-mandate,
	.qcs-events { grid-template-columns: 1fr; }
	.qcs-bento__tall { grid-row: auto !important; }
	.qcs-topbar { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.qcs-marquee__track { width: auto; }
	.qcs-marquee__group { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }
	.qcs-marquee__group + .qcs-marquee__group { display: none; }
}
