/* ==========================================================================
   MTB 2026
   Palette pulled from the {MTB} logo: tan, olive, teal, plum, brightened for a dark ground.
   ========================================================================== */

:root {
	--ink: #0e0e0c;
	--ink-2: #151512;
	--ink-3: #1d1d19;
	--line: rgba(240, 233, 220, 0.1);
	--line-2: rgba(240, 233, 220, 0.18);
	--paper: #f0e9dc;
	--muted: #a7a194;
	--tan: #d9bf94;
	--olive: #b5cc46;
	--teal: #43b8d2;
	--plum: #c66b8f;

	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Film grain over everything: cheap, and it keeps the flat dark from looking dead. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: 0.05;
	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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; text-wrap: balance; }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
::selection { background: var(--olive); color: var(--ink); }

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
	border-radius: 6px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--olive);
	color: var(--ink);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}
.skip:focus { top: 16px; }

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1.25rem;
}
.eyebrow .num { color: var(--olive); margin-right: 0.6em; }

/* Buttons ----------------------------------------------------------------- */
.btn {
	--bg: transparent;
	--fg: var(--paper);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.95em 1.5em;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	background: var(--bg);
	color: var(--fg);
	font: 600 1rem/1 var(--font-display);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.4s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
	will-change: transform;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { --bg: var(--olive); --fg: var(--ink); border-color: var(--olive); }
.btn--primary:hover { --bg: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--small { padding: 0.6em 1.05em; font-size: 0.85rem; }

.pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--olive);
	box-shadow: 0 0 0 0 rgba(181, 204, 70, 0.6);
	animation: pulse 2.2s infinite;
}
@keyframes pulse {
	70% { box-shadow: 0 0 0 9px rgba(181, 204, 70, 0); }
	100% { box-shadow: 0 0 0 0 rgba(181, 204, 70, 0); }
}

/* Nav --------------------------------------------------------------------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background 0.3s, border-color 0.3s;
	border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
	background: rgba(14, 14, 12, 0.72);
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	border-color: var(--line);
}
.nav__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 72px;
}
.nav nav { margin-left: auto; }
.nav__links {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
}
.nav__links a {
	text-decoration: none;
	color: var(--muted);
	transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--paper); }

.logo {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 1.35rem;
	text-decoration: none;
	letter-spacing: -0.02em;
}
.logo__brace { color: var(--muted); transition: margin 0.4s var(--ease); }
.logo:hover .logo__brace:first-child { margin-right: 4px; }
.logo:hover .logo__brace:last-child { margin-left: 4px; }
.logo__m { color: var(--tan); }
.logo__t { color: var(--olive); }
.logo__b { color: var(--teal); }

@media (max-width: 720px) {
	.nav nav { display: none; }
	.nav .btn { margin-left: auto; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(48px, 9vw, 120px) clamp(64px, 9vw, 120px);
	isolation: isolate;
}
.hero__grid {
	position: absolute;
	inset: -72px 0 0;
	z-index: -2;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
	--x: 70%;
	--y: 30%;
	position: absolute;
	inset: -72px 0 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(600px circle at var(--x) var(--y), rgba(67, 184, 210, 0.16), transparent 60%),
		radial-gradient(500px circle at calc(100% - var(--x)) calc(var(--y) + 30%), rgba(198, 107, 143, 0.12), transparent 60%);
	transition: background 0.2s linear;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero__title {
	font-size: clamp(2.6rem, 6.6vw, 5.4rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin-bottom: 1.6rem;
}
.hero__title em {
	font-style: normal;
	background: linear-gradient(100deg, var(--tan), var(--olive) 45%, var(--teal));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__lede {
	font-size: clamp(1.05rem, 1.5vw, 1.22rem);
	color: #cfc8ba;
	max-width: 52ch;
	margin-bottom: 2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
}

/* Terminal ---------------------------------------------------------------- */
.term {
	background: rgba(21, 21, 18, 0.85);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.4);
	font-family: var(--font-mono);
	font-size: 0.86rem;
	line-height: 1.65;
	overflow: hidden;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
	transition: transform 0.8s var(--ease);
}
.term:hover,
.term:focus-within { transform: none; }
.term__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	background: var(--ink-3);
}
.term__bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a33; }
.term__bar span:nth-child(1) { background: var(--plum); }
.term__bar span:nth-child(2) { background: var(--tan); }
.term__bar span:nth-child(3) { background: var(--olive); }
.term__bar b {
	margin-left: auto;
	margin-right: auto;
	transform: translateX(-20px);
	font-weight: 500;
	color: var(--muted);
	font-size: 0.75rem;
}
.term__body {
	padding: 18px 20px 4px;
	height: 330px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--line-2) transparent;
}
.term__body p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.term__prompt { color: var(--olive); margin-right: 0.6em; white-space: nowrap; }
.term__hl { color: var(--teal); }
.term__dim { color: var(--muted); }
.term__tan { color: var(--tan); }
.term__plum { color: var(--plum); }
.term__cursor::after {
	content: "▍";
	color: var(--olive);
	animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.term__input {
	display: flex;
	align-items: center;
	padding: 4px 20px 18px;
}
.term__input input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	outline: 0;
	color: var(--paper);
	font: inherit;
	caret-color: var(--olive);
}
.term__input input::placeholder { color: #5d5a52; }
.term.is-c64 { background: #4038a8; border-color: #8478e8; }
.term.is-c64 .term__body,
.term.is-c64 .term__input input { color: #a49cf0; }
.term.is-c64 .term__prompt { color: #a49cf0; }

@media (max-width: 960px) {
	.term { transform: none; }
	.term__body { height: 280px; }
}

/* Marquee ----------------------------------------------------------------- */
.marquee {
	border-block: 1px solid var(--line);
	overflow: hidden;
	padding-block: 22px;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.marquee li {
	font-size: clamp(1.2rem, 2.2vw, 1.7rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--muted);
	padding-inline: 28px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 56px;
}
.marquee li::after {
	content: "✦";
	font-size: 0.6em;
	color: var(--olive);
	margin-right: -28px;
}
.marquee li:nth-child(3n+2)::after { color: var(--teal); }
.marquee li:nth-child(3n)::after { color: var(--plum); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats ------------------------------------------------------------------- */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	padding-block: clamp(48px, 7vw, 88px);
}
.stat {
	padding: 0 24px;
	border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
	font-size: clamp(3rem, 6vw, 4.8rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
	margin-bottom: 0.4rem;
	font-variant-numeric: tabular-nums;
}
.stat:nth-child(1) .stat__num { color: var(--tan); }
.stat:nth-child(2) .stat__num { color: var(--olive); }
.stat:nth-child(3) .stat__num { color: var(--teal); }
.stat:nth-child(4) .stat__num { color: var(--plum); }
.stat__label { color: var(--muted); font-size: 0.95rem; max-width: 22ch; margin: 0; }

@media (max-width: 860px) {
	.stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Sections ---------------------------------------------------------------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--alt {
	background: var(--ink-2);
	border-block: 1px solid var(--line);
}
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* Bento ------------------------------------------------------------------- */
.bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	--mx: 50%;
	--my: 50%;
	--accent: var(--olive);
	position: relative;
	padding: clamp(24px, 3vw, 34px);
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.3s, transform 0.5s var(--ease);
}
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card:nth-child(2) { --accent: var(--teal); }
.card:nth-child(3) { --accent: var(--tan); }
.card:nth-child(4) { --accent: var(--plum); }
.card:nth-child(5) { --accent: var(--teal); }
.card:nth-child(6) { --accent: var(--olive); }
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }
.card--wide h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 20ch; }
.card--tall h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	color: var(--accent);
	margin-bottom: 28px;
}
.card__kicker {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.8rem; }
.card p { color: #c2bbae; }
.card .tags { margin-top: auto; }

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
}
.tags li {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	color: var(--muted);
}

/* Kiosk card gets a little portrait screen illustration to fill its height */
.card--tall::after {
	content: "";
	position: relative;
	display: block;
	margin: 28px auto 24px;
	width: 46%;
	aspect-ratio: 2 / 3;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
	background:
		linear-gradient(color-mix(in srgb, var(--accent) 30%, transparent) 0 0) 14% 16% / 72% 22% no-repeat,
		linear-gradient(var(--line-2) 0 0) 14% 48% / 72% 4% no-repeat,
		linear-gradient(var(--line-2) 0 0) 14% 56% / 50% 4% no-repeat,
		linear-gradient(color-mix(in srgb, var(--accent) 60%, transparent) 0 0) 50% 84% / 46% 9% no-repeat,
		var(--ink-3);
	box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--accent) 35%, transparent);
	order: 3;
}
.card--tall .tags { order: 4; }

@media (max-width: 960px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.card--tall { grid-row: auto; }
	.card--tall::after { display: none; }
}
@media (max-width: 640px) {
	.bento { grid-template-columns: 1fr; }
	.card--wide { grid-column: auto; }
}

/* Process ----------------------------------------------------------------- */
.steps {
	--progress: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	list-style: none;
	margin: 0 0 clamp(64px, 8vw, 104px);
	padding: 36px 0 0;
}
.steps::before,
.steps::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 2px;
	border-radius: 2px;
}
.steps::before { right: 0; background: var(--line); }
.steps::after {
	width: calc(var(--progress) * 100%);
	background: linear-gradient(90deg, var(--tan), var(--olive), var(--teal), var(--plum));
}
.step__n {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--olive);
	display: block;
	margin-bottom: 14px;
}
.step h3 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.step p { color: #c2bbae; margin: 0; }

@media (max-width: 860px) {
	.steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.steps { grid-template-columns: 1fr; }
}

.engage {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.engage__item {
	padding: clamp(24px, 3vw, 36px);
	border-left: 1px solid var(--line);
	transition: background 0.3s;
}
.engage__item:first-child { border-left: 0; }
.engage__item:hover { background: var(--ink-3); }
.engage__for {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--teal);
}
.engage__item h3 { margin-bottom: 0.7rem; font-size: 1.5rem; }
.engage__item p:last-child { color: #c2bbae; margin: 0; }

@media (max-width: 860px) {
	.engage { grid-template-columns: 1fr; }
	.engage__item { border-left: 0; border-top: 1px solid var(--line); }
	.engage__item:first-child { border-top: 0; }
}

/* About ------------------------------------------------------------------- */
.about {
	display: grid;
	grid-template-columns: 0.85fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.about__photo {
	margin: 0;
	position: sticky;
	top: 110px;
	border-radius: var(--radius);
	overflow: hidden;
	transform: rotate(-2deg);
	transition: transform 0.6s var(--ease);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.about__photo:hover { transform: rotate(0deg) scale(1.01); }
.about__photo img {
	filter: grayscale(1) contrast(1.08);
	transition: filter 0.6s;
}
/* Duotone wash in brand plum + teal that clears on hover */
.about__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--teal), var(--plum));
	mix-blend-mode: color;
	opacity: 0.55;
	transition: opacity 0.6s;
	pointer-events: none;
}
.about__photo:hover::after { opacity: 0; }
.about__photo figcaption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 1;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(14, 14, 12, 0.7);
	backdrop-filter: blur(6px);
}
.about__copy h2 { margin-bottom: 1.6rem; }
.about__copy > p:not(.eyebrow) { color: #cfc8ba; font-size: 1.1rem; max-width: 60ch; }

.timeline {
	list-style: none;
	margin: 2.4rem 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.timeline li {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 16px;
	align-items: baseline;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	transition: padding 0.4s var(--ease);
}
.timeline li:hover { padding-left: 10px; }
.timeline__when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--olive); }
.timeline__what { font-weight: 600; }
.timeline__role { color: var(--muted); font-size: 0.92rem; text-align: right; }

@media (max-width: 860px) {
	.about { grid-template-columns: 1fr; }
	.about__photo { position: relative; top: 0; max-width: 420px; }
}
@media (max-width: 520px) {
	.timeline li { grid-template-columns: 52px 1fr; }
	.timeline__role { grid-column: 2; text-align: left; margin-top: -10px; }
}

/* Contact ----------------------------------------------------------------- */
.contact {
	position: relative;
	background:
		radial-gradient(800px circle at 0% 100%, rgba(181, 204, 70, 0.1), transparent 60%),
		radial-gradient(700px circle at 100% 0%, rgba(67, 184, 210, 0.1), transparent 60%),
		var(--ink-2);
	border-top: 1px solid var(--line);
}
.contact__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
}
.contact__title {
	font-size: clamp(2.6rem, 6vw, 5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	margin-bottom: 1.4rem;
	max-width: 12ch;
}
.contact__copy > p { color: #cfc8ba; font-size: 1.1rem; max-width: 44ch; }

.reach {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}
.reach li { display: flex; align-items: center; gap: 14px; }
.reach .icon { width: 20px; height: 20px; color: var(--olive); flex: none; }
.reach a,
.reach__reveal {
	font: 500 1.05rem var(--font-mono);
	color: var(--paper);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--line-2);
	text-underline-offset: 5px;
	transition: text-decoration-color 0.2s;
}
.reach a:hover,
.reach__reveal:hover { text-decoration-color: var(--olive); }

@media (max-width: 860px) {
	.contact__inner { grid-template-columns: 1fr; }
}

/* Contact Form 7, restyled (its own stylesheet is dequeued) */
.contact__form {
	background: rgba(14, 14, 12, 0.6);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	padding: clamp(24px, 3.5vw, 40px);
	align-self: start;
}
.contact__form .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.contact__form .col-12,
.contact__form .row > p,
.contact__form .wpcf7-submit { grid-column: 1 / -1; }
.contact__form p { margin: 0; }
.contact__form br { display: none; }
@media (max-width: 520px) {
	.contact__form .row { grid-template-columns: 1fr; }
}
.contact__form label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
}
.contact__form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--ink-3);
	border: 1px solid var(--line-2);
	border-radius: 12px;
	color: var(--paper);
	font: 400 1rem/1.5 var(--font-display);
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.contact__form textarea { min-height: 160px; resize: vertical; }
.contact__form input:focus,
.contact__form textarea:focus {
	outline: 0;
	border-color: var(--olive);
	box-shadow: 0 0 0 4px rgba(181, 204, 70, 0.15);
}
.contact__form .wpcf7-submit {
	justify-self: start;
	padding: 1em 1.8em;
	border-radius: 999px;
	border: 0;
	background: var(--olive);
	color: var(--ink);
	font: 700 1rem/1 var(--font-display);
	cursor: pointer;
	transition: background 0.25s, transform 0.4s var(--ease);
}
.contact__form .wpcf7-submit:hover { background: var(--paper); transform: translateY(-2px); }
.contact__form .wpcf7-spinner { display: none; }
.contact__form .submitting .wpcf7-spinner { display: inline-block; }
.contact__form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--plum);
	font-size: 0.8rem;
	text-transform: none;
	letter-spacing: 0;
}
.contact__form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid var(--line-2);
	font-size: 0.92rem;
}
.contact__form .wpcf7-response-output:empty,
.contact__form .init .wpcf7-response-output { display: none; }
.contact__form fieldset.hidden-fields-container { display: none; }
.contact__form .sent .wpcf7-response-output { border-color: var(--olive); color: var(--olive); }
.contact__form .invalid .wpcf7-response-output,
.contact__form .failed .wpcf7-response-output { border-color: var(--plum); color: var(--plum); }
.screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* Footer ------------------------------------------------------------------ */
.footer {
	border-top: 1px solid var(--line);
	padding-block: 28px;
	font-size: 0.88rem;
	color: var(--muted);
}
.footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	align-items: center;
}
.footer p { margin: 0; }
.footer__top { margin-left: auto; text-decoration: none; }
.footer__top:hover { color: var(--paper); }
.heart { color: var(--plum); }

/* Scroll reveal ----------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .term.reveal { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(24px); }
.js .term.reveal.is-in { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
.js .term.reveal.is-in:hover,
.js .term.reveal.is-in:focus-within { transform: none; }
.js .about__photo.reveal.is-in { transform: rotate(-2deg); }
.js .about__photo.reveal.is-in:hover { transform: rotate(0deg) scale(1.01); }
.js .card.reveal.is-in:hover { transform: translateY(-3px); }
@media (max-width: 960px) {
	.js .term.reveal,
	.js .term.reveal.is-in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.marquee ul[aria-hidden] { display: none; }
}
