/* Inter Tight (SIL Open Font License 1.1), variable weight 400 to 800, self-hosted. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-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: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-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;
}
/* lejacob.dev v3 */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --fg: #f4f3ef;
  --dim: #8d8c88;
  --line: rgba(255, 255, 255, .09);
  --hg: #34d37a;
  --ath: #8f7bff;
  --paper: #f1eee7;
  --paper-ink: #1c1b18;
  --pad: clamp(20px, 3.2vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(16px, 1.05vw + 8px, 19px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 6px; }

/* Film grain over everything, very faint */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; inset: 0 0 auto 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad);
  color: #fff; font-size: 15px; font-weight: 500;
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.solid { background: rgba(10, 10, 11, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav.away { transform: translateY(-100%); }
.nav:focus-within { transform: none; }
.skip { position: fixed; z-index: 200; left: 16px; top: 16px; padding: 12px 18px; border-radius: 99px; background: #fff; color: #000; font-weight: 600; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a { position: relative; }
.nav nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 9px 16px; border-radius: 99px; background: #fff; color: #000; transition: transform .3s var(--ease); }
.nav-cta:hover { transform: scale(1.05); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 99px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--fg); color: #000; }
.btn-dark { background: var(--paper-ink); color: var(--paper); }
.btn-store { background: #fff; color: #000; height: 60px; padding: 0 24px 0 20px; gap: 12px; }
.btn-store svg { width: 24px; height: 28px; margin-top: -3px; }
.btn-store span { display: grid; line-height: 1.05; font-size: 20px; letter-spacing: -0.02em; }
.btn-store small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.link { font-weight: 500; color: var(--dim); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.link:hover { color: var(--fg); background-size: 100% 1px; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.motion .hero { height: 260vh; }
.hero-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.motion .hero-pin { position: sticky; top: 0; }
.hero-title {
  position: absolute; left: var(--pad); right: var(--pad); top: 13vh; z-index: 1;
  display: flex; flex-direction: column;
  font-size: clamp(64px, 14vw, 280px); font-weight: 800; line-height: .82; letter-spacing: -0.065em;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.word { display: inline-block; will-change: transform; }
.hero-title .line:last-child { align-self: flex-end; }
.hero-title { top: 9vh; }
.hero-meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 15px; font-weight: 500; color: var(--dim); line-height: 1.35;
}
.hero-scroll { display: flex; align-items: center; gap: 10px; }
.hero-scroll::after { content: ""; width: 1px; height: 36px; background: var(--dim); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-photo {
  position: absolute; z-index: 2;
  left: 50%; top: 52%; width: min(25vw, 360px); aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%);
  border-radius: var(--radius); overflow: hidden;
  max-width: none;
  will-change: width, height, border-radius;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; will-change: transform; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); opacity: var(--scrim, 0); }
.hero-over {
  position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 8vh;
  font-size: clamp(34px, 5.4vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -0.045em;
  max-width: 13ch; color: #fff;
}
.motion .hero-over { opacity: 0; }
html:not(.motion) .hero-pin { height: auto; padding: 110px var(--pad) 72px; display: flex; flex-direction: column; gap: 48px; }
html:not(.motion) .hero-title, html:not(.motion) .hero-meta, html:not(.motion) .hero-over { position: static; }
html:not(.motion) .hero-photo { position: relative; left: auto; top: auto; transform: none; width: min(440px, 100%); }
html:not(.motion) .hero-over { color: var(--fg); max-width: 16ch; }
html:not(.motion) .hero-scroll { display: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 4vh 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  display: flex; align-items: center; gap: 4vw; padding-right: 4vw;
  font-size: clamp(40px, 6vw, 110px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
}
.marquee span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--dim); }
.marquee span:nth-child(7n+1) { color: var(--hg); }
.marquee span:nth-child(7n+2) { color: var(--ath); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding: clamp(120px, 18vh, 220px) var(--pad); }
.say {
  max-width: 19ch;
  font-size: clamp(36px, 5.6vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.05em;
}
.say .w { display: inline-block; }
.live { margin: clamp(100px, 16vh, 180px) 0 0 auto; max-width: 760px; }
.live h2 { font-size: 15px; font-weight: 500; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.live h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hg); box-shadow: 0 0 0 0 rgba(52,211,122,.6); animation: beat 2s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 10px rgba(52,211,122,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,122,0); } }
.live-note { margin-top: 6px; font-size: 15px; color: var(--dim); }
.live-list { margin-top: 28px; border-top: 1px solid var(--line); }
.live-list a {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "k p"; column-gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.live-list a:hover { padding-left: 18px; }
.ln { grid-area: n; font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.lk { grid-area: k; color: var(--dim); font-size: 15px; margin-top: 4px; }
.lp { grid-area: p; align-self: center; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 500; }
.lp i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.lp.on i { background: var(--hg); box-shadow: 0 0 10px var(--hg); }
.lp.off { color: #ff7a59; }

/* ---------- Projects ---------- */
.project { position: relative; }
.p-head { position: relative; z-index: 3; padding: 15vh var(--pad) 0; }
.p-index { font-size: 15px; font-weight: 500; color: var(--dim); margin-bottom: 18px; }
.p-title { font-size: clamp(56px, 12vw, 230px); font-weight: 800; line-height: .84; letter-spacing: -0.065em; }
.p-title span { display: inline-block; }
.p-title-sm { font-size: clamp(44px, 6.4vw, 110px); }
.glow { position: absolute; z-index: 0; pointer-events: none; width: 90vw; height: 90vw; max-width: 1400px; max-height: 1400px; left: 50%; top: 60%; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(40px); opacity: .55; }
.glow-hg { background: radial-gradient(closest-side, rgba(52,211,122,.32), rgba(52,211,122,0)); }
.glow-ath { background: radial-gradient(closest-side, rgba(143,123,255,.34), rgba(143,123,255,0)); }

.p-body {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px);
  padding: 10vh var(--pad) clamp(120px, 20vh, 220px);
}
.p-copy { max-width: 36rem; }
.p-copy > p + p { margin-top: 1em; }
.p-copy > p:not(.p-lead) { color: #c9c8c3; }
.p-lead { font-size: clamp(28px, 3vw, 46px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 28px !important; color: var(--fg); }
.p-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.stats { align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--bg); padding: 26px 24px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stats dt { font-size: 14px; color: var(--dim); }
.stats dd { font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stats-big dd { font-size: clamp(40px, 4.4vw, 72px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.stats-big dd.small { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

/* Hunting Game */
.hg { background: #050806; }
.hg .stats div { background: #050806; }
.hg-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.motion .hg { --pin: 1; }
.fan {
  --w: min(15vw, 24vh, 280px);
  position: absolute; z-index: 2; left: 50%; bottom: 5vh; width: var(--w); height: calc(var(--w) * 2.08);
  transform: translateX(-50%);
}
.ph { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.ph img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.ph[data-i="1"] { z-index: 4; }
.ph[data-i="2"] { z-index: 3; }
.ph[data-i="0"] { z-index: 2; }
.ph[data-i="3"] { z-index: 1; }
html:not(.motion) .hg-pin { height: auto; }
html:not(.motion) .fan { position: relative; left: auto; bottom: auto; transform: none; width: auto; height: auto; display: flex; justify-content: center; gap: 2vw; padding: 8vh var(--pad) 0; }
html:not(.motion) .ph { position: relative; width: min(20vw, 260px); }

/* AthleteOS */
.ath { background: #07060c; }
.ath .stats div { background: #07060c; }
.ath-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.ath-stage { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6vh; perspective: 1800px; }
.board { width: min(64vw, 980px, 84vh); margin: 0 auto; transform-origin: 50% 100%; will-change: transform; }
.board img { width: 100%; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -20px rgba(0,0,0,.8), 0 0 120px rgba(143,123,255,.18); }
.dev { position: absolute; bottom: -2vh; width: min(14vw, 23vh, 230px); padding: 6px; border-radius: 34px; background: #1b1922; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px rgba(0,0,0,.7); will-change: transform; }
.dev img { border-radius: 28px; }
.dev-l { left: calc(50% - min(32vw, 490px, 42vh) - min(6vw, 90px)); }
.dev-r { right: calc(50% - min(32vw, 490px, 42vh) - min(6vw, 90px)); }
html:not(.motion) .ath-pin { height: auto; padding-bottom: 20vh; }
html:not(.motion) .ath-stage { position: relative; bottom: auto; margin-top: 8vh; }

/* ak-schubert.com */
.ak { background: var(--paper); color: var(--paper-ink); }
.ak .p-index { color: #625d53; }
.ak-pin { position: relative; }
.motion .ak-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.ak-track { display: flex; align-items: center; gap: 5vw; padding: 0 var(--pad); will-change: transform; }
.ak-intro { flex: none; width: min(34rem, 84vw); }
.ak-intro > p:not(.p-index):not(.p-lead) { color: #4a473f; }
.ak .p-lead { color: var(--paper-ink); margin-top: 28px; font-size: clamp(24px, 2.2vw, 34px); }
.shot { flex: none; height: 62vh; }
.shot img { height: calc(100% - 34px); width: auto; max-width: none; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 70px -20px rgba(40,30,10,.35); }
.shot-phone { height: 74vh; }
.shot-phone img { border-radius: 30px; }
.shot figcaption { margin-top: 12px; font-size: 14px; font-weight: 500; color: #625d53; }
html:not(.motion) .ak-track { flex-wrap: wrap; padding: 16vh var(--pad); }
html:not(.motion) .shot { height: auto; width: min(100%, 720px); }
html:not(.motion) .shot img { height: auto; width: 100%; }
html:not(.motion) .shot-phone { width: min(100%, 320px); }
html:not(.motion):not(.still) .nav { background: rgba(10, 10, 11, .85); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 140px);
  padding: clamp(120px, 20vh, 240px) var(--pad); align-items: center;
}
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: 125%; object-fit: cover; object-position: 55% 18%; will-change: transform; }
.about-title { font-size: clamp(48px, 7vw, 132px); font-weight: 800; letter-spacing: -0.06em; line-height: .88; margin-bottom: 40px; }
.about-copy > div > p { color: #c9c8c3; max-width: 34rem; }
.about-copy > div > p + p { margin-top: 1em; }
.do { margin-top: 56px; border-top: 1px solid var(--line); }
.do li { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.do li span:first-child { font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; }
.do li span:last-child { color: var(--dim); text-align: right; font-size: 15px; align-self: center; }

/* ---------- Contact ---------- */
.contact { padding: clamp(120px, 22vh, 260px) var(--pad) clamp(80px, 14vh, 160px); text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(52,211,122,.14), rgba(143,123,255,.08) 55%, transparent); pointer-events: none; }
.contact-title { position: relative; font-size: clamp(56px, 11vw, 220px); font-weight: 800; letter-spacing: -0.065em; line-height: .86; }
.contact-title .line + .line { color: var(--dim); }
.mail {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  margin-top: clamp(48px, 8vh, 96px); height: clamp(64px, 7vw, 96px); padding: 0 clamp(28px, 3vw, 48px); border-radius: 99px;
  background: var(--fg); color: #000; font-size: clamp(20px, 2vw, 32px); font-weight: 600; letter-spacing: -0.03em;
  transition: background-color .3s;
}
.mail span { display: inline-block; }
.mail:hover { background: #fff; }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px var(--pad) 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a:hover { color: var(--fg); }

/* ---------- Entrance (set by script) ---------- */
.motion [data-up] > * { opacity: 0; transform: translateY(40px); }

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  .nav nav a[href="#about"] { display: none; }
  .nav { font-size: 14px; }
  .hero-title { top: 12vh; font-size: 21vw; }
  .hero-photo { width: 52vw; top: 58%; }
  .hero-meta { font-size: 13px; }
  .hero-over { font-size: 40px; bottom: 10vh; }
  .say { font-size: 38px; }
  .live { margin-top: 90px; }
  .p-head { padding-top: 13vh; }
  .p-title { font-size: 18vw; }
  .fan { --w: 21vw; bottom: 12vh; }
  .p-body, .about { grid-template-columns: 1fr; }
  .p-body { padding-top: 8vh; }
  .stats div { min-height: 112px; padding: 20px 18px; }
  .board { width: 92vw; }
  .dev { width: 26vw; border-radius: 20px; padding: 4px; }
  .dev img { border-radius: 16px; }
  .dev-l { left: 3vw; }
  .dev-r { right: 3vw; }
  .shot { height: 30vh; }
  .shot-phone { height: 58vh; }
  .do li { flex-direction: column; gap: 4px; }
  .do li span:last-child { text-align: left; }
  .contact-title { font-size: 15vw; }
  .mail { font-size: 19px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .hero-scroll::after { animation: none; }
}
