:root {
  color-scheme: dark;
  --ink: #12151d;
  --ink-soft: #191d27;
  --ink-raised: #202531;
  --paper: #f4f1eb;
  --muted: #a6a8b1;
  --line: rgba(235, 231, 221, .15);
  --line-strong: rgba(235, 231, 221, .25);
  --accent: #c4a4ff;
  --accent-bright: #d7c5ff;
  --accent-warm: #f0bf99;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 68% 9%, rgba(87, 67, 120, .15), transparent 39rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--accent-bright); }
.section-wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; background: var(--accent-bright); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; height: 84px; align-items: center; justify-content: space-between; padding-inline: max(48px, calc((100% - 1200px) / 2)); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.09em; }
.wordmark span, .portrait-mark span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 38px; color: #ceced4; font-size: 13px; font-weight: 500; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .text-link:hover { color: var(--accent-bright); }
.site-nav .nav-contact { padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--paper); }
.nav-contact span { margin-left: 9px; color: var(--accent); }

.hero { position: relative; display: grid; min-height: 760px; grid-template-columns: 1.03fr .97fr; align-items: center; padding-top: 84px; }
.hero-copy { position: relative; z-index: 2; padding-top: 6px; }
.eyebrow, .section-kicker, .about-topline, .skills-row, .media-duration, .portrait-caption, .art-index { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #c0c0c9; }
.status-dot, .sticker-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #b6dfbb; box-shadow: 0 0 13px rgba(182,223,187,.5); }
.eyebrow-line { width: 29px; height: 1px; margin-inline: 3px; background: #585764; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.075em; }
.hero h1 { margin: 27px 0 21px; font-size: clamp(68px, 8.3vw, 112px); line-height: .96; }
.accent-word { color: var(--accent); }
.hero-intro { max-width: 430px; margin-bottom: 29px; color: #b5b5bf; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 22px; padding: 0 19px; font-size: 13px; font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-radius: 3px; background: var(--accent-bright); color: #191321; }
.button-primary:hover { background: #e4d8ff; }
.button-primary span { font-size: 17px; }
.text-link { color: #d1d0d6; font-size: 13px; transition: color .2s; }
.text-link span { margin-left: 6px; color: var(--accent); }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 57px; color: #b9b8c2; font-size: 11px; line-height: 1.5; }
.proof-number { color: var(--paper); font-family: var(--font-display); font-size: 33px; letter-spacing: -.08em; }
.proof-number span { color: var(--accent); font-size: 20px; vertical-align: top; }
.hero-proof p { margin: 0; }
.proof-divider { width: 1px; height: 36px; margin-inline: 11px; background: var(--line); }
.proof-tools { color: var(--paper); font-size: 12px; }
.proof-tools span { color: var(--accent); }

.hero-art {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 590px;
  place-items: center;
  isolation: isolate;
}
.orbit-canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.art-glow { position: absolute; z-index: -2; top: 50%; left: 51%; width: min(420px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(174,142,224,.18), rgba(174,142,224,.06) 48%, transparent 72%); filter: blur(25px); transform: translate(-50%,-50%); }
.portrait-frame {
  position: relative;
  width: min(430px, 88%);
  aspect-ratio: .95;
  margin: 0;
  padding: 11px;
  border: 1px solid rgba(218,202,244,.68);
  border-radius: 7px;
  background: linear-gradient(150deg, rgba(38,40,52,.96), rgba(25,27,37,.98));
  box-shadow: 0 27px 74px rgba(0,0,0,.4), 0 0 65px rgba(161,125,218,.08);
}
.portrait-frame::after { position: absolute; inset: 5px; border: 1px solid rgba(245,242,235,.11); border-radius: 4px; content: ""; pointer-events: none; }
.portrait-frame img { display: block; width: 100%; height: calc(100% - 58px); border-radius: 3px; background: #27242b; object-fit: cover; object-position: center 38%; filter: brightness(1.13) contrast(1.04) saturate(.94); }
.portrait-caption { display: flex; height: 58px; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 3px; color: #d1cfd9; font-size: 8px; letter-spacing: .12em; }
.portrait-caption > span:first-child { display: grid; gap: 5px; }
.portrait-caption small { color: #9695a1; font: inherit; font-size: 7px; }
.portrait-mark { font-size: 17px; font-weight: 700; letter-spacing: -.1em; }
.art-sticker { position: absolute; z-index: 2; color: #eee9f6; font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.sticker-top { top: 12%; right: 1%; display: grid; width: 94px; height: 94px; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(218,202,244,.6); border-radius: 50%; background: rgba(22,24,33,.88); text-align: center; transform: rotate(9deg); }
.sticker-star { color: var(--accent); font-size: 21px; }
.sticker-bottom { bottom: 8%; left: 1%; display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: rgba(25,27,37,.96); color: #dedce4; font-size: 8px; }
.sticker-dot { width: 6px; height: 6px; background: var(--accent); box-shadow: none; }
.scroll-cue { position: absolute; right: 0; bottom: 29px; display: flex; align-items: center; gap: 11px; color: #a4a3ad; font-size: 10px; }
.scroll-cue span { display: block; width: 32px; height: 1px; background: var(--accent); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(28,30,40,.82); }
.ticker-track { display: flex; width: max-content; min-height: 63px; align-items: center; gap: 32px; animation: ticker-scroll 35s linear infinite; }
.ticker-track span { color: #e0dee6; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .15em; white-space: nowrap; }
.ticker-track b { color: var(--accent); font-size: 14px; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.work-section { padding-block: 120px 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 43px; }
.section-kicker { margin-bottom: 15px; color: #aaa9b4; font-size: 9px; letter-spacing: .15em; }
.section-kicker span { margin-left: 5px; color: var(--accent); font-size: 12px; }
.section-heading h2, .about-copy h2 { margin: 0; font-size: clamp(48px, 6vw, 74px); line-height: 1; }
.section-note { margin: 0 3px 4px 0; color: #afafb9; font-size: 12px; line-height: 1.8; }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 22px; align-items: start; }
.work-card { grid-column: span 2; min-width: 0; }
.work-card:nth-child(1), .work-card:nth-child(2) { grid-column: span 3; }
.media-frame { position: relative; overflow: hidden; aspect-ratio: 1.55; border: 1px solid rgba(221,210,239,.3); border-radius: 7px; background: #20222d; box-shadow: 0 12px 32px rgba(0,0,0,.19); transition: border-color .25s, box-shadow .25s, transform .25s; }
.work-card:hover .media-frame { transform: translateY(-3px); border-color: rgba(218,202,244,.72); box-shadow: 0 18px 38px rgba(0,0,0,.28), 0 0 30px rgba(161,125,218,.08); }
.media-frame::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.07); border-radius: inherit; content: ""; pointer-events: none; }
.media-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame-portrait { width: min(100%, 290px); aspect-ratio: .74; }
.media-frame-portrait video { object-fit: cover; }
.work-card-vertical .media-frame-portrait { margin-inline: auto; }
.work-card-vertical .card-caption { width: min(100%, 290px); margin-inline: auto; }
.play-button { position: absolute; top: 50%; left: 50%; display: grid; width: 54px; height: 54px; place-items: center; padding: 0 0 0 3px; border: 1px solid rgba(249,245,255,.82); border-radius: 50%; background: rgba(22,23,32,.69); color: var(--paper); cursor: pointer; font-size: 12px; transform: translate(-50%,-50%); transition: background .2s, border-color .2s, opacity .2s, transform .2s; backdrop-filter: blur(6px); }
.play-button:hover { border-color: var(--accent-bright); background: var(--accent-bright); color: #191321; transform: translate(-50%,-50%) scale(1.09); }
.media-frame.is-playing .play-button { opacity: 0; pointer-events: none; }
.media-frame.is-playing:hover .play-button, .media-frame.is-playing:focus-within .play-button { opacity: 1; pointer-events: auto; }
.media-duration { position: absolute; bottom: 12px; left: 12px; padding: 8px 10px; border: 1px solid rgba(241,237,247,.22); border-radius: 3px; background: rgba(18,19,27,.88); color: #efedf4; font-size: 8px; letter-spacing: .1em; backdrop-filter: blur(8px); }
.card-caption { display: flex; justify-content: space-between; gap: 10px; padding: 14px 2px 0; }
.card-caption h3 { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.card-caption > span { color: #aaa8b3; font-family: var(--font-display); font-size: 10px; }

.about-section { border-block: 1px solid var(--line); background: linear-gradient(110deg, #1a1d27, #191a23 62%, #1e1b29); }
.about-inner { padding-block: 32px 107px; }
.about-topline { display: flex; justify-content: space-between; padding-bottom: 45px; border-bottom: 1px solid var(--line); color: #aaa9b4; font-size: 9px; }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 12%; padding-top: 66px; }
.about-aside { position: relative; display: flex; min-height: 290px; flex-direction: column; justify-content: center; overflow: hidden; padding: 34px; border: 1px solid rgba(218,202,244,.34); border-radius: 6px; background: linear-gradient(145deg, rgba(38,39,52,.94), rgba(27,28,39,.94)); }
.about-stat { display: grid; gap: 13px; }
.about-stat > span { color: #c0bec9; font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.about-stat strong { color: var(--paper); font-family: var(--font-display); font-size: 80px; font-weight: 500; letter-spacing: -.1em; line-height: .95; }
.about-stat strong span { color: var(--accent); font-size: 40px; vertical-align: top; }
.about-aside-rule { width: 38px; height: 2px; margin-block: 22px 18px; background: var(--accent); }
.about-aside > p { margin: 0; color: #c6c4ce; font-size: 12px; line-height: 1.8; }
.about-aside-mark { position: absolute; right: 22px; bottom: 15px; color: rgba(207,183,243,.17); font-size: 88px; }
.about-copy h2 { margin-bottom: 26px; font-size: clamp(50px, 5.5vw, 68px); }
.about-copy > p:not(.section-kicker) { max-width: 560px; margin-bottom: 15px; color: #b9b8c2; font-size: 13px; line-height: 1.9; }
.skills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.skills-row span { padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 3px; color: #d0ced8; font-size: 8px; letter-spacing: .1em; }
.skills-row span:first-child { border-color: rgba(218,202,244,.6); color: var(--accent-bright); }

.contact-section { padding-block: 115px 108px; }
.contact-section .section-kicker { margin-bottom: 24px; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contact-line h2 { margin: 0; font-size: clamp(48px, 7vw, 84px); line-height: 1.04; }
.contact-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 28px; padding: 17px 19px; border-radius: 3px; background: var(--accent-bright); color: #191321; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.contact-button:hover { background: #e4d8ff; transform: translateY(-2px); }
.contact-button span { font-size: 17px; }
.contact-subline { margin: 18px 0 0; color: #b4b3bd; font-size: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 32px; }
.contact-links > a, .discord-handle { display: flex; align-items: center; gap: 10px; color: #e0dee6; font-size: 11px; }
.contact-links > a { transition: color .2s; }
.contact-links > a:hover { color: var(--accent-bright); }
.contact-links > a > span, .discord-handle > span { color: #aaa8b3; font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.contact-links b { color: var(--accent); font-size: 12px; }
.site-footer { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #aaa9b3; font-size: 10px; }
.site-footer p { margin: 0; }
.site-footer p span { padding-left: 4px; color: var(--accent); }
.site-footer > a:not(.wordmark) { color: #d0ced8; }
.copyright { color: #8e8d99; }
.site-footer .wordmark { color: var(--paper); font-size: 23px; }

.reveal-ready .work-card, .reveal-ready .about-copy, .reveal-ready .about-aside { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal-ready .is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .section-wrap { width: min(100% - 56px, 680px); }
  .site-header { padding-inline: 28px; }
  .hero { min-height: 690px; grid-template-columns: 1fr .8fr; }
  .hero h1 { font-size: clamp(60px, 9.5vw, 82px); }
  .hero-art { min-height: 465px; }
  .portrait-frame { width: min(360px, 92%); }
  .sticker-top { right: -1%; }
  .sticker-bottom { left: -1%; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .work-card, .work-card:nth-child(1), .work-card:nth-child(2) { grid-column: span 1; }
  .media-frame-portrait { width: 100%; aspect-ratio: .82; }
  .about-grid { grid-template-columns: .75fr 1.25fr; gap: 8%; }
  .about-aside { min-height: 260px; padding: 23px; }
  .about-copy h2 { font-size: 52px; }
  .contact-line { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .section-wrap { width: calc(100% - 40px); }
  .site-header { height: 70px; padding-inline: 20px; }
  .site-nav { gap: 18px; font-size: 11px; }
  .site-nav .nav-contact { padding: 9px 10px; }
  .site-nav a:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 122px; padding-bottom: 20px; }
  .hero-copy { padding-top: 0; }
  .eyebrow { gap: 7px; font-size: 8px; }
  .eyebrow-line { width: 14px; }
  .hero h1 { margin-block: 22px 16px; font-size: clamp(59px, 16vw, 88px); }
  .hero-intro { max-width: 390px; margin-bottom: 22px; font-size: 14px; }
  .hero-proof { margin-top: 30px; }
  .hero-art { width: min(100%, 420px); min-height: 455px; justify-self: center; margin-top: 0; }
  .portrait-frame { width: min(340px, 84%); }
  .portrait-frame img { object-position: center 38%; }
  .sticker-top { top: 8%; right: 1%; width: 78px; height: 78px; font-size: 8px; }
  .sticker-bottom { bottom: 7%; left: 0; padding: 10px; font-size: 7px; }
  .scroll-cue { display: none; }
  .ticker-track { min-height: 52px; gap: 21px; }
  .ticker-track span { font-size: 10px; }
  .work-section { padding-block: 78px 84px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 28px; }
  .section-heading h2 { font-size: 54px; }
  .section-note { font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 27px; }
  .media-frame { aspect-ratio: 1.46; border-radius: 6px; }
  .media-frame-portrait { width: min(100%, 330px); aspect-ratio: .88; justify-self: center; }
  .about-inner { padding-block: 27px 72px; }
  .about-topline { padding-bottom: 30px; font-size: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 38px; }
  .about-aside { min-height: 185px; padding: 25px; }
  .about-stat { gap: 8px; }
  .about-stat strong { font-size: 66px; }
  .about-aside-rule { margin-block: 13px 10px; }
  .about-copy h2 { font-size: 57px; }
  .contact-section { padding-block: 76px 70px; }
  .contact-line h2 { font-size: 55px; }
  .contact-subline { max-width: 300px; line-height: 1.7; }
  .contact-links { flex-direction: column; gap: 17px; }
  .site-footer { min-height: 74px; flex-wrap: wrap; gap: 9px 14px; padding-block: 16px; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .work-card, .reveal-ready .about-copy, .reveal-ready .about-aside { opacity: 1; transform: none; }
}
