@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --paper: #e9e8dc;
  --ink: #111111;
  --muted: #696961;
  --acid: #d8ff3e;
  --violet: #a890ff;
  --orange: #ff7650;
  --line: rgba(17, 17, 17, .18);
  --mono: 'DM Mono', monospace;
  --sans: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .08; background-image: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.25) 3px 3px); mix-blend-mode: multiply; }
body.inverted { --paper: #171717; --ink: #e9e8dc; --muted: #a8a89d; --line: rgba(233,232,220,.24); }
::selection { color: var(--acid); background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-pad { padding-left: clamp(1.25rem, 4vw, 5rem); padding-right: clamp(1.25rem, 4vw, 5rem); }
.topbar { height: 5.5rem; display: flex; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding: 0 clamp(1.25rem, 4vw, 5rem); color: var(--ink); mix-blend-mode: multiply; }
.brand { display: flex; gap: .7rem; align-items: center; font: 500 .8rem var(--mono); letter-spacing: .05em; }
.brand-dot, .status-dot { width: .55rem; height: .55rem; background: var(--acid); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 .2rem rgba(216,255,62,.18); }
.brand-slash { color: var(--muted); margin: 0 .18rem; }
.desktop-nav { display: flex; gap: 2.4rem; margin-left: 8rem; font: .7rem var(--mono); letter-spacing: .08em; }
.desktop-nav a, .text-link { position: relative; }
.desktop-nav a::after, .text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.desktop-nav a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.mode-toggle { border: 1px solid var(--ink); background: transparent; padding: .55rem .75rem; font: .65rem var(--mono); cursor: pointer; }
.mode-toggle span { color: var(--muted); margin-left: .35rem; }
.scroll-progress { position: fixed; z-index: 30; top: 0; left: 0; width: 0; height: 3px; background: var(--acid); }
.hero { min-height: 100svh; padding-top: 8rem; padding-bottom: 3rem; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: min(42vw, 42rem); aspect-ratio: 1; right: -13vw; bottom: -25vw; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(17,17,17,.02), 0 0 0 8rem rgba(17,17,17,.02); }
.hero-kicker, .section-label, .contact-top { display: flex; justify-content: space-between; gap: 1rem; font: .68rem var(--mono); letter-spacing: .08em; }
.hero-kicker { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.hero-title-wrap { position: relative; display: flex; align-items: end; z-index: 1; }
.hero-title { margin: 4rem 0 1rem; font-size: clamp(5.8rem, 15.7vw, 15.5rem); line-height: .72; letter-spacing: -.1em; font-weight: 700; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title span:nth-child(2) { margin-left: 11vw; }
.hero-title span:nth-child(3) { margin-left: 4vw; }
.hero-outline { color: transparent; -webkit-text-stroke: clamp(1px, .15vw, 3px) var(--ink); }
.hero-acid, .manifesto-title span, .contact-title span { color: var(--acid); }
.period { color: var(--orange); }
.hero-side-note { font: .67rem var(--mono); line-height: 1.55; letter-spacing: .06em; margin: 0 3rem 1.8rem 0; min-width: 8rem; }
.hero-orbit { position: absolute; right: clamp(1.5rem, 9vw, 10rem); top: 22%; width: 8.5rem; height: 8.5rem; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transform: rotate(13deg); z-index: 2; }
.hero-orbit::before { content: ''; width: .65rem; height: .65rem; background: var(--orange); border-radius: 50%; position: absolute; top: -.35rem; left: 50%; }
.hero-orbit span { font: .58rem var(--mono); letter-spacing: .08em; transform: rotate(-13deg); }
.hero-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .9rem; line-height: 1.45; }
.hero-footer p { margin: 0; color: var(--muted); }
.hero-footer strong { color: var(--ink); font-weight: 500; }
.scroll-cue { font: .65rem var(--mono); letter-spacing: .06em; display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.scroll-arrow { font-size: 1.3rem; line-height: .7; color: var(--orange); }
.availability { justify-self: end; font: .65rem var(--mono); letter-spacing: .04em; display: flex; align-items: center; gap: .6rem; }
.ticker { overflow: hidden; background: var(--ink); color: var(--acid); padding: .85rem 0; font-size: clamp(1rem, 1.5vw, 1.45rem); white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: 1.5rem; min-width: max-content; animation: marquee 25s linear infinite; }
.ticker i { color: var(--orange); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.about { padding-top: 10rem; padding-bottom: 11rem; }
.section-label { border-top: 1px solid var(--line); padding-top: .8rem; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; margin-top: 7rem; }
.display-heading { margin: 0; font-size: clamp(4.2rem, 8vw, 9rem); line-height: .8; letter-spacing: -.09em; font-weight: 600; }
.display-heading em { color: var(--orange); font-style: normal; }
.about-copy { max-width: 31rem; padding-bottom: .3rem; font-size: 1rem; line-height: 1.5; }
.about-copy .lead { font-size: clamp(1.45rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 2rem; }
.about-copy p:not(.lead) { color: var(--muted); max-width: 26rem; }
.text-link { display: inline-block; margin-top: 1rem; font: .68rem var(--mono); letter-spacing: .05em; }
.text-link span { color: var(--orange); font-size: 1rem; margin-left: .4rem; }
.experiments { background: var(--ink); color: var(--paper); padding-top: 5rem; padding-bottom: 8rem; }
.light { color: #999990; border-color: rgba(233,232,220,.25); }
.experiments-intro { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin: 6.5rem 0 4rem; }
.light-heading { color: var(--paper); }
.light-heading span { color: var(--acid); }
.experiments-intro > p { color: #999990; font-size: .9rem; line-height: 1.5; margin-bottom: .4rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work-card { min-height: min(36rem, 60vw); padding: 1.2rem; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.work-card:hover { transform: translateY(-1rem) rotate(-1.5deg); }
.card-lime { background: var(--acid); }
.card-violet { background: var(--violet); }
.card-orange { background: var(--orange); }
.card-top, .card-bottom p { font: .65rem var(--mono); letter-spacing: .05em; }
.card-top { display: flex; justify-content: space-between; }
.card-bottom h3 { font-size: clamp(2.6rem, 4.5vw, 5.4rem); letter-spacing: -.08em; line-height: .78; margin: 0 0 1.4rem; }
.card-bottom p { margin: 0; }
.card-mark { align-self: center; display: grid; place-items: center; font-size: 12rem; line-height: 1; }
.mark-orbit { width: 11rem; height: 11rem; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-16deg); }
.mark-orbit::after { content: ''; position: absolute; width: 15rem; height: 4rem; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-38deg); }
.mark-wave { font-family: Georgia, serif; transform: rotate(12deg); }
.mark-box { width: 9rem; height: 9rem; border: 2px solid var(--ink); font-size: 5rem; transform: rotate(8deg); }
.manifesto { min-height: 100svh; padding-top: 8rem; padding-bottom: 5rem; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.manifesto::before { content: ''; position: absolute; width: 60vw; aspect-ratio: 1; right: -25vw; top: 10%; border: 1px solid var(--line); border-radius: 50%; }
.manifesto-stamp { position: absolute; top: 9rem; right: 8vw; width: 7rem; height: 7rem; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; text-align: center; font: .57rem var(--mono); line-height: 1.25; transform: rotate(18deg); }
.manifesto-label { font: .68rem var(--mono); color: var(--muted); margin: 0 0 4rem; }
.manifesto-title { margin: 0; font-size: clamp(5rem, 13vw, 13.5rem); line-height: .7; letter-spacing: -.1em; font-weight: 600; position: relative; }
.manifesto-title em { color: var(--orange); font-style: normal; }
.manifesto-foot { font-size: 1rem; line-height: 1.35; color: var(--muted); margin: 4rem 0 0 42vw; }
.contact { min-height: 100svh; color: var(--paper); background: var(--ink); padding-top: 5rem; padding-bottom: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.contact-top { color: #999990; border-top: 1px solid rgba(233,232,220,.25); padding-top: .8rem; }
.contact-title { margin: 10vh 0; font-size: clamp(5rem, 13.5vw, 14rem); line-height: .7; letter-spacing: -.1em; font-weight: 600; }
.contact-title span { color: var(--acid); }
.contact-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; font-size: .9rem; line-height: 1.45; }
.contact-bottom p { margin: 0; color: #999990; }
.contact-button { border: 1px solid var(--acid); color: var(--acid); padding: 1rem 1.25rem; font: .7rem var(--mono); letter-spacing: .08em; transition: background .3s, color .3s, transform .3s; }
.contact-button:hover { background: var(--acid); color: var(--ink); transform: translateY(-.3rem); }
.contact-button span { font-size: 1.1rem; margin-left: 1.2rem; }
.contact-meta { text-align: right; font: .65rem var(--mono); letter-spacing: .04em; }
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.cursor-glow { width: 18rem; height: 18rem; position: fixed; z-index: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(216,255,62,.12), transparent 68%); transform: translate(-50%, -50%); left: var(--mx, -20rem); top: var(--my, -20rem); transition: left .15s ease-out, top .15s ease-out; }

@media (max-width: 800px) {
  .topbar { height: 4.8rem; }
  .desktop-nav { display: none; }
  .hero { padding-top: 7rem; }
  .hero-orbit { width: 6.5rem; height: 6.5rem; right: 1.3rem; top: 26%; }
  .hero-orbit span { font-size: .47rem; }
  .hero-title { font-size: clamp(4.6rem, 22vw, 9rem); margin-top: 7rem; }
  .hero-side-note { display: none; }
  .hero-footer { grid-template-columns: 1fr auto; gap: 1rem; }
  .scroll-cue { display: none; }
  .availability { grid-column: 1 / -1; justify-self: start; margin-top: .8rem; }
  .about, .manifesto { padding-top: 6rem; padding-bottom: 7rem; }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; margin-top: 5rem; }
  .experiments-intro { display: block; margin: 5rem 0 3rem; }
  .experiments-intro > p { margin-top: 2rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 28rem; }
  .manifesto-stamp { top: 6rem; right: 1.5rem; width: 5.5rem; height: 5.5rem; }
  .manifesto-foot { margin: 4rem 0 0 25vw; }
  .contact { padding-top: 4rem; }
  .contact-title { margin: 10vh 0; font-size: clamp(4.6rem, 20vw, 9rem); }
  .contact-bottom { grid-template-columns: 1fr auto; }
  .contact-meta { grid-column: 1 / -1; text-align: left; margin-top: 1.5rem !important; }
}

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