/* ════════════════════════════════════════════════════════════════════════
   RealAndWorks — "Refined Technical" design system
   Dark, substance-forward, pure CSS. No framework, no remote fonts.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Typography rhythm ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
}
h1 { font-size: clamp(2.05rem, 1.4rem + 3.1vw, 3.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.1rem); font-weight: 600; letter-spacing: -0.022em; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
strong { color: var(--text); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Eyebrow: mono kicker with an accent bar, sits above section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7ch;
  margin: 0 0 0.85rem;
  font: 600 0.72rem/1.4 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: 0.92em;
  background: var(--accent);
  border-radius: 2px;
}

/* Main column + vertical rhythm */
main.wrap { padding-top: 8px; padding-bottom: 88px; }
main.wrap > section,
main.wrap > article { margin-top: 80px; }
main.wrap > section:first-child,
main.wrap > article:first-child { margin-top: 40px; }

/* ── Sticky translucent header ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 24, 27, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 22px;
  padding-top: 12px; padding-bottom: 12px;
}
/* Brand lockup: circular badge mark + wordmark in the display face */
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand .brand-mark {
  width: 34px; height: 34px; display: block;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.brand:hover .brand-mark { transform: rotate(-4deg); }
.brand .brand-word {
  font: 600 1.04rem/1 var(--display);
  letter-spacing: -0.02em;
}
.brand .brand-word .amp { color: var(--accent); font-weight: 500; }
@media (max-width: 460px) {
  .brand .brand-word { display: none; }
}

.site-nav { margin-left: auto; }
.site-nav .nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  display: inline-block;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font: 500 0.86rem/1 var(--mono);
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible { color: var(--text); background: var(--surface); text-decoration: none; }
.site-nav .current-menu-item > a,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* ── Data-driven dropdown nav ───────────────────────────────────────────── */
.nav-item { position: relative; }
.nav-caret { font-size: 0.62em; opacity: 0.7; margin-left: 0.15ch; vertical-align: 0.12em; }
.nav-dropdown {
  list-style: none; margin: 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(22, 24, 27, 0.97);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 110;
}
/* Bridge the visual gap so hover doesn't drop between label and panel */
.nav-dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
}
.nav-has-children:hover > .nav-dropdown,
.nav-has-children:focus-within > .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a { white-space: nowrap; }
.nav-cta { margin-left: 4px; }
.site-nav .nav-cta .btn { padding: 9px 16px; font-size: 0.86rem; }

/* Mobile nav toggle (vanilla JS enhancement, degrades to always-visible) */
.nav-toggle { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5ch;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn-secondary,
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-2);
}
.btn-secondary:hover,
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Live-status pill ──────────────────────────────────────────────────── */
.status-pill {
  display: inline-flex; align-items: center; gap: 0.55ch;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface);
  font: 500 0.8rem/1 var(--mono);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(95, 167, 118, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95, 167, 118, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(95, 167, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 167, 118, 0); }
}

/* ── Pillar chips ──────────────────────────────────────────────────────── */
.pillar-chip,
.pillars-chips a {
  display: inline-flex; align-items: center;
  padding: 4px 11px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface);
  font: 500 0.74rem/1.4 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: lowercase;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.pillars-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.25rem; }
.pillars-chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 36px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
}
/* Oversized faint monogram — editorial watermark, bleeds off the top-right */
.hero::before {
  content: "";
  position: absolute;
  top: -56px; right: -40px;
  width: 360px; height: 332px;
  background: url("../img/monogram-white.svg") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.7rem; max-width: 16ch; }
.hero .sub {
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.4rem);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.7rem;
  max-width: 40ch;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Hero video, side-by-side with the copy */
.hero-copy { min-width: 0; }
.hero-media { min-width: 0; }
.hero-media video {
  width: 100%; display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0b0f14;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { max-width: none; }
}

/* Lead / proof paragraph — hairline accent rule, slightly inset (asymmetry) */
.proof {
  max-width: 760px;
  padding-left: 20px;
  border-left: 2px solid var(--accent-line);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
}
.lead {
  max-width: var(--measure);
  font-size: 1.08rem;
  color: var(--muted);
}
.proof strong, .lead strong { color: var(--text); font-weight: 600; }

/* ── 3-node architecture diagram ───────────────────────────────────────── */
.arch {
  position: relative;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(216,166,87,0.035), transparent 120px),
    var(--surface);
  padding: 22px 22px 26px;
  overflow: hidden;
}
/* Faint monogram watermark in the diagram corner — recurring brand motif */
.arch::after {
  content: "";
  position: absolute;
  right: -26px; bottom: -30px;
  width: 200px; height: 184px;
  background: url("../img/monogram-white.svg") no-repeat center / contain;
  opacity: 0.028;
  pointer-events: none;
}
.arch-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.arch-head .label {
  font: 600 0.72rem/1.4 var(--mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
/* Connector line behind the three nodes (desktop) */
.arch-grid::before {
  content: "";
  position: absolute;
  top: 38px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2) 12%, var(--border-2) 88%, transparent);
  z-index: 0;
}
.node {
  position: relative; z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 16px 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.node:hover { border-color: var(--accent); transform: translateY(-2px); }
.node-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.node-name {
  font: 700 1.02rem/1 var(--mono);
  color: var(--text);
  letter-spacing: -0.01em;
}
.node-name::before {
  content: "●"; color: var(--live); font-size: 0.6em; margin-right: 0.6ch;
  vertical-align: middle;
}
.node-role {
  font: 500 0.72rem/1.4 var(--mono);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent);
  margin: 2px 0 12px;
}
.node-chips { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.node-chips li {
  font: 400 0.82rem/1.35 var(--sans);
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.node-chips li::before {
  content: "›";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-family: var(--mono);
}

/* ── Section heads: hairline division + editorial label ────────────────── */
.section-head {
  margin-bottom: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.section-head h1, .section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 12px; }
/* Hero & article heads opt out of the top rule */
.hero .section-head, .article-head.section-head { border-top: 0; padding-top: 0; }

/* ── Card grids ────────────────────────────────────────────────────────── */
.pillars, .builds {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
a.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
  background: var(--surface-2);
}
.card strong { display: block; font: 600 1.08rem/1.25 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Pillar card: numbered, with mono index — first card carries a faint motif */
.pillar-card { position: relative; overflow: hidden; }
.pillar-card .idx {
  font: 600 0.74rem/1 var(--mono);
  color: var(--accent); letter-spacing: 0.14em;
  display: block; margin-bottom: 12px;
}
.pillar-card strong { position: relative; z-index: 1; }
.pillar-card::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -22px;
  width: 96px; height: 88px;
  background: url("../img/monogram-white.svg") no-repeat center / contain;
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
a.pillar-card:hover::after { opacity: 0.05; }
.pillar-card .arrow { color: var(--accent); transition: transform 0.2s ease; display: inline-block; }
a.pillar-card:hover .arrow { transform: translateX(3px); }

/* Build card: has a small "case study" footer cue */
.build-card .meta {
  margin-top: 14px;
  font: 500 0.72rem/1 var(--mono);
  color: var(--faint);
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 0.6ch;
}
a.build-card:hover .meta { color: var(--accent); }

/* ── Reel / figure ─────────────────────────────────────────────────────── */
.reel-wrap { margin: 28px 0; }
.reel {
  aspect-ratio: 16 / 9; width: 100%;
  background:
    repeating-linear-gradient(45deg, #15171a, #15171a 12px, #191c20 12px, #191c20 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.reel[data-reel-slot]::after {
  content: "▶ reel";
  font: 500 0.8rem/1 var(--mono);
  color: var(--faint); letter-spacing: 0.1em;
}
figure { margin: 28px 0; }
figcaption.fine, .fine {
  color: var(--faint);
  font: 400 0.8rem/1.5 var(--mono);
  letter-spacing: 0.01em;
  margin-top: 8px;
}

/* ── Article / prose (single-build, page) ──────────────────────────────── */
.article-head { max-width: var(--measure); margin-bottom: 12px; }
.article-head h1 { margin-bottom: 0.5rem; }
.live-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font: 500 0.82rem/1 var(--mono);
  margin: 14px 0 0;
}
.live-links a { display: inline-flex; align-items: center; gap: 0.5ch; }
.live-links a::before { content: "↗"; color: var(--accent); }

.prose { max-width: var(--measure); font-size: 1.04rem; line-height: 1.75; }
.prose > * { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose img { border-radius: var(--radius); border: 1px solid var(--border); }
/* Full-width diagrams allowed inside prose */
.prose .arch, .prose .full-bleed { max-width: none; }

/* Code & pre */
code, kbd, samp {
  font: 0.88em/1.5 var(--mono);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--text);
}
pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  font: 0.85rem/1.6 var(--mono);
  max-width: var(--measure);
}
pre code { background: none; border: 0; padding: 0; color: var(--text); }

/* Blockquote / callout: left accent border */
blockquote {
  margin: 1.6rem 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 1.05rem;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: 8px; color: var(--muted); font-style: normal; font: 500 0.82rem/1 var(--mono); }

/* Stack chip list (single-build optional) */
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.stack-list li {
  font: 500 0.74rem/1 var(--mono);
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 5px 9px;
}

/* Proof / links block at end of article */
.proof-block {
  max-width: var(--measure);
  margin-top: 40px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.proof-block h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }

/* ── Work Together cards ───────────────────────────────────────────────── */
.wt-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}
.wt-grid .card { padding: 26px; }
.wt-grid .card h2 { font-size: 1.3rem; }
.wt-grid .card .btn { margin-top: 6px; }

/* Pagination */
.pagination, .nav-links {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px;
}
.pagination .page-numbers, .nav-links a, .nav-links span {
  display: inline-block; padding: 8px 13px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: 500 0.85rem/1 var(--mono); color: var(--muted);
}
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-foot {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 64px;
  overflow: hidden;
}
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; }
.rnw-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rnw-cta .fine {
  flex-basis: 100%;
  display: inline-flex; align-items: center; gap: 0.7ch;
  margin: 14px 0 0; color: var(--faint);
}
.rnw-cta .fine .foot-mark {
  width: 15px; height: 14px; flex: none;
  color: var(--faint);
}
.rnw-cta .fine .foot-mark svg { width: 100%; height: 100%; display: block; }
/* Oversized monogram watermark anchoring the footer's right edge */
.site-foot::after {
  content: "";
  position: absolute;
  right: -36px; bottom: -44px;
  width: 220px; height: 202px;
  background: url("../img/monogram-white.svg") no-repeat center / contain;
  opacity: 0.03;
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .arch-grid { grid-template-columns: 1fr; gap: 14px; }
  .arch-grid::before {
    top: 0; bottom: 0; left: 24px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--border-2) 8%, var(--border-2) 92%, transparent);
  }
  .node { margin-left: 8px; }

  .site-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: rgba(22,24,27,0.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 11px 12px; }
  /* Inline-expanded submenus: every destination is one tap away, no JS needed */
  .nav-item { position: static; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; min-width: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0 0 0 14px; margin: 0 0 4px;
    border-left: 1px solid var(--border-2);
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a:not(.btn) { font-size: 0.8rem; padding: 8px 12px; }
  .nav-cta { margin: 8px 0 0; }
  .site-nav .nav-cta .btn { display: block; text-align: center; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto;
    width: 40px; height: 38px;
    background: var(--surface); border: 1px solid var(--border-2);
    border-radius: var(--radius-sm); color: var(--text); cursor: pointer;
    font-size: 1.1rem;
  }
  .hero .sub { max-width: none; }
}

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover, a.card:hover, .node:hover { transform: none; }
}

/* ── Subtle load fade (home hero only) ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeUp 0.5s ease both; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ── Contact form ─────────────────────────────────────────────── */
.rnw-form { max-width: 560px; margin-top: 1.25rem; }
.rnw-form p { margin: 0 0 1rem; }
.rnw-form label { display: block; font: 600 0.8rem/1.4 var(--font-mono, ui-monospace, monospace); letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #8b97a7); margin-bottom: .35rem; }
.rnw-form input[type=text], .rnw-form input[type=email], .rnw-form textarea {
  width: 100%; padding: .7rem .8rem; background: var(--surface, #1d2024);
  border: 1px solid var(--border, #2a2e33); border-radius: 8px;
  color: var(--text, #e6edf3); font: inherit;
}
.rnw-form input:focus, .rnw-form textarea:focus { outline: 2px solid var(--accent, #d8a657); outline-offset: 1px; border-color: var(--accent, #d8a657); }
.rnw-form textarea { resize: vertical; min-height: 7rem; }
.rnw-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: .7rem .9rem; border-radius: 8px; border-left: 3px solid; font-size: .95rem; }
.form-notice--ok { border-color: var(--ok, #3fb950); background: rgba(63,185,80,.08); }
.form-notice--err { border-color: var(--accent, #d8a657); background: rgba(216,166,87,.08); }
@media (prefers-reduced-motion: reduce) { .rnw-form * { transition: none !important; } }

/* ── In Production: per-business panels, each with its own <h2> ─────────── */
.production-groups { display: grid; gap: 22px; }

.prod-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.prod-panel-head { margin-bottom: 16px; }
.prod-panel-head h2 { font-size: 1.32rem; margin: 0 0 5px; }
.prod-panel-head p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.prod-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: var(--gap);
}
/* Solo business (the studio) keeps its single tile from going full-bleed */
.prod-panel--solo .prod-tiles { grid-template-columns: minmax(0, 460px); }

.prod-card {
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.prod-card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }

.prod-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.prod-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
a.prod-card:hover .prod-thumb img { transform: scale(1.03); }

.prod-body { display: block; padding: 14px 16px 16px; }
.prod-role {
  display: inline-block;
  font: 600 0.6rem/1 var(--mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 9px;
}
.prod-host {
  display: block;
  font: 500 0.74rem/1.3 var(--mono);
  color: var(--faint);
}
.prod-card p { color: var(--muted); font-size: 0.9rem; margin: 8px 0 0; }
.prod-card .meta {
  display: inline-block; margin-top: 12px;
  font: 600 0.7rem/1 var(--mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
a.prod-card:hover .meta { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  a.prod-card:hover { transform: none; }
  a.prod-card:hover .prod-thumb img { transform: none; }
}
