:root {
	--bg: #fbfaf8;
	--ink: #161616;
	--ink-2: #5e5e5b;
	--ink-3: #93918c;
	--line: #e8e6e1;
	--chip: #f1efeb;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--w: 1120px;
	--g: 20px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121212; --ink: #ededeb; --ink-2: #a5a39e; --ink-3: #6f6d69; --line: #262624; --chip: #222220;
		color-scheme: dark;
	}
}
@media (min-width: 760px) { :root { --g: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--sans); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss03";
}
a { color: inherit; text-decoration: none; }
::selection { background: #ffe58f; color: #161616; }
.wrap { max-width: calc(var(--w) + var(--g) * 2); margin: 0 auto; padding-inline: var(--g); }

/* nav */
nav.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 600; letter-spacing: -.01em; }
.lang { display: flex; gap: 2px; font-size: 13px; }
.lang a { color: var(--ink-3); padding: 4px 7px; border-radius: 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--chip); }

/* first view: only the oak */
.hero { height: calc(100vh - 60px); height: calc(100svh - 60px); min-height: 420px; padding-bottom: 32px; }
.oak { display: block; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 759px) { .hero { padding-inline: 0; } }

/* names */
.names { display: grid; gap: 64px; padding-block: 96px 120px; }
@media (min-width: 860px) { .names { grid-template-columns: 1fr 1fr; gap: 96px 32px; padding-block: 160px 200px; } }
@media (min-width: 1100px) { .names { grid-template-columns: 1fr 1fr 1fr; } .names ul li { font-size: min(2.9vw, 36px); } }
.names h2 { margin: 0 0 32px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.names ul { list-style: none; margin: 0; padding: 0; }
.names li { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.names a { transition: color .2s ease; }
.names a span { display: inline-block; font-size: .5em; vertical-align: .55em; margin-left: .2em; color: var(--ink-3); opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s ease, transform .2s ease; }
.names a:hover span, .names a:focus-visible span { opacity: 1; transform: none; }
.names .muted { color: var(--ink-3); }
.names small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); vertical-align: .9em; margin-left: .4em; }

footer { padding: 0 0 48px; color: var(--ink-3); font-size: 14px; }
footer .wrap > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a:hover { color: var(--ink); }

.rv { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.rv { opacity: 1; transform: none; }
}
