/* Levynberg Enterprise — one screen per idea, panels that wipe in, the L mark as scenery. */
:root {
  --ink: #07090d;
  --ink-2: #0e1219;
  --ivory: #ffffff;
  --paper: #ffffff;
  --blue: #3366f0;
  --blue-hi: #6f97ff;
  --blue-lo: #3366f0;
  --sky: #a9c8ff;
  --sky-hi: #cfe0ff;
  --mute-d: rgba(255, 255, 255, .68);
  --mute-l: #55595f;
  --line-d: rgba(255, 255, 255, .18);
  --line-l: rgba(12, 15, 20, .14);
  --serif: "Manrope", system-ui, sans-serif;
  --logo: "Manrope", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 96px);
  --ease: cubic-bezier(.77, 0, .175, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis drives the smooth scroll when it is running */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: var(--ink); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- blue on dark: a lighter blue reads better there ---------- */
.screen[data-tone="dark"], .menu, .rail { --blue: var(--sky); --blue-hi: var(--sky); }
body[data-tone="dark"] .section-tag, body[data-tone="dark"] .begin { --blue: var(--sky); }
@media (max-width: 899px) { .bar { --blue: var(--sky); } }

/* ---------- fixed chrome ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 28px var(--pad); pointer-events: none; }
.bar > * { pointer-events: auto; }
.logo { position: relative; display: block; width: clamp(170px, 16vw, 236px); height: auto; }
.logo img { width: 100%; height: auto; transition: opacity .5s ease; }
.logo .on-light { position: absolute; inset: 0; opacity: 0; }
body[data-tone="light"] .logo .on-dark { opacity: 0; }
body[data-tone="light"] .logo .on-light { opacity: 1; }
body.menu-open .logo .on-dark { opacity: 1; }
body.menu-open .logo .on-light { opacity: 0; }

.burger { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 7px; color: var(--ivory); }
.burger i { display: block; width: 30px; height: 1.5px; background: currentColor; margin-left: auto; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger i:last-child { width: 20px; }
.burger:hover i:last-child { width: 30px; }
body.menu-open .burger { color: var(--ivory); }
body.menu-open .burger i:first-child { transform: translateY(4.25px) rotate(45deg); }
body.menu-open .burger i:last-child { width: 30px; transform: translateY(-4.25px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 25; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 48px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu[hidden] { display: flex; visibility: hidden; }
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; align-items: baseline; gap: 22px; text-decoration: none; font: 500 clamp(34px, 5.4vw, 72px)/1.18 var(--serif); color: var(--ivory); transition: color .3s; }
.menu a:hover { color: var(--blue-hi); }
.menu a span { font: 400 12px/1 var(--mono); color: var(--blue); letter-spacing: .1em; }
.menu-foot { font: 400 13px/1 var(--mono); color: var(--mute-d); margin: 48px 0 0; letter-spacing: .06em; }

/* right-hand progress rail */
.rail { position: fixed; right: calc(var(--pad) * .5 + 4px); top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 0; }
.rail::before, .rail::after { content: ""; width: 1px; height: 14vh; background: var(--line-d); transition: background .5s; }
.rail a { position: relative; display: grid; place-items: center; width: 30px; height: 52px; text-decoration: none; color: var(--ivory); }
.rail a::before { content: ""; width: 5px; height: 5px; background: currentColor; transition: transform .5s var(--out), background .5s; }
.rail a.on::before { transform: scale(1.8); background: var(--blue); }
.rail a::after { content: attr(data-n); position: absolute; right: 30px; font: 500 11px/1 var(--mono); letter-spacing: .08em; opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--out); }
.rail a.on::after, .rail a:hover::after { opacity: 1; transform: none; }
.rail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.menu-open .rail { opacity: 0; }

/* section tag, bottom left */
.section-tag { position: fixed; left: 0; bottom: 34px; z-index: 20; margin: 0; display: flex; align-items: center; gap: 18px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); pointer-events: none; }
.section-tag i { display: block; width: calc(var(--pad) - 18px + 40px); height: 1px; background: var(--line-d); }
body[data-tone="light"] .section-tag { color: var(--blue-lo); }
body[data-tone="light"] .section-tag i { background: var(--line-l); }
.section-tag span { transition: opacity .35s; }
.section-tag.swap span { opacity: 0; }

/* ---------- screens ---------- */
.screen { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.03em; }
h1 { font-size: clamp(40px, 5vw, 78px); line-height: 1.04; max-width: 17ch; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.08; max-width: 18ch; text-wrap: balance; margin-bottom: 26px; }
.copy p { max-width: 46ch; margin: 0 0 16px; }

.bg { position: absolute; inset: 0; z-index: -2; }
.bg img, .bg video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.4s var(--out); }
.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,15,20,.95) 0%, rgba(12,15,20,.86) 55%, rgba(12,15,20,.6) 100%); }
.screen.in .bg img, .screen.in .bg video { transform: scale(1.02); }

/* the L mark as huge translucent shapes */
.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shapes svg { position: absolute; fill: url(#g-blue); opacity: 0; transition: opacity 1.6s ease, transform 2.4s var(--out); }
.shapes .s1 { width: 78vh; height: 89vh; right: 8vw; top: 6vh; transform: translateY(40px) skewX(-8deg); }
.shapes .s2 { width: 150vh; height: 171vh; right: -42vh; top: -30vh; transform: translateY(40px) skewX(-8deg); fill: none; stroke: var(--blue); stroke-width: .12; }
.shapes .s3 { width: 120vh; height: 137vh; left: -20vh; bottom: -48vh; transform: translateY(50px) skewX(-8deg); }
.shapes .s4 { width: 110vh; height: 126vh; right: -16vh; bottom: -40vh; transform: translateY(50px) skewX(-8deg); }
.screen.in .shapes svg { transform: skewX(-8deg); }
.screen.in .shapes .s1 { opacity: .1; }
.screen.in .shapes .s2 { opacity: .32; }
.screen.in .shapes .s3, .screen.in .shapes .s4 { opacity: .07; }

/* staged reveal of copy */
.copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform 1.1s var(--out); }
.screen.in .copy > * { opacity: 1; transform: none; }
.screen.in .copy > *:nth-child(2) { transition-delay: .12s; }
.screen.in .copy > *:nth-child(3) { transition-delay: .24s; }
.screen.in .copy > *:nth-child(4) { transition-delay: .36s; }
.screen.in .copy > *:nth-child(n+5) { transition-delay: .48s; }

/* 01 hero: copy sits low left, like a title card */
.hero { display: flex; align-items: flex-end; padding: 140px var(--pad) 120px; }
.hero .bg video { object-position: 60% 50%; transform: scale(1.06); }
.screen.in.hero .bg video { transform: scale(1); }
.hero .bg::after { background: linear-gradient(90deg, rgba(12,15,20,.92) 0%, rgba(12,15,20,.62) 48%, rgba(12,15,20,.15) 100%), linear-gradient(0deg, rgba(12,15,20,.7), transparent 45%); }
.hero .copy { max-width: 900px; }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--mute-d); margin-top: 28px !important; }
.begin { position: absolute; left: var(--pad); bottom: 36px; display: flex; align-items: center; gap: 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); text-decoration: none; }
.begin i { width: 56px; height: 1px; background: var(--blue); transform-origin: left; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
body.at-start .section-tag, body.at-end .section-tag { opacity: 0; }
.section-tag { transition: opacity .4s; }

/* split screens: ivory panel left wipes in, photograph right */
.split { display: grid; grid-template-columns: 58fr 42fr; background: var(--ink); color: var(--ink); }
.panel { position: relative; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 140px clamp(32px, 6vw, 120px) 110px var(--pad); clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.screen.in .panel { clip-path: inset(0 0 0 0); }
.split .copy { max-width: 600px; margin-left: clamp(0px, 4vw, 80px); }
.split .eyebrow { color: var(--blue-lo); }
.split .copy p { color: var(--mute-l); }
.split .copy > * { transition-delay: .35s; }
.screen.split.in .copy > *:nth-child(2) { transition-delay: .47s; }
.screen.split.in .copy > *:nth-child(3) { transition-delay: .59s; }
.screen.split.in .copy > *:nth-child(4) { transition-delay: .71s; }
.screen.split.in .copy > *:nth-child(n+5) { transition-delay: .83s; }
.pic { margin: 0; position: relative; overflow: hidden; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05) brightness(.82); transform: scale(1.15); transition: transform 2.2s var(--out); }
.pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,15,20,.1), rgba(12,15,20,.45)); }
.screen.in .pic img { transform: scale(1.02); }

/* service list */
.svc { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-l); max-width: 600px; }
.svc li { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-l); font-size: 15px; }
.svc b { font-weight: 500; color: var(--ink); }
.svc span { color: var(--mute-l); }
.svc em { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--blue-lo); }

/* full-bleed dark screens */
.full { display: flex; align-items: center; padding: 140px calc(var(--pad) + 40px) 110px var(--pad); }
.full .copy { width: 100%; max-width: 1180px; margin-left: clamp(0px, 4vw, 80px); }

/* portfolio rows */
.cos { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line-d); }
.cos a { display: grid; grid-template-columns: 170px 220px 1fr 150px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; transition: padding .5s var(--out), background .5s; }
.cos a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(36,87,245,.14), transparent 70%); }
.cos .cat, .cos .st { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.cos .st { color: var(--mute-d); text-align: right; }
.cos b { font: 500 clamp(24px, 2.2vw, 34px)/1.1 var(--serif); }
.cos .what { color: var(--mute-d); font-size: 15px; }
.cos a:hover b { color: var(--blue-hi); }

/* presence */
.presence { background: radial-gradient(ellipse at 80% 100%, #0f1a33 0%, var(--ink) 60%); }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: 16px; }
.places figure { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; }
.places video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.85); transition: transform 1.2s var(--out), filter .6s; }
.places article:hover video { transform: scale(1.05); filter: none; }
.places h3 { font-size: clamp(22px, 1.8vw, 28px); margin-bottom: 8px; padding-top: 14px; border-top: 1px solid var(--blue); display: inline-block; }
.places p { color: var(--mute-d); font-size: 15px; margin: 0; max-width: 34ch; }

/* contact */
.contact .mail a { font: 500 clamp(20px, 1.6vw, 26px)/1.2 var(--serif); color: var(--ink); text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--out), color .3s; }
.contact .mail a:hover { color: var(--blue-lo); background-size: 0 1px; background-position: 100% 100%; }
.contact .mail { margin: 18px 0 22px !important; }
.contact .note { font-size: 13px; max-width: 52ch; }
.foot { position: absolute; left: var(--pad); right: clamp(32px, 6vw, 120px); bottom: 34px; display: flex; justify-content: flex-end; gap: 28px; font: 400 11px/1.5 var(--mono); letter-spacing: .06em; color: var(--mute-l); }
.foot a { color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .cos a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .cos .cat { grid-column: 1; grid-row: 1; }
  .cos .st { grid-column: 2; grid-row: 1; }
  .cos b { grid-column: 1 / -1; }
  .cos .what { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  .bar { padding: 18px 16px; }
  .rail, .section-tag { display: none; }
  .screen { min-height: auto; }
  .hero { min-height: 100svh; padding: 120px 16px 96px; }
  .begin { left: 16px; }
  .split { grid-template-columns: 1fr; }
  .split .pic { order: -1; height: 46vh; }
  .panel { padding: 56px 16px 64px; clip-path: none; }
  .split .copy { margin-left: 0; }
  .contact .panel { padding-bottom: 110px; }
  .foot { left: 16px; right: 16px; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
  .full { padding: 88px 16px; }
  .full .copy { margin-left: 0; }
  .places { grid-template-columns: 1fr; }
  .svc li { grid-template-columns: 1fr auto; }
  .svc span { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .shapes .s1 { width: 60vw; height: 68vw; right: -6vw; top: 14vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* on phones the bar gets its own dark ground, so logo and burger stay light everywhere */
@media (max-width: 899px) {
  .bar { background: rgba(12, 15, 20, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  body[data-tone="light"] .logo .on-dark { opacity: 1; }
  body[data-tone="light"] .logo .on-light { opacity: 0; }
  .logo { width: 150px; }
}
.split .copy .eyebrow { color: var(--blue-lo); }
.svc li > * { justify-self: start; text-align: left; }
.svc em { justify-self: end; }

/* the L mark closes the page, at the end of the contact panel */
.endmark { position: relative; width: clamp(150px, 13vw, 200px); aspect-ratio: 1; margin: 24px 0 0 calc(clamp(0px, 4vw, 80px) - 30px); opacity: 0; transform: translateY(20px); transition: opacity .8s var(--out) .4s, transform 1s var(--out) .4s; }
.contact .panel { padding-bottom: 120px; }
.screen.in .endmark { opacity: 1; transform: none; }
@media (max-width: 899px) { .endmark { margin: 24px 0 0 -24px; width: 150px; } .contact .panel { padding-bottom: 110px; } }

/* facts strip: only numbers that are plainly true */
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 clamp(24px, 3.4vw, 56px); margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line-l); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-l); }
.facts dd { margin: 0 0 4px; font: 500 clamp(34px, 3vw, 48px)/1 var(--serif); color: var(--ink); }

/* how we build */
.model { background: radial-gradient(ellipse at 15% 0%, #0f1a33 0%, var(--ink) 60%); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); counter-reset: s; }
.steps li { position: relative; padding-top: 26px; border-top: 1px solid var(--line-d); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--blue); transition: width 1.2s var(--out); }
.screen.in .steps li::before { width: 100%; }
.screen.in .steps li:nth-child(2)::before { transition-delay: .25s; }
.screen.in .steps li:nth-child(3)::before { transition-delay: .5s; }
.screen.in .steps li:nth-child(4)::before { transition-delay: .75s; }
.steps span { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--blue-hi); }
.steps h3 { font-size: clamp(28px, 2.4vw, 38px); margin: 18px 0 12px; }
.steps p { color: var(--mute-d); font-size: 16px; margin: 0; }

/* two paths under the founders list */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; max-width: 600px; }
.paths a { display: block; padding: 16px 18px; border: 1px solid var(--line-l); text-decoration: none; color: var(--ink); font: 400 17px/1.3 var(--serif); transition: border-color .3s, background .3s, color .3s; }
.paths small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-lo); margin-bottom: 6px; }
.paths i { font-style: normal; display: inline-block; transition: transform .4s var(--out); }
.paths a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.paths a:hover small { color: var(--blue-hi); }
.paths a:hover i { transform: translateX(4px); }

/* application form */
.form { display: grid; gap: 14px; max-width: 600px; margin-top: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(7, 9, 13, .3); padding: 8px 0; border-radius: 0; text-transform: none; letter-spacing: 0; transition: border-color .3s; }
.form textarea { resize: vertical; min-height: 64px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--blue); }
.form .bad { border-bottom-color: #c62828; }
.form fieldset { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); margin-bottom: 8px; padding: 0; }
.form .chip { display: inline-flex; cursor: pointer; }
.form .chip input { position: absolute; opacity: 0; pointer-events: none; }
.form .chip span { padding: 8px 14px; border: 1px solid var(--line-l); font: 400 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.form .chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.form .chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form .send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form button { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); border: 0; padding: 16px 22px; cursor: pointer; transition: background .3s; }
.form button:hover { background: var(--blue); }
.form .hint { font-size: 13px !important; margin: 0 !important; }
.apply .note { font-size: 13px; margin-top: 18px !important; }
.apply .copy p { margin-bottom: 10px; }

/* FAQ */
.faq { background: radial-gradient(ellipse at 90% 10%, #0f1a33 0%, var(--ink) 55%); }
.copy.two { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.copy.two > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform 1.1s var(--out); }
.screen.in .copy.two > * { opacity: 1; transform: none; }
.screen.in .copy.two > *:nth-child(2) { transition-delay: .2s; }
.funded { color: var(--mute-d); max-width: 40ch; padding-left: 18px; border-left: 2px solid var(--blue); }
.funded b { color: #fff; font-weight: 400; }
.qa details { border-bottom: 1px solid var(--line-d); }
.qa details:first-child { border-top: 1px solid var(--line-d); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 400 clamp(18px, 1.5vw, 22px)/1.35 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--blue-hi); transition: transform .4s var(--out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--mute-d); margin: -4px 0 18px; max-width: 56ch; }
.qa a { color: var(--blue-hi); }

/* contact extras */
.more { display: grid; gap: 6px; margin-top: 6px; }
.more p { font-size: 15px; margin: 0 !important; }
.more b { color: var(--ink); font-weight: 700; }
.more a { color: var(--blue-lo); }

@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}
@media (max-width: 899px) {
  .facts { grid-template-columns: repeat(2, auto); row-gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .paths, .form .row { grid-template-columns: 1fr; }
  .copy.two { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .apply .panel { padding-top: 104px; padding-bottom: 104px; }
  .apply h2 { margin-bottom: 14px; }
  .apply .form { gap: 10px; }
  .apply textarea { min-height: 48px; }
}

/* polish */
.cos .st i { font-style: normal; display: inline-block; margin-left: 6px; color: var(--blue-hi); opacity: 0; transform: translate(-4px, 4px); transition: opacity .35s, transform .45s var(--out); }
.cos a:hover .st i, .cos a:focus-visible .st i { opacity: 1; transform: none; }
.rail a span { position: absolute; right: 56px; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); opacity: 0; transform: translateX(6px); transition: opacity .35s, transform .4s var(--out); pointer-events: none; }
.rail a:hover span { opacity: .85; transform: none; }
.menu a.on { color: var(--blue-hi); }
.menu li { overflow: hidden; }
.menu li a { transform: translateY(100%); transition: transform .8s var(--out), color .3s; }
body.menu-open .menu li a { transform: none; }
body.menu-open .menu li:nth-child(2) a { transition-delay: .04s; } body.menu-open .menu li:nth-child(3) a { transition-delay: .08s; }
body.menu-open .menu li:nth-child(4) a { transition-delay: .12s; } body.menu-open .menu li:nth-child(5) a { transition-delay: .16s; }
body.menu-open .menu li:nth-child(6) a { transition-delay: .2s; } body.menu-open .menu li:nth-child(7) a { transition-delay: .24s; }
body.menu-open .menu li:nth-child(8) a { transition-delay: .28s; } body.menu-open .menu li:nth-child(9) a { transition-delay: .32s; }
.menu a { font-size: clamp(28px, 4.2vw, 56px); }
::selection { background: var(--blue); color: #fff; }
.bg img, .bg video, .pic img { will-change: transform; }

.bar { transition: transform .6s var(--out); }
body.bar-hide .bar { transform: translateY(-110%); }
.endmark img { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); transition: opacity .6s; }
.endmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.endmark.live canvas { opacity: 1; }
.endmark.live img { opacity: 0; }

/* the wordmark is set as text so its typeface can differ from the page */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ivory); line-height: 1; transition: color .5s; }
.wordmark b { font: 700 clamp(19px, 1.55vw, 23px)/1 var(--logo); letter-spacing: .26em; margin-right: -.26em; }
.wordmark small { font: 600 clamp(8px, .6vw, 9px)/1 var(--logo); letter-spacing: .74em; margin-top: 8px; padding-top: 7px; border-top: 1px solid currentColor; align-self: stretch; color: var(--sky); transition: color .5s; }
body[data-tone="light"] .wordmark { color: var(--ink); }
body[data-tone="light"] .wordmark small { color: var(--blue); }
body.menu-open .wordmark { color: var(--ivory); }
body.menu-open .wordmark small { color: var(--sky); }
@media (max-width: 899px) { body[data-tone="light"] .wordmark { color: var(--ivory); } body[data-tone="light"] .wordmark small { color: var(--sky); } }
.logo.wordmark { width: auto; }

/* the modern faces sit a little tighter than the old serif */
h1 { letter-spacing: -.035em; line-height: 1.02; }
.menu a, .cos b, .facts dd, .contact .mail a { font-family: var(--serif); letter-spacing: -.02em; }
.endmark { width: clamp(84px, 6.6vw, 108px); aspect-ratio: auto; }
.endmark img { position: static; width: 100%; height: auto; transform: none; display: block; }
