:root { --bg: #090b12; --text: #f0f1f7; --muted: #a2a8ba; --line: rgba(255,255,255,.11); --accent: #a88cff; }
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #bdaaff; outline-offset: 6px; }
::selection { background: #7454bb; color: white; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.bg { position: absolute; inset: 0 0 auto; height: 960px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 80% 28%, #50358a20, transparent 48%), radial-gradient(ellipse at 10% 0%, #36598012, transparent 45%); }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 12px; z-index: 10; background: var(--bg); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 106px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -1.4px; }
.brand-dot { color: #bba5ff; }
.gradient-text { background: linear-gradient(120deg, #8a6bff, #1ec8ff 50%, #ffc61a); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
nav { display: flex; gap: 34px; font-size: 13px; }
nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-projects { color: var(--text); }
nav a:hover { color: white; }
nav a span { margin-left: 8px; color: #c0abff; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; min-height: 450px; padding-block: 42px 44px; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .16em; font-weight: 600; color: #b5b5c9; }
.hero .eyebrow { letter-spacing: .08em; display: flex; align-items: center; gap: 10px; }
.status-dot, .small-dot { display: inline-block; width: 6px; height: 6px; background: #b69bff; border-radius: 50%; flex-shrink: 0; }
.status-dot { box-shadow: 0 0 14px #b69bff70; }
h1 { margin: 23px 0 22px; font-size: clamp(70px, 8.5vw, 112px); letter-spacing: -.075em; line-height: 1; font-weight: 800; }
.hero-statement { margin: 0; font-size: clamp(29px, 3.2vw, 43px); line-height: 1.17; letter-spacing: -.045em; font-weight: 600; }
.hero-statement > span { color: #bca6fa; }
.hero-description { max-width: 435px; margin: 24px 0 29px; color: var(--muted); font-size: 15px; }
.button { display: inline-flex; gap: 26px; align-items: center; padding: 13px 20px; background: #e5dcff; color: #191327; font-size: 13px; font-weight: 650; text-decoration: none; border-radius: 6px; transition: background .2s, transform .2s; }
.button:hover { background: #f2edff; transform: translateY(-2px); }
.button span { font-size: 20px; line-height: 1; }
.project-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; min-height: 22px; }
.project-shortcuts a { color: var(--muted); font-size: 12px; text-underline-offset: 4px; text-decoration-color: #ffffff30; }
.project-shortcuts a:hover { color: var(--text); text-decoration-color: #bba5ff; }
.generative-art { position: relative; min-width: 0; width: 100%; aspect-ratio: 1.18; max-height: 395px; isolation: isolate; }
.art-halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(ellipse at 42% 40%, #9271ff19, #36bed20c 45%, transparent 72%); filter: blur(22px); z-index: -1; }
#neural-canvas { display: block; width: 100%; height: 100%; mask-image: radial-gradient(ellipse, #000 55%, transparent 76%); }
.art-caption { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; color: #a8a9bd; font: 10px ui-monospace, monospace; letter-spacing: .12em; white-space: nowrap; }
.small-dot { background: #80caca; width: 4px; height: 4px; }
h2 { margin: 14px 0 0; font-size: clamp(27px, 3vw, 36px); line-height: 1.23; letter-spacing: -.04em; font-weight: 600; }
h3 { margin: 17px 0 10px; font-size: 17px; letter-spacing: -.025em; font-weight: 600; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding-block: 34px 44px; border-top: 1px solid var(--line); }
.about h2 { margin: 0; font-size: 20px; }
.about p { margin: 0; color: var(--muted); font-size: 14px; max-width: 650px; }
.projects-section { padding-block: 30px 46px; border-top: 1px solid var(--line); }
.projects-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.projects-heading > p { margin: 0; color: var(--muted); font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.card { --accent: #a88cff; --mx: 50%; --my: 0%; position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 12px 24px; padding: 30px; min-height: 215px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 5%, var(--bg)), #ffffff03); color: inherit; text-decoration: none; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: #ffffff04; }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.logo { grid-row: 1 / 4; display: grid; place-items: center; height: 132px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%); }
.logo img { width: 116px; height: 116px; object-fit: contain; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--accent) 20%, transparent)); transition: transform .3s; }
.card:hover .logo img { transform: scale(1.06); }
.card h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); font-size: 12px; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font: 10px ui-monospace, monospace; color: var(--muted); }
.tags span + span::before { content: "/"; margin-right: 6px; color: #666c80; }
.go { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; white-space: nowrap; }
.go svg { transform: rotate(-45deg); }
footer { padding-block: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer .wordmark { font-size: 20px; }
footer > span, footer small { color: var(--muted); font-size: 11px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 16px; }
  .card { grid-template-columns: 90px minmax(0, 1fr); gap: 10px 18px; padding: 24px; }
  .logo img { width: 90px; height: 90px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 76px; }
  nav { gap: 22px; font-size: 12px; }
  .hero { position: relative; isolation: isolate; grid-template-columns: 1fr; padding-block: 38px 32px; min-height: 0; }
  .hero-copy { position: relative; z-index: 1; }
  h1 { font-size: clamp(78px, 17vw, 100px); }
  .hero-statement { font-size: 30px; }
  .hero-description { max-width: 390px; font-size: 14px; }
  .generative-art { position: absolute; width: 230px; height: 230px; right: -16px; top: 22px; opacity: .38; z-index: 0; pointer-events: none; }
  .art-caption { display: none; }
  .projects-heading { display: block; margin-bottom: 24px; }
  .projects-heading > p { margin-top: 12px; }
  .projects-section { padding-block: 26px 32px; }
  .card { grid-template-columns: 90px minmax(0, 1fr); min-height: 190px; padding: 22px; }
  .card h3 { font-size: 23px; }
  .about { grid-template-columns: 1fr; gap: 14px; padding-block: 28px 32px; }
  footer { flex-wrap: wrap; gap: 12px; }
  footer > span { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .card { grid-template-columns: 66px minmax(0, 1fr); gap: 10px 14px; padding: 18px; }
  .logo img { width: 66px; height: 66px; }
  .generative-art { width: 180px; height: 180px; top: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
