/* ============================================================
   RADERTURNER.COM — v2
   Carried from the Cargo original: near-black #040404, spike
   green #6dce6c, white @ .85, grain, tape, rotation.
   New: Instrument Serif italic accents, collage grids, video.
   ============================================================ */

/* Rader's handwriting — accents and subheadings only */
@font-face {
  font-family: "Rader";
  src: url("assets/fonts/RaderFont.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #040404;
  --ink: rgba(255, 255, 255, 0.85);
  --ink-dim: rgba(255, 255, 255, 0.58); /* was .45 — legibility pass 2026-07-21 */
  --green: #6dce6c;
  --green-tape: #3ddd57;
  --font: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the whole background breathes — giant ring systems interfering (the egg,
   blown up to room scale) */
#bg-rings { position: fixed; inset: -20%; z-index: -1; pointer-events: none; }
#bg-rings::before, #bg-rings::after {
  content: ""; position: absolute; inset: 0;
}
#bg-rings::before {
  background: repeating-radial-gradient(circle at 82% 14%,
    rgba(206, 212, 218, 0.04) 0 2px, transparent 2px 15px);
  animation: bgRingsA 34s ease-in-out infinite alternate;
}
#bg-rings::after {
  background: repeating-radial-gradient(circle at 81% 15%,
    rgba(206, 212, 218, 0.027) 0 2px, transparent 2px 16px);
  animation: bgRingsB 26s ease-in-out infinite alternate;
}
@keyframes bgRingsA { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.05) translate(-14px, 10px); } }
@keyframes bgRingsB { 0% { transform: scale(1.04) translate(10px, -8px); } 100% { transform: scale(1) translate(0, 0); } }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 999;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ============ TOP BAR: brand + text nav, tape categories always visible ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 0.7rem var(--pad) 0.55rem;
  z-index: 100;
  background: rgba(4, 4, 4, 0.92);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  overflow: hidden;
}
/* moiré lives in the header too */
.topbar .holes, .topbar .holes2 { position: absolute; inset: -40px; opacity: 0.5; pointer-events: none; }
.topbar .holes {
  background-image: radial-gradient(circle, #000 1.6px, transparent 2.1px);
  background-size: 13px 13px;
}
.topbar .holes2 {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.85) 1.6px, transparent 2.1px);
  background-size: 13.7px 13.7px;
  animation: moire 8s ease-in-out infinite alternate;
}
.topbar-row, .topbar-cats { position: relative; z-index: 2; }
.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-brand { font-weight: 700; }
.topbar-nav { display: flex; align-items: center; }
.topbar-nav a {
  margin-left: 1.5rem;
  font-weight: 700;
  color: var(--green);
  transition: color 0.15s;
}
.topbar-nav a:hover { color: #fff; }
/* categories: his handwriting as quiet ink — tape scans retired from the
   bar (still on the homepage prints + in /editor stamps) */
.topbar-cats {
  display: flex;
  align-items: baseline;
  gap: clamp(1.1rem, 2.6vw, 2.4rem);
  margin-top: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-cats::-webkit-scrollbar { display: none; }
.topbar-cats a {
  display: block; flex: none;
  font-family: "Rader", cursive;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 0.22rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, transform 0.15s;
}
.topbar-cats a i {
  /* "+" set deliberately in Grotesk — the handwriting font has no digits
     or symbols yet (font v2) */
  font-family: var(--font); font-style: normal;
  font-size: 0.62em; color: var(--ink-dim);
  vertical-align: 0.08em; padding: 0 0.05em;
}
.topbar-cats a:hover { color: #fff; transform: rotate(-1.2deg); }
.topbar-cats a[aria-current="page"] { color: #fff; border-bottom-color: var(--green); }
@media (max-width: 760px) {
  .topbar-cats { flex-wrap: wrap; overflow: visible; row-gap: 0.35rem; gap: 1rem; }
  .topbar-cats a { font-size: 1.05rem; }
  .topbar-nav a { margin-left: 1rem; }
}

main { padding-top: 8.6rem; }
@media (max-width: 760px) { main { padding-top: 9.4rem; } }

/* ============ HOME: NAME, small ============ */
.intro { padding: 2.2rem var(--pad) 0.5rem; }
.intro h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
  width: fit-content;
}
.intro p {
  margin-top: 0.5rem;
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  letter-spacing: 0.3em;
  color: var(--ink-dim);
}

/* ============ HOME: WORK-FIRST COLLAGE ============ */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3.5rem var(--pad);
  padding: 3.5rem var(--pad) 4.5rem;
  align-items: start;
}
.hc-img { display: block; position: relative; }
.hc-img > img, .hc-img > video {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s;
}
.hc-img:hover { z-index: 7; }
.hc-img:hover > img, .hc-img:hover > video { transform: scale(1.015); }
/* category tape labels pinned straight onto the prints — the collage IS the menu */
.hc-img > img.hc-label {
  position: absolute; left: -10px; bottom: 16px; z-index: 5;
  width: min(215px, 52%); height: auto;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.15s;
}
.hc-img > img.hc-label-top { bottom: auto; top: 14px; }
.hc-img:hover .hc-label { transform: rotate(-0.5deg) scale(1.06); }
.hc-a { grid-column: 1 / 8; grid-row: 1; transform: rotate(-1deg); z-index: 2; }
.hc-b { grid-column: 8 / 13; grid-row: 1; transform: rotate(1.2deg); z-index: 3; margin-top: 4.5rem; }
.hc-c { grid-column: 1 / 7; grid-row: 2; transform: rotate(0.8deg); z-index: 3; }
.hc-d { grid-column: 7 / 13; grid-row: 2; transform: rotate(-0.7deg); z-index: 2; margin-top: 3rem; }
@media (max-width: 760px) {
  .hero-collage { display: block; padding-top: 1.5rem; }
  .hc-name { mix-blend-mode: normal; margin-bottom: 1.4rem; }
  .hc-img { margin: 0 0 1.1rem !important; }
  .hc-a { transform: rotate(-1.1deg); }
  /* no 23MB autoplay on phones — the commercial tile becomes a hardware chip */
  .hc-d video { display: none; }
  .hc-d { padding: 2.2rem 12px 12px !important; }
  .hc-d .hc-label { position: static; display: block; margin: 0 auto; width: 78%; }
}

/* photo pinned with silver duct/gaffer tape */
.taped::before, .taped::after {
  content: "";
  position: absolute;
  width: clamp(70px, 10vw, 130px);
  height: clamp(24px, 3.4vw, 40px);
  background:
    radial-gradient(130% 180% at 28% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.045) 2px 4px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(178deg, #bdbdbd 0%, #a8a8a8 55%, #969696 100%);
  opacity: 0.93;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  clip-path: polygon(1.5% 0%, 98% 3%, 100% 30%, 99% 55%, 100% 78%, 98.5% 100%, 2% 97%, 0% 70%, 1% 42%, 0% 18%);
  z-index: 3;
}
.taped::before { top: -13px; left: -20px; transform: rotate(-38deg); }
.taped::after { bottom: -11px; right: -18px; transform: rotate(-43deg); }

/* ============ HOME: FEATURED (NEW PROJECT) ============ */
.featured {
  padding: 4rem var(--pad);
  border-top: 1px solid rgba(206, 212, 218, 0.35);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem var(--pad);
  align-items: center;
}
.featured-kicker {
  grid-column: 1 / 13;
  font-family: "Rader", cursive;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--green);
}
.featured-unit { padding: 16px 16px 12px; }
.featured-unit .rings { position: absolute; top: -46px; left: calc(100% - 76px); right: auto; --ring-size: 110px; z-index: 4; }
.featured-type { grid-column: 1 / 7; }
.featured-client {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.featured-credits {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--ink-dim);
}
.featured-credits b { color: var(--ink); font-weight: 500; }
.featured-media {
  grid-column: 7 / 13;
  display: block;
  position: relative;
  transform: rotate(1.1deg);
}
.featured-media img { width: 100%; }
@media (max-width: 760px) {
  .featured { display: block; }
  .featured-media { margin-top: 1.6rem; }
}

/* ============ HOME: TAPE MENU ============ */
.tape-menu {
  padding: 5rem var(--pad) 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.tape-menu-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-dim);
  margin-bottom: 2.5rem;
}
.tape-menu-grid { display: block; }
.tape-menu a { display: block; width: fit-content; position: relative; }
.tape-menu img {
  display: block;
  height: auto;
  transition: transform 0.18s;
}
/* staggered across the full screen: left / right / left-center / right-center,
   pulled into each other vertically so the block owns the viewport */
.tape-menu a:nth-child(1) img { width: min(54vw, 640px); transform: rotate(-2deg); }
.tape-menu a:nth-child(2) { margin-left: auto; margin-right: 2vw; margin-top: max(-3.5vw, -48px); }
.tape-menu a:nth-child(2) img { width: min(58vw, 700px); transform: rotate(1.8deg); }
.tape-menu a:nth-child(3) { margin-left: 7vw; margin-top: max(-2.5vw, -34px); }
.tape-menu a:nth-child(3) img { width: min(60vw, 740px); transform: rotate(-1.2deg); }
.tape-menu a:nth-child(4) { margin-left: auto; margin-right: 12vw; margin-top: max(-3vw, -42px); }
.tape-menu a:nth-child(4) img { width: min(52vw, 620px); transform: rotate(2.4deg); }
.tape-menu a:hover img { transform: rotate(0deg) scale(1.04); }
.tape-menu a:hover { z-index: 5; }
@media (max-width: 760px) {
  .tape-menu a:nth-child(n) { margin-top: 0.6rem; }
  .tape-menu a:nth-child(1) img { width: 88vw; }
  .tape-menu a:nth-child(2) { margin-right: 0; }
  .tape-menu a:nth-child(2) img { width: 92vw; }
  .tape-menu a:nth-child(3) { margin-left: 2vw; }
  .tape-menu a:nth-child(3) img { width: 94vw; }
  .tape-menu a:nth-child(4) { margin-right: 2vw; }
  .tape-menu a:nth-child(4) img { width: 86vw; }
}

/* ============ CATEGORY PAGES ============ */
.page-head { padding: 3.5rem var(--pad) 1rem; }
.page-head img { width: min(620px, 88vw); height: auto; transform: rotate(-1.3deg); }
/* page titles: his real green tape scans on every page — category pages and
   About match (Rader's call, 2026-07-21; the steel pass had briefly swapped
   the category pages to white-ink handwriting) */

.credit-block {
  padding: 3.5rem var(--pad);
}
.credit-block + .credit-block { border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.credit {
  max-width: 44em;
  margin-bottom: 2.2rem;
}
.credit h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.credit h3 .bracket { color: var(--green); }
.credit p {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  line-height: 1.9;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.credit p b { color: var(--ink); font-weight: 500; }

/* broken collage grid */
.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem) var(--pad);
  align-items: start;
}
.collage figure { position: relative; margin: 0; }
.collage img, .collage video {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.rot-a { transform: rotate(-0.8deg); }
.rot-b { transform: rotate(0.7deg); }
.rot-c { transform: rotate(-0.4deg); }
.up { margin-top: -1.6rem; }
@media (max-width: 760px) {
  .collage { grid-template-columns: repeat(6, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 6; }
  .up { margin-top: 0; }
}

/* ---- freeform canvas (saved from /editor) ---- */
.freeform { position: relative; width: 100%; }
.ff-item { position: absolute; margin: 0; overflow: hidden; }
.ff-item img, .ff-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}
.ff-stamp { overflow: visible; }
.ff-stamp img { object-fit: contain; border: 0; box-shadow: none; background: transparent; }
.ff-text, .ff-tape {
  display: flex; align-items: center; padding: 0.2em 0.55em;
  white-space: pre-wrap; word-break: break-word; overflow: hidden; line-height: 1.15;
}
.ff-text { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.ff-text.ff-ink-green { color: var(--green); }
.ff-text.f-rader { font-family: "Rader", "Space Grotesk", sans-serif; font-weight: 400; letter-spacing: 0.03em; }
.ff-item.taped { overflow: visible; }
.ff-credit-heading { padding: 0; text-transform: uppercase; }
.ff-credit-heading .bracket { color: var(--green); }
.ff-credit-credits {
  padding: 0; color: var(--ink-dim); font-weight: 400; letter-spacing: 0.13em;
  line-height: 1.9; text-transform: uppercase;
}
.ff-tape {
  color: #111; font-family: var(--font); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.03) 2px 4px),
    linear-gradient(179deg, #74d573, #66c465);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0.8% 4%, 99.4% 0%, 100% 52%, 99.2% 100%, 1.4% 97%, 0% 46%);
}
.ff-tape.tape-duct {
  color:#171919;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, rgba(17,20,21,.08) 1px 3px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,.1) 5px 7px),
    linear-gradient(178deg,#e2e5e6 0%,#a9afb2 45%,#747b7e 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.45),0 2px 5px rgba(0,0,0,.55);
}
.ff-tape.tape-gaffer {
  color:#121414;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.09) 0 1px,transparent 1px 9px),
    linear-gradient(181deg,#cfd3d5,#8d9497 55%,#b9bec0);
  clip-path:polygon(0 3%,100% 0,99.5% 98%,.5% 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 2px 5px rgba(0,0,0,.55);
}
@media (max-width: 760px) {
  /* On small screens the canvas becomes a flex stack. Order, size and
     visibility come from each piece's ON THE PHONE settings in /editor
     (--m-ord + m-* classes); without them it reads top-to-bottom. */
  .freeform { padding-top: 0 !important; display: flex; flex-wrap: wrap;
    align-items: flex-start; gap: 1.2rem 4%; }
  .ff-item { position: static; order: var(--m-ord, 0); width: 100% !important;
    height: auto !important; transform: none !important; margin: 0; }
  .ff-item.m-big { width: 66% !important; }
  .ff-item.m-half { width: 48% !important; } /* two halves sit side by side */
  .ff-item.m-small { width: 31% !important; }
  .ff-item.m-hide { display: none !important; }
  /* natural aspect by default — cover-crop ONLY when the piece was cropped
     in the editor (then --m-ar carries the framed shape) */
  .ff-item img, .ff-item video { height: auto; aspect-ratio: auto; }
  .ff-item[style*="--m-ar"] img, .ff-item[style*="--m-ar"] video {
    aspect-ratio: var(--m-ar); object-fit: cover; }
  .ff-stamp { display: none; } /* decorative stamps sit out unless invited */
  .ff-stamp.m-show { display: block; width: 42% !important; }
  .ff-stamp.m-show img { aspect-ratio: auto; }
  .ff-text, .ff-tape { font-size: 1.4rem !important; width: fit-content !important;
    height: auto !important; }
}

.credits-index { padding: 3rem var(--pad) 4rem; border-top: 1px dashed rgba(255,255,255,0.14); }
.credits-index .tape-kicker {
  font-family: var(--serif); font-style: italic; color: var(--ink-dim);
  font-size: 1.2rem; margin-bottom: 1.6rem;
}
.credits-index .credit { margin-bottom: 1.8rem; }
.credits-index .credit h3 { font-size: 1.05rem; }

/* video embeds (YouTube/Vimeo) */
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  background: #000;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ ABOUT ============ */
.about-page {
  padding: 3.5rem var(--pad) 5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem var(--pad);
}
.about-page .page-head-inline { grid-column: 1 / 13; padding: 0; }
.about-photo-col { grid-column: 1 / 5; }
.about-photo-col img { width: min(320px, 100%); transform: rotate(-1deg); }
.about-copy { grid-column: 6 / 12; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.about-copy p + p { margin-top: 1.2em; }
.about-copy .email {
  display: inline-block;
  margin-top: 2rem;
  color: var(--green);
  letter-spacing: 0.08em;
}
.about-copy .email:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .about-page { display: block; }
  .about-copy { margin-top: 2rem; }
}

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid rgba(206, 212, 218, 0.3);
  border-bottom: 1px solid rgba(206, 212, 218, 0.3);
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.ticker-track { display: inline-block; animation: ticker 28s linear infinite; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ CONTACT ============ */
.contact { padding: 6rem var(--pad) 5rem; }

/* the email IS the statement — in his handwriting */
.email-giant {
  display: block;
  font-family: "Rader", var(--font);
  font-size: clamp(1.3rem, 3.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.15s;
}
.email-giant:hover { color: var(--green); }
.contact .email-giant { margin-bottom: 3.5rem; }

.contact-form { max-width: 42rem; }
.form-row { margin-bottom: 1.6rem; }
.form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-dim);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus { border-bottom-color: var(--green); }
.form-row textarea::placeholder,
.form-row input::placeholder { color: rgba(255, 255, 255, 0.34); }

.form-submit {
  /* a strip of duct tape you press */
  background:
    radial-gradient(130% 180% at 28% -20%, rgba(255, 255, 255, 0.2), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.045) 2px 4px),
    linear-gradient(178deg, #bdbdbd 0%, #a8a8a8 55%, #969696 100%);
  color: #111;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  padding: 0.55rem 2.6rem 0.65rem;
  cursor: pointer;
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0.8% 4%, 99.4% 0%, 100% 52%, 99.2% 100%, 1.4% 97%, 0% 46%);
  transition: transform 0.1s;
}
.form-submit:hover { transform: rotate(0deg) scale(1.04); }
.form-submit:active { transform: scale(0.96); }
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--green);
  min-height: 1.2em;
}
.form-status.error { color: #ff0000; }

/* ============ FUSED FX (from the mock rounds Rader approved) ============ */

/* horizon-map chrome — sky above, ground below, hard line at the waist */
.chrome-text {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(180deg,
      #b9bfc4 0%, #e8edf0 18%, #f6f9fb 30%, #8e959b 46%,
      #23262a 50%, #4a4f54 54%, #797f85 66%, #c8cdd1 84%, #6d7378 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25)) drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.6));
}

/* egg-top rings: two ring sets interfering, tired-LED flicker */
.rings { position: relative; width: var(--ring-size, 150px); height: var(--ring-size, 150px);
  border-radius: 50%; overflow: hidden; background: #0c0d0e; flex: none;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9), 0 0 40px rgba(206, 212, 218, 0.1); }
.rings i, .rings b { position: absolute; inset: -8px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(216, 222, 228, 0.8) 0 2px, rgba(30, 33, 36, 0.9) 2px 7px); }
.rings b { transform: scale(1.06); mix-blend-mode: screen;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(216, 222, 228, 0.45) 0 2px, transparent 2px 8px);
  animation: ringDrift 14s ease-in-out infinite alternate; }
.rings { animation: ringFlicker 7s steps(1) infinite; }
@keyframes ringDrift { 0% { transform: scale(1.02); } 50% { transform: scale(1.09) translate(3px, -2px); } 100% { transform: scale(1.04) translate(-3px, 2px); } }
@keyframes ringFlicker {
  0%, 88% { opacity: 1; } 89% { opacity: 0.55; } 90% { opacity: 1; }
  93.5% { opacity: 0.7; } 94% { opacity: 1; } 97.2% { opacity: 0.85; } 97.6% { opacity: 1; } }

/* steel + hardware bezels */
.steel {
  /* stainless, not gunmetal — lighter stops so the moiré reads as metal */
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0.03) 1px 2px, transparent 2px 3px),
    linear-gradient(105deg, #2a2d30 0%, #3d4145 18%, #2c2f32 37%, #464b50 55%, #2e3134 72%, #3a3e42 100%);
  border: 1px solid #53585d;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45), 0 8px 26px rgba(0, 0, 0, 0.5);
  position: relative;
}
.screwed::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(5px 5px at 14px 14px, #45484c 40%, #0e0f10 55%, transparent 62%),
    radial-gradient(5px 5px at calc(100% - 14px) 14px, #45484c 40%, #0e0f10 55%, transparent 62%),
    radial-gradient(5px 5px at 14px calc(100% - 14px), #45484c 40%, #0e0f10 55%, transparent 62%),
    radial-gradient(5px 5px at calc(100% - 14px) calc(100% - 14px), #45484c 40%, #0e0f10 55%, transparent 62%); }
.vents { display: flex; gap: 7px; margin-top: 11px; }
.vents span { width: 26px; height: 5px; border-radius: 3px; background: #0b0c0d;
  box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, 0.06); }
.dead-vent { animation: deadVent 11s steps(1) infinite; }
@keyframes deadVent { 0%, 91% { opacity: 1; } 92% { opacity: 0.2; } 93% { opacity: 1; } 95% { opacity: 0.4; } 95.5% { opacity: 1; } }

/* broken: rare stutters, panels not quite true */
.stutter { animation: stut 0.14s steps(2) 1; }
@keyframes stut { 0% { transform: translate(0, 0); } 50% { transform: translate(-3px, 1px) skewX(0.4deg); } 100% { transform: translate(0, 0); } }
.slightly-off { transform: rotate(0.35deg) translateY(1px); }

/* NOTE: motion runs unconditionally — Rader's explicit call after Reduce
   Motion silently hid every effect from him. */

/* perforated steel with living moiré — two hole grids interfering */
.perf { position: relative; overflow: hidden; }
.perf .holes, .perf .holes2 { position: absolute; inset: -40px; }
.perf .holes {
  background-image: radial-gradient(circle, #000 1.6px, transparent 2.1px);
  background-size: 13px 13px;
}
.perf .holes2 {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.85) 1.6px, transparent 2.1px);
  background-size: 13.7px 13.7px;
  transform: rotate(1.2deg);
  transition: transform 0.3s ease-out;
  animation: moire 8s ease-in-out infinite alternate;
}
.perf .holes2.cursor-led { animation: none; }
@keyframes moire {
  0% { transform: rotate(0.2deg) translate(0, 0); }
  35% { transform: rotate(2.6deg) translate(9px, -6px); }
  70% { transform: rotate(0.8deg) translate(-8px, 7px); }
  100% { transform: rotate(2.2deg) translate(6px, 4px); }
}
.perf-divider { height: clamp(120px, 18vw, 220px); }
/* hero moiré band up top — trimmed 2026-07-21 (was 200/30vw/380 + 5s):
   still the dynamic centrepiece, but the work gets above the fold */
.perf--hero { height: clamp(140px, 22vw, 280px); margin-top: 0.5rem; }
.perf--hero .holes2 { animation-duration: 7s; }

/* moiré iterations — different grains, speeds, metal levels */
.perf--fine .holes { background-size: 9px 9px; }
.perf--fine .holes2 { background-size: 9.5px 9.5px; animation-duration: 6s; }
.perf--coarse .holes { background-size: 19px 19px; }
.perf--coarse .holes2 { background-size: 20.4px 20.4px; animation-duration: 13s; }
.perf--chrome {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px),
    linear-gradient(105deg, #3a3e42 0%, #52565b 20%, #393d41 40%, #5d6166 60%, #3d4145 80%, #4a4e53 100%) !important;
}
.perf--chrome .holes { background-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 1.6px, transparent 2.1px); }
.perf--chrome .holes2 { background-image: radial-gradient(circle, rgba(0, 0, 0, 0.75) 1.6px, transparent 2.1px); }
/* radial = the bullseye moiré: two ring systems interfering */
.perf--radial .holes {
  background-image: repeating-radial-gradient(circle at 50% 50%, #000 0 2px, transparent 2px 10px);
  background-size: auto;
}
.perf--radial .holes2 {
  background-image: repeating-radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.8) 0 2px, transparent 2px 11px);
  background-size: auto;
  animation-duration: 10s;
}

/* bullseye accents scattered around */
.rings-accent { position: absolute; z-index: 4; pointer-events: none; }
.intro { position: relative; }
.intro .rings-accent { right: var(--pad); top: -0.4rem; --ring-size: 74px; }
.footer-cta { position: relative; }
.footer-cta .rings-accent { left: var(--pad); top: 50%; transform: translateY(-50%); --ring-size: 58px; }
.page-head { position: relative; }
.page-head .rings-accent { right: calc(var(--pad) + 1rem); top: 40%; --ring-size: 88px; }
@media (max-width: 760px) {
  .page-head .rings-accent, .footer-cta .rings-accent { display: none; }
  .intro .rings-accent { --ring-size: 48px; }
}

/* Rader handwriting at accent scale */
.rader-kicker {
  font-family: "Rader", cursive;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}
.credit h3 { font-family: "Rader", cursive; font-weight: 400; letter-spacing: 0.03em; }
.hero-photo figcaption, .perf-tag { font-family: "Rader", cursive; }

/* ============ FOOTER ============ */
.footer-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4rem var(--pad);
  text-align: center;
}
.footer-cta a {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 700;
}
.footer-cta a .serif-i { color: var(--green); font-weight: 400; }
.footer-cta a:hover .serif-i { text-decoration: underline; }

.footer {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem var(--pad) 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
}
@media (max-width: 600px) {
  .footer { flex-direction: column; gap: 0.4rem; }
}

/* homepage canvas (when Rader saves a home layout in /editor) */
.hero-collage-canvas { padding: 3.5rem var(--pad) 4.5rem; }

/* ============================================================
   STEEL PASS — mock-2030-A energy, config-gated (content/_fx.json
   via fx.js sets body.fx-* classes). Moiré = stainless light greys;
   green stays an accent, not an atmosphere. Everything here is
   toggleable from the backend — nothing is deleted, only defaulted.
   ============================================================ */
:root { --moire: 206, 212, 218; } /* stainless */

/* ---------- z-stage: lit object in a dark room (body.fx-depth) ---------- */
.z-stage { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; display: none; }
body.fx-depth .z-stage { display: block; }
.z-layer { position: absolute; inset: -22%; will-change: transform; }
.z-glow {
  background:
    radial-gradient(52% 40% at 68% 18%, rgba(var(--moire), 0.05), transparent 70%),
    radial-gradient(45% 36% at 22% 78%, rgba(var(--moire), 0.035), transparent 70%);
}
.z-rings::before, .z-rings::after { content: ""; position: absolute; inset: 0; }
.z-rings::before {
  background:
    repeating-radial-gradient(circle at 78% 12%, rgba(var(--moire), 0.05) 0 2px, transparent 2px 17px),
    repeating-radial-gradient(circle at 12% 88%, rgba(var(--moire), 0.038) 0 2px, transparent 2px 23px);
  animation: zRingsA 38s ease-in-out infinite alternate;
}
.z-rings::after {
  background:
    repeating-radial-gradient(circle at 77% 13%, rgba(var(--moire), 0.038) 0 2px, transparent 2px 18px),
    repeating-radial-gradient(circle at 13% 87%, rgba(var(--moire), 0.028) 0 2px, transparent 2px 24.5px);
  animation: zRingsB 29s ease-in-out infinite alternate;
}
@keyframes zRingsA { from { transform: scale(1) translate(0,0); } to { transform: scale(1.045) translate(-16px, 12px); } }
@keyframes zRingsB { from { transform: scale(1.04) translate(12px,-9px); } to { transform: scale(1) translate(0,0); } }
body.fx-depth #bg-rings { display: none; } /* z-stage replaces the flat bg */

/* mid-depth stainless slabs (body.fx-panels) */
.z-panels { inset: -12% -10%; display: none; }
body.fx-panels .z-panels { display: block; }
.z-panel {
  position: absolute; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, rgba(0,0,0,0.03) 1px 2px, transparent 2px 3px),
    linear-gradient(105deg, #202225 0%, #303337 30%, #212427 60%, #2b2e31 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 50px rgba(0, 0, 0, 0.6),
    0 30px 90px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(var(--moire), 0.05);
}
.z-panel::before, .z-panel::after { content: ""; position: absolute; inset: -40px; }
.z-panel::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.9) 1.6px, transparent 2.1px);
  background-size: 13px 13px;
}
.z-panel::after {
  background-image: radial-gradient(circle, rgba(0,0,0,0.75) 1.6px, transparent 2.1px);
  background-size: 13.7px 13.7px;
  animation: moire 9s ease-in-out infinite alternate;
}
.z-panel-1 { top: 6%;  left: -6%;  width: 34%; height: 42%; transform: rotate(-2deg); }
.z-panel-2 { top: 44%; right: -8%; width: 30%; height: 52%; transform: rotate(1.4deg); }
.z-panel-3 { top: 88%; left: 14%;  width: 40%; height: 34%; transform: rotate(-0.8deg); }

/* ---------- interference dividers (body.fx-dividers) ---------- */
.m-divider {
  position: relative; height: clamp(90px, 14vw, 190px);
  overflow: hidden; pointer-events: none; display: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
body.fx-dividers .m-divider { display: block; }
.m-divider i, .m-divider b { position: absolute; inset: -30px; display: block; }
.m-divider i { background: repeating-linear-gradient(0deg, rgba(var(--moire), 0.16) 0 1px, transparent 1px 7px); }
.m-divider b {
  background: repeating-linear-gradient(0deg, rgba(var(--moire), 0.13) 0 1px, transparent 1px 7.6px);
  animation: mSlide 12s ease-in-out infinite alternate;
}
@keyframes mSlide {
  from { transform: translateY(0) rotate(0.35deg); }
  to   { transform: translateY(10px) rotate(-0.35deg); }
}
.m-divider--radial i { background: repeating-radial-gradient(circle at 50% 120%, rgba(var(--moire), 0.18) 0 2px, transparent 2px 12px); }
.m-divider--radial b {
  background: repeating-radial-gradient(circle at 50% 118%, rgba(var(--moire), 0.14) 0 2px, transparent 2px 13px);
  animation-duration: 15s;
}

/* ---------- nav hover = interference (body.fx-nav) ---------- */
body.fx-nav .topbar-nav a { position: relative; }
body.fx-nav .topbar-nav a::before, body.fx-nav .topbar-nav a::after {
  content: ""; position: absolute; inset: -5px -7px; opacity: 0; pointer-events: none; transition: opacity 0.18s;
}
body.fx-nav .topbar-nav a::before { background: repeating-linear-gradient(45deg, rgba(var(--moire), 0.2) 0 1px, transparent 1px 5px); }
body.fx-nav .topbar-nav a::after {
  background: repeating-linear-gradient(45deg, rgba(var(--moire), 0.16) 0 1px, transparent 1px 5.5px);
  animation: navMoire 3.5s ease-in-out infinite alternate; animation-play-state: paused;
}
body.fx-nav .topbar-nav a:hover::before, body.fx-nav .topbar-nav a:hover::after { opacity: 1; }
body.fx-nav .topbar-nav a:hover::after { animation-play-state: running; }
@keyframes navMoire { from { transform: translate(0, 0); } to { transform: translate(3px, -2px); } }

/* ---------- featured frame FROM interference (body.fx-frame) ---------- */
.m-frame { position: relative; display: block; padding: clamp(16px, 2.4vw, 30px); }
.m-frame .mf-a, .m-frame .mf-b { position: absolute; inset: 0; pointer-events: none; display: none; }
body.fx-frame .m-frame .mf-a, body.fx-frame .m-frame .mf-b { display: block; }
.m-frame .mf-a { background: repeating-radial-gradient(circle at 50% 50%, rgba(var(--moire), 0.2) 0 1.5px, transparent 1.5px 9px); }
.m-frame .mf-b {
  background: repeating-radial-gradient(circle at 50% 49%, rgba(var(--moire), 0.15) 0 1.5px, transparent 1.5px 9.7px);
  animation: frameMoire 13s ease-in-out infinite alternate;
}
@keyframes frameMoire { from { transform: rotate(0deg) scale(1); } to { transform: rotate(0.9deg) scale(1.012); } }
body.fx-frame .m-frame img {
  position: relative; z-index: 2;
  box-shadow: 0 0 0 6px #040404, 0 0 70px rgba(var(--moire), 0.09), 0 34px 90px rgba(0, 0, 0, 0.75);
}

/* ---------- collage hover: print locked, halo interferes (body.fx-halo) ---------- */
body.fx-halo .hc-img:hover > img:first-of-type { transform: none; }
body.fx-halo .hc-img > img:first-of-type { position: relative; z-index: 1; }
.m-halo { position: absolute; inset: -16px; z-index: 0; opacity: 0; transition: opacity 0.22s; pointer-events: none; }
.m-halo::before, .m-halo::after { content: ""; position: absolute; inset: 0; }
.m-halo::before { background: repeating-radial-gradient(circle at 50% 50%, rgba(var(--moire), 0.18) 0 1.5px, transparent 1.5px 8px); }
.m-halo::after { background: repeating-radial-gradient(circle at 50% 49%, rgba(var(--moire), 0.13) 0 1.5px, transparent 1.5px 8.7px); }
body.fx-halo .hc-img:hover .m-halo { opacity: 1; }
body.fx-halo .hc-img:hover > img:first-of-type {
  box-shadow: 0 0 60px rgba(var(--moire), 0.12), 0 16px 48px rgba(0, 0, 0, 0.55);
}

/* foreground drift elements */
[data-cursor] { will-change: transform; }

@media (max-width: 480px) {
  .m-divider { height: 64px; }
  .m-frame { padding: 12px; }
  .z-panel-1 { width: 60%; }
  .z-panel-2 { width: 55%; }
}

/* ---- visitor dial (corner ◎): motion / text size / easy-read font ----
   Injected by fx.js on every page; Rader gates it with visitorDial in
   _fx.json. Guest choices persist per device (localStorage rt_visitor). */
.va-dial { position: fixed; right: 18px; bottom: 18px; z-index: 950; font-family: var(--font); }
.va-open {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  color: rgba(255, 255, 255, 0.75); font-size: 1.35rem; line-height: 1;
  background:
    radial-gradient(130% 180% at 30% -20%, rgba(255, 255, 255, 0.16), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0.045) 2px 4px),
    #101112;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}
.va-open:hover, .va-open:focus-visible { color: var(--green); border-color: var(--green); }
.va-panel {
  position: absolute; right: 0; bottom: 54px; width: min(320px, calc(100vw - 36px));
  background: #0c0d0e; border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
  padding: 0.9rem 1rem 0.75rem;
}
.va-panel > b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink); margin-bottom: 0.7rem; }
.va-row { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.55rem; flex-wrap: wrap; }
.va-row > span { flex: 0 0 3.6rem; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--ink-dim); }
.va-row button {
  cursor: pointer; font-family: inherit; font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.1em; padding: 0.42rem 0.55rem;
  color: rgba(255, 255, 255, 0.72); background: #131415;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.va-row button:hover, .va-row button:focus-visible { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.va-row button.on { color: var(--green); border-color: var(--green); background: rgba(109, 206, 108, 0.08); }
.va-panel small { display: block; font-size: 0.58rem; letter-spacing: 0.08em; color: var(--ink-dim); }
@media (max-width: 760px) { .va-dial { right: 12px; bottom: 12px; } }
@media print { .va-dial { display: none; } }

/* MOTION OFF — a genuinely still site (vestibular-safe): every animation
   stops; the JS loop idles separately in fx.js */
html.va-still *, html.va-still *::before, html.va-still *::after {
  animation: none !important; transition: none !important;
}

/* TEXT LARGE — rem-based type scales from the root; the tight px credits
   get explicit room */
html.va-large { font-size: 118%; }
html.va-large .credit p, html.va-large .featured-credits { font-size: 0.95rem; line-height: 2; }
html.va-large .about-copy p { font-size: 1.18rem; line-height: 1.75; }

/* FONT EASY READ — Atkinson Hyperlegible (Braille Institute) replaces both
   Grotesk body text and the handwriting font wherever guests read */
html.va-easy body,
html.va-easy .credit p, html.va-easy .credit h3,
html.va-easy .about-copy p, html.va-easy .featured-credits,
html.va-easy .ff-text, html.va-easy .ff-text.f-rader,
html.va-easy .featured-kicker, html.va-easy .rader-kicker,
html.va-easy .email-giant, html.va-easy input, html.va-easy textarea,
html.va-easy .form-row label, html.va-easy .ticker {
  font-family: "Atkinson Hyperlegible", "Space Grotesk", sans-serif !important;
  letter-spacing: 0.02em;
}
