:root {
  --bg: #080507;
  --panel: rgba(19, 10, 16, .64);
  --panel-solid: #140a11;
  --text: #f7f3f5;
  --muted: #a9949f;
  --line: rgba(255, 255, 255, .12);
  --red: #ff315f;
  --hot: #ff174f;
  --pink: #ff4ca1;
  --violet: #9a43ff;
  --mono: "DM Mono", monospace;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; 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='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-aura { position: fixed; z-index: 2; width: 28rem; height: 28rem; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,23,79,.12), transparent 68%); transition: left .12s linear, top .12s linear; }
.scroll-progress { position: fixed; z-index: 55; top: 0; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,.05); }
.scroll-progress i { display: block; height: 100%; width: calc(var(--page-progress, 0) * 1%); background: linear-gradient(90deg, var(--red), var(--pink)); box-shadow: 0 0 12px var(--red); }

.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1.2rem; background: #080507; transition: opacity .7s ease, visibility .7s ease; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { font-size: 4.4rem; font-weight: 800; letter-spacing: -.12em; }
.loader-mark span { color: var(--red); font-size: 1.1rem; }
.loader p { margin: 0; color: var(--muted); font: .65rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.loader-line { width: 180px; height: 1px; overflow: hidden; background: rgba(255,255,255,.12); }
.loader-line i { display: block; width: 45%; height: 100%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: loading 1.15s ease-in-out infinite; }

.topbar { position: fixed; z-index: 60; top: 0; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 56px)); height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -.03em; }
.brand-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--hot), #8d1138); box-shadow: 0 0 20px rgba(255,23,79,.34); }
nav { display: flex; gap: 2.2rem; }
nav a { color: #c3b5bc; font: .68rem var(--mono); transition: color .25s; }
nav a:hover { color: #fff; }
.connect-pill { padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(12,8,11,.45); backdrop-filter: blur(12px); font: .67rem var(--mono); }
.connect-pill span { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-left: .45rem; border-radius: 50%; background: var(--red); }

.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: #090509; }
.hero-image { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.045); animation: heroDrift 10s ease-in-out infinite alternate; }
.hero-wash { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(6,3,5,.94) 0%, rgba(6,3,5,.42) 45%, rgba(6,3,5,.08) 72%), linear-gradient(0deg, rgba(8,5,7,.85), transparent 32%); }
.ambient-lines i { position: absolute; z-index: -2; top: 12%; bottom: 9%; width: 3px; background: linear-gradient(transparent, var(--red), transparent); filter: blur(1px); opacity: .7; animation: linePulse 2.8s ease-in-out infinite; }
.ambient-lines i:nth-child(1) { left: 6%; }
.ambient-lines i:nth-child(2) { right: 5%; animation-delay: -.8s; }
.ambient-lines i:nth-child(3) { right: 31%; width: 1px; opacity: .25; animation-delay: -1.5s; }
.hero-panel { position: absolute; inset: 16% 8% 9%; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,83,122,.45); background: linear-gradient(120deg, rgba(22,9,16,.72), rgba(45,13,26,.08) 48%, rgba(18,7,13,.02)); box-shadow: inset 0 0 50px rgba(255,23,79,.04), 0 0 45px rgba(255,23,79,.1); backdrop-filter: saturate(1.08); }
.hero-panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 20%, rgba(255,95,138,.3), transparent 44%); transform: translateX(-120%); animation: glassSweep 5s ease-in-out infinite 2s; }
.panel-topline { position: absolute; z-index: 2; top: 25px; left: 31px; right: 31px; display: flex; align-items: center; justify-content: space-between; }
.mini-brand { color: #d8c9d0; font: .62rem var(--mono); letter-spacing: .08em; }
.mini-brand span { color: var(--red); text-shadow: 0 0 12px var(--red); }
.availability { color: #ddd0d6; font: .62rem var(--mono); }
.availability i, .pulse, .status-pill i { display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.4s infinite; }
.hero-copy { position: absolute; z-index: 2; top: 20%; left: 5%; width: 42%; }
.kicker { margin: 0 0 .45rem; color: var(--red); font: 500 clamp(.75rem, 1vw, .95rem) var(--mono); }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 6.1vw, 7.4rem); line-height: .86; letter-spacing: -.08em; }
.hero h1 span, h2 span, .project h2 span { color: var(--red); text-shadow: 0 0 22px rgba(255,23,79,.32); }
.hero-statement { max-width: 410px; margin: 1.35rem 0 0; color: #beaeb6; font-size: clamp(.8rem, 1vw, 1rem); line-height: 1.6; }
.hero-statement strong { color: #fff; font-weight: 500; }
.hero-stat { position: absolute; z-index: 3; min-width: 142px; padding: 1rem 1.05rem; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(33,16,25,.56); backdrop-filter: blur(12px); box-shadow: 0 12px 30px rgba(0,0,0,.2); animation: float 4s ease-in-out infinite; }
.hero-stat span { display: block; color: #ab949f; font: .52rem var(--mono); }
.hero-stat strong { display: block; margin-top: .35rem; font-size: 1.65rem; letter-spacing: -.06em; }
.hero-stat i { position: absolute; right: .8rem; bottom: .75rem; color: var(--red); font-style: normal; }
.stat-one { top: 24%; right: 4%; }
.stat-two { top: 57%; right: 18%; animation-delay: -.8s; }
.stat-three { top: 62%; right: 4%; animation-delay: -1.6s; }
.stat-three strong { font-size: 1.2rem; letter-spacing: .03em; }
.hero-strip { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; height: 61px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,5,8,.48); }
.hero-strip a { display: flex; align-items: center; gap: .65rem; padding: 0 1.4rem; border-right: 1px solid rgba(255,255,255,.09); color: #c7b8bf; font: .61rem var(--mono); transition: background .25s, color .25s; }
.hero-strip a:hover { color: #fff; background: rgba(255,23,79,.1); }
.hero-strip b { color: var(--red); font-weight: 500; }
.hero-scroll-note { position: absolute; left: 8%; bottom: 3.2%; display: none; align-items: center; gap: .6rem; color: var(--muted); font: .57rem var(--mono); }
.hero-scroll-note span { width: 35px; height: 1px; background: var(--red); }

.live-band, .journey, .project, .research, .events, .contact { width: min(1180px, calc(100% - 56px)); margin: 0 auto; position: relative; z-index: 3; }
.live-band { min-height: 86vh; display: grid; align-content: center; grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 9rem 0; }
.live-line, .section-label { color: var(--red); font: .62rem var(--mono); letter-spacing: .1em; }
.live-band h2, .journey h2, .section-head h2, .contact h2 { margin: 1.3rem 0 0; font-size: clamp(3.2rem, 6.1vw, 7rem); line-height: .91; letter-spacing: -.075em; }
.live-band h2 em { color: var(--red); font-style: normal; }
.timer { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: space-between; padding: 2rem 0; border-block: 1px solid var(--line); }
.timer div { text-align: center; }
.timer strong { display: block; font: 500 clamp(1.7rem, 3.5vw, 3.6rem) var(--mono); letter-spacing: -.1em; }
.timer span { color: var(--muted); font: .52rem var(--mono); text-transform: uppercase; }
.timer > i { color: var(--red); font-style: normal; }

.journey { padding: 9rem 0; }
.journey-intro { width: 72%; margin-left: 28%; }
.journey-intro > p:last-child { max-width: 510px; color: var(--muted); line-height: 1.7; }
.journey-stage { position: relative; margin-top: 8rem; min-height: 100vh; }
.avatar-rail { position: sticky; top: 17vh; width: 24%; height: 68vh; float: left; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.avatar-rail img { position: relative; z-index: 2; max-width: 185px; max-height: 56vh; object-fit: contain; filter: drop-shadow(0 20px 35px rgba(0,0,0,.7)) saturate(.75) sepia(.12); transform: translate3d(var(--avatar-x, 0), var(--avatar-y, 0), 0) rotate(var(--avatar-rotate, 0deg)); transition: transform .25s ease-out; animation: avatarIdle 3.4s ease-in-out infinite; }
.avatar-rail > span { position: relative; z-index: 3; margin-top: -10px; padding: .4rem .55rem; border: 1px solid rgba(255,49,95,.4); border-radius: 6px; background: #10080d; color: var(--red); font: .54rem var(--mono); letter-spacing: .09em; }
.rail-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255,255,255,.08); }
.rail-line i { display: block; width: 100%; height: calc(var(--journey-progress, 0) * 1%); background: linear-gradient(var(--red), var(--pink)); box-shadow: 0 0 15px var(--red); }
.journey-stack { width: 72%; margin-left: 28%; display: grid; gap: 1.1rem; }
.journey-card { position: relative; min-height: 250px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 1.4rem; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, rgba(28,13,21,.72), rgba(14,8,12,.52)); transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.journey-card::before { content: ""; position: absolute; width: 250px; height: 250px; right: -150px; top: -160px; border-radius: 50%; background: var(--red); filter: blur(70px); opacity: .06; transition: opacity .3s; }
.journey-card:hover, .journey-card.is-active { transform: translateX(10px); border-color: rgba(255,49,95,.55); background: linear-gradient(120deg, rgba(47,17,31,.8), rgba(14,8,12,.65)); }
.journey-card:hover::before, .journey-card.is-active::before { opacity: .18; }
.journey-number { color: var(--red); font: 1.15rem var(--mono); }
.journey-card .type { color: var(--red); font: .55rem var(--mono); letter-spacing: .09em; }
.journey-card h3 { margin: .65rem 0 .55rem; font-size: clamp(1.35rem, 2.4vw, 2.15rem); letter-spacing: -.05em; }
.journey-card p { max-width: 470px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.journey-card time { align-self: start; padding: .42rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: #cabac1; font: .54rem var(--mono); }

.project { min-height: 100vh; padding: 10rem 0; }
.project-head { display: flex; justify-content: space-between; align-items: center; }
.status-pill { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: #cbbcc3; font: .56rem var(--mono); }
.project-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 5rem; margin-top: 5rem; }
.project h2 { margin: .6rem 0 1.6rem; font-size: clamp(3.7rem, 6.8vw, 7.3rem); line-height: .84; letter-spacing: -.085em; }
.project-copy > p:not(.kicker) { max-width: 470px; color: var(--muted); line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.tags span { padding: .45rem .6rem; border: 1px solid rgba(255,49,95,.3); border-radius: 999px; color: #d7c8cf; font: .55rem var(--mono); }
.project-glow, .contact-glow { position: absolute; z-index: -1; width: 45vw; aspect-ratio: 1; border-radius: 50%; background: var(--red); filter: blur(190px); opacity: .07; }
.project-glow { right: -25vw; top: 20%; }
.lab-visual { position: relative; perspective: 1200px; }
.sheet-window { overflow: hidden; border: 1px solid rgba(255,49,95,.4); border-radius: 19px; background: rgba(18,9,14,.88); box-shadow: 0 35px 80px rgba(0,0,0,.5), 0 0 45px rgba(255,23,79,.08); transform: rotateY(-6deg) rotateX(3deg); transition: transform .5s ease; }
.lab-visual:hover .sheet-window { transform: none; }
.sheet-bar { height: 48px; display: flex; align-items: center; gap: .45rem; padding: 0 1rem; border-bottom: 1px solid var(--line); }
.sheet-bar i { width: 7px; height: 7px; border-radius: 50%; background: #76505e; }
.sheet-bar i:first-child { background: var(--red); }
.sheet-bar span { margin-left: auto; color: var(--muted); font: .52rem var(--mono); }
.sheet-formula { height: 43px; display: flex; align-items: center; gap: .8rem; padding: 0 1rem; border-bottom: 1px solid var(--line); color: #bcaab3; font: .58rem var(--mono); }
.sheet-formula b { color: var(--red); }
.sheet-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.cell { min-height: 48px; padding: .5rem; border-right: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); color: #8e7883; font: .5rem var(--mono); transition: background .2s, color .2s; }
.cell.hot { color: #fff; background: rgba(255,49,95,.17); box-shadow: inset 0 0 0 1px rgba(255,49,95,.4); }
.floating-chip { position: absolute; padding: .65rem .8rem; border: 1px solid rgba(255,49,95,.45); border-radius: 9px; color: #fff; background: rgba(31,12,22,.88); box-shadow: 0 12px 30px rgba(0,0,0,.35); font: .58rem var(--mono); animation: float 4s ease-in-out infinite; }
.chip-a { top: -20px; right: 8%; }
.chip-b { left: -20px; bottom: 17%; animation-delay: -1s; }
.chip-c { right: -14px; bottom: -15px; animation-delay: -2s; }

.research, .events { padding: 10rem 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 5rem; }
.section-head h2 { font-size: clamp(3.3rem, 5.8vw, 6.3rem); }
.research-stack { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 1rem; }
.research-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.7rem; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(29,13,22,.76), rgba(11,7,9,.7)); transition: transform .4s, border-color .3s; }
.research-card:hover { transform: translateY(-12px); border-color: rgba(255,49,95,.55); }
.research-card .type { color: var(--red); font: .57rem var(--mono); letter-spacing: .08em; }
.research-card .symbol { color: rgba(255,49,95,.18); font: 700 5.2rem var(--mono); text-align: right; line-height: .8; }
.research-card h3 { margin: 1.6rem 0 .7rem; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.05em; }
.research-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.research-card .meta { color: #c9b8c0; font: .54rem var(--mono); letter-spacing: .06em; }
.events-stack { border-top: 1px solid var(--line); }
.event-card { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 1rem; min-height: 150px; border-bottom: 1px solid var(--line); overflow: hidden; }
.event-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,23,79,.13), transparent 75%); transform: translateX(-101%); transition: transform .5s ease; }
.event-card:hover::before { transform: none; }
.event-card > * { position: relative; z-index: 1; }
.event-index { color: var(--red); font: .75rem var(--mono); }
.event-card h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.event-card p { margin: .45rem 0 0; color: var(--muted); font-size: .78rem; }
.event-status { padding: .45rem .6rem; border: 1px solid rgba(255,49,95,.4); border-radius: 999px; color: var(--red); font: .54rem var(--mono); text-transform: uppercase; }

.contact { min-height: 90vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 9rem 0; }
.contact h2 { margin-bottom: 3rem; }
.contact-glow { left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .1; }
.email { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--red); font: clamp(1rem, 2vw, 1.65rem) var(--mono); }
.email span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); transition: transform .25s; }
.email:hover span { transform: rotate(45deg); }
.fineprint { margin-top: 1.7rem; color: var(--muted); font: .62rem var(--mono); }
footer { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 1.6rem 0 2rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: .56rem var(--mono); letter-spacing: .06em; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes loading { 0% { transform: translateX(-120%); } 100% { transform: translateX(340%); } }
@keyframes pulse { 50% { opacity: .25; box-shadow: none; } }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes heroDrift { to { transform: scale(1.09) translateX(-1%); filter: saturate(1.15); } }
@keyframes linePulse { 50% { opacity: .18; } }
@keyframes glassSweep { 45%,100% { transform: translateX(140%); } }
@keyframes avatarIdle { 50% { margin-bottom: 8px; } }

@media (max-width: 900px) {
  nav { display: none; }
  .hero-panel { inset: 14% 5% 7%; }
  .hero-copy { width: 53%; }
  .stat-one { right: 3%; }
  .stat-two { right: 15%; }
  .stat-three { right: 3%; }
  .live-band { grid-template-columns: 1fr; }
  .timer { grid-column: auto; grid-row: auto; }
  .journey-intro { width: 78%; margin-left: 22%; }
  .journey-stack { width: 78%; margin-left: 22%; }
  .avatar-rail { width: 18%; }
  .avatar-rail img { max-width: 130px; }
  .project-grid { grid-template-columns: 1fr; }
  .lab-visual { max-width: 680px; }
}

@media (max-width: 680px) {
  .cursor-aura { display: none; }
  .topbar, .live-band, .journey, .project, .research, .events, .contact, footer { width: min(100% - 32px, 600px); }
  .topbar { height: 64px; }
  .connect-pill { padding: .55rem .65rem; }
  .connect-pill > span { margin-left: .25rem; }
  .hero-image { object-position: 63% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(6,3,5,.92), rgba(6,3,5,.35)), linear-gradient(0deg, #080507 0%, transparent 45%); }
  .hero-panel { inset: 13% 16px 8%; border-radius: 18px; }
  .panel-topline { top: 18px; left: 18px; right: 18px; }
  .availability { display: none; }
  .hero-copy { top: 18%; left: 7%; width: 84%; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.3rem); }
  .hero-statement { width: 85%; font-size: .77rem; }
  .hero-stat { min-width: 112px; padding: .75rem; }
  .hero-stat strong { font-size: 1.2rem; }
  .stat-one { top: auto; bottom: 25%; right: 5%; }
  .stat-two { display: none; }
  .stat-three { top: auto; bottom: 25%; left: 6%; right: auto; }
  .hero-strip { height: 54px; grid-template-columns: 1fr 1fr; }
  .hero-strip a { padding: 0 .65rem; font-size: .48rem; }
  .hero-strip a:nth-child(n+3) { display: none; }
  .live-band { min-height: auto; padding: 7rem 0; }
  .live-band h2, .journey h2, .section-head h2, .contact h2 { font-size: clamp(2.8rem, 12.5vw, 4.6rem); }
  .timer { gap: .3rem; }
  .timer strong { font-size: clamp(1.4rem, 7vw, 2rem); }
  .journey, .project, .research, .events { padding: 7rem 0; }
  .journey-intro { width: 100%; margin-left: 0; padding-left: 20%; }
  .journey-stage { margin-top: 5rem; }
  .avatar-rail { width: 17%; top: 18vh; }
  .avatar-rail img { max-width: 82px; }
  .avatar-rail > span { display: none; }
  .journey-stack { width: 80%; margin-left: 20%; }
  .journey-card { min-height: 225px; display: block; padding: 1.25rem; }
  .journey-number { display: block; margin-bottom: 1.5rem; }
  .journey-card time { position: absolute; top: 1rem; right: 1rem; }
  .project-grid { gap: 3rem; }
  .project h2 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .sheet-window { transform: rotateY(-3deg) rotateX(2deg); }
  .cell { min-height: 37px; padding: .3rem; }
  .floating-chip { font-size: .45rem; }
  .section-head { display: block; }
  .research-stack { grid-template-columns: 1fr; }
  .research-card { min-height: 280px; }
  .event-card { grid-template-columns: 42px 1fr; padding: 1.5rem 0; }
  .event-status { grid-column: 2; width: max-content; }
  .contact { min-height: 80vh; }
  footer { flex-wrap: wrap; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
