:root {
  --pink: #fc0fc0;
  --acid: #92f4ff;
  --paper: #e5e7f0;
  --ink: #100d19;
  --red: #eb3323;
  --blood: #580018;
  --rule: 2px solid var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0;  background: var(--paper); color: var(--ink); font-family: "Fira Code", monospace;  }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--ink); color: var(--acid); }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 200; background: var(--acid); padding: 1rem; font-weight: 900; }
.skip:focus { top: 1rem; }


.masthead { position: sticky; top: 0; z-index: 50; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; border-bottom: var(--rule); background: var(--paper); }
.wordmark { display: flex; align-items: center; gap: .25rem; padding: 0 1.2rem; font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -.08em; text-decoration: none; }
.wordmark::before { content: ""; width: 1.5rem; height: 1.5rem; margin-right: .35rem; background: var(--pink); -webkit-mask: url("/favicon.svg") center / contain no-repeat; mask: url("/favicon.svg") center / contain no-repeat; transform: rotate(-7deg); transition: transform .2s; }
.wordmark:hover::before { transform: rotate(13deg) scale(1.15); }
.wordmark i { color: var(--pink); font-size: 2.4rem; }
.masthead nav { display: flex; border-inline: var(--rule); }
.masthead nav a, .panic { display: grid; place-items: center; min-width: 118px; padding: 0 1rem; border: 0; border-right: var(--rule); background: transparent; font-size: .7rem; font-weight: 700; text-decoration: none; }
.masthead nav a:hover { background: var(--ink); color: var(--paper); }
.panic { justify-self: end; border-right: 0; border-left: var(--rule); cursor: pointer; }
.panic:hover, .panic[aria-pressed="true"] { background: var(--pink); }

.hero { position: relative; min-height: calc(100vh - 74px); display: grid; grid-template-columns: 48px minmax(0, 1.35fr) minmax(330px, .65fr); border-bottom: var(--rule); }
.hero-side { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; justify-content: space-between; padding: 1rem .8rem; border-left: var(--rule); font-size: .55rem; letter-spacing: .12em; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 6rem); border-left: var(--rule); overflow: hidden; }
.eyebrow { display: flex; justify-content: space-between; margin: 0 0 3rem; padding-bottom: .7rem; border-bottom: 1px solid; font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.eyebrow span { color: var(--ink); }
h1, h2, h3, .footer-call { font-family: "Space Grotesk", sans-serif; }
h1 { margin: 0; font-size: clamp(4.6rem, 10vw, 10rem); line-height: .86; letter-spacing: -.09em; font-weight: 800; }
h1 .strike { color: var(--ink); background: var(--pink); }
h1 em { display: inline-block; margin-left: .35em; font-style: italic; color: transparent; -webkit-text-stroke: 2px var(--ink); transform: skew(-8deg); }
h1 em, h2 i, .manifesto .lead em { font-family: Georgia, "Times New Roman", serif; font-weight: 900; }
.hero-copy h1::first-letter { font-family: Georgia, "Times New Roman", serif; }
.dek { max-width: 670px; margin: clamp(2rem, 5vw, 5rem) 0 0; font-size: clamp(.82rem, 1.2vw, 1.05rem); line-height: 1.7; }
.dek strong { background: var(--acid); }
.specimen { position: relative; min-height: 520px; background: var(--pink); overflow: hidden;  }
.spiral-toggle { border: 1px solid var(--ink); padding: .28rem .5rem; background: transparent; color: var(--ink); font: 800 .52rem/1 "Fira Code", monospace; letter-spacing: .08em; cursor: pointer; }
.spiral-toggle:hover, .spiral-toggle:focus-visible { background: var(--ink); color: var(--pink); outline: 0; }
.down { position: absolute; left: calc(48px + 1rem); bottom: 1rem; z-index: 2; font-size: .58rem; font-weight: 800; text-decoration: none; }


.work { position: relative; padding: clamp(3rem, 7vw, 8rem) 0 0; background: var(--ink); color: var(--paper); }
.section-head { position: relative; padding: 0 clamp(1.2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.section-head > p { font-size: .65rem; letter-spacing: .13em; }
.section-head h2 { margin: 2rem 0 0; font-size: clamp(4.5rem, 14vw, 13rem); line-height: .9; letter-spacing: -.1em; }
.section-head h2 i { margin-left: 18%; color: var(--pink); font-style: italic; }
.scribble { position: absolute; right: 9%; bottom: 17%; font-family: cursive; font-size: clamp(1rem, 2vw, 1.7rem); color: var(--acid); transform: rotate(-8deg); }
.case { position: relative; display: grid; grid-template-columns: 7vw 1.3fr 1fr 8vw; align-items: center; min-height: 250px; padding: 2rem clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--paper); text-decoration: none; overflow: hidden; transition: color .15s; }
.case::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--case-color); transform: translateX(-101%); transition: transform .32s cubic-bezier(.65,0,.35,1); }
.case > * { position: relative; z-index: 1; }
.case:hover { color: var(--ink); }
.case:hover::before { transform: none; }
.case-num { align-self: start; font-size: .6rem; }
.case p { margin: 0; font-size: .62rem; line-height: 1.6; }
.case h3, .case h2 { margin: .8rem 0 0; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .86; letter-spacing: -.08em; }
.case-copy { max-width: 330px; }
.case-arrow { justify-self: end; font-size: clamp(3rem, 6vw, 6rem); transition: transform .2s; }
.case:hover .case-arrow { transform: rotate(45deg); }
.case-noice { --case-color: #45c496; }
.case-eden { --case-color: #67d7ed; }
.case-meta { --case-color: var(--pink); }

.person { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--rule); background: var(--paper); }
.person-title-wrap { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); border-right: var(--rule); }
.person-title-wrap > p { font-size: .65rem; letter-spacing: .12em; }
.brand-sigil { position: absolute; z-index: -1; width: min(46vw, 650px); aspect-ratio: 1; right: -16%; top: 10%; background: var(--pink); -webkit-mask: url("/favicon.svg") center / contain no-repeat; mask: url("/favicon.svg") center / contain no-repeat; opacity: .92; transform: rotate(9deg); }
.person h2 { position: relative; margin: 3rem 0; font-size: clamp(5rem, 11vw, 11rem); line-height: .9; letter-spacing: -.1em; mix-blend-mode: multiply; }
.manifesto { padding: clamp(3rem, 8vw, 8rem) clamp(1.2rem, 6vw, 6rem); }
.manifesto > p { max-width: 680px; line-height: 1.8; font-size: .85rem; }
.manifesto .lead { margin: 0 0 3rem; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 3.5vw, 3.4rem); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.manifesto .lead em { background: var(--pink); font-style: normal; }
.manifesto dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4rem 0; border: var(--rule); }
.manifesto dl div { padding: 1rem; border-right: var(--rule); }
.manifesto dl div:last-child { border: 0; }
.manifesto dt { margin-bottom: 2rem; font-size: .58rem; }
.manifesto dd { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.classified { display: inline-block; padding: 1rem; background: var(--ink); color: var(--paper); font-size: .7rem; font-weight: 800; text-decoration: none; box-shadow: 6px 6px 0 var(--pink); }
.classified:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--pink); }

.contact { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; background: var(--pink); border-bottom: var(--rule); }
.contact-pitch { padding: clamp(3rem, 6vw, 6rem) clamp(1.2rem, 5vw, 5rem); border-right: var(--rule); }
.contact-pitch > p:first-child { font-size: .6rem; letter-spacing: .1em; }
.contact h2 { margin: 4rem 0; font-size: clamp(5rem, 10vw, 10rem); line-height: .9; letter-spacing: -.1em; }
.contact h2 i { color: var(--paper); font-style: italic; -webkit-text-stroke: 2px var(--ink); }
.contact-note { max-width: 470px; font-size: .72rem; line-height: 1.7; }
form { display: flex; flex-direction: column; padding: clamp(2rem, 5vw, 5rem); }
form label { display: block; padding: 1.4rem 0; border-bottom: var(--rule); }
form label span { display: block; margin-bottom: .8rem; font-size: .58rem; font-weight: 800; }
input, textarea { min-width: 0; width: 100%; border: 0; outline: 0; padding: 0; resize: vertical; background: transparent; color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.05em; }
input::placeholder, textarea::placeholder { color: #504047; }
input:focus::placeholder, textarea:focus::placeholder { color: transparent; }
.key-field textarea { font-family: "Fira Code", monospace; font-size: 1rem; letter-spacing: 0; }
.trap { position: absolute; left: -9999px; }
form button { display: flex; justify-content: space-between; margin-top: 2rem; border: var(--rule); padding: 1.4rem; background: var(--ink); color: var(--paper); font-weight: 800; cursor: pointer; box-shadow: 8px 8px 0 var(--paper); }
form button:hover:not(:disabled) { background: var(--acid); color: var(--ink); }
form button:disabled { opacity: .6; cursor: wait; }
.form-status { margin-top: 1.6rem; font-size: .6rem; font-weight: 800; }

footer { display: grid; grid-template-columns: 1fr 340px; min-height: 80vh; background: var(--paper); border-top: 12px solid var(--blood); }
.footer-call { align-self: end; padding: 4vw; font-size: clamp(5rem, 15vw, 15rem); font-weight: 800; line-height: .86; letter-spacing: -.11em; }
.footer-call span { color: var(--pink); }
.footer-meta { display: flex; flex-direction: column; gap: 1.5rem; padding: 3rem 2rem; border-left: var(--rule); font-size: .65rem; font-weight: 700; }
.footer-meta a { padding-bottom: .5rem; border-bottom: 1px solid; text-decoration: none; }
.footer-meta p:last-child { margin-top: auto; line-height: 1.8; }

.field-note { margin: .7rem 0 0; font-size: .58rem; line-height: 1.6; }

@media (max-width: 850px) {
  .masthead { grid-template-columns: 1fr auto; height: 58px; }
  .masthead nav { display: flex; }
  .panic { font-size: .58rem; }
  .hero { grid-template-columns: 28px 1fr; min-height: auto; }
  .hero-copy { min-height: calc(100svh - 58px); padding: 3rem 1.2rem; }
  .specimen { grid-column: 1 / -1; min-height: 70vw; border-top: var(--rule); }
  .down { display: none; }
  h1 { font-size: clamp(4.4rem, 21vw, 8rem); }
  .section-head h2 i { margin-left: 5%; }
  .case { grid-template-columns: 2rem 1fr 4rem; min-height: 210px; }
  .case-copy { display: none; }
  .person, .contact { grid-template-columns: 1fr; }
  .person-title-wrap, .contact-pitch { border-right: 0; border-bottom: var(--rule); }
  .manifesto dl { grid-template-columns: 1fr; }
  .manifesto dl div { border-right: 0; border-bottom: var(--rule); }
  footer { grid-template-columns: 1fr; min-height: auto; }
  .footer-call { min-height: 60vh; display: flex; align-items: end; }
  .footer-meta { border-left: 0; border-top: var(--rule); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case::before { transition: none; }
}

/* Interior pages: same organism, different organs. */
.inner { background: var(--paper); }
.inner-main { min-height: 100vh; }
.inner-hero { display: grid; grid-template-columns: 1fr 280px; min-height: 72vh; border-bottom: var(--rule); }
.inner-hero-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 6vw, 6rem); }
.crumb { font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.inner-hero h1 { margin: 2rem 0; font-size: clamp(5.5rem, 17vw, 17rem); line-height: .86; }
.inner-hero h1 i { color: var(--ink); font-style: italic; }
.inner-rail { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-left: var(--rule); background: var(--accent-page, var(--pink)); font-size: .65rem; line-height: 1.7; }
.inner-rail strong { font-family: "Space Grotesk", sans-serif; font-size: 2rem; line-height: 1; }
.archive { background: var(--ink); color: var(--paper); }
.archive .case { grid-template-columns: 6vw 1fr 1fr 7vw; }
.project-intro { display: grid; grid-template-columns: .85fr 1.15fr; border-bottom: var(--rule); }
.project-intro > * { padding: clamp(2rem, 6vw, 6rem); }
.project-intro > :first-child { border-right: var(--rule); }
.project-intro .big { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 700; line-height: .95; letter-spacing: -.06em; }
.prose { max-width: 780px; font-size: .88rem; line-height: 1.85; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: var(--rule); }
.fact { min-height: 260px; padding: 2rem; border-right: var(--rule); }
.fact:last-child { border-right: 0; }
.fact span { font-size: .58rem; }
.fact h2 { margin: 4rem 0 1rem; font-size: clamp(2rem, 4vw, 4rem); line-height: .9; }
.fact p { font-size: .72rem; line-height: 1.7; }
.next-case { display: flex; justify-content: space-between; align-items: end; min-height: 55vh; padding: clamp(2rem, 6vw, 6rem); background: var(--accent-page, var(--pink)); text-decoration: none; }
.next-case span { font-size: .65rem; }
.next-case strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(4rem, 13vw, 13rem); line-height: .86; letter-spacing: -.09em; }
.legal { display: grid; grid-template-columns: minmax(220px, .45fr) 1fr; }
.legal-aside { min-height: calc(100vh - 74px); padding: 3rem; border-right: var(--rule); background: var(--pink); }
.legal-aside h1 { margin: 4rem 0; font-size: clamp(4rem, 8vw, 8rem); line-height: .7; }
.legal-copy { padding: clamp(2rem, 7vw, 7rem); }
.legal-copy h2 { margin-top: 3rem; font-size: 1.5rem; }
.legal-copy p, .legal-copy li { max-width: 760px; font-size: .78rem; line-height: 1.8; }
.secure-contact-link { display: inline-block; border-bottom: 1px dashed currentColor; font-weight: 700; text-decoration: none; }
.error-page { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 2rem; text-align: center; background: var(--acid); }
.error-page h1 { margin: 0; font-size: clamp(8rem, 30vw, 30rem); line-height: .6; }
.error-page p { margin: 4rem 0 2rem; font-weight: 800; }
@media (max-width: 850px) {
  .inner-hero, .project-intro, .legal { grid-template-columns: 1fr; }
  .inner-rail, .project-intro > :first-child, .legal-aside { border: 0; border-top: var(--rule); }
  .inner-rail { min-height: 240px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: var(--rule); }
  .archive .case { grid-template-columns: 2rem 1fr 4rem; }
}

/* Editorial hierarchy and input states. Pink is reserved for large type and fields. */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
:target { scroll-margin-top: 9rem; }
main:focus { outline: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.masthead { height: auto; min-height: 74px; }
.masthead nav a, .panic { min-height: 48px; min-width: 0; }
.masthead nav a { white-space: nowrap; }
.hero { grid-template-columns: 36px minmax(0, 1.2fr) minmax(300px, .8fr); }
.hero-copy { padding: clamp(1.2rem, 4vw, 4rem); }
h1 { font-size: clamp(3.5rem, 8.2vw, 9rem); }
h1 em { margin-left: 0; }
.specimen { margin: 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-left: var(--rule); }
.specimen figcaption { font-size: .8rem; line-height: 1.7; }
.specimen figcaption span { font-family: Georgia, serif; font-size: 1.25rem; }
.specimen #signal { display: block; width: 100%; height: auto; aspect-ratio: 1; flex-shrink: 0; }
.spiral-controls { border-top: var(--rule); padding-top: 1rem; }
.spiral-controls label { display: flex; justify-content: space-between; }
.spiral-controls input { display: block; margin: .6rem 0; min-height: 44px; accent-color: var(--ink); }
.spiral-toggle { font-size: .8rem; min-height: 44px; padding: .6rem; }
#spiral-help { font-size: .75rem; line-height: 1.7; }
.case:focus-visible { outline-offset: -6px; color: var(--ink); }
.case:focus-visible::before { transform: none; }
.case p, .contact-note, .field-note, .form-status, .legal-copy p, .legal-copy li, .fact p { font-size: .875rem; line-height: 1.7; }
form label span, .footer-meta, .crumb, .inner-rail, .section-head > p { font-size: .8rem; }
.form-status { overflow-wrap: anywhere; }
.person h2 { mix-blend-mode: normal; }
.legal { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.legal-aside { padding: clamp(1.2rem, 4vw, 4rem); }
.legal-aside h1 { font-size: clamp(2.5rem, 5.8vw, 6rem); line-height: .95; letter-spacing: -.065em; }
.inner-hero h1 { font-size: clamp(3.5rem, 12vw, 12rem); }
.next-case { gap: 2rem; flex-wrap: wrap; }
.next-case strong { font-size: clamp(3rem, 10vw, 11rem); }
.footer-call { font-size: clamp(3.7rem, 12vw, 12rem); }
@media (max-width: 1000px) {
  .masthead { grid-template-columns: 1fr auto; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; border-top: var(--rule); border-inline: 0; }
  .masthead nav a { flex: 1; padding: .65rem .4rem; }
  .hero { grid-template-columns: 28px minmax(0, 1fr); }
  .hero-copy { min-height: auto; padding: 3rem 1.2rem 4rem; }
  h1 { font-size: clamp(3.4rem, 13vw, 8rem); }
  .specimen { grid-column: 1 / -1; border-left: 0; border-top: var(--rule); align-items: stretch; }
  .specimen #signal { max-height: 440px; }
  .down { display: none; }
}
@media (max-width: 850px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { min-height: auto; }
  .legal-aside h1 { font-size: clamp(3rem, 12vw, 6rem); }
  .case-copy { display: block; grid-column: 2; margin-top: 1rem !important; }
  .case-arrow { grid-column: 3; grid-row: 1; }
  .section-head h2 { font-size: clamp(3rem, 12vw, 7rem); }
  .scribble { position: static; display: block; margin-top: 1.5rem; }
  .person h2, .contact h2 { font-size: clamp(3.8rem, 14vw, 7rem); }
  .footer-call { min-height: auto; padding: 3rem 1rem; }
  .eyebrow { flex-wrap: wrap; gap: .75rem; line-height: 1.7; }
  .wordmark { font-size: 1.25rem; padding: .4rem .6rem; }
  .panic { padding: .5rem; font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.contact-pitch h1 { margin: 3rem 0; font-size: clamp(3.5rem, 10vw, 9rem); line-height: .9; }
.error-page h1 { line-height: .9; }
.error-page p { max-width: 55ch; line-height: 1.7; margin: 2rem auto; }
.error-page .classified { margin: .75rem; }

span.panic { cursor: default; }
span.panic:hover { background: transparent; }

/* Night-side editorial: dark matter, engraved type, a live pink instrument. */
.hero { background: var(--ink); color: var(--paper); border-bottom: 8px solid var(--blood); }
.hero-side { border-color: var(--paper); }
.hero-copy { border-color: var(--paper); }
.hero-copy h1 em { color: var(--paper); -webkit-text-stroke: 0; }
.hero-copy .eyebrow span { color: var(--pink); }
.hero-copy .dek strong { color: var(--ink); }
.specimen { color: var(--ink); }
.specimen figcaption { padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.specimen figcaption::before { content: "+"; float: right; font-size: 1.75rem; line-height: 1; }
.person-title-wrap { background: var(--ink); color: var(--paper); border-top: 8px solid var(--blood); }
.person h2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: -.075em; font-weight: 900; }
.person .brand-sigil { opacity: 1; width: min(35vw, 450px); top: auto; bottom: -9%; right: -17%; }
.person-title-wrap > p, .person h2 { position: relative; z-index: 1; }
.person h2 { text-shadow: 3px 3px var(--ink), -2px -2px var(--ink); }
.footer-call { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(3.2rem, 10vw, 10rem); letter-spacing: -.08em; }
@media (max-width: 850px) {
  .person h2 { font-size: clamp(3.4rem, 13vw, 7rem); }
  .person .brand-sigil { width: 58vw; right: -15%; bottom: -20%; }
}
:where(a, button, input, textarea):focus { scroll-margin-block: 9rem 2rem; }

/* Focus is part of the interface language: two inks stay visible on every plate. */
:where(a, button, input, textarea):focus-visible {
  outline: 3px solid var(--focus-front, var(--acid));
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-back, var(--ink));
}

/* A radial measuring instrument, not a second decorative curve. */
.plot-grid { fill: none; stroke: currentColor; stroke-width: .65; opacity: .24; }
#signal { cursor: crosshair; }
#probe-ray { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 4; }
#probe-gap { stroke: var(--paper); stroke-width: 5; paint-order: stroke; }
#spiral-probe circle { fill: var(--acid); stroke: var(--ink); stroke-width: 2; }
.probe-readout { font-size: .75rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.spiral-controls label:not(:first-child) { margin-top: 1rem; }

/* Retained foundations for the alternate view. :where keeps its original specificity. */
.cyber-home:where(.surprise-mode) .masthead { background: var(--ink); color: var(--acid); border-bottom: 2px solid var(--acid); }
.cyber-home:where(.surprise-mode) { --focus-front: var(--acid); --focus-back: var(--pink); }
.cyber-home:where(.surprise-mode) .masthead nav, .cyber-home:where(.surprise-mode) .masthead nav a, .cyber-home:where(.surprise-mode) .panic { border-color: var(--acid); }
.cyber-home:where(.surprise-mode) .masthead nav a:hover, .cyber-home:where(.surprise-mode) .panic:hover { background: var(--acid); color: var(--ink); }
.cyber-home:where(.surprise-mode) .hero { border-bottom: 6px solid var(--pink); }
.cyber-home:where(.surprise-mode) .hero-copy h1, .cyber-home:where(.surprise-mode) .hero-copy h1 em, .cyber-home:where(.surprise-mode) .hero-copy h1::first-letter { font-family: "Space Grotesk", sans-serif; font-style: normal; }
.cyber-home:where(.surprise-mode) .hero-copy h1 em { color: var(--acid); }
.cyber-home:where(.surprise-mode) .specimen { background-image: linear-gradient(#11100e16 1px, transparent 1px), linear-gradient(90deg, #11100e16 1px, transparent 1px); background-size: 30px 30px; }
.cyber-home:where(.surprise-mode) .specimen { border-bottom: 6px solid var(--pink); }
.cyber-home:where(.surprise-mode) .specimen figcaption span { font-family: "Fira Code", monospace; font-size: .9rem; }
.cyber-home:where(.surprise-mode) .section-head h2 i { font-family: "Space Grotesk", sans-serif; font-style: normal; letter-spacing: -.085em; }
.cyber-home:where(.surprise-mode) .case-num { color: var(--acid); }
.cyber-home:where(.surprise-mode) .case { transition: color .12s steps(2); }
.cyber-home:where(.surprise-mode) .case::before { transition-timing-function: steps(6); }
.cyber-home:where(.surprise-mode) .case:hover .case-num, .cyber-home:where(.surprise-mode) .case:focus-visible .case-num { color: var(--ink); }
.cyber-home:where(.surprise-mode) .person-title-wrap { border-top-color: var(--pink); }
.cyber-home:where(.surprise-mode) .person h2 { font-family: "Space Grotesk", sans-serif; font-style: normal; color: var(--acid); }
.cyber-home:where(.surprise-mode) .manifesto .lead em { font-family: "Space Grotesk", sans-serif; }
.cyber-home:where(.surprise-mode) .contact h2 i { font-family: "Space Grotesk", sans-serif; color: var(--ink); font-style: normal; -webkit-text-stroke: 0; }
.cyber-home:where(.surprise-mode) footer { background: var(--ink); color: var(--paper); border-top: 6px solid var(--pink); }
.cyber-home:where(.surprise-mode) .footer-call { font-family: "Space Grotesk", sans-serif; font-style: normal; color: var(--acid); }
.cyber-home:where(.surprise-mode) .footer-meta { border-color: var(--paper); }

.cyber-home:where(.surprise-mode) .panic { color: var(--acid); }

/* Home uses the same paper, ink, pink panels and rules as the project pages. */
.cyber-home:not(.surprise-mode) { --focus-front: var(--ink); --focus-back: var(--paper); }
.cyber-home:not(.surprise-mode) .hero { background: var(--paper); color: var(--ink); border-bottom: var(--rule); }
.cyber-home:not(.surprise-mode) .hero-copy,
.cyber-home:not(.surprise-mode) .hero-side { border-color: var(--ink); }
.cyber-home:not(.surprise-mode) .hero-copy h1::first-letter { font-family: inherit; }
.cyber-home:not(.surprise-mode) .hero-copy h1 em { color: var(--ink); }
.cyber-home:not(.surprise-mode) .person-title-wrap { background: var(--paper); color: var(--ink); border-top: 0; }
.cyber-home:not(.surprise-mode) .person h2 { font-family: "Space Grotesk", sans-serif; font-style: normal; font-size: clamp(3rem, 6.5vw, 7rem); line-height: 1; letter-spacing: -.065em; text-shadow: none; }
.cyber-home:not(.surprise-mode) .brand-sigil { opacity: .12; }
.cyber-home:not(.surprise-mode) footer { border-top: var(--rule); }
.cyber-home:not(.surprise-mode) .footer-call { font-family: "Space Grotesk", sans-serif; font-style: normal; }
.specimen .metalheart { display: block; width: 100%; height: auto; max-height: 130px; aspect-ratio: 3; margin-bottom: 1.2rem; flex-shrink: 0; }
.cyber-home:not(.surprise-mode) .metalheart { display: none; }
@media (max-width: 850px) {
  .cyber-home:not(.surprise-mode) .person h2 { font-size: clamp(3rem, 11vw, 6rem); }
}

/* Side B: nocturnal editorial. Bone, black, blood; pink cuts through both worlds. */
.cyber-home.surprise-mode { background: var(--ink); }
.cyber-home.surprise-mode { --focus-front: var(--paper); --focus-back: var(--blood); }
.surprise-mode .masthead { background: var(--paper); color: var(--ink); border-bottom: 5px double var(--ink); }
.surprise-mode .masthead nav, .surprise-mode .masthead nav a, .surprise-mode .panic { border-color: var(--ink); }
.surprise-mode .masthead nav a:hover, .surprise-mode .panic:hover { background: var(--ink); color: var(--paper); }
.surprise-mode .panic { background: var(--ink); color: var(--paper); }
.surprise-mode .hero { border-bottom: 10px solid var(--blood); }
.surprise-mode .hero-copy { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.surprise-mode .hero-side { background: var(--blood); color: var(--paper); border: 0; }
.surprise-mode .hero-copy h1, .surprise-mode .hero-copy h1 em, .surprise-mode .hero-copy h1::first-letter { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.surprise-mode .hero-copy h1 { letter-spacing: -.085em; }
.surprise-mode .hero-copy h1 em { color: var(--ink); }
.surprise-mode .hero .strike { background: var(--ink); color: var(--paper); }
.surprise-mode .hero-copy .eyebrow span { color: var(--ink); }
.surprise-mode .hero-copy .dek strong { background: var(--blood); color: var(--paper); }
.surprise-mode .specimen { background: var(--ink); color: var(--pink); border-color: var(--blood); }
.surprise-mode .specimen figcaption { border-color: var(--paper); color: var(--paper); }
.surprise-mode .specimen figcaption span { font-family: Georgia, serif; font-style: italic; font-size: 1.3rem; }
.surprise-mode .specimen #signal { border: 1px solid var(--blood); border-radius: 50% 50% 0 0; }
.surprise-mode .spiral-controls { border-color: var(--paper); color: var(--paper); }
.surprise-mode .spiral-controls input { accent-color: var(--pink); }
.surprise-mode .spiral-toggle { color: var(--paper); border-color: var(--paper); }
.surprise-mode .spiral-toggle:hover, .surprise-mode .spiral-toggle:focus-visible { background: var(--paper); color: var(--ink); }
.surprise-mode #spiral-probe circle { fill: var(--paper); stroke: var(--ink); }
.surprise-mode #probe-gap { stroke: var(--paper); }
.surprise-mode #spiral-help { color: var(--paper); }
.surprise-mode .plot-grid { opacity: .16; }
.surprise-mode .section-head h2, .surprise-mode .section-head h2 i { font-family: Georgia, serif; font-style: italic; }
.surprise-mode .section-head h2 i { color: var(--paper); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: .12em; }
.surprise-mode .scribble { color: var(--paper); }
.surprise-mode .case { border-top: 1px solid var(--paper); }
.surprise-mode .case { transition: color .24s ease; }
.surprise-mode .case::before { transition-timing-function: cubic-bezier(.2,.8,.2,1); }
.surprise-mode .case::before { background: var(--paper); }
.surprise-mode .case-num { color: var(--paper); }
.surprise-mode .case h3 { font-family: Georgia, serif; font-style: italic; }
.surprise-mode .person-title-wrap { border-top: 10px solid var(--blood); }
.surprise-mode .person h2 { font-family: Georgia, serif; font-style: italic; color: var(--paper); }
.surprise-mode .manifesto .lead em { font-family: Georgia, serif; background: var(--blood); color: var(--paper); }
.surprise-mode .manifesto dl { border-block: 5px double var(--ink); }
.surprise-mode .contact { background: var(--paper); border-top: 10px solid var(--blood); }
.surprise-mode .contact-pitch { background: var(--ink); color: var(--paper); }
.surprise-mode .contact h2, .surprise-mode .contact h2 i { font-family: Georgia, serif; font-style: italic; color: var(--paper); }
.surprise-mode .contact h2 i { color: var(--pink); }
.surprise-mode footer { background: var(--paper); color: var(--ink); border-top: 10px solid var(--blood); }
.surprise-mode .footer-call { font-family: Georgia, serif; font-style: italic; color: var(--ink); }
.surprise-mode .footer-meta { border-color: var(--ink); }
/* Selection reveals which plate is active without inventing another colour. */
.cyber-home::selection, .cyber-home *::selection { background: var(--acid); color: var(--ink); }
.cyber-home.surprise-mode::selection, .cyber-home.surprise-mode *::selection { background: var(--blood); color: var(--paper); }

@media (prefers-contrast: more) {
  .plot-grid { opacity: .65; }
  .cyber-home .case, .surprise-mode .case { border-width: 2px; }
  :where(a, button, input, textarea):focus-visible { outline-width: 4px; }
}

@media (forced-colors: active) {
  .brand-sigil, .wordmark::before { forced-color-adjust: auto; }
  .plot-grid, #spiral-path, #spiral-probe { stroke: CanvasText; }
  :where(a, button, input, textarea):focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}
@media (max-width: 850px) {
  .surprise-mode .hero-copy h1 { font-size: clamp(3rem, 12vw, 7rem); }
}
