/* Blues Prince Media tokens, as bluesprincemedia.com uses them (bpm-portfolio src/index.css and
   public/community/challenge): navy #000031 ground, brass #deb938 the single accent, paper
   #ece7d8, grey #aeb2c2. Dark-first; the paper theme is light mode.
   Type: Atteron (display, self-hosted), Space Grotesk (labels), DM Sans (body). */
@font-face {
  font-family: "Atteron";
  src: url("/fonts/Atteron-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atteron";
  src: url("/fonts/Atteron-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ground: #000031;
  --panel: #07073e;
  --node: #0b0b4a;
  --node-line: #34347a;
  --rule: #23236a;
  --ink: #ece7d8;
  --muted: #aeb2c2;
  --brass: #deb938;
  --brass-ink: #deb938;
  --on-brass: #000031;
  --focus: #deb938;
  --radius: 6px;
  --display: "Atteron", Georgia, "Times New Roman", serif;
  --utility: "Space Grotesk", "DM Sans", sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #ece7d8;
    --panel: #f4f0e4;
    --node: #fbf8ef;
    --node-line: #b8ae94;
    --rule: #d3cab2;
    --ink: #000031;
    --muted: #4a4e68;
    --brass: #c9a52f;
    --brass-ink: #6f5406;
    --on-brass: #000031;
    --focus: #000031;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brass-ink); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.eyebrow {
  font-family: var(--utility); font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 14px;
}

/* One screen: header, the stage, footer. The stage takes whatever height is left. */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; min-height: 60px; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark img { width: 40px; height: 40px; border-radius: 4px; display: block; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark-main { font-family: var(--utility); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-ink); }
.wordmark-sub { font-family: var(--utility); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* stage */
.stage {
  flex: 1; width: 100%;
  display: grid; gap: 24px; align-content: center;
  padding-top: 24px; padding-bottom: 24px;
}
@media (min-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
}
.pitch h1 { font-size: clamp(28px, 5.2vw, 54px); line-height: 1.05; max-width: 17ch; }
.pitch h1 .accent { display: block; color: var(--brass-ink); }
.lede { margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 34rem; }
.actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--utility); font-weight: 600; font-size: 16px; letter-spacing: 0.04em;
  padding: 15px 28px; border-radius: 2px;
  background: var(--brass); color: var(--on-brass); border: 1px solid var(--brass);
}
.btn:hover { filter: brightness(1.06); }
.after { font-size: 14px; color: var(--muted); }
.soft { margin-top: 18px; font-size: 14px; color: var(--muted); }

.panel {
  background: var(--panel); border: 1px solid var(--node-line); border-radius: var(--radius);
  padding: 20px 20px 22px;
}
@media (min-width: 900px) { .panel { padding: 28px 28px 30px; } }
.panel-label {
  font-family: var(--utility); font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-ink); margin: 0 0 10px;
}
.panel-label + * { margin-bottom: 18px; }
.expect { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: e; }
.expect li {
  counter-increment: e; position: relative; padding: 9px 0 9px 34px;
  border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 15px; line-height: 1.45;
}
.expect li:last-child { border-bottom: 0; }
.expect li::before {
  content: counter(e); position: absolute; left: 0; top: 9px;
  font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--brass-ink);
}
.expect strong { color: var(--ink); font-weight: 600; }
.who { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 0 !important; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 14px 0; font-size: 13px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 4px 32px; justify-content: space-between; }
.foot strong { color: var(--ink); font-weight: 600; }

/* phones: tighter everything so the page stays one screen */
@media (max-width: 899px) {
  .bar { min-height: 52px; }
  .wordmark img { width: 32px; height: 32px; }
  .wordmark-sub { display: none; }
  .stage { gap: 16px; padding-top: 16px; padding-bottom: 16px; align-content: start; }
  .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .pitch h1 { font-size: 27px; }
  .lede { margin-top: 10px; font-size: 15px; line-height: 1.5; }
  .actions { margin-top: 14px; gap: 8px 14px; }
  .btn { padding: 12px 20px; font-size: 15px; }
  .after, .soft { font-size: 13px; }
  .soft { margin-top: 10px; }
  .panel { padding: 14px 16px 16px; }
  .panel-label { font-size: 11px; margin-bottom: 6px; }
  .expect { margin-bottom: 12px; }
  .expect li { padding: 6px 0 6px 28px; font-size: 14px; line-height: 1.4; }
  .expect li::before { top: 4px; font-size: 16px; }
  .who { font-size: 14px; line-height: 1.45; }
  .site-footer { padding: 8px 0; font-size: 12px; }
  .foot-alt { display: none; }
}
/* short phones (SE and smaller): keep the lead of each point, drop the explanation */
@media (max-width: 899px) and (max-height: 760px) {
  .expect .more { display: none; }
  .pitch h1 { font-size: 24px; }
  .lede { font-size: 14px; }
  .stage { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .after, .site-footer { display: none; }
  .who { font-size: 13px; }
}
