/* ============ THEREDSWITCH — MINIMAL PAPER RETRO ============ */

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

:root {
  --bg: #f4f0e6;
  --paper: #ece6d6;
  --card: #faf7ee;
  --ink: #0c1929;
  --muted: #6f6759;
  --line: #321F0F;
  --hairline: rgba(50, 31, 15, 0.22);
  --red: #b71818;
  --red-deep: #6c0607;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-d: 'Archivo', sans-serif;
  --font-m: 'JetBrains Mono', monospace;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--bg); }

html { scrollbar-color: var(--red) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red-deep); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* paper grain */
.fx-grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.14;
  mix-blend-mode: multiply;
}

/* custom cursor */
.cursor-dot {
  position: fixed; z-index: 300; top: 0; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.3s ease, background-color 0.25s ease;
  opacity: 0;
}
.cursor-dot.is-active { width: 34px; height: 34px; background: var(--red); }
@media (hover: none) { .cursor-dot { display: none; } }

/* striped marker text */
.striped, .striped-red {
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: normal;
}
.striped {
  background-image: repeating-linear-gradient(180deg, var(--ink) 0 0.1em, transparent 0.1em 0.21em);
}
.striped-red {
  background-image: repeating-linear-gradient(180deg, var(--red) 0 0.1em, transparent 0.1em 0.21em);
}
.hero-switch-word { position: relative; display: inline-block; }
.hero-switch-word::after {
  content: '✳';
  position: absolute; top: 50%; right: -0.8em;
  color: var(--red); font-family: var(--font-d); font-size: 0.34em;
  line-height: 1; transform: translate(50%, -50%);
  animation: switch-star 5s linear infinite;
}
@keyframes switch-star { to { transform: translate(50%, -50%) rotate(360deg); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 4vw;
  background: rgba(244, 240, 230, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease-out) 0.9s;
}
body.loaded .site-header { transform: translateY(0); }

.brand {
  font-family: var(--font-d);
  font-stretch: 110%; font-weight: 900; font-style: italic;
  font-size: 1.3rem; letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.brand sup { font-size: 0.55em; font-style: normal; }
.brand:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 8px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.nav-toggle:hover span { background: var(--red); }

.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a {
  font-family: var(--font-m);
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted); position: relative;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--red); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative;
  padding: 120px 4vw 48px;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  border-bottom: 1px solid var(--hairline); padding-bottom: 22px;
}
.eyebrow {
  font-family: var(--font-m);
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red);
}
.hero-coord {
  font-family: var(--font-m); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

.hero-bottom {
  margin-top: auto;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr); gap: 4vw;
  align-items: end;
  position: relative; z-index: 3;
}
.hero-title {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.6vw, 6.4rem);
  line-height: 0.92; letter-spacing: -0.025em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.line-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out);
}
body.loaded .line:nth-child(1) .line-inner { transition-delay: 0.15s; }
body.loaded .line:nth-child(2) .line-inner { transition-delay: 0.3s; }
body.loaded .line:nth-child(3) .line-inner { transition-delay: 0.45s; }
body.loaded .line-inner { transform: translateY(0); }

.hero-side { max-width: 40ch; justify-self: end; }
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.reveal-fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
body.loaded .hero-top .reveal-fade:nth-child(1) { transition-delay: 0.55s; }
body.loaded .hero-top .reveal-fade:nth-child(2) { transition-delay: 0.7s; }
body.loaded .hero-sub { transition-delay: 0.85s; }
body.loaded .hero-ctas { transition-delay: 1s; }
body.loaded .reveal-fade { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-block;
  font-family: var(--font-m); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- 3D switch ---------- */
.switch-scene {
  position: absolute; left: 57%; top: 42%;
  transform: translate(-50%, -50%);
  perspective: 1100px;
  z-index: 2;
  animation: scene-float 6s ease-in-out infinite;
  opacity: 0;
  transition: opacity 1s ease 0.5s;
  cursor: pointer;
}
body.loaded .switch-scene { opacity: 1; }
@keyframes scene-float { 0%,100% { margin-top: 0; } 50% { margin-top: -14px; } }

.switch-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-16deg);
  will-change: transform;
}

.sw-plate {
  position: relative;
  width: 220px; height: 350px;
  border-radius: 18px;
  background: linear-gradient(155deg, #faf6ea 0%, var(--paper) 60%, #ddd5c1 100%);
  border: 1px solid rgba(50,31,15,0.35);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.8),
    inset 0 -3px 8px rgba(50,31,15,0.08);
  transform: translateZ(0);
}
.sw-plate-side {
  position: absolute; inset: 0;
  border-radius: 18px;
  background: #c9c0aa;
  transform: translateZ(-16px);
  box-shadow: 0 30px 50px rgba(50,31,15,0.3);
}

.sw-screw {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fdfaf2, #b7ae97 70%);
  border: 1px solid rgba(50,31,15,0.4);
}
.sw-screw::after {
  content: ''; position: absolute; top: 50%; left: 1.5px; right: 1.5px;
  height: 1.5px; background: rgba(50,31,15,0.55); transform: translateY(-50%) rotate(40deg);
}
.s-tl { top: 12px; left: 12px; } .s-tr { top: 12px; right: 12px; }
.s-bl { bottom: 12px; left: 12px; } .s-br { bottom: 12px; right: 12px; }

.sw-label {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg);
  font-family: var(--font-m); font-size: 0.55rem; letter-spacing: 0.34em;
  padding: 7px 14px 7px 18px;
  white-space: nowrap;
}
.sw-word {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.4em;
  color: var(--muted);
}
.sw-off { top: 78px; }
.sw-on { bottom: 66px; color: var(--red); }

.sw-slot {
  position: absolute; top: 108px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 158px;
  border-radius: 10px;
  background: linear-gradient(180deg, #b9b09a, #d6cebb 20%, #c9c0aa);
  box-shadow: inset 0 8px 18px rgba(50,31,15,0.45), inset 0 -4px 8px rgba(255,255,255,0.5);
  transform-style: preserve-3d;
}

.sw-rocker {
  position: absolute; inset: 8px;
  transform-style: preserve-3d;
  transform: rotateX(16deg);
  transform-origin: 50% 50%;
  transition: transform 0.16s ease-in;
}
.sw-rocker.pressed { transform: rotateX(-16deg); transition: transform 0.12s ease-in; }

.rk-face { position: absolute; }
.rk-front {
  inset: 0; border-radius: 7px;
  background:
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(0,0,0,0.14) 12px 13px),
    linear-gradient(180deg, #c65352 0%, var(--red) 45%, var(--red-deep) 100%);
  box-shadow: inset 0 3px 5px rgba(255,255,255,0.5), inset 0 -5px 8px rgba(0,0,0,0.35);
  transform: translateZ(17px);
}
.rk-top {
  top: 0; left: 0; right: 0; height: 17px;
  background: #6b1b1c; border-radius: 7px 7px 0 0;
  transform: rotateX(90deg); transform-origin: top;
}
.rk-bottom {
  bottom: 0; left: 0; right: 0; height: 17px;
  background: #c65352; border-radius: 0 0 7px 7px;
  transform: rotateX(-90deg); transform-origin: bottom;
}
.rk-left {
  top: 0; bottom: 0; left: 0; width: 17px;
  background: #ad3435; border-radius: 7px 0 0 7px;
  transform: rotateY(-90deg); transform-origin: left;
}
.rk-right {
  top: 0; bottom: 0; right: 0; width: 17px;
  background: #831f20; border-radius: 0 7px 7px 0;
  transform: rotateY(90deg); transform-origin: right;
}

.sw-floor-shadow {
  position: absolute; left: 50%; top: calc(100% + 34px);
  width: 260px; height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(50,31,15,0.35), transparent 65%);
  filter: blur(6px);
}

.sparkle { position: absolute; fill: var(--ink); animation: spin 14s linear infinite; }
.sp-1 { width: 44px; top: -60px; right: -40px; }
.sp-2 { width: 26px; bottom: 10px; left: -70px; fill: var(--red); animation-direction: reverse; animation-duration: 10s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -0.01em;
}
.marquee-track i { font-style: normal; color: var(--red); padding: 0 0.3em; }
.marquee-alt .marquee-track { animation-duration: 32s; animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section-pad { padding: 120px 4vw; max-width: 1500px; margin: 0 auto; }
.section-title {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 70px; margin-top: 22px;
}
.section-title em { color: var(--red); font-style: italic; }

[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---------- manifesto ---------- */
.chapters {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.chapter {
  padding: 40px 34px 20px 0;
  border-right: 1px solid var(--hairline);
  margin-right: 34px;
}
.chapter:last-child { border-right: 0; margin-right: 0; }
.chapter-num {
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--red); display: block; margin-bottom: 60px;
}
.chapter h3 {
  font-family: var(--font-d); font-stretch: 115%; font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 14px; letter-spacing: -0.01em;
}
.chapter p { color: var(--muted); font-size: 0.94rem; }

.founders { position: relative; margin-top: 120px; }
.founders-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.founders-title { margin: 0; font-family: var(--font-d); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 5vw, 5rem); line-height: 0.9; letter-spacing: -0.025em; }
.founders-title em { color: var(--red); font-style: italic; }
.founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.founder-card {
  --card-ink: var(--ink); --card-paper: var(--card);
  position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--card-ink); background: var(--card-paper);
  transform-style: preserve-3d; will-change: transform; transition: transform 0.18s ease-out, background-color 0.4s ease, color 0.4s ease;
}
.founder-card-dark { --card-ink: var(--bg); --card-paper: var(--ink); color: var(--bg); }
.founder-card-red { --card-ink: var(--bg); --card-paper: var(--red); color: #fff; }
.founder-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%); transform: translateX(-100%); transition: opacity 0.3s ease, transform 0.8s var(--ease-out); }
.founder-card:hover { transform: translateY(-8px); }
.founder-card:hover::after { opacity: 1; transform: translateX(100%); }
.founder-star { position: absolute; z-index: 3; line-height: 1; pointer-events: none; }
.founder-star-red { top: 22px; right: 22px; color: var(--red); font-size: 2rem; animation: founder-star-spin 9s linear infinite; }
.founder-star-black { left: 20px; bottom: 24px; color: var(--ink); font-size: 1.35rem; animation: founder-star-spin 7s linear infinite reverse; }
.founder-card-dark .founder-star-black { color: var(--red); }
.founder-card-red .founder-star-black { color: #fff; }
@keyframes founder-star-spin { to { transform: rotate(360deg); } }
.founder-photo { position: relative; aspect-ratio: 1.15 / 1; overflow: hidden; background: #2a2520; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); transform: scale(1.04); transition: transform 0.8s var(--ease-out), filter 0.5s ease; }
.founder-card-red .founder-photo img { filter: grayscale(1) sepia(0.2) contrast(1.15); }
.founder-card:hover .founder-photo img { filter: grayscale(0.35) contrast(1.08); transform: scale(1.1); }
.founder-photo-index { position: absolute; left: 18px; bottom: 15px; font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.2em; color: #fff; text-shadow: 0 1px 3px #000; }
.founder-info { position: relative; z-index: 1; padding: 28px 30px 32px; }
.founder-info h3 { font-family: var(--font-d); font-stretch: 120%; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 20px; }
.founder-info h3 em { color: var(--red); font-style: italic; }
.founder-card-red .founder-info h3 em { color: var(--ink); }
.founder-role { font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.founder-card-red .founder-role { color: var(--ink); }
.founder-bio { max-width: 44ch; font-size: 0.93rem; opacity: 0.76; }
.founder-contact-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 24px; padding-top: 14px; border-top: 1px solid currentColor; }
.founder-signal { min-width: 0; overflow-wrap: anywhere; font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.founder-socials { flex-shrink: 0; text-align: right; font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; transition: color 0.25s ease; }
.founder-socials:hover { color: var(--red); }
.founder-card-red .founder-socials:hover { color: var(--ink); }
.founder-card[data-founder-card] { cursor: pointer; }
.founder-card[data-founder-card].is-focused { box-shadow: 0 0 0 3px var(--red); }
.founder-card[data-founder-card].is-focused .founder-star-red { animation-duration: 1.4s; }
.founder-tile {
  width: 62px; height: 62px; margin-bottom: 26px; display: grid; place-items: center; font-family: var(--font-m); font-weight: 700; font-size: 0.9rem; color: #fff; background: var(--red);
}

[hidden] { display: none !important; }

/* ---------- services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr auto;
  align-items: center; gap: 30px;
  padding: 34px 18px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.svc-row:hover { background: var(--ink); color: var(--bg); }
.svc-num {
  font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.24em;
  color: var(--red);
}
.svc-row h3 {
  font-family: var(--font-d); font-stretch: 118%; font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.7rem); text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.1;
  transition: transform 0.35s var(--ease-out);
}
.svc-row:hover h3 { transform: translateX(10px); }
.svc-row p { color: var(--muted); font-size: 0.88rem; max-width: 52ch; transition: color 0.3s ease; }
.svc-row:hover p { color: rgba(244,240,230,0.65); }
.svc-tag {
  font-family: var(--font-m); font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
  border: 1px solid var(--red); padding: 8px 14px;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.svc-row:hover .svc-tag { background: var(--red); color: #fff; }

/* ---------- split panels ---------- */
.split {
  display: flex; min-height: 88vh;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.split-panel {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: flex-grow 0.8s var(--ease-out);
  min-height: 480px;
}
.split-panel:hover { flex-grow: 2.1; }
.panel-creators { border-right: 1px solid var(--line); }
.panel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.75) contrast(1.02) brightness(0.92);
  transform: scale(1.06);
  transition: transform 1.1s var(--ease-out), filter 0.8s ease;
}
.split-panel:hover .panel-bg { transform: scale(1); filter: saturate(0.95) contrast(1.05) brightness(0.95); }
.panel-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(50,31,15,0.28) 0 2px, transparent 2px 8px);
  transition: opacity 0.6s ease;
}
.split-panel:hover .panel-lines { opacity: 0.25; }
.panel-content {
  position: relative; z-index: 2; padding: 56px 44px;
  width: 100%; color: #f8f5ec;
  background: linear-gradient(transparent, rgba(15,12,8,0.82));
}
.panel-content .eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 4px 7px;
  color: #fff;
  background: var(--red);
}
.panel-title {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: 24px; white-space: nowrap;
}
.panel-title em { color: var(--red); font-style: italic; }
.panel-list {
  list-style: none; margin-bottom: 30px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s var(--ease-out) 0.15s;
}
.split-panel:hover .panel-list,
.split-panel.is-open .panel-list { opacity: 1; transform: translateY(0); }
.panel-list li {
  font-size: 0.88rem; padding: 9px 0 9px 24px; position: relative;
  border-bottom: 1px solid rgba(248,245,236,0.18);
}
.panel-list li::before { content: '→'; position: absolute; left: 0; color: var(--red); }
.panel-content .btn {
  opacity: 0; transform: translateY(12px);
  border-color: #f8f5ec; background: #f8f5ec; color: var(--ink);
  transition: opacity 0.5s ease 0.25s, transform 0.5s var(--ease-out) 0.25s, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.panel-content .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.split-panel:hover .panel-content .btn,
.split-panel.is-open .panel-content .btn { opacity: 1; transform: translateY(0); }

/* ---------- work showcase ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card { transition: transform 0.35s var(--ease-out); }
.work-card:hover { transform: translateY(-6px); }
.work-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  filter: saturate(0.8) contrast(1.02);
  transition: transform 1s var(--ease-out), filter 0.8s ease;
}
.work-card:hover img { transform: scale(1); filter: saturate(1) contrast(1.05); }
.work-lines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(50,31,15,0.34) 0 2px, transparent 2px 7px);
  transition: opacity 0.6s ease;
}
.work-card:hover .work-lines { opacity: 0.2; }
.work-meta { padding-top: 20px; }
.work-index {
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.26em;
  color: var(--red); display: block; margin-bottom: 8px;
}
.work-meta h3 {
  font-family: var(--font-d); font-stretch: 120%; font-weight: 800;
  font-size: 1.35rem; text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.work-meta p { font-size: 0.85rem; color: var(--muted); }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 70px 28px; text-align: center;
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1;
  color: var(--red); letter-spacing: -0.02em;
}
.stat-label {
  display: block; margin-top: 14px;
  font-family: var(--font-m); font-size: 0.6rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; position: relative; }
.contact-copy p { color: var(--muted); max-width: 42ch; }
.contact-direct {
  margin-top: 38px; font-family: var(--font-m); font-size: 0.66rem;
  line-height: 2.4; letter-spacing: 0.14em; text-transform: uppercase;
}

.contact-form { display: flex; flex-direction: column; gap: 30px; }
.field > span {
  display: block;
  font-family: var(--font-m); font-size: 0.58rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ink); font-family: var(--font-d); font-size: 1.05rem;
  padding: 12px 2px; outline: none; resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field textarea:focus {
  border-bottom-color: var(--red);
  box-shadow: 0 1px 0 0 var(--red);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.55; }

.radio-row { display: flex; gap: 12px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-block; padding: 12px 26px;
  border: 1px solid var(--line);
  font-family: var(--font-m); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s var(--ease-out);
}
.radio-pill:hover span { transform: translateY(-2px); color: var(--ink); }
.radio-pill input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.radio-pill input:focus-visible + span { outline: 2px dashed var(--red); outline-offset: 3px; }

.btn-submit { border: 1px solid var(--line); align-self: flex-start; }
.btn-submit .btn-loading { display: none; }
.btn-submit.is-sending .btn-label { display: none; }
.btn-submit.is-sending .btn-loading { display: inline; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-error { color: var(--red); font-size: 0.85rem; min-height: 1.2em; font-family: var(--font-m); }

.contact-form[hidden], .contact-success[hidden] { display: none !important; }

.contact-success {
  border: 1px solid var(--line);
  background: var(--card); padding: 70px 44px;
  text-align: center;
}
.success-glyph {
  display: block; width: 30px; height: 52px; margin: 0 auto 30px;
  border-radius: 6px;
  background: linear-gradient(180deg, #c65352, var(--red) 50%, var(--red-deep));
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.5), inset 0 -4px 6px rgba(0,0,0,0.3);
}
.contact-success h3 {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900;
  font-size: 2rem; text-transform: uppercase; margin-bottom: 14px; color: var(--red);
}
.contact-success p { color: var(--muted); margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 90px 4vw 36px;
}
.footer-big {
  font-family: var(--font-d); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 8.4vw, 8.4rem); line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 64px;
}
.footer-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid var(--hairline); padding-top: 26px;
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
}
.footer-row a { transition: color 0.25s ease; }
.footer-row a:hover { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .site-nav { gap: 18px; }
  .hero { padding-top: 110px; }
  .switch-scene {
    position: relative; left: auto; top: auto;
    transform: none; margin: 70px auto;
    perspective: 900px;
  }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; margin-top: 0; }
  .hero-side { justify-self: start; }
  .chapters { grid-template-columns: 1fr; }
  .chapter { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 40px; }
  .chapter:last-child { border-bottom: 0; }
  .chapter-num { margin-bottom: 24px; }
  .founder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .svc-row { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .svc-row p { grid-column: 2; }
  .svc-tag { grid-column: 2; justify-self: start; }
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hairline); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 14px 5vw;
  }
  .brand { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 2px -5vw -14px;
    padding: 6px 5vw 4px;
    background: rgba(236, 230, 214, 0.92);
    border-top: 1px solid var(--hairline);
    box-shadow: 0 14px 24px rgba(50, 31, 15, 0.08);
    display: none;
  }
  .site-header.nav-open .site-nav {
    display: flex;
  }
  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 9px 2px;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::before {
    font-family: var(--font-m);
    font-size: 0.56rem;
    color: var(--red);
    letter-spacing: 0;
    order: 2;
  }
  .site-nav a:nth-child(1)::before { content: '01'; }
  .site-nav a:nth-child(2)::before { content: '02'; }
  .site-nav a:nth-child(3)::before { content: '03'; }
  .site-nav a:nth-child(4)::before { content: '04'; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { color: var(--red); }
  .hero { padding-top: 138px; }
  .split { flex-direction: column; }
  .panel-creators { border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-list, .panel-content .btn { opacity: 1; transform: none; }
  .panel-title { white-space: normal; }
  .section-pad { padding: 90px 5vw; }
  .sw-plate { width: 180px; height: 290px; }
  .sw-slot { top: 92px; height: 130px; width: 72px; }
  .sw-off { top: 66px; }
  .sw-on { bottom: 52px; }
  .hero-top { flex-direction: column; gap: 8px; }
  .founders { margin-top: 90px; }
  .founders-heading { display: block; margin-bottom: 32px; }
  .founders-heading .eyebrow { margin-bottom: 18px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 1.15 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
