/* Agent Si public homepage. Ported from docs/site/homepage-board.html (Warm palette fixed).
   One sticky scene layer (morphing colour + the "Sí" thread object) behind transparent chapters.
   The document scrolls (no frame). Motion is gated by prefers-reduced-motion in CSS. */

:root {
	--ink: #14120f;
	--paper: #f3ede2;
	--sans: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', system-ui, sans-serif;
	--serif: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
	--H: 100vh;
}
@supports (height: 100svh) {
	:root {
		--H: 100svh;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
}
button,
input,
textarea {
	font: inherit;
	color: inherit;
}
:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.skip {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 100;
	background: var(--paper);
	color: var(--ink);
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 500;
	text-decoration: none;
}
.skip:focus {
	top: 12px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ================= the homepage ================= */
.site {
	--bg-now: #1f4d3a;
	--ink-now: #f3ede2;
	--it-now: #f1d36b;
	--obj-now: #e8492f;
	--g: clamp(16px, 4.4cqi, 72px);
	container-type: inline-size;
	position: relative;
	overflow: clip;
	background: #1f4d3a;
	color: var(--ink-now);
	transition: color 0.15s linear;
	font: 400 clamp(16px, 1.35cqi, 18px) / 1.6 var(--sans);
}
.site a {
	color: inherit;
	text-decoration: none;
}
.site p {
	margin: 0;
}
.rule {
	border: 0;
	border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	margin: 0;
}

/* the one scene layer */
.scene {
	position: sticky;
	top: 0;
	height: var(--H);
	margin-bottom: calc(-1 * var(--H));
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background: var(--bg-now);
}
.grain {
	position: absolute;
	inset: 0;
	opacity: 0.14;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wash {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition:
		opacity 0.45s cubic-bezier(0.2, 0.7, 0.1, 1),
		background-color 0.3s;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.wash.on {
	opacity: 1;
}
.wash span {
	font: italic 500 clamp(80px, 22cqi, 300px) / 0.9 var(--serif);
	letter-spacing: -0.04em;
	opacity: 0.16;
	white-space: nowrap;
	color: var(--ink-now);
}
.thread {
	transition: opacity 0.4s;
	position: absolute;
	left: 0;
	top: 0;
	width: min(34cqi, 440px);
	aspect-ratio: 300 / 250;
}
.thread svg {
	width: 100%;
	height: 100%;
	overflow: visible;
	display: block;
}
.thread .face {
	fill: var(--obj-now);
}
.thread .shadow {
	fill: color-mix(in oklch, var(--obj-now) 45%, #000);
}
.progress {
	position: absolute;
	left: 0;
	top: 0;
	height: 2px;
	background: var(--it-now);
	width: 0;
}
.counter {
	position: absolute;
	right: var(--g);
	bottom: 18px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	display: flex;
	gap: 14px;
}
.counter span:first-child {
	opacity: 0.7;
}
@container (max-width: 700px) {
	.counter {
		display: none;
	}
}

.content {
	position: relative;
	z-index: 1;
}
.ch {
	position: relative;
	padding-inline: var(--g);
}
.label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 10px;
}
.label::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1.2px solid currentColor;
}
.hl {
	margin: 0;
	font-weight: 450;
	letter-spacing: -0.06em;
	line-height: 0.92;
	text-wrap: balance;
}
.hl .ln {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}
.hl .ln > span {
	display: block;
}
.hl .it > span {
	font: italic 400 0.92em / 1 var(--serif);
	letter-spacing: -0.035em;
	color: var(--it-now);
	transition: color 0.15s linear;
}
h1.hl {
	font-size: clamp(46px, 9.2cqi, 128px);
}
h2.hl {
	font-size: clamp(36px, 5.6cqi, 76px);
	line-height: 1.02;
	letter-spacing: -0.05em;
}
.body {
	max-width: 34em;
	opacity: 0.9;
}
.ph {
	outline: 1px dashed currentColor;
	outline-offset: 2px;
	margin-inline: 0.12em;
	padding: 0 0.25em;
	border-radius: 2px;
	font-style: normal;
	white-space: normal;
}

/* motion vocabulary: masked line reveal + fade-up (armed by JS, only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
	.site.armed .hl .ln > span {
		transform: translateY(108%);
		transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.1, 1);
	}
	.site.armed .hl .ln + .ln > span {
		transition-delay: 0.09s;
	}
	.site.armed .in .hl .ln > span,
	.site.armed .hl.in .ln > span {
		transform: none;
	}
	.site.armed .fu {
		opacity: 0.3;
		transform: translateY(24px);
		transition:
			opacity 0.9s cubic-bezier(0.2, 0.7, 0.1, 1),
			transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1);
	}
	.site.armed .in .fu {
		opacity: 1;
		transform: none;
	}
}

/* nav, transparent over the scene */
.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-block: 22px;
}
.wm {
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.03em;
	display: flex;
	gap: 8px;
	align-items: baseline;
}
.wm em {
	font: italic 400 17px var(--serif);
	opacity: 0.8;
}
.navr {
	display: flex;
	gap: 26px;
	align-items: center;
	font-size: 15px;
}
.navr .lk {
	opacity: 0.85;
}
@container (max-width: 700px) {
	.navr .lk {
		display: none;
	}
}
.arrowlink {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
}
.circ {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid currentColor;
	display: grid;
	place-items: center;
	transition:
		background-color 0.3s,
		color 0.3s;
	flex: none;
}
.circ svg {
	width: 14px;
	height: 14px;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.arrowlink:hover .circ {
	background: var(--ink-now);
	color: var(--bg-now);
}
.arrowlink:hover .circ svg {
	transform: translate(2px, -2px);
}
.arrowlink.big {
	font-size: clamp(18px, 1.8cqi, 24px);
}
.arrowlink.big .circ {
	width: 58px;
	height: 58px;
}

/* 00 hero */
.hero {
	min-height: calc(var(--H) * 1.05);
	display: grid;
	grid-template-rows: auto 1fr;
}
.hero-body {
	display: grid;
	align-content: center;
	gap: clamp(22px, 3cqi, 40px);
	padding-block: 4cqi 12cqi;
	max-width: 62%;
}
.hero-foot {
	display: grid;
	gap: 22px;
	max-width: 30em;
}
.hero-meta {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	font-size: 13px;
	opacity: 0.75;
}
@container (max-width: 700px) {
	.hero-body {
		max-width: none;
		padding-block: 34cqi 16cqi;
	}
}

/* shared chapter grid */
.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(12px, 2cqi, 28px);
	row-gap: clamp(24px, 4cqi, 56px);
}
.c-head {
	grid-column: 1 / 9;
	display: grid;
	gap: clamp(28px, 6cqi, 90px);
}
.c-body {
	grid-column: 1 / 6;
	display: grid;
	gap: 26px;
}
@container (max-width: 700px) {
	.grid > * {
		grid-column: 1 / -1 !important;
	}
}

/* 01 discovery */
.discovery {
	padding-block: 26cqi 16cqi;
}
.asks {
	grid-column: 1 / 7;
	list-style: none;
	margin: 0;
	padding: 0;
}
.asks li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 18px;
	padding-block: 18px;
	border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.asks li:last-child {
	border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.asks b {
	font-weight: 450;
	font-size: clamp(20px, 2.1cqi, 28px);
	letter-spacing: -0.03em;
	line-height: 1.15;
}
.asks span {
	opacity: 0.82;
	font-size: 0.95em;
}
@container (max-width: 700px) {
	.asks li {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
}
.collage {
	position: absolute;
	right: calc(-1 * clamp(10px, 3cqi, 60px));
	top: 34cqi;
	width: 46cqi;
	height: 50cqi;
}
.tile {
	position: absolute;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	box-shadow: 10px 12px 0 rgb(20 18 15 / 0.22);
}
.tile.t1 {
	width: 54%;
	left: 2%;
	top: 0;
	transform: rotate(-7deg);
	background: #f1d36b;
	color: #14120f;
}
.tile.t1 em {
	font: italic 400 7cqi / 0.9 var(--serif);
	letter-spacing: -0.04em;
}
.tile.t2 {
	width: 46%;
	left: 48%;
	top: 22%;
	transform: rotate(5deg);
	background: #e8492f;
}
.tile.t2::after {
	content: '';
	width: 58%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #f3ede2;
	box-shadow: 1.2cqi 1.2cqi 0 #14120f;
}
.tile.t3 {
	width: 40%;
	left: 18%;
	top: 58%;
	transform: rotate(-2deg);
	background: #b9a7f2;
	color: #14120f;
}
.tile.t3 b {
	font-weight: 600;
	font-size: 3cqi;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	line-height: 0.95;
	text-align: center;
}
.artnote {
	position: absolute;
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
	white-space: nowrap;
}
.collage .artnote {
	left: 2%;
	bottom: -26px;
}
@container (max-width: 700px) {
	.discovery {
		padding-block: 30cqi 10cqi;
	}
	.collage {
		position: relative;
		right: auto;
		top: auto;
		width: 100%;
		height: 96cqi;
		margin-top: 12cqi;
	}
	.tile.t1 em {
		font-size: 14cqi;
	}
	.tile.t3 b {
		font-size: 6cqi;
	}
}

/* 02 brand */
.brand {
	padding-block: 22cqi 18cqi;
}
.brand .c-head {
	grid-column: 6 / 13;
}
.brand .c-body {
	grid-column: 7 / 12;
}
.field {
	position: absolute;
	left: 0;
	top: 18cqi;
	width: 40cqi;
	height: 52cqi;
	background: #f1d36b;
	color: #14120f;
	overflow: hidden;
}
.field .giant {
	position: absolute;
	left: -2cqi;
	top: 4cqi;
	font: italic 400 15cqi / 0.82 var(--serif);
	letter-spacing: -0.05em;
}
.bottle {
	position: absolute;
	right: 7cqi;
	bottom: -2cqi;
	width: 9cqi;
	height: 26cqi;
	background: #e8492f;
	border-radius: 2.4cqi 2.4cqi 0.6cqi 0.6cqi;
	box-shadow: 1.4cqi 1.4cqi 0 #14120f;
	transform: rotate(8deg);
}
.bottle::before {
	content: '';
	position: absolute;
	left: 30%;
	top: -5cqi;
	width: 40%;
	height: 5.4cqi;
	background: inherit;
	border-radius: 0.6cqi 0.6cqi 0 0;
}
.bottle::after {
	content: 'Sí';
	position: absolute;
	inset: 40% 0 auto;
	text-align: center;
	font: italic 500 3.4cqi / 1 var(--serif);
	color: #f3ede2;
}
.can {
	position: absolute;
	right: 17cqi;
	bottom: 3cqi;
	width: 7.5cqi;
	height: 13cqi;
	background: #1f4d3a;
	border-radius: 1cqi;
	box-shadow: 1.4cqi 1.4cqi 0 #14120f;
	transform: rotate(-11deg);
}
.field .artnote {
	left: 1.5cqi;
	bottom: 1.2cqi;
	color: #14120f;
}
@container (max-width: 700px) {
	.brand {
		padding-block: 16cqi 12cqi;
	}
	.field {
		position: relative;
		top: auto;
		width: calc(100% + var(--g));
		margin-left: calc(-1 * var(--g));
		height: 92cqi;
		margin-bottom: 12cqi;
	}
	.field .giant {
		font-size: 30cqi;
	}
	.bottle {
		width: 18cqi;
		height: 50cqi;
		right: 12cqi;
	}
	.bottle::after {
		font-size: 7cqi;
	}
	.can {
		width: 15cqi;
		height: 26cqi;
		right: 34cqi;
	}
}

/* 03 experience */
.years {
	padding-block: 24cqi 20cqi;
}
.years .c-head {
	grid-column: 1 / 8;
}
.pull {
	grid-column: 1 / 8;
	font: italic 400 clamp(24px, 3cqi, 40px) / 1.15 var(--serif);
	letter-spacing: -0.02em;
	margin: 0;
}
.phone {
	position: absolute;
	right: -6cqi;
	top: 26cqi;
	width: 30cqi;
	aspect-ratio: 9 / 18.5;
	border-radius: 4.4cqi;
	background: #14120f;
	padding: 1.1cqi;
	transform: rotate(9deg);
	box-shadow: 2cqi 2.4cqi 0 rgb(20 18 15 / 0.25);
}
.screen {
	width: 100%;
	height: 100%;
	border-radius: 3.4cqi;
	overflow: hidden;
	position: relative;
	background: #e8492f;
	color: #f3ede2;
}
.screen .s1 {
	position: absolute;
	left: -1cqi;
	top: 6cqi;
	font: italic 400 11cqi / 0.84 var(--serif);
	letter-spacing: -0.05em;
}
.screen .s2 {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 42%;
	background: #f1d36b;
}
.screen .s2::after {
	content: '';
	position: absolute;
	left: 22%;
	top: -30%;
	width: 46%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #1f4d3a;
}
.screen .s3 {
	position: absolute;
	right: 2cqi;
	top: 2.4cqi;
	font-size: 1.5cqi;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.phone .artnote {
	left: -24cqi;
	bottom: 4cqi;
	transform: rotate(-9deg);
}
@container (max-width: 700px) {
	.years {
		padding-block: 18cqi 8cqi;
	}
	.phone {
		position: relative;
		right: auto;
		top: auto;
		width: 62cqi;
		margin: 14cqi -10cqi 0 auto;
		border-radius: 9cqi;
		padding: 2.2cqi;
	}
	.screen {
		border-radius: 7cqi;
	}
	.screen .s1 {
		font-size: 22cqi;
		top: 12cqi;
	}
	.screen .s3 {
		font-size: 3cqi;
	}
	.phone .artnote {
		left: auto;
		right: 104%;
		bottom: 10cqi;
		transform: rotate(-9deg);
	}
}

/* 04 brand work index */
.work {
	padding-block: 26cqi 14cqi;
}
.work .c-head {
	grid-column: 1 / 10;
}
.wnote {
	grid-column: 1 / 7;
	font-size: 14px;
	opacity: 0.8;
}
.index {
	grid-column: 1 / -1;
	list-style: none;
	margin: 0;
	padding: 0;
}
.row {
	display: grid;
	grid-template-columns: 7ch minmax(0, 2.2fr) minmax(0, 2.4fr) minmax(0, 1.6fr) 6ch;
	gap: 18px;
	align-items: baseline;
	padding-block: 22px;
	border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	cursor: default;
	transition: padding 0.45s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.row:last-child {
	border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.row:hover,
.row:focus-visible {
	padding-block: 34px;
}
.row .n,
.row .y {
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}
.row .y {
	text-align: right;
}
.row .nm {
	font-size: clamp(26px, 3.6cqi, 48px);
	font-weight: 450;
	letter-spacing: -0.045em;
	line-height: 1;
}
.row .wh {
	font: italic 400 clamp(18px, 1.7cqi, 23px) / 1.25 var(--serif);
}
.row .ds {
	font-size: 14px;
	opacity: 0.85;
}
@container (max-width: 700px) {
	.row {
		grid-template-columns: 5ch minmax(0, 1fr) auto;
		gap: 6px 12px;
	}
	.row .nm {
		grid-column: 2 / 3;
	}
	.row .y {
		grid-column: 3;
		grid-row: 1;
	}
	.row .wh,
	.row .ds {
		grid-column: 2 / -1;
	}
}
.quote {
	grid-column: 3 / 12;
	display: grid;
	gap: 14px;
	margin: 6cqi 0 0;
}
.quote p {
	font: italic 400 clamp(28px, 4cqi, 56px) / 1.08 var(--serif);
	letter-spacing: -0.03em;
}
.quote cite {
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}
.marks {
	grid-column: 1 / -1;
	display: grid;
	gap: 22px;
	margin-top: 8cqi;
}
.marks .line {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 18px 34px;
}
.mk {
	white-space: nowrap;
	line-height: 1;
}
.mk1 {
	font-weight: 600;
	font-size: 22px;
	letter-spacing: -0.05em;
}
.mk2 {
	font: italic 500 25px var(--serif);
	letter-spacing: -0.03em;
}
.mk3 {
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}
.mk4 {
	font-weight: 400;
	font-size: 24px;
	letter-spacing: -0.02em;
	text-transform: lowercase;
}
.mk5 {
	font: 400 19px var(--serif);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.mk6 {
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.02em;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

/* 05 approval note (light) */
.approve {
	padding-block: 22cqi 18cqi;
}
.approve .c-head {
	grid-column: 5 / 13;
}
.approve .c-body {
	grid-column: 8 / 12;
}

/* 06 closing CTA, pinned once */
.close {
	height: calc(var(--H) * 1.7);
	padding-inline: 0;
}
.close-pin {
	position: sticky;
	top: 0;
	height: var(--H);
	display: grid;
	grid-template-rows: auto 1fr;
	padding-inline: var(--g);
	padding-block: 26px 22px;
}
.close .stack {
	align-self: center;
	justify-self: center;
	text-align: center;
	display: grid;
	gap: clamp(26px, 4cqi, 46px);
	justify-items: center;
}
.close h2.hl {
	font-size: clamp(64px, 15cqi, 210px);
	line-height: 0.9;
}
.close .arrowlink.big .circ {
	background: var(--bg-now);
}
.static-obj {
	display: none;
}

/* ================= after the chapters: enquiry sheet, questions, footer ================= */
.after {
	position: relative;
	z-index: 1;
	padding-inline: var(--g);
	padding-bottom: 22px;
}
.sheet {
	/* the one paper panel on the coloured scene; local overrides keep hover/accent colours legible on paper */
	--ink-now: var(--ink);
	--bg-now: var(--paper);
	--it-now: #c4361f;
	background: var(--paper);
	color: var(--ink);
	border-radius: 20px;
	padding: clamp(24px, 6cqi, 96px) clamp(20px, 5cqi, 80px);
	display: grid;
	gap: clamp(48px, 9cqi, 120px);
}
.sheet-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(12px, 2cqi, 28px);
	row-gap: 32px;
	align-items: start;
}
.sheet-intro {
	grid-column: 1 / 6;
	display: grid;
	gap: 18px;
}
.sheet-main {
	grid-column: 7 / 13;
}
@container (max-width: 700px) {
	.sheet-intro,
	.sheet-main {
		grid-column: 1 / -1;
	}
}
.sheet h2,
.sheet h3 {
	margin: 0;
	font-weight: 450;
	letter-spacing: -0.05em;
	line-height: 1.02;
	text-wrap: balance;
	font-size: clamp(32px, 4.4cqi, 60px);
}
.sheet .ask-line {
	font: italic 400 clamp(20px, 2.2cqi, 28px) / 1.2 var(--serif);
	color: #c4361f;
	letter-spacing: -0.02em;
}
.sheet .sub {
	opacity: 0.8;
}
.sheet .fine {
	font-size: 14px;
	opacity: 0.8;
}
.sheet a.u {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* form */
.steps-meta {
	display: grid;
	gap: 10px;
	margin-bottom: 28px;
}
.steps-meta .count {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}
.bars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}
.bars i {
	height: 3px;
	background: color-mix(in srgb, var(--ink) 18%, transparent);
	border-radius: 2px;
}
.bars i.on {
	background: var(--ink);
}
.step {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	display: grid;
	gap: 22px;
}
.step[hidden] {
	display: none;
}
.step-title {
	font-weight: 450;
	font-size: clamp(22px, 2.4cqi, 30px);
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 6px;
	padding: 0;
}
.step-title:focus {
	outline: none;
}
.step-title:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 6px;
}
.hint {
	font-size: 14px;
	opacity: 0.78;
	margin: 0;
}
.fld {
	display: grid;
	gap: 6px;
}
.fld > label,
.fld > .lbl {
	font-weight: 500;
	font-size: 15px;
}
.opt-tag {
	font-weight: 400;
	opacity: 0.7;
}
.sheet input[type='text'],
.sheet input[type='email'],
.sheet textarea {
	width: 100%;
	font-size: 17px;
	line-height: 1.4;
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 50%, transparent);
	border-radius: 0;
	color: var(--ink);
}
.sheet textarea {
	resize: vertical;
	min-height: 5.5em;
}
.sheet input::placeholder,
.sheet textarea::placeholder {
	color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.sheet input[aria-invalid='true'] {
	border-bottom: 2px solid #a3210f;
}
.err {
	margin: 0;
	font-size: 14px;
	color: #a3210f;
	font-weight: 500;
}
.err[hidden] {
	display: none;
}
.counter-note {
	font-size: 12px;
	opacity: 0.7;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.opts {
	display: grid;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.opt {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
	align-items: start;
	padding-block: 16px;
	border-top: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
	cursor: pointer;
}
.opt:last-of-type {
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
}
.opt input {
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: #1f4d3a;
	grid-row: 1 / 3;
}
.opt b {
	font-weight: 500;
	font-size: 19px;
	letter-spacing: -0.02em;
}
.opt span {
	opacity: 0.8;
	font-size: 15px;
}
.opt:has(input:checked) b {
	color: #1f4d3a;
}
.opt:has(input:focus-visible) {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.chip {
	position: relative;
}
.chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}
.chip span {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--ink) 50%, transparent);
	border-radius: 999px;
	font-size: 15px;
}
.chip input:checked + span {
	background: var(--ink);
	color: var(--paper);
	border-color: var(--ink);
}
.chip input:focus-visible + span {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}
.summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	padding-block: 14px;
	border-block: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
	font-size: 15px;
}
.linkbtn {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 6px;
}
.actions .arrowlink {
	font-size: 18px;
}
.actions .arrowlink[disabled] {
	opacity: 0.6;
	cursor: progress;
}
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-error {
	border: 1px solid #a3210f;
	border-radius: 10px;
	padding: 14px 16px;
	color: #a3210f;
	font-weight: 500;
}
.form-error[hidden] {
	display: none;
}
.done {
	display: grid;
	gap: 14px;
}
.done[hidden] {
	display: none;
}
.done:focus {
	outline: none;
}
.done h3 {
	color: #1f4d3a;
}

/* questions */
.faq {
	display: grid;
	border-top: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
}
.faq details {
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
}
.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-block: 18px;
	font-weight: 450;
	font-size: clamp(18px, 1.8cqi, 22px);
	letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '+';
	font-size: 24px;
	line-height: 1;
	flex: none;
}
.faq details[open] summary::after {
	content: '\2212';
}
.faq summary:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}
.faq .ans {
	padding-bottom: 20px;
	max-width: 38em;
	opacity: 0.88;
}

/* footer, on the scene */
.foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	font-size: 13px;
	padding-block: 26px 8px;
}
.foot .r {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.foot a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* reduced motion: solid static chapters, no morph, no pin, no travelling object */
@media (prefers-reduced-motion: reduce) {
	.scene {
		display: none;
	}
	.site {
		transition: none;
	}
	.ch,
	.after {
		background: var(--cbg);
		color: var(--cink);
		--ink-now: var(--cink);
		--bg-now: var(--cbg);
	}
	.hl .it > span {
		color: var(--cit);
		transition: none;
	}
	.close {
		height: auto;
	}
	.close-pin {
		position: relative;
		min-height: var(--H);
		overflow: hidden;
		isolation: isolate;
	}
	.close .arrowlink.big .circ {
		background: var(--cbg);
	}
	.static-obj {
		display: block;
		position: absolute;
		left: 50%;
		top: 46%;
		width: 92cqi;
		transform: translate(-50%, -50%) rotate(-4deg);
		z-index: -1;
	}
	.static-obj .face {
		fill: var(--cobj);
	}
	.static-obj .shadow {
		fill: color-mix(in oklch, var(--cobj) 45%, #000);
	}
	.close .stack {
		position: relative;
		z-index: 1;
	}
	.row:hover {
		padding-block: 22px;
	}
	.row {
		transition: none;
	}
	.arrowlink:hover .circ svg {
		transform: none;
	}
}

#turnstile:empty {
	display: none;
}
