:root {
  --night: #17152f;
  --night-2: #211d43;
  --purple: #8b70ff;
  --purple-light: #b9aaff;
  --coral: #ff806c;
  --gold: #ffd166;
  --ink: #f8f6ff;
  --muted: #aaa5c4;
  --line: rgba(226, 219, 255, .16);
  --mono: "DM Mono", monospace;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--night); color: var(--ink); font-family: var(--body);
}
button, a { font: inherit; }
.ambient { position: fixed; z-index: 0; pointer-events: none; filter: blur(90px); opacity: .28; border-radius: 50%; }
.ambient-one { width: 390px; height: 390px; background: #6845e8; top: 8%; right: -130px; }
.ambient-two { width: 320px; height: 320px; background: #f36d79; bottom: 2%; left: -160px; opacity: .14; }
.grain { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .075; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.shell { position: relative; z-index: 1; width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--display); letter-spacing: .12em; font-size: 12px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(185,170,255,.6); color: var(--purple-light); border-radius: 10px; font-weight: 700; letter-spacing: -.06em; }
.topbar-status, .eyebrow, .micro-label, .fine-print, .hero-footer, .section-tag, .file-card-top, .file-card-bottom { font-family: var(--mono); letter-spacing: .12em; font-size: 9px; }
.topbar-status { color: #c3bddc; display: flex; gap: 9px; align-items: center; }
.topbar-status i { width: 7px; height: 7px; border-radius: 50%; background: #72e0b0; box-shadow: 0 0 12px #72e0b0; }
.hero { min-height: 690px; padding: 48px 0 22px; display: flex; flex-direction: column; }
.eyebrow { color: var(--purple-light); display: flex; align-items: center; gap: 12px; }
.eyebrow-line { display: inline-block; width: 25px; height: 1px; background: var(--coral); }
.case-number { color: var(--muted); margin-left: 12px; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 40px; padding: 36px 0 55px; }
.kicker { color: var(--coral); font: 500 10px var(--mono); letter-spacing: .16em; margin: 0 0 18px; }
h1, h2 { font-family: var(--display); letter-spacing: -.065em; line-height: .98; margin: 0; }
h1 { font-size: clamp(58px, 7.3vw, 94px); }
h1 span, h2 span { color: var(--purple-light); }
.intro { color: #c2bdd6; max-width: 440px; line-height: 1.8; font-size: 14px; margin: 24px 0 28px; }
.subject-strip { display: flex; align-items: center; gap: 13px; padding: 13px 15px; width: min(100%, 360px); border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--night); font: 700 20px var(--display); background: linear-gradient(135deg,var(--gold),var(--coral)); }
.subject-strip > div:nth-child(2) { display: grid; gap: 5px; }
.micro-label { color: var(--muted); font-size: 8px; }
.subject-strip strong { font: 600 13px var(--display); letter-spacing: .1em; }
.subject-age { margin-left: auto; display: grid; text-align: right; }
.subject-age strong { font: 700 25px var(--display); color: var(--gold); }
.subject-age span { color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
.primary-button { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 35px; border: 0; border-radius: 10px; padding: 16px 18px; color: #211638; background: linear-gradient(100deg,var(--gold),#ff9b79); font: 700 11px var(--mono); letter-spacing: .09em; cursor: pointer; box-shadow: 0 10px 35px rgba(255,128,108,.17); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,128,108,.28); }
.button-arrow { font-size: 18px; }
.fine-print { color: #817b9e; font-size: 8px; margin-top: 12px; }
.file-art { min-height: 430px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(185,170,255,.17); border-radius: 50%; transform: rotate(-20deg); }
.orbit-a { width: 390px; height: 300px; }
.orbit-b { width: 310px; height: 420px; transform: rotate(38deg); border-color: rgba(255,128,108,.18); }
.file-card { width: 260px; min-height: 340px; padding: 17px; position: relative; z-index: 2; transform: rotate(4deg); border: 1px solid rgba(255,255,255,.3); border-radius: 7px; color: #241d46; background: linear-gradient(145deg,#e7dcff,#c8b8ff 58%,#ffcfaa); box-shadow: 22px 25px 70px rgba(0,0,0,.38); }
.file-card-top { display: flex; justify-content: space-between; color: #594a82; font-size: 8px; border-bottom: 1px solid rgba(36,29,70,.2); padding-bottom: 12px; }
.file-stamp { position: absolute; top: 75px; right: 15px; border: 2px solid #f06d67; color: #e45d5d; font: 700 12px var(--mono); line-height: 1.15; padding: 5px 7px; transform: rotate(12deg); opacity: .85; }
.file-silhouette { width: 132px; height: 145px; margin: 42px auto 27px; border-radius: 70px 70px 25px 25px; display: grid; place-items: center; background: linear-gradient(150deg,#8a70d9,#5e4ca6); box-shadow: inset 0 0 0 7px rgba(255,255,255,.12); }
.file-silhouette span { font: 700 68px var(--display); color: #fff; opacity: .9; }
.file-card-bottom { display: grid; gap: 7px; color: #51466f; font-size: 8px; border-top: 1px solid rgba(36,29,70,.2); padding-top: 12px; }
.floating-note { position: absolute; z-index: 3; background: #fff0b9; color: #48385f; padding: 11px 13px; font: 9px/1.5 var(--mono); letter-spacing: .08em; box-shadow: 0 10px 25px rgba(0,0,0,.2); transform: rotate(-8deg); }
.floating-note b { font-size: 11px; }
.note-left { left: 0; top: 90px; }
.note-right { right: 2px; bottom: 80px; background: #ffad9c; transform: rotate(7deg); }
.spark { position: absolute; color: var(--gold); font-size: 27px; }
.spark-one { top: 55px; right: 50px; }
.spark-two { bottom: 45px; left: 65px; color: var(--coral); font-size: 35px; }
.hero-footer { display: flex; justify-content: space-between; gap: 15px; color: #77718f; font-size: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.scroll-hint { color: var(--purple-light); }
.briefing { padding: 85px 0 100px; border-top: 1px solid var(--line); }
.section-tag { color: var(--purple-light); margin-bottom: 20px; }
.briefing-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border: 1px solid var(--line); border-radius: 20px; padding: clamp(25px,5vw,55px); background: linear-gradient(120deg,rgba(139,112,255,.12),rgba(255,128,108,.045)); }
h2 { font-size: clamp(42px,5vw,62px); }
.briefing-text { color: #c2bdd6; font-size: 14px; line-height: 1.9; }
.briefing-text p:first-child { margin-top: 0; }
.briefing-text .muted { color: var(--coral); font-family: var(--mono); font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 35px; display: flex; justify-content: space-between; gap: 15px; color: #77718f; font: 8px var(--mono); letter-spacing: .1em; }
.toast { position: fixed; z-index: 10; bottom: 25px; left: 50%; transform: translate(-50%,20px); opacity: 0; pointer-events: none; background: #fff0b9; color: #241d46; padding: 12px 18px; border-radius: 10px; font: 11px var(--mono); transition: .25s; box-shadow: 0 10px 35px #0005; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 560px); }
  .topbar { height: 70px; }
  .topbar-status { font-size: 8px; }
  .hero { min-height: auto; padding-top: 34px; }
  .eyebrow { font-size: 8px; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; padding: 38px 0 35px; }
  h1 { font-size: clamp(57px, 15vw, 82px); }
  .intro { font-size: 13px; }
  .file-art { min-height: 390px; margin-top: 5px; }
  .file-card { width: 235px; min-height: 315px; }
  .file-silhouette { width: 118px; height: 132px; }
  .orbit-a { width: 320px; height: 270px; }
  .orbit-b { width: 270px; height: 360px; }
  .note-left { left: 0; top: 75px; }
  .note-right { right: 0; bottom: 65px; }
  .hero-footer { flex-wrap: wrap; line-height: 1.7; }
  .scroll-hint { width: 100%; }
  .briefing { padding: 55px 0 65px; }
  .briefing-card { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { flex-direction: column; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
