:root {
  --bg-primary: #100f0d;
  --bg-deep: #0c0b09;
  --bg-footer: #0e0d0b;
  --bg-card: #181512;
  --bg-elevated: #201c17;
  --bg-light: #f2ede8;
  --bg-light-card: #faf7f3;
  --accent: #92400e;
  --accent-mid: #d97706;
  --accent-bright: #e8a020;
  --accent-glow: rgba(232, 160, 32, 0.08);
  --text-primary: #f5f2eb;
  --text-muted: rgba(245, 242, 235, 0.58);
  --text-subtle: rgba(245, 242, 235, 0.34);
  --border: rgba(255, 248, 240, 0.08);
  --border-accent: rgba(232, 160, 32, 0.32);
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --nav-height: 64px;
  --radius: 4px;
  --radius-lg: 8px;
  --space-section: 96px;
  --space-section-inline: 48px;
  --shadow-card: inset 0 1px 0 rgba(255, 248, 240, 0.05);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Links (global defaults + visited-state safe surfaces) ─── */
a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(232, 160, 32, 0.28);
  text-underline-offset: 0.18em;
  transition: color 0.18s;
}

a:hover {
  color: var(--accent-mid);
}

/* Card / feed / console rows are full surfaces — never browser link colours */
a.product-dossier,
a.studio-feed-item,
a.studio-console-row,
a.blog-card,
a.update-row,
a.update-featured {
  text-decoration: none;
}

a.product-dossier:link,
a.product-dossier:visited,
a.studio-feed-item:link,
a.studio-feed-item:visited,
a.studio-console-row:link,
a.studio-console-row:visited,
a.blog-card:link,
a.blog-card:visited,
a.update-row:link,
a.update-row:visited,
a.update-featured:link,
a.update-featured:visited {
  color: var(--text-primary);
}

.btn,
.btn:hover,
.nav-logo,
.nav-logo:hover,
.nav-links a,
.nav-dropdown a,
.footer-col a,
.footer-bottom a {
  text-decoration: none;
}

/* ─── Typography utilities ─── */
.font-mono,
.text-mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

.meta-label,
.blog-card-meta,
.section-label,
.pill,
.hero-eyebrow {
  font-family: var(--font-mono);
}

/* ─── Icon system ─── */
.wm-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}

.wm-icon--sm { width: 16px; height: 16px; }
.wm-icon--md { width: 24px; height: 24px; }

.wm-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(232, 160, 32, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-bright);
}

.wm-icon-box .wm-icon { width: 18px; height: 18px; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-bright);
}

.card-icon .wm-icon { width: 22px; height: 22px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(16, 15, 13, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-section-inline);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo picture {
  display: flex;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(2);
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text-primary); background: rgba(255, 248, 240, 0.05); }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  background: var(--accent-bright) !important;
  color: var(--bg-deep) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  transition: background 0.18s, border-color 0.18s !important;
}
.nav-cta:hover {
  background: var(--accent-mid) !important;
  transform: none;
}

/* ─── NAV DROPDOWNS ─── */
.nav-item {
  position: relative;
  list-style: none;
}

.nav-item > .nav-trigger {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}

.nav-item > .nav-trigger:hover,
.nav-item:hover > .nav-trigger { color: var(--text-primary); background: rgba(255, 248, 240, 0.05); }

.nav-trigger.active { color: var(--text-primary); }

.nav-trigger svg {
  transition: transform 0.18s;
  opacity: 0.6;
  flex-shrink: 0;
}

.nav-item:hover > .nav-trigger svg,
.nav-item.open > .nav-trigger svg { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 200;
  box-shadow: var(--shadow-hover);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.nav-dropdown a:hover { color: var(--text-primary); background: rgba(255, 248, 240, 0.05); }
.nav-dropdown a.active { color: var(--text-primary); }

.nav-dropdown a .dd-icon {
  width: 28px;
  height: 28px;
  background: rgba(232, 160, 32, 0.08);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-bright);
}

.nav-dropdown a .dd-icon .wm-icon { width: 14px; height: 14px; }

.nav-dropdown a.dd-external { color: var(--accent-bright); }
.nav-dropdown a.dd-external:hover { color: var(--bg-deep); background: rgba(232, 160, 32, 0.88); }

.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

.nav-dropdown a.dd-small {
  font-size: 12px;
  padding: 7px 12px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}
.nav-dropdown a.dd-small:hover { color: var(--text-muted); }

@media (max-width: 900px) {
  .nav-item > .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius);
  }
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: all;
    background: rgba(255, 248, 240, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 4px 0 4px 12px;
    padding: 6px;
    box-shadow: none;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item:hover .nav-dropdown { opacity: 1; display: none; }
  .nav-item.open .nav-dropdown { display: block; opacity: 1; }
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.2s;
}

/* ─── PAGE BODY ─── */
.page-body { padding-top: var(--nav-height); min-height: 100vh; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 78% 72%, rgba(146, 64, 14, 0.12) 0%, transparent 68%),
    radial-gradient(ellipse 30% 35% at 12% 18%, rgba(232, 160, 32, 0.04) 0%, transparent 62%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-primary) 52%, var(--bg-deep) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.045;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px var(--space-section-inline);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 48px 56px;
  align-items: center;
}

.hero-content {
  text-align: left;
  min-width: 0;
}

.studio-console {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.studio-console-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.studio-console-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.studio-console-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.18s, border-color 0.18s;
  -webkit-tap-highlight-color: transparent;
}

a.studio-console-row:visited .studio-console-name,
a.studio-console-row:link .studio-console-name {
  color: var(--text-primary);
}

a.studio-console-row:visited .studio-console-meta,
a.studio-console-row:link .studio-console-meta {
  color: var(--text-muted);
}

a.studio-console-row--link:visited .studio-console-meta,
a.studio-console-row--link:link .studio-console-meta {
  color: var(--accent-bright);
}

.studio-console-row:last-child {
  border-bottom: none;
}

a.studio-console-row:hover {
  background: rgba(255, 248, 240, 0.03);
  border-color: var(--border);
}

.studio-console-row--static {
  color: var(--text-muted);
}

.studio-console-name {
  font-weight: 500;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.studio-console-meta {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.studio-console-meta .status-live {
  color: var(--accent-bright);
}

.studio-console-meta .status-dev {
  color: var(--text-subtle);
}

.studio-console-row--link .studio-console-meta {
  color: var(--accent-bright);
}

/* ─── Product status (mono metadata) ─── */
.product-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-status .status-live {
  color: var(--accent-bright);
}

.product-status .status-dev {
  color: var(--text-subtle);
}

.product-status .status-link {
  color: var(--accent-bright);
}

.product-status--hero {
  font-size: 12px;
  margin-bottom: 20px;
}

/* ─── Proof blocks (compact product evidence) ─── */
.proof-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.proof-block--compact {
  padding: 20px 22px;
}

.proof-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.proof-block h2,
.proof-block h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.proof-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 760px;
}

.proof-block p:last-child {
  margin-bottom: 0;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}

.proof-list div {
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.proof-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.proof-list dd {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.proof-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.proof-lines li {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.proof-lines strong {
  color: var(--text-primary);
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

/* ─── Product dossiers ─── */
.product-system {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}

.product-dossiers-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.product-dossiers-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.product-dossier,
article.product-dossier {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.product-dossier:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), var(--shadow-hover);
}

.product-dossier--featured {
  padding: 28px 28px 24px;
  min-height: 100%;
}

.product-dossier--featured.product-dossier--has-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.product-dossier--secondary {
  padding: 20px 22px;
  background: rgba(24, 21, 18, 0.65);
  border-color: rgba(255, 248, 240, 0.06);
}

.product-dossier--secondary:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.product-dossier--secondary .product-dossier-name {
  font-size: 17px;
}

.product-dossier--secondary .product-dossier-desc {
  font-size: 13px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-dossier--muted {
  opacity: 0.92;
}

.product-dossier-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-dossier-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

a.product-dossier:visited .product-dossier-name,
a.product-dossier:link .product-dossier-name,
article.product-dossier .product-dossier-name {
  color: var(--text-primary);
}

.product-dossier-audience {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.product-dossier-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.product-dossier-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-bright);
  transition: gap 0.2s;
}

a.product-dossier:visited .product-dossier-action,
a.product-dossier:link .product-dossier-action {
  color: var(--accent-bright);
}

a.product-dossier:visited .product-dossier-desc,
a.product-dossier:link .product-dossier-desc,
a.product-dossier:visited .product-dossier-audience,
a.product-dossier:link .product-dossier-audience {
  color: var(--text-muted);
}

a.product-dossier:visited .product-dossier-audience,
a.product-dossier:link .product-dossier-audience {
  color: var(--text-subtle);
}

a.product-dossier:visited .product-status,
a.product-dossier:link .product-status,
article.product-dossier .product-status {
  color: var(--text-muted);
}

.product-dossier:hover .product-dossier-action {
  gap: 10px;
}

.product-dossier-visual {
  flex-shrink: 0;
  width: 108px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: center;
}

.product-dossier-visual img {
  width: 100%;
  display: block;
}

.product-dossier--page {
  padding: 32px;
}

.product-dossier--page .product-dossier-name {
  font-size: 26px;
}

.product-dossier--page .product-dossier-desc {
  font-size: 15px;
  margin-bottom: 8px;
}

.product-dossier--page .product-dossier-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.product-dossier--compact {
  padding: 24px;
}

.product-dossier--compact .product-dossier-name {
  font-size: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.products-grid .product-dossier--featured-wide {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .product-dossiers-featured,
  .product-dossiers-secondary,
  .products-grid {
    grid-template-columns: 1fr;
  }
  .proof-list {
    grid-template-columns: 1fr;
  }

  .product-dossier--featured.product-dossier--has-visual {
    grid-template-columns: 1fr;
  }

  .product-dossier-visual {
    width: 88px;
    margin-top: 4px;
    justify-self: center;
  }

  .product-dossier-visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}

/* ─── Founder strip (homepage) ─── */
.founder-strip {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.founder-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px var(--space-section-inline);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 40px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.founder-strip-media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.founder-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-strip-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 52rem;
}

.founder-strip-text p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── From the studio (homepage editorial feed) ─── */
.section-parchment {
  background: var(--bg-primary);
  padding: var(--space-section) var(--space-section-inline);
  padding-top: calc(var(--space-section) * 0.65);
}

.section-parchment-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.studio-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.studio-feed-item {
  display: grid;
  grid-template-columns: minmax(108px, 132px) 1fr auto;
  gap: 20px 24px;
  align-items: start;
  padding: 20px 22px;
  width: 100%;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
}

.studio-feed-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card), var(--shadow-hover);
}

.studio-feed-date {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--bg-light) 90%, var(--bg-card) 10%);
  color: color-mix(in srgb, var(--accent) 55%, var(--bg-deep) 45%);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border) 80%);
  border-radius: var(--radius);
}

.studio-feed-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

a.studio-feed-item:visited .studio-feed-body h3,
a.studio-feed-item:link .studio-feed-body h3 {
  color: var(--text-primary);
}

.studio-feed-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

a.studio-feed-item:visited .studio-feed-body p,
a.studio-feed-item:link .studio-feed-body p {
  color: var(--text-muted);
}

a.studio-feed-item:visited .studio-feed-date,
a.studio-feed-item:link .studio-feed-date {
  color: color-mix(in srgb, var(--accent) 55%, var(--bg-deep) 45%);
}

a.studio-feed-item:visited .studio-feed-arrow,
a.studio-feed-item:link .studio-feed-arrow {
  color: var(--accent-bright);
}

.studio-feed-arrow {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent-bright);
  padding-top: 4px;
  opacity: 0.85;
  transition: opacity 0.18s;
}

.studio-feed-item:hover .studio-feed-arrow {
  opacity: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: hero-line-in 0.45s ease both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-bright);
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 14ch;
  animation: hero-line-in 0.45s ease 0.05s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.65;
  margin-bottom: 40px;
  animation: hero-line-in 0.45s ease 0.1s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: hero-line-in 0.45s ease 0.14s both;
}

@keyframes hero-line-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-bright);
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: #faf7f3;
  color: var(--bg-deep);
  border: 1px solid #faf7f3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.appstore-btn:hover {
  background: #ebe4dc;
  border-color: #ebe4dc;
  transform: none;
  box-shadow: none;
}
.appstore-btn svg { flex-shrink: 0; }

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: rgba(232, 160, 32, 0.05);
  transform: none;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: none;
}

.text-cta:hover {
  color: var(--accent-mid);
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--space-section) var(--space-section-inline);
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: var(--space-section) var(--space-section-inline);
  background: var(--bg-deep);
}

.section-full .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 160, 32, 0.45);
  display: inline-block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* ─── CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), var(--shadow-hover);
  transform: none;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 0.18s;
}

.card:hover .card-arrow { gap: 8px; }

/* ─── FEATURE SPOTLIGHT ─── */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }

.spotlight-text .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.spotlight-text h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.spotlight-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.spotlight,
.spotlight > * {
  min-width: 0;
  max-width: 100%;
}

.spotlight-text picture {
  display: block;
  max-width: 100%;
}

.spotlight-text picture img {
  max-width: 100%;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.spotlight-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.spotlight-device {
  width: min(260px, 100%);
  margin-inline: auto;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7), 0 0 60px rgba(28, 200, 125, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.spotlight-device img {
  width: 100%;
  height: auto;
  display: block;
}

.spotlight-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
  max-width: 100%;
}

.spotlight-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.spotlight-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.1) 0%, transparent 60%);
}

.mockup-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  text-align: center;
  padding: 20px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ─── FEATURE LIST ─── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  margin-top: 8px;
}

/* ─── DIVIDER ─── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0 var(--space-section-inline);
  max-width: calc(100% - (var(--space-section-inline) * 2));
}

/* ─── STAT ROW ─── */
.stat-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number em {
  font-style: normal;
  color: var(--accent-bright);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── BLOG GRID ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  transition: border-color 0.18s, box-shadow 0.18s;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: none;
  box-shadow: var(--shadow-card), var(--shadow-hover);
}

.blog-card-img {
  height: 180px;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.blog-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.08) 0%, transparent 70%);
}

.blog-card-body { padding: 22px; }

.blog-card-meta {
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 0 var(--space-section-inline) 18px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-signup-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 20px;
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.footer-signup-strip-text {
  flex: 1 1 200px;
  min-width: 0;
}

.footer-signup-strip h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0 0 3px;
  line-height: 1.25;
}

.footer-signup-strip h4 a {
  color: inherit;
  text-decoration: none;
}

.footer-signup-strip h4 a:hover {
  color: var(--accent-bright);
}

.footer-signup-strip-text > p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.footer-signup-link {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 12px;
  color: var(--accent-bright);
  text-decoration: none;
}

.footer-signup-link:hover {
  text-decoration: underline;
}

.footer-signup-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  flex: 0 1 420px;
  max-width: 420px;
  min-width: 0;
  box-sizing: border-box;
  margin-left: auto;
}

.footer-signup-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.2;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
  appearance: none;
}

.footer-signup-form input[type="email"]:focus {
  border-color: var(--accent-bright);
}

.footer-signup-form input::placeholder {
  color: var(--text-subtle);
}

.footer-signup-form .btn {
  flex: 0 0 auto;
  align-self: auto;
  box-sizing: border-box;
  font-size: 13px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: start;
  margin-bottom: 8px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 26ch;
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.footer-social a:hover {
  border-color: var(--border-accent);
  color: var(--accent-bright);
  background: rgba(232, 160, 32, 0.06);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.2;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 5px; }
.footer-col li:last-child { margin-bottom: 0; }
.footer-col a {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 6px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin: 0;
}

.footer-legal {
  line-height: 1.45;
}

@media (min-width: 769px) {
  .footer-legal {
    white-space: nowrap;
  }
}

.footer-bottom a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-bottom a:hover { color: var(--accent-bright); }

/* ─── TWITCH BADGE ─── */
.twitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(145, 70, 255, 0.12);
  border: 1px solid rgba(145, 70, 255, 0.28);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #c9b0ff;
  letter-spacing: 0.04em;
}

.twitch-badge .dot {
  width: 7px;
  height: 7px;
  background: #c9b0ff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--bg-deep);
  padding: 72px var(--space-section-inline);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 82% 48%, rgba(146, 64, 14, 0.1) 0%, transparent 72%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0;
  margin-right: auto;
  text-align: left;
}

.page-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 16px;
  max-width: 18ch;
}

.page-hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.65;
}

/* ─── PILL / TAG ─── */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  margin-bottom: 16px;
}

/* ─── CONTACT ─── */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.12);
}

.form-group textarea { height: 140px; resize: vertical; }

/* ─── Scroll fade-in (shared) ─── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root {
    --space-section: 72px;
    --space-section-inline: 24px;
  }
  .nav { padding: 0 var(--space-section-inline); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(16, 15, 13, 0.98);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero-content, .section, .page-hero, .footer { padding-left: var(--space-section-inline); padding-right: var(--space-section-inline); }
  .founder-strip-inner { grid-template-columns: 1fr; padding: 24px; }
  .studio-feed-item { grid-template-columns: 1fr; gap: 10px; padding: 18px 16px; }
  .studio-feed-arrow { display: none; }
  .section-full { padding-left: var(--space-section-inline); padding-right: var(--space-section-inline); }
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .spotlight.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 0;
    padding-bottom: 16px;
  }

  .footer-signup-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .footer-signup-strip-text {
    flex: none;
  }

  .footer-signup-form {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }

  .footer-signup-form input[type="email"],
  .footer-signup-form .btn {
    flex: none;
    width: 100%;
    align-self: auto;
  }

  .footer-top {
    gap: 16px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    padding-top: 6px;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transform: none !important;
    transition: opacity 0.3s ease !important;
  }
  @keyframes hero-line-in {
    from { opacity: 0; transform: none; }
    to   { opacity: 1; transform: none; }
  }
  .twitch-badge .dot { animation: none; }
}
