:root {
  color-scheme: dark;
  --bg: #070506;
  --panel: #0f0a0b;
  --text: #f7efef;
  --muted: #a1969a;
  --line: rgba(255, 255, 255, .1);
  --accent: #eb3348;
  --accent-bright: #ff5266;
  --accent-rgb: 235, 51, 72;
  --accent-bright-rgb: 255, 82, 102;
  --accent-dim-rgb: 116, 10, 23;
  --num: "Pixelify Sans", "Press Start 2P", monospace;
  --mc: "Pixelify Sans", "Press Start 2P", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 92% 18%, rgba(var(--accent-dim-rgb), .16), transparent 34rem), radial-gradient(ellipse at 4% 70%, rgba(var(--accent-dim-rgb), .1), transparent 32rem), var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--mc);
  -webkit-font-smoothing: antialiased;
}
body::before { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 64px 64px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 85%); pointer-events: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
::selection { background: rgba(var(--accent-rgb), .4); color: #fff; }
.skip { position: fixed; top: -60px; left: 18px; z-index: 20000; padding: 9px 14px; background: var(--accent); color: #fff; text-decoration: none; }
.skip:focus { top: 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; isolation: isolate; background: #060405; --name-size: 120px; }
#voxel-intro { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.hero-copy { position: absolute; inset: 0; z-index: 1; text-align: center; pointer-events: none; }
.hero-eyebrow, .hero-tagline { position: absolute; left: 0; right: 0; margin: 0; padding-inline: 20px; opacity: 0; transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.hero-eyebrow { bottom: calc(50% + var(--name-size) * .4 + 22px); color: rgba(var(--accent-bright-rgb), .95); font-size: 15px; line-height: 1; letter-spacing: .34em; text-indent: .34em; text-transform: uppercase; transform: translateY(10px); }
.hero-tagline { top: calc(50% + var(--name-size) * .4 + 24px); min-height: 1.5em; color: rgba(247, 232, 234, .82); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; letter-spacing: .03em; }
.intro-ui .hero-eyebrow, .intro-ui .hero-tagline { opacity: 1; transform: none; }
.hero-cue { position: absolute; right: 0; bottom: clamp(14px, 4vh, 34px); left: 0; z-index: 2; display: flex; width: max-content; flex-direction: column; align-items: center; gap: 10px; margin-inline: auto; padding: 12px 26px; color: #fff; font-size: 15px; line-height: 1; text-decoration: none; text-transform: uppercase; opacity: 0; transition: opacity 1.4s ease 1s, text-shadow .25s ease; text-shadow: 0 0 18px rgba(var(--accent-rgb), .7); }
.hero-cue > span { letter-spacing: .5em; text-indent: .5em; }
.intro-ui .hero-cue { opacity: 1; }
.hero-cue:hover { text-shadow: 0 0 26px rgba(var(--accent-bright-rgb), 1); }
.hero-cue i { position: relative; width: 3px; height: 74px; overflow: hidden; background: rgba(255, 255, 255, .16); box-shadow: 0 0 18px rgba(var(--accent-rgb), .25); }
.hero-cue i::after { position: absolute; top: 0; left: 0; width: 100%; height: 30px; background: linear-gradient(to bottom, transparent, var(--accent-bright) 70%, #fff); box-shadow: 0 0 14px var(--accent-bright); content: ""; animation: cue-drop 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
.hero-cue b { color: var(--accent-bright); font-size: 14px; line-height: 1; text-indent: 0; animation: cue-bob 1.8s ease-in-out infinite; }
.hero-cue:hover i::after { animation-duration: 1s; }
.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; opacity: 0; transform: translateY(-12px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, backdrop-filter .3s; }
.intro-ui .site-nav { opacity: 1; transform: none; }
.site-nav.is-scrolled { border-color: var(--line); background: rgba(8, 5, 6, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-inner { position: relative; display: flex; width: min(1110px, calc(100% - 64px)); height: 68px; align-items: center; gap: 28px; margin: 0 auto; }
.nav-brand { color: #fff; font-size: 24px; font-weight: 700; line-height: 1; text-decoration: none; }
.caret { color: var(--accent-bright); animation: blink 1.1s steps(1) infinite; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { position: relative; padding: 6px 0; color: #9a8f93; font-size: 15px; line-height: 1; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color .2s; }
.nav-links a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--accent-bright); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-spotify-group { display: flex; min-width: 0; max-width: 240px; align-items: center; gap: 7px; margin-left: auto; }
.nav-spotify-group[hidden], .nav-spotify-listen[hidden], .nav-spotify-player[hidden] { display: none; }
.nav-spotify-group[hidden] + .nav-spotify-player + .nav-cta { margin-left: auto; }
.nav-spotify { display: flex; width: 220px; height: 44px; min-width: 0; align-items: center; gap: 8px; overflow: hidden; padding: 4px 8px 4px 4px; border: 1px solid rgba(112,229,154,.34); border-radius: 6px; background: rgba(29,185,84,.08); color: inherit; text-decoration: none; box-sizing: border-box; transition: border-color .2s, background .2s; }
.nav-spotify:hover { border-color: rgba(112,229,154,.75); background: rgba(29,185,84,.16); }
.nav-spotify > img { display: block; width: 34px; height: 34px; flex: none; border-radius: 3px; object-fit: cover; }
.nav-spotify-copy { display: grid; min-width: 0; gap: 1px; line-height: 1.2; }
.nav-spotify-copy > span { color: #70e59a; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav-spotify-copy strong { overflow: hidden; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.nav-spotify-bars { display: flex; height: 14px; flex: none; align-items: center; gap: 2px; }
.nav-spotify-bars i { width: 2px; height: 6px; background: #70e59a; animation: spotify-wave .7s ease-in-out infinite alternate; }
.nav-spotify-bars i:nth-child(2) { height: 11px; animation-delay: .2s; }
.nav-spotify-bars i:nth-child(3) { height: 8px; animation-delay: .4s; }
.nav-spotify-listen { flex: none; padding: 8px 10px; border: 1px solid rgba(112,229,154,.5); background: rgba(29,185,84,.16); color: #d7ffe4; font: 600 12px/1 var(--mc); cursor: pointer; transition: background .2s, border-color .2s; }
.nav-spotify-listen:hover { border-color: #70e59a; background: rgba(29,185,84,.28); }
.nav-spotify-player { position: absolute; top: calc(100% + 10px); right: 0; z-index: 1; width: min(352px, calc(100vw - 24px)); overflow: hidden; border: 1px solid rgba(112,229,154,.45); background: #121212; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.nav-spotify-player iframe { display: block; width: 100%; height: 152px; border: 0; }
.nav-cta { margin-left: 0; padding: 12px 22px; border: 2px solid #ffb3bd; background: var(--accent-bright); box-shadow: 4px 4px 0 rgba(0,0,0,.55), 0 0 22px rgba(var(--accent-bright-rgb), .45); color: #fff; font-size: 18px; font-weight: 600; line-height: 1; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.nav-cta:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.55); transform: translate(-1px, -1px); }

.site-shell { width: 100%; }
.section { width: min(1110px, calc(100% - 64px)); margin-inline: auto; padding: clamp(86px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(34px, 5vw, 60px); color: #d3c3c6; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-mark { width: 9px; height: 9px; background: var(--accent-bright); box-shadow: 0 0 14px rgba(var(--accent-bright-rgb), .7); }
h2 { margin: 0; font: 600 clamp(38px, 6vw, 74px)/1.05 var(--mc); letter-spacing: -.01em; }
.muted-heading { color: var(--accent-bright); }
.w { display: inline-block; margin-bottom: -.14em; padding-bottom: .14em; overflow: hidden; vertical-align: top; }
.w > span { display: inline-block; }
.has-js .w > span { transform: translateY(112%); transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.has-js .is-visible .w > span { transform: none; }
.has-js .rv { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .9s ease calc(var(--i, 0) * 130ms + 250ms), transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 130ms + 250ms), translate .3s ease, border-color .3s, box-shadow .3s, background .3s; }
.has-js .is-visible .rv { opacity: 1; transform: none; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); align-items: start; gap: clamp(42px, 8vw, 110px); }
.about-intro { max-width: 460px; margin: 28px 0 0; color: #f3eaec; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; }
.about-copy { color: #b3a8ab; font-size: 17px; line-height: 1.7; }
.about-copy p { margin: 0 0 14px; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.fact { position: relative; display: grid; min-height: 80px; align-content: center; gap: 4px; padding: 14px 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); transition: border-color .3s, translate .3s; }
.fact::before { position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); content: ""; transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.fact:hover { border-color: rgba(var(--accent-bright-rgb), .5); translate: 0 -3px; }
.fact:hover::before { transform: scaleY(1); }
.fact span:first-child { color: var(--accent-bright); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.fact span:last-child { color: #f0e6e8; font-size: 16px; }

.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 60px; margin-bottom: 44px; }
.section-lede { max-width: 380px; margin: 0 0 8px; color: #f3eaec; font-size: 19px; line-height: 1.6; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#work .projects { grid-template-columns: repeat(2, 1fr); }
.project-card { position: relative; display: flex; min-height: 340px; flex-direction: column; justify-content: space-between; gap: 28px; padding: 24px; overflow: hidden; border: 2px solid rgba(255,255,255,.1); background: linear-gradient(150deg, #151012, #0c0809); color: inherit; text-decoration: none; }
.pc-num { position: absolute; right: 14px; bottom: -22px; color: rgba(255,255,255,.04); font-size: 120px; font-weight: 700; line-height: 1; pointer-events: none; transition: color .3s; }
.pc-top, .pc-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-main { position: relative; z-index: 1; }
.pc-main h3 { margin: 0 0 12px; font: 600 clamp(26px, 2.6vw, 34px)/1.1 var(--mc); }
.pc-main p { max-width: 320px; margin: 0; color: #f0e6e8; font-size: 18px; line-height: 1.55; }
.pc-bottom { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.pc-tags { color: #d7cacd; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid; font-size: 13px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.chip i { width: 7px; height: 7px; background: currentColor; }
.chip-live { border-color: rgba(var(--accent-bright-rgb), .6); background: rgba(var(--accent-rgb), .14); color: #ff8a98; }
.chip-live i { animation: pulse 1.8s ease-out infinite; }
.chip-soon { border-color: rgba(255,255,255,.2); color: #a1969a; }
.chip-soon i { animation: blink 1.4s steps(1) infinite; }
.is-live { border-color: rgba(var(--accent-bright-rgb), .45); background: radial-gradient(ellipse at 92% 0, rgba(var(--accent-rgb), .3), transparent 55%), linear-gradient(150deg, #1c1014, #0e090a); box-shadow: 0 0 40px rgba(var(--accent-rgb), .1); }
.is-live .pc-num { color: rgba(var(--accent-rgb), .12); }
.pc-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid rgba(255,255,255,.2); color: var(--accent-bright); font-size: 20px; transition: background .25s, color .25s, translate .25s; }
.is-live:hover { translate: 0 -6px; border-color: var(--accent-bright); box-shadow: 0 22px 70px rgba(var(--accent-rgb), .22); }
.is-live:hover .pc-arrow { translate: 4px 0; background: var(--accent); color: #fff; }
.is-soon { border-style: dashed; background: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 10px, transparent 10px 20px), #0b0708; background-size: 28px 28px, auto; animation: hatch 3s linear infinite; }
.is-soon h3, .is-soon .pc-bottom { color: #cdbfc2; }
.is-soon:hover { translate: 0 -4px; border-color: rgba(var(--accent-bright-rgb), .35); }
.sweep::after { position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.08), transparent); content: ""; transform: skewX(-20deg); pointer-events: none; animation: sweep 5s ease-in-out infinite; }

.contact-title { margin-bottom: 48px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: stretch; gap: 20px; }
.card-label { margin: 0 0 14px; color: #ffc2c9; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; }
.email-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 44px); overflow: hidden; border: 2px solid var(--accent-bright); background: radial-gradient(ellipse at 100% 0, rgba(255,255,255,.12), transparent 50%), linear-gradient(140deg, #c1213a 0%, #7f1224 55%, #3b0912 100%); box-shadow: 8px 8px 0 rgba(0,0,0,.5), 0 0 60px rgba(var(--accent-rgb), .28); }
.email-big { display: block; margin-bottom: 18px; color: #fff; font-size: clamp(26px, 3.6vw, 46px); font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; text-decoration: none; text-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.email-big:hover { text-decoration: underline; text-underline-offset: 6px; }
.email-note { max-width: 460px; margin: 0 0 26px; color: #fff; font-size: 19px; line-height: 1.55; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 2px solid; font: 600 16px/1 var(--mc); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s, color .2s; }
.btn b { font-weight: 700; }
.btn-solid { border-color: #ff8a98; background: var(--accent); box-shadow: 4px 4px 0 rgba(0,0,0,.6); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.28); box-shadow: 4px 4px 0 rgba(0,0,0,.5); color: #fff; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(0,0,0,.6); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 rgba(0,0,0,.6); }
.btn-ghost:hover { background: #fff; color: #1a0508; }
.email-card .btn-solid { border-color: #fff; background: #fff; color: #8f1427; }
.email-card .btn-solid:hover { background: #ffe4e8; }
.btn.is-done { border-color: #8af0b3; background: #1b6b3d; color: #fff; }

.discord-card { position: relative; overflow: hidden; border: 2px solid rgba(255,255,255,.14); background: linear-gradient(160deg, #150e10, #0b0708); box-shadow: 0 24px 60px rgba(0,0,0,.35); transition: border-color .3s, translate .3s; }
.discord-card:hover { border-color: rgba(var(--accent-bright-rgb), .5); translate: 0 -4px; }
.dc-banner { height: 92px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 8px, transparent 8px 16px), repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 8px, transparent 8px 16px), linear-gradient(120deg, #b01d34, #5a0c19 60%, #1d0509); }
.dc-body { padding: 0 22px 22px; }
.discord-avatar-wrap { position: relative; width: 76px; height: 76px; margin-top: -38px; }
.discord-avatar { display: block; width: 100%; height: 100%; border: 4px solid #150e10; object-fit: cover; image-rendering: pixelated; }
.discord-status-dot { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border: 4px solid #150e10; background: #77747c; }
.discord-identity { display: grid; margin-top: 12px; }
.discord-identity strong { font-size: 28px; font-weight: 700; line-height: 1.1; }
.discord-identity > span { color: #a1969a; font-size: 16px; overflow-wrap: anywhere; }
.discord-presence { display: flex; min-height: 66px; align-items: center; gap: 12px; margin: 18px 0 20px; padding: 12px 14px; border: 2px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
.presence-pip { width: 10px; height: 10px; flex: none; background: #77747c; }
.presence-copy { display: grid; min-width: 0; gap: 2px; }
.presence-copy strong { color: #f3eaec; font-size: 16px; font-weight: 600; }
.presence-copy > span { color: #a1969a; font-size: 14px; overflow-wrap: anywhere; }
.discord-presence[data-state="online"] .presence-pip, .discord-card[data-status="online"] .discord-status-dot { background: #52d18c; }
.discord-presence[data-state="idle"] .presence-pip, .discord-card[data-status="idle"] .discord-status-dot { background: #f0b84c; }
.discord-presence[data-state="dnd"] .presence-pip, .discord-card[data-status="dnd"] .discord-status-dot { background: #ed5360; }
.discord-presence[data-state="offline"] .presence-pip, .discord-card[data-status="offline"] .discord-status-dot { background: #77747c; }
.discord-presence[data-state="error"] .presence-pip, .discord-card[data-status="error"] .discord-status-dot { background: #f0b84c; }
.discord-presence[data-state="online"] .presence-pip { animation: pulse-green 2s ease-out infinite; }
.spotify-card { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 18px; padding: 12px; overflow: hidden; border: 1px solid rgba(82, 209, 140, .34); background: linear-gradient(110deg, rgba(29, 185, 84, .16), rgba(255,255,255,.035) 68%); color: inherit; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.spotify-card[hidden] { display: none; }
.spotify-card::before { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.07), transparent 75%); content: ""; transform: translateX(-100%); transition: transform .6s ease; pointer-events: none; }
.spotify-card:hover { border-color: rgba(82, 209, 140, .75); background: linear-gradient(110deg, rgba(29, 185, 84, .22), rgba(255,255,255,.05) 68%); transform: translateY(-2px); }
.spotify-card:hover::before { transform: translateX(100%); }
.spotify-art { position: relative; z-index: 1; display: block; width: 68px; height: 68px; border: 1px solid rgba(255,255,255,.12); object-fit: cover; box-shadow: 0 5px 18px rgba(0,0,0,.32); }
.spotify-details { position: relative; z-index: 1; display: grid; min-width: 0; gap: 3px; }
.spotify-label { display: flex; align-items: center; gap: 7px; color: #70e59a; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.spotify-details strong, .spotify-details > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-details strong { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.25; }
.spotify-details > span:last-child { color: #b6aeb1; font-size: 13px; }
.spotify-bars { display: inline-flex; height: 12px; align-items: center; gap: 2px; }
.spotify-bars i { width: 2px; height: 5px; background: #70e59a; animation: spotify-wave .7s ease-in-out infinite alternate; }
.spotify-bars i:nth-child(2) { height: 10px; animation-delay: .2s; }
.spotify-bars i:nth-child(3) { height: 7px; animation-delay: .4s; }
.spotify-arrow { position: relative; z-index: 1; align-self: start; color: #70e59a; font-size: 16px; }

.site-footer { position: relative; margin-top: 20px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-word { margin: 0 auto; padding-top: 28px; color: transparent; font: 700 clamp(110px, 24vw, 330px)/.82 var(--mc); text-align: center; -webkit-text-stroke: 2px rgba(var(--accent-rgb), .45); mask-image: linear-gradient(to bottom, black 20%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 95%); user-select: none; transition: -webkit-text-stroke-color .4s; }
.site-footer:hover .footer-word { -webkit-text-stroke-color: rgba(var(--accent-bright-rgb), .9); }
.footer-bar { position: absolute; right: 0; bottom: 0; left: 0; display: flex; width: min(1110px, calc(100% - 64px)); align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 20px 0; font-size: 15px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a, .footer-top { color: #cfc2c5; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-top:hover { color: var(--accent-bright); }
.footer-copy { color: #8c8083; }
.footer-top { padding: 8px 14px; border: 2px solid rgba(255,255,255,.18); background: rgba(7,5,6,.7); }

.toast { position: fixed; bottom: 28px; left: 50%; z-index: 9000; padding: 12px 20px; border: 2px solid #ff8a98; background: #1a0b0e; box-shadow: 4px 4px 0 rgba(0,0,0,.6); color: #fff; font-size: 16px; opacity: 0; transform: translate(-50%, 24px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes cue-drop { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(78px); } }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .15); } }
@keyframes pulse-green { 50% { box-shadow: 0 0 0 5px rgba(82,209,140,.18); } }
@keyframes spotify-wave { to { transform: scaleY(.45); } }
@keyframes sweep { 0%, 55% { left: -70%; } 100% { left: 140%; } }
@keyframes hatch { to { background-position: 28px 0, 0 0; } }

#custom-cursor { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; display: block; pointer-events: none; }
.cursor-ring { width: 34px; height: 34px; border: 2px solid rgba(255, 74, 91, .78); transform: translate(-50%,-50%); transition: width .22s ease, height .22s ease, background .22s ease; }
.cursor-dot { width: 6px; height: 6px; background: var(--accent-bright); transform: translate(-50%,-50%); }
#custom-cursor.is-hovering .cursor-ring { width: 48px; height: 48px; background: rgba(var(--accent-rgb), .12); }

/* ---- stats / services / process ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(34px, 5vw, 56px); }
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; overflow: hidden; border: 2px solid rgba(255,255,255,.1); background: linear-gradient(150deg, #151012, #0c0809); transition: border-color .3s, translate .3s; }
.stat:hover { border-color: rgba(var(--accent-bright-rgb), .55); translate: 0 -4px; }
.stat-num { color: #ff5266; font: 700 clamp(40px, 5vw, 62px)/1 var(--num); text-shadow: 3px 3px 0 rgba(0,0,0,.4); }
.stat-label { color: #fff; font: 500 17px/1.35 var(--num); }
.stat-note { color: #d9cdd0; font-family: var(--num); font-size: 13px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 2px solid rgba(255,255,255,.1); background: linear-gradient(150deg, #151012, #0c0809); transition: border-color .3s, translate .3s; }
.service:hover { border-color: rgba(var(--accent-bright-rgb), .55); translate: 0 -4px; }
.service-n { color: var(--accent-bright); font-size: 14px; letter-spacing: .2em; }
.service h3 { margin: 0; font: 600 clamp(22px, 2.2vw, 28px)/1.15 var(--mc); }
.service p { flex: 1; margin: 0; color: #f0e6e8; font-size: 18px; line-height: 1.55; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.service-tags span { padding: 5px 10px; border: 1px solid rgba(var(--accent-bright-rgb), .6); color: #ffc2c9; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.step { padding: 20px 22px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.025); }
.step-n { display: block; margin-bottom: 6px; color: var(--accent-bright); font-size: 13px; letter-spacing: .2em; }
.step strong { display: block; font-size: 24px; font-weight: 600; }
.step p { margin: 6px 0 0; color: #eadfe1; font-size: 17px; line-height: 1.5; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .services, .process { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stat { padding: 16px 14px; } }

.breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bd-panel { display: flex; flex-direction: column; padding: 24px; border: 2px solid rgba(255,255,255,.1); background: linear-gradient(150deg, #151012, #0c0809); }
.bd-title { margin: 0 0 18px; color: #fff; font: 700 17px/1.2 var(--num); letter-spacing: .06em; text-transform: uppercase; }
.bd-rows { display: grid; gap: 9px; margin-bottom: 18px; }
.bd-row { display: grid; grid-template-columns: 150px 1fr 84px; align-items: center; gap: 12px; font: 500 16px/1.2 var(--num); }
.bd-name { color: #f3eaec; white-space: nowrap; }
.bd-track { height: 14px; background: rgba(255,255,255,.07); }
.bd-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .4s; }
.is-visible .bd-track i { width: var(--w); }
.bd-val { color: #fff; font: 700 17px/1 var(--num); text-align: right; }
@media (max-width: 900px) { .breakdown { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bd-row { grid-template-columns: 112px 1fr 62px; gap: 8px; font-size: 13px; } .bd-panel { padding: 18px 14px; } .nav-cta { font-size: 13px !important; padding: 8px 10px !important; } }
.bd-foot { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.25); }
.bd-foot-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #f3eaec; font: 500 17px/1.2 var(--num); }
.bd-foot-row strong { color: #fff; font-weight: 700; font-size: 19px; }
.bd-foot-row.is-total { padding: 10px 12px; border: 2px solid var(--accent-bright); background: rgba(var(--accent-rgb), .18); }
.bd-foot-row.is-total strong { color: #ff7585; font-size: 24px; }
.projects-2 { grid-template-columns: repeat(2, 1fr); }
.cta-swap { display: inline-grid; }
.cta-swap > span { grid-area: 1 / 1; text-align: center; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.cta-swap > span.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) { .projects-2 { grid-template-columns: 1fr; } }
@media (pointer: fine) { body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: none !important; } }
@media (pointer: coarse) { #custom-cursor { display: none; } }

@media (max-width: 900px) {
  .projects { grid-template-columns: 1fr; }
  #work .projects { grid-template-columns: 1fr; }
  .project-card { min-height: 280px; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-inner { width: calc(100% - 40px); gap: 12px; }
  .nav-links { display: none; }
  .nav-spotify-group { max-width: none; flex: 1; }
  .nav-spotify { max-width: none; flex: 1; }
  .nav-cta { flex: none; }
  .section { width: calc(100% - 40px); }
  .footer-bar { width: calc(100% - 40px); flex-wrap: wrap; }
  .footer-links { gap: 16px; }
}
@media (max-width: 480px) {
  .nav-inner { width: calc(100% - 24px); gap: 8px; }
  .nav-brand { font-size: 20px; }
  .nav-spotify { gap: 6px; padding: 4px 6px; }
  .nav-spotify > img { width: 28px; height: 28px; }
  .nav-spotify-copy > span { display: none; }
  .nav-spotify-copy strong { font-size: 11px; }
  .nav-spotify-bars { display: none; }
  .nav-spotify-group { gap: 4px; }
  .nav-spotify-listen { padding: 7px 6px; font-size: 10px; }
  .nav-spotify-player { width: min(352px, calc(100vw - 48px)); }
  .nav-cta { padding: 8px 10px; font-size: 13px; }
  .fact-list { gap: 8px; }
  .fact { min-height: 72px; padding: 10px 12px; }
  .btn { flex: 1 1 100%; }
  .hero-eyebrow { font-size: 12px; letter-spacing: .24em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .has-js .rv, .has-js .w > span { opacity: 1; transform: none; }
}
