@font-face {
	font-family: "Azeret Mono";
	font-style: normal;
	font-weight: 400 500;
	font-display: block;
	src: url("/fonts/azeret-mono-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Azeret Mono";
	font-style: normal;
	font-weight: 400 500;
	font-display: block;
	src: url("/fonts/azeret-mono-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Outfit;
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: Outfit;
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("/fonts/outfit-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--paper: #f5f5f3;
	--ink: #1c1724;
	--muted: #6f6a74;
	--line: #e4e3df;
	--lime: #e4f56b;
	--sage: #d7d3c6;
	--display: "Azeret Mono", ui-monospace, monospace;
	--sans: Outfit, "Avenir Next", sans-serif;
	color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.45;
}

a { color: inherit; }

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--ink);
	color: #fff;
	padding: 0.45rem 0.7rem;
	z-index: 5;
}

.skip:focus { top: 0.6rem; }

.nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	padding: 0.85rem 1.4rem;
	background: #fff;
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 3;
}

.nav__mark {
	font-family: var(--display);
	font-weight: 400;
	letter-spacing: -0.04em;
	text-decoration: none;
	font-size: 1.2rem;
}

.nav__links {
	display: flex;
	gap: 1.4rem;
	margin-inline-end: auto;
}

.nav__links a {
	text-decoration: none;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}

.nav__cta {
	background: var(--lime);
	color: var(--ink);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.7rem 1rem;
	border-radius: 8px;
}

.nav__links a:hover { color: #4d4654; }
.nav__cta:hover { filter: brightness(0.96); }

.frame {
	position: relative;
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
	border-inline: 1px solid var(--line);
	background-image: radial-gradient(#dddcd6 1.1px, transparent 1.1px);
	background-size: 18px 18px;
	background-color: #f7f7f5;
	container-type: inline-size;
}

.hero {
	padding: 4.5rem 3rem 2.6rem;
}

.kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0 0 1.4rem;
	font-family: var(--display);
	font-weight: 400;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kicker b { font-weight: 400; color: var(--muted); }

.kicker__box {
	width: 0.7rem;
	height: 0.7rem;
	border: 1.5px solid var(--ink);
	display: inline-block;
}

h1 {
	margin: 0;
	overflow: hidden;
	font-family: var(--display);
	font-weight: 400;
	font-size: calc((100cqi - 6rem) / 25.4);
	letter-spacing: -0.045em;
	line-height: 1.05;
	white-space: nowrap;
}

h1 span { display: block; }

.lede {
	max-width: 40rem;
	margin: 1.35rem 0 0;
	color: #7a756c;
	font-size: 1.28rem;
	line-height: 1.45;
}

.install {
	margin-top: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 36rem;
	background: #fff;
	border: 1px solid #e7e6e1;
	border-radius: 12px;
	padding: 0.95rem 1rem;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.install__line {
	margin: 0;
	min-width: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.install__line code {
	display: inline-block;
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.install__line code.is-swap {
	opacity: 0;
	transform: translateY(0.35rem);
}

.install__ps { color: #9a948b; margin-inline-end: 0.35rem; }

.install__copy {
	border: 0;
	background: transparent;
	color: #8d877e;
	cursor: pointer;
	padding: 0.2rem;
	flex: none;
}

.switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0;
	align-items: center;
	margin-top: 0.9rem;
	font-family: var(--display);
	font-size: 0.86rem;
	font-weight: 400;
}

.switch button {
	border: 0;
	background: transparent;
	font: inherit;
	color: #8a847c;
	cursor: pointer;
	padding: 0.25rem 0.15rem;
}

.switch button[aria-selected="true"] { color: var(--ink); }

.switch button + button::before {
	content: "|";
	color: #c8c4bc;
	margin-inline: 0.45rem 0.55rem;
	font-weight: 400;
}

.band {
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #fff;
}

.band a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.3rem;
	min-height: 6.5rem;
	padding: 1.25rem 3rem;
	text-decoration: none;
}

.band a + a { border-inline-start: 1px solid var(--line); }

.band strong {
	font-family: var(--display);
	font-weight: 400;
	font-size: 1.35rem;
	letter-spacing: -0.04em;
}

.band span {
	font-size: 0.92rem;
	color: #8a847c;
}

.band a:hover { background: #fafaf8; }

#film,
#products,
#free,
#skills { scroll-margin-top: 6.5rem; }

.film {
	background: #fff;
	padding: 1.15rem 1.15rem 1.35rem;
}

.film__frame {
	margin: 0;
	border: 1px solid var(--ink);
	background: #fff;
}

.film__bar {
	display: grid;
	grid-template-columns: 2.25rem 1fr 2.25rem;
	align-items: center;
	gap: 0.75rem;
	min-height: 3.35rem;
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid var(--ink);
}

.film__bar figcaption {
	margin: 0;
	text-align: center;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(0.82rem, 1.5vw, 1.05rem);
	letter-spacing: 0.04em;
}

.film__mark {
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--ink);
	color: var(--ink);
}

.film__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--paper);
}

.film__stage video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: var(--paper);
}

.film__stage video::-webkit-media-controls,
.film__stage video::-webkit-media-controls-enclosure,
.film__stage video::-webkit-media-controls-panel {
	display: none !important;
	opacity: 0;
	pointer-events: none;
}

.film__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 4.6rem;
	height: 4.6rem;
	display: grid;
	place-items: center;
	padding: 0 0 0 0.15rem;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(28, 23, 36, 0.18);
}

.film__play[hidden] { display: none; }

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
}

.grid article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.8rem 3rem 2rem;
	border-top: 1px solid var(--line);
}

.grid article:nth-child(odd) { border-inline-end: 1px solid var(--line); }

.card__status {
	margin: 0 0 0.55rem;
	font-family: var(--display);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a847c;
}

.grid h2 {
	margin: 0 0 0.55rem;
	font-family: var(--display);
	font-weight: 400;
	font-size: 1.55rem;
	letter-spacing: -0.04em;
}

.grid p { margin: 0; color: var(--muted); max-width: 34rem; }

.grid a {
	display: inline-block;
	margin-top: auto;
	padding-top: 1.25rem;
	color: var(--ink);
	font-size: 0.95rem;
	text-underline-offset: 0.2em;
}

.foot {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 1.2rem 1.5rem 2rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
	border-inline: 1px solid var(--line);
	background: #fff;
}

.foot a {
	text-decoration: none;
	color: var(--ink);
	font-family: var(--display);
}

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

.is-motion:not(.is-ready) .hero > * { opacity: 0; }

.is-ready .kicker,
.is-ready .lede,
.is-ready .install,
.is-ready .switch {
	animation: lift 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-ready .lede { animation-delay: 0.12s; }
.is-ready .install { animation-delay: 0.2s; }
.is-ready .switch { animation-delay: 0.28s; }

.is-ready h1 span {
	animation: line-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

.is-motion .band,
.is-motion .film,
.is-motion .grid {
	opacity: 0;
	transform: translateY(1rem);
}

.is-motion .band.is-in,
.is-motion .film.is-in,
.is-motion .grid.is-in {
	animation: lift 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes lift {
	from { opacity: 0; transform: translateY(0.8rem); }
	to { opacity: 1; transform: none; }
}

@keyframes line-in {
	from { transform: translateY(110%); }
	to { transform: none; }
}

@media (max-width: 800px) {
	.nav { flex-wrap: wrap; row-gap: 0.7rem; }
	.nav__links {
		order: 3;
		width: 100%;
		gap: 1rem;
		overflow-x: auto;
		padding-bottom: 0.15rem;
	}
	.nav__cta { margin-inline-start: auto; }
	.hero { padding: 2.4rem 1.25rem 1.6rem; }
	h1 {
		font-size: clamp(1.85rem, 8.4vw, 2.5rem);
		white-space: normal;
		letter-spacing: -0.04em;
	}
	.lede { font-size: 1.08rem; }
	.install { max-width: none; }
	.band { grid-template-columns: 1fr; }
	.band a { min-height: 0; padding: 1.1rem 1.25rem; }
	.band a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
	.grid { grid-template-columns: 1fr; }
	.grid article { padding: 1.5rem 1.25rem 1.6rem; }
	.grid article:nth-child(odd) { border-inline-end: 0; }
	.frame, .foot { width: 100%; border-inline: 0; }
	.film { padding: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.is-motion:not(.is-ready) .hero > *,
	.is-motion .band,
	.is-motion .film,
	.is-motion .grid {
		opacity: 1;
		transform: none;
		animation: none;
	}
	.is-ready h1 span,
	.is-ready .kicker,
	.is-ready .lede,
	.is-ready .install,
	.is-ready .switch,
	.install__line code { animation: none; transition: none; }
}
