:root {
  --paper: #eee9dc;
  --ink: #161616;
  --acid: #dfff00;
  --blue: #2449f8;
  --pink: #ff4da6;
  --red: #ff4028;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  cursor: none;
}
a, button { color: inherit; cursor: none; }
::selection { color: var(--ink); background: var(--pink); }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: difference;
  opacity: .22;
}

.noise {
  position: fixed;
  inset: -50%;
  z-index: 20;
  pointer-events: none;
  opacity: .08;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain .18s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(0) } 25% { transform: translate(2%, -3%) } 50% { transform: translate(-3%, 2%) } 75% { transform: translate(3%, 4%) } }

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  z-index: 100;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  color: white;
  transition: width .25s, height .25s, background .25s;
}
.cursor span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: currentColor; inset: 50%; transform: translate(-50%, -50%); }
.cursor.active { width: 70px; height: 70px; background: white; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--ink);
  mix-blend-mode: difference;
  filter: invert(1);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo { justify-self: start; display: flex; gap: 7px; align-items: center; text-decoration: none; font-family: "Unbounded"; font-weight: 700; }
.logo i { display: block; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.status { margin: 0; justify-self: center; }
.status b { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #3cff63; box-shadow: 0 0 10px #3cff63; }

.section { position: relative; min-height: 100vh; padding: 110px var(--pad) 64px; overflow: hidden; }
.hero { background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { position: absolute; top: 14%; left: var(--pad); margin: 0; font-size: 11px; letter-spacing: .18em; }
.hero-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: .76;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(82px, 18vw, 300px);
  letter-spacing: -.11em;
  font-weight: 600;
}
.word { position: relative; z-index: 1; display: inline-block; }
.word-y { margin-right: -.08em; }
.word-f { margin-left: -.07em; }
.portrait-shell { position: relative; z-index: 3; width: clamp(120px, 18vw, 290px); height: clamp(200px, 30vw, 480px); flex: 0 0 auto; transform: rotate(5deg); }
.portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 48% 52% 45% 55% / 36% 44% 56% 64%;
  box-shadow: 12px 12px 0 var(--pink);
  filter: saturate(.75) contrast(1.15);
}
.portrait img { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.2); mix-blend-mode: luminosity; }
.portrait-placeholder { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; font: 500 12px/1.4 "Unbounded"; letter-spacing: .08em; color: white; text-transform: uppercase; }
.portrait.is-empty .portrait-placeholder { display: flex; }
.orbit { position: absolute; z-index: 4; border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; }
.orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--red); top: 50%; left: -6px; }
.orbit-a { inset: -8% -50%; transform: rotate(-15deg); animation: orbit 12s linear infinite; }
.orbit-b { inset: 12% -70%; transform: rotate(70deg); animation: orbit 18s linear infinite reverse; }
@keyframes orbit { to { rotate: 360deg; } }
.hero-copy { position: absolute; bottom: 8%; left: var(--pad); display: flex; width: calc(100% - var(--pad) * 2); justify-content: space-between; align-items: end; }
.hero-copy p { margin: 0; font: 500 clamp(18px, 2vw, 30px)/1.1 "Unbounded"; letter-spacing: -.05em; }
.hero-copy span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.specimen { position: absolute; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: serif; background: var(--acid); box-shadow: 4px 4px 0 var(--ink); }
.specimen-one { width: 54px; height: 54px; top: 18%; right: 9%; transform: rotate(12deg); }
.specimen-two { width: 38px; height: 38px; bottom: 20%; right: 25%; background: var(--pink); }
.specimen-three { width: 28px; height: 28px; top: 29%; left: 12%; background: var(--paper); }

.section-tag { position: absolute; top: 110px; left: var(--pad); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.section-tag span { display: inline-grid; place-items: center; margin-right: 8px; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; }
.manifesto { color: var(--paper); background: var(--ink); display: grid; place-items: center; }
.manifesto::before { content: ""; position: absolute; width: 45vw; height: 45vw; border: 1px solid #555; border-radius: 50%; }
.manifesto::after { content: ""; position: absolute; width: 18vw; height: 65vw; border: 1px solid #555; border-radius: 50%; transform: rotate(63deg); }
.manifesto-text { position: relative; z-index: 1; width: min(1150px, 92%); margin: 0; font: 500 clamp(46px, 7.5vw, 120px)/1.05 "Unbounded"; letter-spacing: -.07em; text-align: center; }
.manifesto-text em { color: var(--acid); font-style: normal; }
.manifesto-text i { color: var(--pink); font-family: Georgia, serif; font-weight: 400; }
.footnote { position: absolute; right: var(--pad); bottom: 8%; display: flex; align-items: center; gap: 16px; color: #aaa; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.footnote svg { width: 120px; fill: none; stroke: var(--acid); stroke-width: 1; }

.abilities { min-height: 110vh; background: var(--acid); padding-top: 190px; }
.abilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); perspective: 1200px; }
.ability-card { position: relative; min-height: 62vh; padding: clamp(24px, 3vw, 45px); border: 2px solid var(--ink); display: flex; flex-direction: column; background: var(--paper); transform-style: preserve-3d; transition: transform .15s ease-out, background .35s, color .35s; }
.ability-card:nth-child(2) { transform: translateY(-30px) rotate(2deg); background: var(--pink); }
.ability-card:nth-child(3) { transform: rotate(-2deg); background: var(--blue); color: white; }
.ability-card:hover { background: var(--ink); color: var(--paper); }
.ability-card::after { content: attr(data-index); position: absolute; top: 18px; right: 20px; font: 11px "Unbounded"; }
.card-symbol { font: 100px/1 Georgia, serif; margin-bottom: auto; }
.ability-card h2 { margin: 0 0 18px; font: 500 clamp(31px, 3.3vw, 56px)/1 "Unbounded"; letter-spacing: -.07em; }
.ability-card p { margin: 0 0 40px; max-width: 33ch; font-size: 15px; line-height: 1.5; }
.card-meta { border-top: 1px solid currentColor; padding-top: 16px; font-size: 9px; letter-spacing: .12em; }

.mind { min-height: 120vh; color: white; background: var(--blue); padding: 0; }
.mind .section-tag { z-index: 4; }
.mind-stage { position: relative; width: 100%; height: 120vh; display: grid; place-items: center; }
.eye { position: relative; width: min(62vw, 900px); aspect-ratio: 1.9; display: grid; place-items: center; overflow: hidden; background: var(--paper); border-radius: 100% 0 100% 0; transform: rotate(45deg); box-shadow: 0 0 0 30px rgba(255,255,255,.08); }
.iris { width: 35%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, var(--pink) 0 5px, var(--red) 6px 12px, var(--acid) 13px 18px); transform: rotate(-45deg); }
.pupil { width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 12px rgba(0,0,0,.15); transition: transform .1s; }
.mind-question { position: absolute; z-index: 3; margin: 0; color: var(--ink); text-align: center; font: 600 clamp(32px, 5vw, 74px)/1 "Unbounded"; letter-spacing: -.07em; pointer-events: none; }
.mind-question em { font-family: Georgia, serif; color: var(--blue); }
.mind-line { position: absolute; z-index: 2; margin: 0; padding: 8px 16px; border: 1px solid white; border-radius: 99px; font: 12px "Unbounded"; text-transform: uppercase; background: var(--blue); }
.line-a { left: 5%; top: 30%; transform: rotate(-13deg); }.line-b { right: 7%; top: 25%; transform: rotate(8deg); }.line-c { right: 11%; bottom: 22%; transform: rotate(-5deg); }.line-d { left: 8%; bottom: 18%; transform: rotate(11deg); }

.contact { min-height: 100vh; background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.contact-copy > p { margin: 0 0 25px; font: 500 clamp(35px, 6vw, 90px)/1.05 "Unbounded"; letter-spacing: -.07em; }
.contact-link { position: relative; display: flex; align-items: center; width: 100%; justify-content: space-between; color: var(--ink); text-decoration: none; font: 500 clamp(45px, 10vw, 160px)/1 "Unbounded"; letter-spacing: -.09em; border-bottom: 4px solid var(--ink); }
.contact-link span { transition: color .25s, transform .25s; }
.contact-link i { display: grid; place-items: center; width: .75em; height: .75em; border: 2px solid; border-radius: 50%; font: normal .45em/1 "Manrope"; transition: transform .4s, background .25s; }
.contact-link:hover span { color: var(--blue); transform: skewX(-7deg); }.contact-link:hover i { transform: rotate(45deg); background: var(--acid); }
.contact-bottom { position: absolute; bottom: 30px; left: var(--pad); right: var(--pad); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; font-size: 10px; letter-spacing: .1em; }
.contact-bottom nav { justify-self: center; display: flex; gap: 24px; }
.contact-bottom a { text-decoration: none; border-bottom: 1px solid; }
.to-top { justify-self: end; width: 44px; height: 44px; border: 1px solid; border-radius: 50%; background: transparent; }

.marquee { position: fixed; z-index: 40; left: 0; bottom: 0; width: 100%; padding: 7px 0; overflow: hidden; color: var(--paper); background: var(--ink); border-top: 1px solid var(--paper); font: 9px "Unbounded"; white-space: nowrap; }
.marquee div { display: inline-block; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-text { opacity: .15; filter: blur(8px); transform: scale(.94); transition: 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal-text.visible { opacity: 1; filter: blur(0); transform: none; }

@media (max-width: 800px) {
  body, a, button { cursor: auto; }
  .cursor { display: none; }
  .topbar { grid-template-columns: 1fr auto; padding: 16px var(--pad); }
  .status { justify-self: end; font-size: 8px; letter-spacing: .04em; }
  .status b { width: 5px; height: 5px; }
  .section { min-height: 100svh; padding-top: 90px; }
  .hero { min-height: 100svh; padding-bottom: 90px; }
  .eyebrow { top: 14%; font-size: 9px; }
  .hero-title { position: relative; font-size: clamp(62px, 20.5vw, 105px); flex-wrap: nowrap; letter-spacing: -.13em; transform: translateX(-1.8vw); }
  .portrait-shell { position: absolute; left: 50%; width: clamp(108px, 31vw, 150px); height: clamp(180px, 50vw, 245px); transform: translateX(-50%) rotate(5deg); }
  .word-y { margin-right: -.045em; }.word-f { margin-left: -.045em; }
  .hero-copy { bottom: 9%; align-items: end; }
  .hero-copy p { max-width: 270px; font-size: clamp(15px, 4.3vw, 19px); }
  .hero-copy span { font-size: 8px; }
  .specimen-one { top: 19%; right: 8%; width: 44px; height: 44px; }
  .specimen-two { right: 12%; bottom: 17%; }
  .specimen-three { top: 26%; left: 12%; }
  .manifesto { padding-inline: 18px; }
  .manifesto::before { width: 84vw; height: 84vw; }
  .manifesto::after { width: 35vw; height: 115vw; }
  .manifesto-text { width: 100%; font-size: clamp(34px, 9.6vw, 56px); line-height: 1.08; }
  .footnote { display: none; }
  .section-tag { top: 82px; }
  .abilities { padding: 145px 14px 90px; }
  .abilities .section-tag { left: 20px; }
  .abilities-grid { grid-template-columns: 1fr; }
  .ability-card { min-height: 430px; padding: 26px; }
  .ability-card:nth-child(2), .ability-card:nth-child(3) { transform: none; }
  .card-symbol { font-size: 82px; }
  .ability-card h2 { font-size: clamp(34px, 10vw, 46px); }
  .mind, .mind-stage { min-height: 100svh; height: 100svh; }
  .eye { width: 82vw; border-radius: 82% 0 82% 0; box-shadow: 0 0 0 14px rgba(255,255,255,.08); }
  .iris { width: 39%; }
  .mind-question { width: 72%; font-size: clamp(23px, 6.7vw, 34px); }
  .mind-line { padding: 6px 10px; font-size: 8px; }
  .line-a { left: 4%; top: 25%; }.line-b { right: 4%; top: 30%; }.line-c { right: 5%; bottom: 22%; }.line-d { left: 5%; bottom: 18%; }
  .contact { justify-content: flex-start; padding-top: 24vh; }
  .contact-copy > p { font-size: clamp(32px, 9.3vw, 48px); }
  .contact-link { gap: 12px; font-size: clamp(36px, 11.5vw, 56px); letter-spacing: -.08em; border-width: 2px; white-space: nowrap; }
  .contact-link i { flex: 0 0 auto; }
  .contact-bottom { grid-template-columns: 1fr auto; }
  .contact-bottom nav { position: absolute; bottom: 62px; left: 0; justify-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .contact-bottom > p { margin: 0; }
}

@media (max-width: 380px) {
  .status { display: none; }
  .hero-title { font-size: 19.5vw; }
  .contact-link { font-size: 10.7vw; }
}

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