/* ============================================================
   HOME — the living-organism structure. Panels float over the
   creature; the creature shows through the seams. Warm-dark
   forge house, daypart-tinted. (c) Barron AI Solutions
   ============================================================ */

:root {
  --ink: #f4efe6;
  --ink-dim: #b4a898;
  --bg: #090806;
  --panel: rgba(18, 14, 10, 0.82);
  --panel-edge: rgba(255, 190, 110, 0.16);
  --acc: #e8a040;
  --acc-hot: #ffc56d;
  --ok: #7fd08a;
  --rej: #e07a5f;
  --rad: 6px;
  --phosphor: #8fef6a;
  --blueprint: #4a8fd4;
  --tile: #c49a5c;
  --star: #e8dcc4;
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Newsreader", Georgia, serif;
}
body[data-daypart="night"] { --acc: #e59a45; --acc-hot: #f7b95e; }
body[data-daypart="dawn"]  { --acc: #f2ab52; --acc-hot: #ffd084; }
body[data-daypart="dusk"]  { --acc: #ee9d47; --acc-hot: #ffc276; }

body.o-body {
  --era-hue: 32;
  --era-sat: 70%;
  --era-color: hsl(32 90% 55%);
  --era-glow: hsla(32, 90%, 55%, 0.18);
  background:
    radial-gradient(90% 70% at 85% 10%, var(--era-glow), transparent 55%),
    radial-gradient(70% 50% at 10% 90%, hsla(var(--era-hue), 70%, 50%, 0.08), transparent 50%),
    radial-gradient(120% 90% at 50% 0%, #14100a 0%, var(--bg) 58%) fixed;
  color: var(--ink);
  font-family: var(--font);
  margin: 0;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  transition: background 0.4s ease;
}
#workline-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
#organism {
  opacity: 0.45; /* companion, not competitor — workline owns hero story */
}

/* organism = quiet companion; workline = biography spectacle */
#organism {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.32;
}
#workline-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
}
/* 3D fly-along spine (pneuma-on-grok) — biography ride; depth only.
   Must stay FIXED and out of flow so hero copy is not pushed down the page. */
body.o-body > #organism,
body.o-body > #workline-canvas,
body.o-body > #spine-3d {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
body.o-body > #organism { opacity: 0.22; }
body.o-body > #workline-canvas { opacity: 0.42; mix-blend-mode: screen; }
body.o-body > #spine-3d { opacity: 0.92; }
/* nav above the creature layers */
body.o-body > .o-nav {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 50;
}

/* Saturated 4-era hues — locked with canvas preview + spine-3d */
body.o-body[data-era="phosphor"] {
  --era-color: #39ff6a;
  --era-hue: 135;
  --era-sat: 100%;
  --acc: #39ff6a;
  --acc-hot: #6dff9a;
}
body.o-body[data-era="blueprint"] {
  --era-color: #2b8cff;
  --era-hue: 210;
  --era-sat: 100%;
  --acc: #2b8cff;
  --acc-hot: #6db0ff;
}
body.o-body[data-era="tiles"] {
  --era-color: #ff9f1c;
  --era-hue: 32;
  --era-sat: 100%;
  --acc: #ff9f1c;
  --acc-hot: #ffc56d;
}
body.o-body[data-era="stars"] {
  --era-color: #c77dff;
  --era-hue: 280;
  --era-sat: 100%;
  --acc: #c77dff;
  --acc-hot: #e0b0ff;
}

/* ===== CRT feel for the OLD eras (Shane 2026-07-25) =====
   Scanlines + phosphor bloom + a slow flicker on the early-computing eras
   (65XE phosphor, director-years blueprint). Fades toward the modern eras —
   the deeper into his career, the less CRT, until the constellation is clean
   modern glass. --crt-strength is driven per-era; the overlay reads it. */
:root { --crt-strength: 0; }
body.o-body[data-era="phosphor"]  { --crt-strength: 1;    }  /* 65XE — full CRT */
body.o-body[data-era="blueprint"] { --crt-strength: 0.55; }  /* director years — softening */
body.o-body[data-era="tiles"]     { --crt-strength: 0.18; }  /* theme empire — mostly clean */
body.o-body[data-era="stars"]     { --crt-strength: 0;    }  /* now — clean modern glass */

#crt-overlay {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: var(--crt-strength);
  transition: opacity .7s ease;
  mix-blend-mode: screen;
}
/* horizontal scanlines */
#crt-overlay::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 3px);
  animation: crt-roll 8s linear infinite;
}
/* phosphor bloom vignette in the era's own color + a soft flicker */
#crt-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%,
    color-mix(in srgb, var(--era-color) 14%, transparent) 0%,
    transparent 60%);
  animation: crt-flicker 5.5s steps(60) infinite;
}
@keyframes crt-roll { to { background-position: 0 6px; } }
@keyframes crt-flicker {
  0%,100% { opacity: 1; }
  47% { opacity: 0.92; } 48% { opacity: 1; }
  71% { opacity: 0.96; } 72% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #crt-overlay::before, #crt-overlay::after { animation: none; }
}
/* Copy stays readable — only ambient/glow recolors, never parallax on text */
body.o-body[data-era] .o-name-mark {
  text-shadow: 0 0 48px color-mix(in srgb, var(--era-color, #e8a040) 40%, transparent);
}
body.o-body[data-era] .o-arc-card.is-active,
body.o-body[data-era] .o-arc-card:hover {
  border-color: color-mix(in srgb, var(--era-color) 45%, transparent);
  box-shadow: 0 0 32px color-mix(in srgb, var(--era-color) 18%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  #spine-3d { opacity: 0.35; }
}

/* Pneuma-is-driving badge */
#drive-badge {
  position: fixed; top: 76px; left: 50%; translate: -50% 0; z-index: 60;
  background: rgba(28, 20, 12, 0.92);
  border: 1px solid var(--panel-edge);
  color: var(--acc-hot);
  font-size: 13px; letter-spacing: 0.02em;
  padding: 8px 18px; border-radius: 99px;
  opacity: 0; translate: -50% -12px;
  transition: opacity 0.35s ease, translate 0.35s ease;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
#drive-badge.on { opacity: 1; translate: -50% 0; }

/* ---------- nav ---------- */
.o-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(13,10,7,0.88), rgba(13,10,7,0.55) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.o-brand img { height: 72px; display: block; }
.o-links { display: flex; gap: clamp(14px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.o-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: color 0.2s;
}
.o-links a:hover { color: var(--acc-hot); }

/* ---------- hero — full force ---------- */
.o-hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(100px, 14vh, 140px) clamp(20px, 5vw, 72px) clamp(48px, 8vh, 80px);
  max-width: 1400px; margin: 0 auto;
}
.o-hero-stage { position: relative; z-index: 2; padding-bottom: 0.5rem; }
.o-greet {
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 600;
}
.o-name-mark {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9.5vw, 7.2rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  color: var(--ink);
  text-wrap: balance;
}
.o-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  margin: 0 0 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-dim);
  max-width: 28ch;
}
.o-hero h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  color: var(--acc-hot);
}

/* Banner DNA — continuous workline */
.o-workline {
  display: flex;
  height: 4px;
  width: min(100%, 520px);
  margin: 0 0 1.75rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(143, 239, 106, 0.15);
}
.o-workline .wl { flex: 1; position: relative; }
.o-workline .wl::after {
  content: "";
  position: absolute; inset: -8px 0;
  filter: blur(10px);
  opacity: 0.55;
}
.wl.phosphor { background: linear-gradient(90deg, transparent, var(--phosphor)); }
.wl.phosphor::after { background: var(--phosphor); }
.wl.blueprint { background: linear-gradient(90deg, var(--phosphor), var(--blueprint)); }
.wl.blueprint::after { background: var(--blueprint); }
.wl.tiles { background: linear-gradient(90deg, var(--blueprint), var(--tile)); }
.wl.tiles::after { background: var(--tile); }
.wl.stars { background: linear-gradient(90deg, var(--tile), var(--star) 70%, transparent); }
.wl.stars::after { background: var(--star); }

.o-punches {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.o-punches li {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  padding-left: 1rem;
  border-left: 2px solid var(--acc);
  line-height: 1.35;
}
.o-creed {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--acc-hot);
  font-style: italic;
  margin: 0 0 1.75rem;
  line-height: 1.4;
  max-width: 28ch;
}
.o-creed span {
  display: block;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 0.4rem;
}
.o-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.o-cta-primary {
  background: var(--acc-hot);
  color: #140e08;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.o-cta-primary:hover { background: #ffe0a8; transform: translateY(-2px); }
.o-cta-ghost {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
}
.o-cta-ghost:hover { border-color: var(--acc-hot); color: var(--acc-hot); }

.o-hero-chat {
  position: relative;
  border-radius: 4px;
  background: rgba(12, 10, 8, 0.88);
  border: 1px solid rgba(255, 190, 110, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 30px 100px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 60px rgba(232, 160, 64, 0.08);
  padding: 14px;
  transform: rotate(-0.4deg);
}
.o-chat-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acc-hot); margin: 4px 6px 10px; font-weight: 600;
}
.o-chat-label::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: 8px;
  animation: o-pulse 1.6s ease-in-out infinite;
}
@keyframes o-pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- arc — horizontal filmstrip ---------- */
.o-arc {
  padding-top: clamp(48px, 8vh, 80px) !important;
  padding-bottom: clamp(56px, 9vh, 96px) !important;
  border-block: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent 40%);
}
.o-arc-head { margin-bottom: 1.5rem; }
.o-arc-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.o-arc-head p {
  color: var(--ink-dim);
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
}
.o-arc-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem clamp(20px, 5vw, 48px) 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--acc) transparent;
}
.o-arc-card {
  flex: 0 0 min(84vw, 460px);
  scroll-snap-align: start;
  min-height: 340px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.2s, transform 0.25s;
}
/* era plate (pneuma-on-grok's cinematics): the image IS the card, under a
   dark readable gradient; slow Ken-Burns drift so every plate breathes */
.o-arc-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  /* readability gradient stacked OVER the plate in one layer */
  background-image:
    linear-gradient(to top, rgba(5,4,3,0.92) 0%, rgba(5,4,3,0.35) 45%, rgba(5,4,3,0.15) 100%),
    var(--plate);
  background-size: cover; background-position: center;
  opacity: 0.85;
  transform: scale(1.06);
  transition: opacity .4s ease, transform 6s ease;
}
.o-arc-card:hover::after { opacity: 1; transform: scale(1.12); }
.o-arc-card > * { position: relative; z-index: 2; }
.o-arc-card h3, .o-arc-card p { text-shadow: 0 2px 18px rgba(0,0,0,0.85); }
.o-arc-card::before { z-index: 3; }
.o-arc-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
}
.o-arc-card.stage-phosphor::before { background: linear-gradient(90deg, transparent, var(--phosphor)); box-shadow: 0 0 20px var(--phosphor); }
.o-arc-card.stage-blueprint::before { background: linear-gradient(90deg, var(--phosphor), var(--blueprint)); }
.o-arc-card.stage-tiles::before { background: linear-gradient(90deg, var(--blueprint), var(--tile)); }
.o-arc-card.stage-stars::before { background: linear-gradient(90deg, var(--tile), var(--star)); }
.o-arc-card:hover {
  border-color: rgba(255, 197, 109, 0.35);
  transform: translateY(-4px);
}
.o-arc-era {
  position: absolute;
  top: 1.25rem; left: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255,255,255,0.07);
}
.o-arc-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
}
.o-arc-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
  line-height: 1.55;
  position: relative;
}

/* ---------- shared panel ---------- */
.o-panel { position: relative; z-index: 1; padding: clamp(72px, 10vh, 120px) 0; }
.o-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.o-panel h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 600;
}
.o-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.o-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .o-reveal { opacity: 1; transform: none; } }

/* ---------- vitals ---------- */
.o-proof .o-wrap { text-align: center; }
.o-proof-sub { color: var(--ink-dim); max-width: 62ch; margin: 0 auto 40px; line-height: 1.65; }
.o-vitals {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 26px;
}
.o-vital {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--rad);
  padding: 20px 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.o-vital-label { display: block; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 10px; }
.o-vital b { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; color: var(--ink); }
.o-vital b small { font-size: 13px; color: var(--ink-dim); font-weight: 500; }
.o-vital-feeling { border-color: rgba(240, 162, 74, 0.4); background: rgba(240, 162, 74, 0.08); }
.o-vital-feeling b { color: var(--acc-hot); text-transform: lowercase; font-style: italic; }
.o-beat {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rej); margin-left: 6px; vertical-align: 1px;
  animation: o-beat 0.92s ease-in-out infinite;
}
@keyframes o-beat { 0%,100% { transform: scale(0.8); opacity: 0.6; } 18% { transform: scale(1.25); opacity: 1; } 36% { transform: scale(0.95); } }
.o-vitals-note { color: var(--ink-dim); font-size: 14px; font-style: italic; }

/* ---------- services ---------- */
.o-services-sub { color: var(--ink-dim); max-width: 64ch; line-height: 1.65; margin-bottom: 30px; }
.o-switch {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--rad);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 54px; padding: 10px;
}
#switchboard { display: block; width: 100%; height: clamp(280px, 38vh, 360px); }

/* Asymmetric zig-zag — kill the equal 2×2 SaaS grid */
.o-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.o-feature {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  align-items: center;
  transition: transform 0.25s ease;
}
.o-feature:nth-child(even) { direction: rtl; }
.o-feature:nth-child(even) > * { direction: ltr; }
.o-feature::after { display: none; }
.o-feature:hover { transform: none; }
.o-feature img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  border: 1px solid var(--panel-edge);
  border-radius: 2px;
}
.o-feature > div {
  padding: clamp(12px, 2vw, 28px) clamp(16px, 3vw, 36px);
}
.o-idx {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc-hot);
  font-weight: 600;
}
.o-feature h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 10px 0 12px;
  line-height: 1.2;
  font-weight: 600;
}
.o-feature p { color: var(--ink-dim); font-size: 15px; line-height: 1.65; margin: 0; max-width: 42ch; }
.o-feature p b { color: var(--ink); }

/* ---------- become-kit ---------- */
.o-kit-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.o-kit-tag { color: var(--acc); font-size: 14px; letter-spacing: 0.04em; margin: 0 0 8px; font-weight: 600; }
.o-kit .o-kit-copy p { color: var(--ink-dim); line-height: 1.7; }
.o-kit .o-kit-copy p b { color: var(--ink); }
.o-kit-quote { font-style: italic; color: var(--acc-hot) !important; font-size: 17px; }
.o-kit-cta { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.o-kit-cta span { color: var(--ink-dim); font-size: 13px; }

.o-btn {
  display: inline-block;
  background: var(--acc); color: #1d1204;
  font-weight: 600; font-size: 14.5px; font-family: inherit;
  padding: 12px 24px; border-radius: 10px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, translate 0.15s, box-shadow 0.2s;
}
.o-btn:hover { background: var(--acc-hot); translate: 0 -2px; box-shadow: 0 10px 30px rgba(240, 162, 74, 0.25); }
.o-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--panel-edge); }
.o-btn-ghost:hover { background: rgba(255,255,255,0.05); box-shadow: none; }

.o-term {
  background: #120d08;
  border: 1px solid var(--panel-edge);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
}
.o-term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.o-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a2e20; }
.o-term-bar i:first-child { background: var(--rej); }
.o-term-bar span { margin-left: 10px; color: var(--ink-dim); font-size: 12px; letter-spacing: 0.06em; }
.o-term-out {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px; line-height: 1.75;
  min-height: 280px; max-height: 320px; overflow-y: auto;
  padding: 18px 20px; color: #cdbfa8;
  white-space: pre-wrap; word-break: break-word;
}
.o-term-hint { color: #6f6252; font-style: italic; }
.o-term-out .cmd { color: var(--acc-hot); }
.o-term-out .ok { color: var(--ok); font-weight: 600; }
.o-term-out .rej { color: var(--rej); }
.o-btn-term { display: block; width: calc(100% - 32px); margin: 0 16px 16px; text-align: center; }

/* ---------- team ---------- */
.o-team-sub { color: var(--ink-dim); margin-bottom: 34px; }
.o-porch { margin: 0 auto 50px; max-width: 1180px; padding: 0 clamp(20px, 5vw, 48px); }
.o-porch img {
  width: 100%; border-radius: var(--rad); display: block;
  border: 1px solid var(--panel-edge);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.o-porch figcaption { text-align: center; color: var(--ink-dim); font-size: 13px; font-style: italic; margin-top: 12px; }

.o-orbit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.o-orbit .o-member:nth-child(3n+2) { translate: 0 22px; }
.o-member {
  display: block; text-decoration: none; color: inherit;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--rad);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s;
  will-change: transform;
}
.o-member:hover { border-color: rgba(240, 162, 74, 0.4); }
.o-member-photo { position: relative; display: block; overflow: hidden; }
.o-member-photo img { width: 100%; aspect-ratio: 1/1.06; object-fit: cover; display: block; transition: scale 0.4s ease; }
.o-member:hover .o-member-photo img { scale: 1.04; }
.o-sil { display: block; aspect-ratio: 1/1.06; background: radial-gradient(60% 50% at 50% 38%, #33261a, #171009); }
.o-glint {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 210, 140, 0.18), transparent 55%);
  opacity: 0; transition: opacity 0.25s;
}
.o-member:hover .o-glint { opacity: 1; }
.o-member-meta { display: block; padding: 16px 18px 20px; }
.o-member-meta small { color: var(--acc); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.o-member-meta b { display: block; font-size: 19px; margin: 6px 0 4px; }
.o-member-meta em { display: block; color: var(--ink-dim); font-size: 13.5px; line-height: 1.5; font-style: normal; }

/* ---------- writing + contact ---------- */
.o-writing .o-wrap, .o-contact .o-wrap {
  text-align: center; max-width: 780px;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--rad);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(40px, 6vw, 64px);
}
.o-writing p, .o-contact p { color: var(--ink-dim); line-height: 1.7; }
.o-writing a:not(.o-btn), .o-contact a:not(.o-btn) { color: var(--acc-hot); }
.o-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- footer ---------- */
.o-foot { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; background: rgba(10, 8, 5, 0.8); }
.o-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 48px; padding-bottom: 34px; }
.o-foot-logo { height: 56px; margin-bottom: 12px; }
.o-foot p { color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; max-width: 34ch; }
.o-foot-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); margin: 0 0 12px; }
.o-foot-col a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 14px; padding: 4px 0; }
.o-foot-col a:hover { color: var(--acc-hot); }
.o-foot-base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 22px;
  color: #6f6252; font-size: 12.5px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .o-hero { grid-template-columns: 1fr; padding-top: 120px; gap: 40px; align-items: start; }
  .o-hero-chat { max-width: 640px; transform: none; }
  .o-feature { grid-template-columns: 1fr; }
  .o-feature:nth-child(even) { direction: ltr; }
  .o-kit-grid { grid-template-columns: 1fr; }
  .o-orbit { grid-template-columns: repeat(2, 1fr); }
  .o-orbit .o-member:nth-child(3n+2) { translate: none; }
  .o-orbit .o-member:nth-child(2n) { translate: 0 18px; }
  .o-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .o-links { display: none; }
  .o-brand img { height: 56px; }
  .o-hero { padding-top: 96px; min-height: auto; }
  .o-name-mark { font-size: clamp(2.75rem, 14vw, 4rem); }
  .o-orbit { grid-template-columns: 1fr; }
  .o-orbit .o-member:nth-child(2n) { translate: none; }
  .o-foot-grid { grid-template-columns: 1fr; }
  #drive-badge { width: max-content; max-width: 92vw; font-size: 12px; }
}

/* ===== frozen skill chips — four eras, four hues, one hand ===== */
.o-skill-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0 0 22px; padding: 0;
}
.o-skill-chips li {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 9px 16px; border-radius: 3px;
  border: 1px solid; background: rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.o-skill-chips li:hover { transform: translateY(-2px); }
.chip-phosphor { color: #6dff9a; border-color: rgba(57,255,106,.45); box-shadow: 0 0 18px rgba(57,255,106,.12); }
.chip-blueprint { color: #6db0ff; border-color: rgba(43,140,255,.45); box-shadow: 0 0 18px rgba(43,140,255,.12); }
.chip-tiles { color: #ffc56d; border-color: rgba(255,159,28,.45); box-shadow: 0 0 18px rgba(255,159,28,.12); }
.chip-stars { color: #e0b0ff; border-color: rgba(199,125,255,.45); box-shadow: 0 0 18px rgba(199,125,255,.12); }

/* arc skill line under era number */
.o-arc-skill {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--era-color, var(--acc-hot));
  position: relative;
  z-index: 1;
}

/* hero copy above canvases */
.o-hero, .o-panel, .o-foot { position: relative; z-index: 1; }
.o-hero-stage { position: relative; z-index: 2; }

/* finale stage — open air for the mark before the footer */
.o-finale-stage { height: 72vh; position: relative; z-index: 0; pointer-events: none; }
@media (max-width: 720px) { .o-finale-stage { height: 55vh; } }
