@font-face {
  font-family: "Bebas Neue";
  src: url("./bebasneue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("./cormorantgaramond.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("./spacegrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: #0b101d;
  --elevated: #111829;
  --line: #ffffff1c;
  --accent: #00bfff;
  --blue: #2563eb;
  --text: #f8fafc;
  --muted: #94a3b8;
  --display: "Cormorant Garamond", Georgia, serif;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 15px/1.65 var(--body); background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 10px auto auto 10px; padding: 8px 16px; background: var(--elevated); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: #070a13; }
.header-inner, .footer-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; font: 650 18px var(--head); letter-spacing: -.025em; white-space: nowrap; }
.domain, .hero h1 span, .text-link span, nav span, .footer-inner a span { color: var(--accent); }
.mark { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 11px; border: 1px solid #00bfff66; border-radius: 7px; color: var(--accent); font: 18px var(--body); }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 39px); font-size: 13px; font-weight: 550; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 75% 43%, #0e2550 0%, #0b1327 33%, transparent 69%), linear-gradient(119deg, #090b16, #070b15); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .24; background: repeating-linear-gradient(0deg, transparent 0 3px, #a5ccff11 3px 4px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.03fr; min-height: 522px; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding-block: 65px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: #a9dcef; font: 600 11px var(--head); letter-spacing: .22em; }
.signal { width: 7px; height: 7px; border-radius: 100%; background: var(--accent); box-shadow: 0 0 14px #00bfffa0; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(70px, 7.6vw, 114px); }
.intro { max-width: 385px; color: #b5c2d6; margin: 22px 0 25px; font-size: clamp(15px, 1.5vw, 17px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; gap: 15px; align-items: center; padding: 11px 16px; border: 1px solid var(--line); min-height: 44px; border-radius: 6px; font-weight: 650; font-size: 13px; }
.button.primary { background: #082439; border-color: #00bfff80; color: #e2f6ff; }
.button.primary span { color: #39d4ff; }
.button.primary:hover, .button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.button.secondary { color: #d3deed; background: #0a1222; }
.hero-visual { position: relative; margin: 0 -22px 0 -20px; }
.hero-visual canvas { display: block; width: 100%; height: auto; }
.project-section { padding-block: 57px 37px; }
.section-heading { display: flex; gap: 20px; justify-content: space-between; align-items: end; margin-bottom: 24px; }
h2 { font: 400 clamp(37px, 4.4vw, 59px)/1 "Bebas Neue", "Arial Narrow", Impact, sans-serif; letter-spacing: .015em; }
.section-heading p { color: var(--muted); margin: 10px 0 0; }
.text-link { flex-shrink: 0; font-size: 13px; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 19px; }
.filters button { padding: 6px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: #b7c4d8; cursor: pointer; font-size: 12px; }
.filters button:is(:hover, [aria-pressed="true"]) { border-color: #00bfff75; color: #bef0ff; background: #0b2133; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project { display: flex; flex-direction: column; padding: 21px; min-height: 213px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(145deg, #101a2e, var(--surface) 68%); }
.project:hover { border-color: #00bfff65; }
.project-top { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.project-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: #64ddff; border: 1px solid #00bfff48; border-radius: 7px; background: #0c2335; font-size: 24px; position: relative; }
.project-icon.code { font: 14px ui-monospace, monospace; }
.layers::before, .layers::after { content: ""; width: 13px; height: 10px; position: absolute; border: 1px solid currentColor; transform: rotate(-27deg) skew(24deg); }
.layers::before { top: 10px; background: #0c2335; z-index: 1; }
.layers::after { top: 15px; }
.project-type { color: #a3b7d0; font: 600 10px var(--head); letter-spacing: .10em; text-align: right; }
.project h3 { margin: 14px 0 5px; font: 650 23px/1.2 var(--head); letter-spacing: -.035em; }
.project p { color: #aab8cb; margin: 0 0 17px; font-size: 13px; }
.project a { width: fit-content; margin-top: auto; color: #8fe4ff; font-size: 12px; font-weight: 650; }
.project a:hover { text-decoration: underline; text-underline-offset: 4px; }
.notes-section { padding-block: 33px 68px; }
.notes-list { margin-top: 22px; border-top: 1px solid var(--line); }
.notes-list a { display: flex; justify-content: space-between; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); padding: 14px 4px; }
.notes-list strong { display: block; font: 600 18px var(--head); }
.notes-list small { color: var(--muted); }
.notes-list a > span:last-child { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { font-size: 13px; color: #aab8cb; }
@media (max-width: 970px) {
  .shell { width: calc(100% - 52px); }
  h1 { font-size: clamp(62px, 9vw, 90px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 13px; min-height: 0; }
  nav { gap: 15px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 47px 0 0; }
  h1 { font-size: clamp(54px, 12.5vw, 84px); }
  .hero-visual { width: min(100%, 415px); margin: -10px auto -16px; }
  .project-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; gap: 9px; }
  .project-section { padding-top: 42px; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button, .project { transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease; }
}

