@font-face {
  font-family: Geist;
  src: url("./fonts/Geist-Variable.woff2") format("woff2");
  font-display: swap;
}
* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --page: #070910;
  --ink: #f6f7fc;
  --muted: #bdc2d2;
  --line: #2e3449;
}
:root.light {
  color-scheme: light;
  --page: #eaf1ff;
  --ink: #101a32;
  --muted: #40516e;
  --line: #a8b7d3;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 100% 78%, #300d7a55, transparent 25%), var(--page);
  font: 15px/1.4 Geist, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #37bfff; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: 90%; max-width: 1560px; margin-inline: auto; }
.hero {
  position: relative;
  height: clamp(450px, 31.9vw, 560px);
  color: #f6f8fd;
  background: linear-gradient(0deg, var(--page), transparent 5%), url("hero.png") center / 100% 100% no-repeat, #030917;
}
.masthead { position: relative; height: 71px; display: flex; align-items: center; gap: 43px; z-index: 1; }
.logo { font-size: 26px; font-weight: 730; letter-spacing: .24em; margin-right: auto; }
.masthead nav { display: flex; gap: clamp(16px, 2.8vw, 43px); text-transform: uppercase; font-size: 13px; }
.masthead nav a:hover, .quick a:hover { color: #56d5ff; }
.theme {
  width: 62px; height: 29px; padding: 0; display: flex; align-items: center;
  color: #fff1df; background: #0712298c; border: 1px solid #6479ab; border-radius: 50px;
}
.theme span { width: 30px; font-size: 27px; line-height: 1; text-shadow: 0 0 12px #ffba93; }
.light .theme span { margin-left: auto; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene a { pointer-events: auto; }
.intro { position: absolute; left: 0; top: 23%; padding-left: clamp(18px, 2.95vw, 46px); border-left: 1px solid #7985aa55; }
.eyebrow { margin: 0 0 18px; color: #929db9; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
h1 { margin: 0; font-size: clamp(43px, 4.2vw, 76px); line-height: .96; letter-spacing: -.045em; font-weight: 730; }
h1 span { color: #1eafff; background: linear-gradient(100deg, #15aaff, #1ce0ed 65%, #7786ff); background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px #0966ff99); }
.lead { margin: 13px 0 24px; font-size: clamp(16px, 1.24vw, 21px); line-height: 1.28; color: #e6e8f4; }
.actions, .quick { display: flex; align-items: center; gap: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 45px; padding: 0 32px; border: 1px solid #6c75af; border-radius: 17px;
  color: #e8eeff; background: #070d24a8; font-size: 13px; text-transform: uppercase; white-space: nowrap;
}
.button:hover { border-color: #61cfff; }
.neon { background: linear-gradient(115deg, #277bea, #007eea 54%, #00c9f4); border-color: #4bdaff; box-shadow: 0 0 20px #087bff85, inset 0 0 13px #9edbff65; min-width: 197px; color: #fff; }
.quick { margin: 22px 0 0 4px; gap: 26px; color: #b5d7ff; }
.quick svg { width: 22px; height: 22px; }
.terminal {
  position: absolute; right: 6.4%; top: 34%; width: 184px; padding: 18px 20px;
  border: 1px solid #6277b359; border-radius: 11px; background: #061330bc;
  color: #e0e8ff; font: 14px/1.55 "Cascadia Mono", monospace; box-shadow: 0 0 36px #145cff34;
}
.terminal strong { display: block; font-size: 12px; margin-bottom: 14px; }
.terminal div span { color: #819ee4; }
.coordinates { position: absolute; right: 0; bottom: 8%; margin: 0; padding-left: 16px; border-left: 1px solid #6898e26a; text-transform: uppercase; color: #b9c9ef; font: 10px/1.5 monospace; }
main { padding: 10px 0 44px; }
.section-line { display: flex; align-items: center; gap: 24px; margin-bottom: 15px; }
.section-line::after { content: ""; background: var(--line); height: 1px; flex: 1; order: 1; }
.section-line > span { color: #8394ce; border: 1px solid #5163a2; border-radius: 6px; padding: 0 3px; font: 11px/13px monospace; }
.section-line h2, .section-line a { margin: 0; font-size: 13px; font-weight: 520; text-transform: uppercase; white-space: nowrap; }
.section-line a { order: 2; display: flex; gap: 8px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  display: block; isolation: isolate; height: clamp(220px, 15.95vw, 275px); position: relative; overflow: hidden;
  border: 1px solid #6677a66e; border-radius: 11px; background: #080d19; color: #fff; text-align: left;
}
.art, .card::after { position: absolute; inset: 0; z-index: -1; }
.art { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card::after { content: ""; background: linear-gradient(0deg, #05070e 4%, #05070eea 26%, #05070e24 77%); }
.card:hover { border-color: #7bbdff; }
.card:hover .art { transform: scale(1.04); }
.number { position: absolute; top: 10px; left: 14px; }
.play { position: absolute; top: 42%; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c5b7f6; border-radius: 50%; background: #11132992; font-size: 13px; }
.copy { display: grid; gap: 3px; position: absolute; bottom: 13px; left: 19px; right: 12px; }
.copy strong { font-size: 22px; line-height: 1.1; letter-spacing: -.035em; text-transform: uppercase; }
.copy > span:not(.tags) { max-width: 27ch; min-height: 2.7em; line-height: 1.32; color: #e6e7ef; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags b { padding: 4px 10px; border-radius: 8px; background: #182236; font-size: 10px; font-weight: 530; line-height: 1.2; text-transform: uppercase; }
.tags b:first-child { background: var(--accent, #d13d11); }
.card:nth-child(2) { --accent: #5718ce; }
.card:nth-child(3) { --accent: #0c58dc; }
.card:nth-child(4) { --accent: #ba185c; }
.lower { display: grid; grid-template-columns: 1.5fr 1.32fr 1fr; gap: clamp(24px, 3.2vw, 55px); margin-top: 27px; }
.about-content, .lab-content { display: grid; grid-template-columns: .45fr 1fr; align-items: center; gap: clamp(12px, 1.7vw, 27px); }
.lab-content { grid-template-columns: 1.22fr 1fr; }
.monogram, .lab-art { height: 135px; display: grid; place-items: center; overflow: hidden; border: 1px solid #5b6191a8; border-radius: 10px; }
.monogram { display: flex; align-items: center; justify-content: center; background: radial-gradient(at 20% 100%, #443df0, #101d46 55%, #070a16); color: #fff; font-size: 56px; font-weight: 750; }
.monogram span { color: #21b4ff; }
.lab-art { padding: 0; background: #070d22; }
.lab-art img { width: 100%; height: 100%; object-fit: cover; }
.lower h3 { margin: 0 0 2px; font-size: 18px; }
.lower p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.48; }
.small { min-height: 33px; padding: 0 15px; border-radius: 11px; font-size: 11px; }
.small svg { width: 14px; height: 14px; }
.contact-links { display: grid; gap: 8px; }
.contact-links > * { display: grid; grid-template-columns: 24px 1fr 18px; gap: 18px; align-items: center; padding: 3px 0; border: 0; background: none; text-align: left; }
.contact-links svg:first-child { width: 22px; height: 22px; color: #b394e5; }
.contact-links > *:hover, .section-line a:hover { color: #3097ef; }
@media (max-width: 1050px) {
  .terminal { right: 1%; }
  .lower { grid-template-columns: 1fr 1fr; }
  .cards { gap: 12px; }
  .copy { left: 12px; }
  .tags b { padding-inline: 6px; }
}
@media (max-width: 760px) {
  .masthead { height: 62px; gap: 14px; }
  .masthead nav { gap: 12px; font-size: 10px; }
  .logo { font-size: 18px; }
  .theme { width: 35px; flex-shrink: 0; }
  .hero { height: 470px; background-size: auto, cover; background-position: center, 63% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #020614e8, #02061475 72%, transparent); }
  .intro { top: 24%; }
  .intro h1 { font-size: clamp(34px, 8vw, 55px); }
  .terminal, .coordinates, .wide { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lower { grid-template-columns: 1fr; }
  .section-line { gap: 10px; }
  .button { padding-inline: 17px; }
  .neon { min-width: auto; }
}
@media (max-width: 390px) {
  .masthead { gap: 9px; }
  .masthead nav { gap: 8px; }
  .card { height: 205px; }
  .copy strong { font-size: 17px; }
  .copy > span:not(.tags) { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art { transition: none; }
}


.work-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-dialog {
  width: min(900px, 92vw); padding: 18px; border: 1px solid #52618d;
  border-radius: 14px; background: #0c1224; color: #fff;
}
.work-dialog::backdrop { background: #020512dc; backdrop-filter: blur(7px); }
.work-dialog header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.work-dialog h2 { margin: 0; }
.work-dialog button { border: 1px solid #607098; border-radius: 8px; font-size: 24px; background: transparent; width: 36px; }
.work-dialog video { display: block; width: 100%; max-height: 72vh; background: #000; }


.card[hidden] { display: none; }
.all-films {
  order: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none; font-size: 13px;
  white-space: nowrap; text-transform: uppercase;
}
.all-films:hover, .original-post:hover { color: #68c8ff; }
.original-post { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
@media (max-width: 420px) {
  .all-films { font-size: 11px; gap: 4px; }
}

