/* PixHoney - Darkroom theme (tier 2). Palette + typography only.
   Layout, grid, DOM, copy and image paths are intentionally untouched.
   Rolled out to all published pages by scripts/apply-darkroom.mjs. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html:root {
  --bg: #121316;
  --bg-alt: #17181B;
  --panel: #1B1C20;
  --panel-2: #232427;
  --card: #1B1C20;
  --ink: #F2EFE8;
  --ink2: #C9C6BE;
  --sub: #9E9B93;
  --line: rgba(255,255,255,.10);
  --yellow: #C8A46A;
  --green: #C8A46A;
  --violet: #C8A46A;
  --brand: #C8A46A;
  --brand-deep: #C8A46A;
  --brand-light: rgba(200,164,106,.10);
  --accent: #C8A46A;
  --grad: linear-gradient(90deg, #C8A46A, #C8A46A);
}

html, body, button, input, textarea, select {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.topbar { background: rgba(18,19,22,.72); }

.hero::before,
.page-hero::before { display: none; }

.logo,
.mnav-head .logo { font-weight: 500; letter-spacing: -.01em; }
.nav a,
.nav-drop-btn,
.mnav-links a { font-weight: 400; }
.hero h1 { font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.hero p.sub { font-weight: 400; }
.btn,
.btn-primary,
.btn-grad,
.btn-sm,
.btn-google,
.nav-menu .nav-menu-head { font-weight: 500; }
.eyebrow,
.model-chip,
.model-chip b,
.editor-demo .hint b,
.t-card .go,
.faq summary,
.faq summary::before,
.modal .switch a { font-weight: 500; }
.sec-head h2,
.tier-head h2,
.step-card h3,
.aud-card h3,
.price-band h3,
.price-card h3 { font-weight: 500; letter-spacing: -.02em; }
.tier-more span,
.step-card .step-n,
.stats-bar .stat b,
.p-amount,
.p-badge { font-weight: 500; letter-spacing: -.01em; }

/* Brass gradient is now a solid colour, so white text must become dark text. */
.btn-primary,
.btn-grad,
.p-badge,
.step-card .step-n,
.price-card .badge,
.mnav-cta { color: #141416; }

.model-chip:hover,
.ed-upload:hover,
.ed-samples img:hover,
.ed-prompt textarea:focus,
.modal input:focus,
.hot-card:hover,
.a-card:hover,
.aud-card:hover,
.tier-more:hover,
.price-card:hover,
.price-card.hot,
.theme-card:hover { border-color: rgba(200,164,106,.45); }

.eyebrow {
  color: #C8A46A;
  background: rgba(200,164,106,.08);
  border-color: rgba(200,164,106,.25);
}
.editor-demo { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ed-toggle input:checked + .tg { background: #C8A46A; }
.model-card:hover .cover {
  box-shadow: inset 0 0 0 1px rgba(200,164,106,.35), 0 12px 32px rgba(0,0,0,.4);
}
.tier-more { border-color: rgba(200,164,106,.35); }
.tier-more:hover { border-color: rgba(200,164,106,.6); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.a-card .cat,
.result-badge { color: #C8A46A; background: rgba(200,164,106,.08); }
.price-band { border-color: rgba(200,164,106,.4); box-shadow: 0 16px 50px rgba(0,0,0,.28); }
.price-card .badge { background: #C8A46A; }
.p-feats li::before { color: #C8A46A; }
.sx-note,
.sx-who,
.studio-drop:hover,
.studio-drop.drag,
.studio-chips .chip.on,
.studio-chips .chip:hover { border-color: rgba(200,164,106,.45); }

/* ---- Site-wide rollout: detail.css / style.css pages ------------------- */
/* Those pages declare their own :root. The html:root block above wins on
   custom properties; the rules below cover their hard-coded weights and
   the solid-brass fills that would otherwise keep white text. */

/* Solid-brass gradient fills need dark text for legibility. */
.chip.on,
.mnav-cta a,
.adv-card .n,
.sx-step-num { color: #141416; }

/* Same typographic de-escalation as the home page, no layout change. */
.page-hero h1 { font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.sec-head h1,
.sx-step h4,
.detail-hero h1 { font-weight: 500; letter-spacing: -.02em; }
.mnav-links a,
.mnav-group-btn,
.nav-menu .nav-menu-head,
.mnav-sub .mnav-sub-head,
.price-card .badge,
.adv-card .n,
.sx-step-num { font-weight: 500; }

/* Article pages use a separate .topbar rule with its own hard-coded colour. */
.topbar { background: rgba(18,19,22,.72); }

/* ---- Top navigation (user request: larger, slightly heavier) -----------
   Placed last so it overrides the tier-2 weight de-escalation above. Desktop
   .nav is hidden by the source media queries; the mobile drawer uses the same
   scale. Only font-size / font-weight change - no layout properties. */
.logo,
.mnav-head .logo { font-size: 22px; font-weight: 600; }
.nav a,
.nav-drop-btn,
.mnav-links a,
.mnav-group-btn { font-size: 15.5px; font-weight: 550; }
.nav-menu a,
.nav-menu .nav-menu-head,
.mnav-sub a { font-size: 14.5px; }
.nav-drop-btn .caret { font-size: 11px; }

/* ---- Navigation baseline alignment ------------------------------------
   "AI to Real" is a <div class="nav-drop"><button> while the other two items
   are plain <a>. Flex stretch gives the div equal height, but the button
   inside it stays top-aligned, so its label sat ~3.7px higher than the links.
   Real-browser measurement: text centres 32.3 / 35.3 / 35.3 -> 35.7 / 35.6 /
   35.6. Only cross-axis alignment and line-height change; no layout shift. */
.nav { align-items: center; }
.nav > a,
.nav-drop-btn { line-height: 1.4; }
.nav > .nav-drop { display: flex; align-items: center; }
