/* Family Memories Design — Wear Memories
   Concept: the print proof. Every section is a sheet off the press: crop marks,
   registration targets and dimension lines in thin violet; type is condensed and huge;
   surfaces are flat white / lilac with black hairlines. No radius, no shadow, no gradient. */

:root {
	--white: #ffffff;
	--lilac: #f6f2fd;
	--ink: #000000;
	--mute: #5b5468;
	--rule: #ded5f0;
	--violet: #7c3aed;
	--violet-deep: #5b21b6;

	--f-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; /* fallback only if Google Fonts is blocked */
	--f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--gutter: clamp(16px, 4vw, 48px);
	--max: 1440px;
	--bar-h: 84px;
	--sec-pad: clamp(64px, 10vw, 144px);

	--fs-mono: 0.75rem;
	--fs-body: 1.0625rem;
	--fs-lede: clamp(1.125rem, 1.6vw, 1.375rem);
	--fs-h3: clamp(1.5rem, 2.4vw, 2rem);
	--fs-h2: clamp(3.25rem, 10.5vw, 9rem);
	--fs-hero: 21.5vw;

	--line: 1px solid var(--ink);
	--hair: 1px solid var(--rule);
	color-scheme: light;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 8px);
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: var(--fs-body);
	line-height: 1.5;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	-webkit-tap-highlight-color: transparent;
}

img,
svg,
canvas { display: block; max-width: 100%; }

a { color: inherit; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

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

[hidden] { display: none !important; }

.sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 100;
	background: var(--ink);
	color: var(--white);
	padding: 12px 16px;
	text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

.mono {
	font-family: var(--f-mono);
	font-size: var(--fs-mono);
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.h2 {
	overflow-wrap: break-word;
	font-size: var(--fs-h2);
	font-stretch: 62%;
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.lede {
	font-size: var(--fs-lede);
	line-height: 1.45;
	max-width: 36ch;
	color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: transparent;
	font-family: var(--f-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
}
.btn--accent {
	background: var(--violet);
	border-color: var(--violet);
	color: var(--white);
}
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 56px; padding: 0 18px; font-size: 0.8125rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Proof frame: crop marks ---------- */
.proof { position: relative; }
.crop {
	position: absolute;
	width: 14px;
	height: 14px;
	pointer-events: none;
	color: var(--violet);
}
.crop::before,
.crop::after {
	content: "";
	position: absolute;
	background: currentColor;
}
.crop::before { width: 14px; height: 1px; }
.crop::after { width: 1px; height: 14px; }
.crop--tl { top: -10px; left: -10px; }
.crop--tl::before { top: 9px; left: 0; } .crop--tl::after { left: 9px; top: 0; }
.crop--tr { top: -10px; right: -10px; }
.crop--tr::before { top: 9px; right: 0; } .crop--tr::after { right: 9px; top: 0; }
.crop--bl { bottom: -10px; left: -10px; }
.crop--bl::before { bottom: 9px; left: 0; } .crop--bl::after { left: 9px; bottom: 0; }
.crop--br { bottom: -10px; right: -10px; }
.crop--br::before { bottom: 9px; right: 0; } .crop--br::after { right: 9px; bottom: 0; }

.reg { color: var(--violet); }

/* ---------- Header ---------- */
.bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: var(--line);
	padding-top: env(safe-area-inset-top, 0px);
}
.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .bar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bar { top: 0; } }

.bar__in {
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--bar-h);
}
.logo {
	display: flex;
	align-items: center;
	min-height: 56px;
	margin-right: auto;
	text-decoration: none;
	flex-shrink: 1;
	min-width: 0;
}
.logo__img {
	height: 56px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
}
.logo__word {
	font-weight: 800;
	font-stretch: 75%;
	font-size: 1.0625rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nav { display: none; }
.nav a {
	font-family: var(--f-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 2px;
	background: linear-gradient(var(--violet), var(--violet)) 0 calc(100% - 8px) / 0 1px no-repeat;
	transition: background-size 0.2s;
}
.nav a:hover { background-size: 100% 1px; }

.menu-btn {
	position: relative;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--ink);
	background: var(--white);
	border-radius: 0;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}
.menu-btn__icon,
.menu-btn__icon::before {
	position: absolute;
	left: 11px;
	width: 19px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.2s;
}
.menu-btn__icon { top: 16px; }
.menu-btn__icon::before { content: ""; left: 0; top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translateY(-8px) rotate(-90deg); }

.sheet {
	position: fixed;
	inset: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 1px) 0 0 0;
	z-index: 49;
	background: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px max(var(--gutter), env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
}
.sheet__nav { display: flex; flex-direction: column; }
.sheet__nav a {
	font-size: clamp(3rem, 15vw, 5rem);
	font-stretch: 62%;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: var(--hair);
}
.sheet__nav a:last-child { color: var(--violet); }
.sheet__contact { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; }
.sheet__contact a { text-decoration: none; padding: 10px 0; }

@media (min-width: 960px) {
	.nav { display: flex; gap: clamp(16px, 2.2vw, 36px); }
	.menu-btn, .sheet { display: none !important; }
	.logo__img { height: 64px; max-width: 280px; }
	:root { --bar-h: 88px; }
}

/* ---------- Hero ---------- */
.hero {
	padding-top: clamp(28px, 5vw, 64px);
	background: var(--white);
}
.hero__proof { padding-block: 14px 6px; }
.hero__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: var(--hair);
	color: var(--mute);
}
.hero__meta-mid { display: none; }
@media (min-width: 640px) { .hero__meta-mid { display: inline; } }

.hero__title {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-top: clamp(10px, 2vw, 24px);
	font-size: var(--fs-hero);
	font-stretch: 62%;
	font-weight: 800;
	line-height: 0.8;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	overflow: hidden;
}
.hero__row { display: flex; align-items: flex-end; gap: 0.06em; }
.hero__row--b { margin-top: 0.035em; }
.hero__word { display: block; white-space: nowrap; padding-top: 0.04em; }

.hero__tag {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-left: auto;
	margin-bottom: 0.06em;
	max-width: 24ch;
	padding: 10px 12px;
	background: var(--ink);
	color: var(--white);
	font-family: var(--f-mono);
	font-size: clamp(0.625rem, 1.1vw, 0.8125rem);
	font-weight: 400;
	font-stretch: 100%;
	letter-spacing: 0.04em;
	line-height: 1.35;
	text-transform: uppercase;
}
.hero__reg { width: 22px; height: 22px; color: var(--violet); }
@media (max-width: 379px) {
	.hero__tag { font-size: 0.5625rem; padding: 8px; gap: 6px; }
	.hero__reg { width: 16px; height: 16px; }
}

/* The single orchestrated moment: a squeegee pull prints the headline once. */
.hero__pull {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--white);
	border-left: 2px solid var(--violet);
	transform: translateX(101%);
}
@media (prefers-reduced-motion: no-preference) {
	.hero__pull { animation: pull 0.9s cubic-bezier(0.7, 0, 0.2, 1) 0.15s both; }
	@keyframes pull {
		from { transform: translateX(0); }
		to { transform: translateX(101%); }
	}
}

.hero__foot {
	display: grid;
	gap: 20px;
	padding-block: clamp(20px, 3vw, 36px) clamp(32px, 5vw, 56px);
}
.hero__sub {
	font-size: clamp(1.25rem, 2.6vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	max-width: 24ch;
	text-wrap: balance;
}
.hero__ctas { display: grid; gap: 10px; }
@media (min-width: 560px) {
	.hero__ctas { display: flex; flex-wrap: wrap; }
}
@media (min-width: 900px) {
	.hero__foot { grid-template-columns: 1fr auto; align-items: end; }
}

.ticker {
	overflow: hidden;
	border-block: var(--line);
	background: var(--white);
}
.ticker__track {
	display: flex;
	width: max-content;
}
.ticker__list {
	display: flex;
	flex-shrink: 0;
	font-size: 0.8125rem;
}
.ticker__list li {
	display: flex;
	align-items: center;
	padding: 14px 0;
	white-space: nowrap;
}
.ticker__list li::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-inline: 22px;
	background: var(--violet);
}
@media (prefers-reduced-motion: no-preference) {
	.ticker__track { animation: ticker 38s linear infinite; }
	@keyframes ticker { to { transform: translateX(-50%); } }
}

/* ---------- Sections ---------- */
.sec {
	padding-block: var(--sec-pad);
	border-bottom: var(--line);
	background: var(--white);
}
.sec--lilac { background: var(--lilac); }

.sec__head {
	display: grid;
	gap: 18px;
	margin-bottom: clamp(32px, 5vw, 64px);
}
@media (min-width: 900px) {
	.sec__head--split {
		grid-template-columns: 1fr minmax(0, 30rem);
		align-items: end;
		gap: 48px;
	}
}

/* ---------- Studio ---------- */
.studio__grid {
	display: grid;
	gap: 28px;
}
@media (min-width: 960px) {
	.studio__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
		gap: 48px;
		align-items: start;
	}
	.stage { position: sticky; top: calc(var(--bar-h) + 32px); }
}

.stage {
	background: var(--lilac);
	border: var(--hair);
	width: 100%;
	height: clamp(300px, 105vw, 72vh);
	height: clamp(300px, 105vw, 72svh);
}
@media (min-width: 960px) {
	.stage { height: min(80vh, 780px); height: min(80svh, 780px); }
}
.stage::before {
	/* faint print grid */
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--rule) 1px, transparent 1px),
		linear-gradient(90deg, var(--rule) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: center;
	opacity: 0.55;
	pointer-events: none;
}
.stage__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	touch-action: pan-y;
	cursor: grab;
	opacity: 0;
	transition: opacity 0.4s;
}
.stage__canvas:active { cursor: grabbing; }
.stage.is-ready .stage__canvas { opacity: 1; }
.stage.is-ready .stage__poster { display: none; }
.stage__poster {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	color: var(--mute);
	text-align: center;
	padding: 24px;
}
.stage__reg { width: 44px; height: 44px; }
@media (prefers-reduced-motion: no-preference) {
	.stage:not(.is-ready):not(.is-failed) .stage__reg { animation: spin 2.4s linear infinite; }
	@keyframes spin { to { transform: rotate(360deg); } }
}
.stage__hud {
	position: absolute;
	top: 14px;
	left: 14px;
	right: 14px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	pointer-events: none;
}
.stage__views {
	position: absolute;
	left: 14px;
	bottom: 14px;
}
.stage__hint {
	position: absolute;
	right: 14px;
	bottom: 26px;
	color: var(--mute);
	pointer-events: none;
}

/* Segmented controls */
.seg {
	display: flex;
	flex-wrap: wrap;
	border: 1.5px solid var(--ink);
	background: var(--white);
	width: max-content;
	max-width: 100%;
}
.seg--fill { width: 100%; }
.seg--fill .seg__opt { flex: 1 1 0; }
.seg__opt { position: relative; display: flex; }
.seg__opt input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.seg__opt span,
.seg__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 16px;
	width: 100%;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-align: center;
	line-height: 1.15;
	cursor: pointer;
	background: transparent;
	border: 0;
	border-radius: 0;
	user-select: none;
	-webkit-user-select: none;
}
.seg__opt + .seg__opt span,
.seg__btn + .seg__btn { border-left: 1.5px solid var(--ink); }
.seg__opt input:checked + span,
.seg__btn[aria-pressed="true"] {
	background: var(--ink);
	color: var(--white);
}
.seg__opt input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: -5px; }
.seg--sm .seg__btn { min-height: 56px; padding: 0 16px; font-size: 0.8125rem; }
.seg__btn { width: auto; }

/* Controls panel */
.controls {
	display: grid;
	gap: 0;
	border-top: var(--line);
	min-width: 0;
}
.ctl {
	margin: 0;
	padding: 18px 0;
	border: 0;
	border-bottom: var(--hair);
	min-width: 0;
}
.ctl--end { border-bottom: 0; padding-bottom: 0; }
.ctl__label {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 0;
	margin-bottom: 12px;
	font-family: var(--f-mono);
	font-size: var(--fs-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mute);
	float: left; /* lets legend take full width in Safari */
}
.ctl__label + * { clear: both; }
.ctl__value { color: var(--ink); }
.ctl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ctl__link {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0;
	border: 0;
	background: none;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--violet);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	cursor: pointer;
}
.ctl__note { margin-top: 10px; font-size: 0.875rem; color: var(--mute); }
.ctl__pair { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 12px; }

.btn--file { position: relative; overflow: hidden; }
.btn--file input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 16px;
}
.btn--file:focus-within { outline: 2px solid var(--violet); outline-offset: 3px; }

.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 440px) { .swatches { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch__chip {
	display: block;
	width: 100%;
	height: 44px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	outline: 1.5px solid transparent;
	outline-offset: 3px;
}
.swatch input:checked + .swatch__chip { outline-color: var(--ink); }
.swatch input:focus-visible + .swatch__chip { outline-color: var(--violet); outline-width: 2px; }

/* Fields */
.field { display: grid; gap: 6px; min-width: 0; }
.field__label {
	font-family: var(--f-mono);
	font-size: var(--fs-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mute);
}
.field__label em { font-style: normal; color: var(--rule); color: #9a92ad; text-transform: none; letter-spacing: 0; }
.field__input {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1.5px solid var(--ink);
	border-radius: 0;
	background: var(--white);
	font-size: 16px; /* prevents iOS zoom on focus */
	line-height: 1.3;
	-webkit-appearance: none;
	appearance: none;
}
.field__input:focus { outline: none; border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.field__input--area { min-height: 120px; resize: vertical; }
.field__input[type="file"] { padding: 12px; font-size: 15px; }
.field__input[type="file"]::file-selector-button {
	margin-right: 12px;
	border: 1.5px solid var(--ink);
	background: var(--white);
	padding: 6px 12px;
	border-radius: 0;
	font-weight: 600;
	cursor: pointer;
}
.field--num .field__input { text-align: center; font-weight: 700; }
.field.is-invalid .field__input { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }

/* ---------- Designs ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--ink);
	border: var(--line);
}
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tiles__item { display: flex; background: var(--white); }
.tile {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: var(--white);
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s;
}
.tile__num { color: var(--mute); }
.tile__art {
	display: block;
	aspect-ratio: 1;
	margin: 10px 0 12px;
	background: var(--lilac);
}
.tile__art img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.tile__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; }
.tile__name {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-stretch: 75%;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.05;
	min-width: 0;
}
.tile__try { color: var(--violet); white-space: nowrap; }
.tile:hover .tile__art,
.tile.is-active .tile__art { outline: 1.5px solid var(--violet); outline-offset: -1.5px; }
@media (max-width: 480px) {
	.tile { padding: 10px; }
	.tile__try { display: none; }
}

/* ---------- Process ---------- */
.steps {
	display: grid;
	border-top: var(--line);
}
.step {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 20px;
	padding-block: 24px;
	border-bottom: var(--hair);
}
.step__num {
	grid-row: span 2;
	font-size: clamp(4.5rem, 12vw, 9rem);
	font-stretch: 62%;
	font-weight: 300;
	line-height: 0.8;
	color: var(--violet);
	font-variant-numeric: tabular-nums;
}
.step__title {
	font-size: var(--fs-h3);
	font-stretch: 75%;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
	align-self: end;
}
.step__text { margin-top: 8px; max-width: 34ch; color: var(--mute); }
@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(3, 1fr); border-bottom: var(--line); }
	.step {
		grid-template-columns: 1fr;
		padding: 28px 28px 32px 0;
		border-bottom: 0;
	}
	.step + .step { border-left: var(--hair); padding-left: 28px; }
	.step__num { grid-row: auto; margin-bottom: 28px; }
}

/* ---------- Prices ---------- */
.price-list { border-top: var(--line); }
.price {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "name amount" "note amount";
	align-items: center;
	gap: 4px 16px;
	padding-block: 22px;
	border-bottom: var(--hair);
}
.price:last-child { border-bottom: var(--line); }
.price__name {
	grid-area: name;
	font-size: clamp(1.75rem, 4.5vw, 3.5rem);
	font-stretch: 62%;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.95;
}
.price__note { grid-area: note; color: var(--mute); font-size: 0.9375rem; }
.price__amount { grid-area: amount; display: grid; justify-items: end; gap: 2px; text-align: right; }
.price__from { color: var(--violet); }
.price__value {
	font-size: clamp(2rem, 5.5vw, 4.5rem);
	font-stretch: 75%;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
	.price {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
		grid-template-areas: "name note amount";
		gap: 32px;
	}
}

/* ---------- Directors ---------- */
.directors__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.directors__zero {
	padding-bottom: 0.1em;
	font-size: clamp(11rem, 52vw, 30rem);
	font-stretch: 62%;
	font-weight: 800;
	line-height: 0.78;
	letter-spacing: -0.03em;
	margin-left: -0.04em;
}
.directors__body { display: grid; gap: 22px; align-content: start; justify-items: start; }
.ticks { display: grid; width: 100%; border-top: var(--line); }
.ticks li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-block: 14px;
	border-bottom: var(--hair);
	font-weight: 600;
}
.ticks li::before {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--violet);
	border-bottom: 2px solid var(--violet);
	transform: rotate(-45deg) translateY(-2px);
}
@media (min-width: 960px) {
	.directors__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}

/* ---------- Booth ---------- */
.booth__grid { display: grid; gap: 40px; }
.booth__head { margin-bottom: 0; align-content: start; }
@media (min-width: 960px) {
	.booth__head .h2,
	.book__head .h2,
	.faq__grid .h2,
	.directors .h2 { font-size: clamp(3.25rem, 6.2vw, 6.5rem); }
}
.specs { display: grid; border-top: var(--line); margin-top: 8px; }
.specs div,
.book__contact div,
.foot__contact div {
	display: grid;
	grid-template-columns: 6rem minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding-block: 12px;
	border-bottom: var(--hair);
}
.specs dt,
.book__contact dt,
.foot__contact dt { color: var(--mute); }
.specs dd,
.book__contact dd,
.foot__contact dd { font-weight: 600; overflow-wrap: anywhere; }
.book__contact dd,
.foot__contact dd { font-size: 0.9375rem; }
.booth__figure { margin: 10px; }
.booth__media {
	background: var(--lilac);
	border: var(--hair);
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
.booth__media img { width: 100%; height: 100%; object-fit: cover; }
.booth__drawing { width: 100%; height: 100%; color: var(--ink); padding: 6%; }
.booth__valance {
	font-family: var(--f-sans);
	font-size: 22px;
	font-weight: 800;
	font-stretch: 62%;
	letter-spacing: 0.08em;
	fill: var(--ink);
}
.dim { stroke: var(--violet); fill: none; }
.booth__dimtext {
	font-family: var(--f-mono);
	font-size: 18px;
	fill: var(--violet);
	paint-order: stroke;
	stroke: var(--lilac);
	stroke-width: 8px;
}
.booth__cap {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	color: var(--mute);
}
@media (min-width: 960px) {
	.booth__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
}

/* ---------- Book ---------- */
.book__grid { display: grid; gap: 40px; }
.book__head { margin-bottom: 0; align-content: start; }
.book__contact { border-top: var(--line); margin-top: 8px; }
.book__contact a,
.foot__contact a { display: inline-flex; align-items: center; min-height: 56px; margin-block: -12px; }
.book__contact a { text-decoration: none; }
.book__contact a:hover { color: var(--violet); }
.form {
	display: grid;
	gap: 20px;
	background: var(--white);
	border: var(--line);
	padding: clamp(18px, 3vw, 36px);
	min-width: 0;
}
.form__group { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.form__group > legend { padding: 0; margin-bottom: 8px; }
.form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
	.form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__design {
	border: 1.5px dashed var(--violet);
	padding: 14px;
	display: grid;
	gap: 6px;
}
.form__design-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form__design-head .ctl__link { min-height: 32px; }
.form__design-text { color: var(--ink); text-transform: none; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.form__foot { display: grid; gap: 12px; }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status.is-error { color: var(--violet-deep); }
.form.is-sent { place-content: center; min-height: 360px; text-align: left; }
.sent { display: grid; gap: 14px; justify-items: start; }
.sent__title {
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-stretch: 62%;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9;
}
@media (min-width: 960px) {
	.book__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
	.book__head { position: sticky; top: calc(var(--bar-h) + 32px); }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 32px; }
.faq__list { border-top: var(--line); }
.qa { border-bottom: var(--hair); }
.qa__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	min-height: 64px;
	padding-block: 14px;
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: 0 0 18px; height: 18px; }
.qa__icon::before,
.qa__icon::after {
	content: "";
	position: absolute;
	background: var(--violet);
	left: 0; top: 8px; width: 18px; height: 2px;
	transition: transform 0.2s;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding-bottom: 22px; max-width: 60ch; color: var(--mute); }
@media (min-width: 960px) {
	.faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
}

/* ---------- Footer ---------- */
.foot {
	background: var(--white);
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.foot__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.foot__brand { display: grid; gap: 14px; align-content: start; }
.logo--foot { margin-right: 0; }
.foot__slogan {
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-stretch: 62%;
	font-weight: 800;
	line-height: 0.9;
	text-transform: uppercase;
}
.foot__contact { border-top: var(--line); }
.foot__contact a { text-decoration: none; }
.foot__contact a:hover { color: var(--violet); }
.foot__nav { display: grid; align-content: start; border-top: var(--line); }
.foot__nav a {
	display: flex;
	align-items: center;
	min-height: 46px;
	border-bottom: var(--hair);
	text-decoration: none;
	font-weight: 600;
}
.foot__nav a:hover { color: var(--violet); }
.foot__legal {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px 22px;
	border-top: var(--line);
	color: var(--mute);
}
.foot__legal a { text-decoration: none; display: inline-flex; align-items: center; min-height: 56px; margin-block: -12px; }
@media (min-width: 900px) {
	.foot__grid { grid-template-columns: 1.2fr 1fr 0.7fr; gap: 48px; }
}

/* ---------- Generic pages ---------- */
.page__wrap { display: grid; gap: 28px; justify-items: start; max-width: 960px; }
.page__article { display: grid; gap: 24px; padding-bottom: 40px; border-bottom: var(--hair); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose img { height: auto; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}
