/* ==========================================================================
   SideRoad.co — Global Stylesheet
   Real builds. Real revenue. In public.
   Vanilla CSS · mobile-first · self-hosted fonts · no frameworks
   ========================================================================== */

/* ---------- 1. Self-hosted fonts -------------------------------------------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
}

/* ---------- 2. Design tokens ------------------------------------------------ */
:root {
  /* Brand palette (locked) */
  --mist:    #F6F5F3;
  --ink:     #0F1115;
  --accent:  #F26430;
  --stone:   #D9D6D2;
  --slate:   #2A2E34;
  --neutral: #ECEBE8;

  /* Derived */
  --accent-dark: #DC541F;
  --accent-soft: rgba(242, 100, 48, 0.10);
  --accent-glow: rgba(242, 100, 48, 0.22);
  --ink-70: rgba(15, 17, 21, 0.70);
  --ink-55: rgba(15, 17, 21, 0.55);
  --ink-40: rgba(15, 17, 21, 0.40);
  --surface: #FFFFFF;
  --white-70: rgba(255, 255, 255, 0.70);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-12: rgba(255, 255, 255, 0.12);

  /* Status colors */
  --live:    #2BA84A;
  --progress:#E0A92E;
  --killed:  #9AA0A6;
  --pivoted: var(--accent);

  /* Type families */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-data:    "Space Grotesk", "Inter", monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.72rem;
  --fs-small:   0.875rem;
  --fs-body:    clamp(1.0625rem, 0.98rem + 0.4vw, 1.125rem);   /* 17 → 18 */
  --fs-lead:    clamp(1.125rem, 1.02rem + 0.5vw, 1.25rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-h2:      clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --fs-hero:    clamp(2.4rem, 1.3rem + 5.2vw, 4.25rem);
  --fs-metric:  clamp(2.6rem, 1.6rem + 4.4vw, 4rem);

  /* Layout */
  --container: 1280px;
  --reading:   680px;
  --gutter:    clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.04), 0 1px 3px rgba(15, 17, 21, 0.06);
  --shadow:    0 4px 12px rgba(15, 17, 21, 0.05), 0 12px 32px rgba(15, 17, 21, 0.06);
  --shadow-lg: 0 8px 24px rgba(15, 17, 21, 0.08), 0 24px 64px rgba(15, 17, 21, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Reset & base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.18s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--accent); color: #fff; }

/* ---------- 4. Layout primitives ------------------------------------------- */
.section { width: 100%; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--muted { color: var(--ink-40); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head__title { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-40); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; font-size: var(--fs-small); color: var(--accent);
}
.arrow-link svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.arrow-link:hover { color: var(--accent-dark); }
.arrow-link:hover svg { transform: translateX(4px); }

/* numbers */
.data { font-family: var(--font-data); font-weight: 600; font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.accent { color: var(--accent); }

/* ---------- 5. Buttons & forms --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-small);
  padding: 0.8em 1.35em; border-radius: var(--radius-pill);
  min-height: 44px; white-space: nowrap;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242,100,48,0.28); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--slate); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--stone); }
.btn--ghost:hover { border-color: var(--ink); }

/* signup form */
.signup { display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: 460px; }
.signup__input {
  flex: 1 1 200px; min-height: 48px;
  padding: 0.7em 1.05em; font-size: var(--fs-small);
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--stone); border-radius: var(--radius-pill);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.signup__input::placeholder { color: var(--ink-40); }
.signup__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.signup .btn { min-height: 48px; }
.form-note { font-size: var(--fs-small); color: var(--ink-55); margin-top: 0.6rem; }

/* status badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.01em; padding: 0.25em 0.7em; border-radius: var(--radius-pill);
  background: var(--neutral); color: var(--ink-70);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live    { color: var(--live);     background: rgba(43,168,74,0.12); }
.badge--progress{ color: var(--progress); background: rgba(224,169,46,0.14); }
.badge--killed  { color: var(--killed);   background: rgba(154,160,166,0.16); }
.badge--pivoted { color: var(--pivoted);  background: var(--accent-soft); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.live-dot--pulse { animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(242,100,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,100,48,0); }
}

/* ---------- 6. Header ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,243,0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { border-color: var(--stone); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.nav a { font-weight: 500; font-size: var(--fs-small); color: var(--ink-70); }
.nav a:hover { color: var(--ink); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.25rem;
  background: rgba(246,245,243,0.97);
  border-bottom: 1px solid var(--stone);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 0.7rem 0; font-weight: 500; color: var(--ink-70); border-bottom: 1px solid var(--stone); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 0.75rem; align-self: flex-start; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- 7. Hero -------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
.hero__title { font-size: var(--fs-hero); margin: 0.9rem 0 0; }
.hero__title .line-accent { color: var(--accent); display: block; }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-70); max-width: 30ch; margin-top: 1.4rem; }
.hero__form { margin-top: 1.8rem; }

.social-proof { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--mist); background: var(--neutral);
  display: grid; place-items: center; font-size: 0.8rem; color: var(--ink-40);
}
.avatars span:first-child { margin-left: 0; }
.social-proof p { font-size: var(--fs-small); color: var(--ink-55); line-height: 1.4; }
.social-proof strong { color: var(--ink); font-weight: 600; }

/* hero image / placeholder */
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(120% 120% at 78% 18%, rgba(242,100,48,0.18), transparent 55%),
    linear-gradient(155deg, #cdbfb2 0%, #b6a597 38%, #6f6359 100%);
  box-shadow: var(--shadow-lg);
}
.hero__media-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 0.4rem;
  color: rgba(255,255,255,0.92);
}
.hero__media-label svg { width: 40px; height: 40px; margin: 0 auto; opacity: 0.9; }
.hero__media-label span { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.02em; }
.hero__media-label small { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.hero__badge {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 0.5em;
  background: rgba(15,17,21,0.72); color: #fff;
  backdrop-filter: blur(6px);
  padding: 0.5em 0.85em; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 500;
}
.hero__badge b { font-family: var(--font-data); font-weight: 600; }

/* hero decorative waves */
.hero__waves { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0.55; }
.hero__waves svg { position: absolute; top: 8%; right: -10%; width: 70%; height: auto; }

@media (min-width: 768px) {
  .hero__media { aspect-ratio: 16 / 12; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
  .hero__media { aspect-ratio: 4 / 3.2; }
}

/* ---------- 8. Revenue tracker --------------------------------------------- */
.tracker {
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tracker__top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.5rem) clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  border-bottom: 1px solid var(--stone);
  background: linear-gradient(180deg, rgba(242,100,48,0.04), transparent);
}
.tracker__label { display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70); }
.tracker__updated { font-size: var(--fs-small); color: var(--ink-40); }

.tracker__body { display: grid; gap: 0; }
.tracker__hero {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem) clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  border-bottom: 1px solid var(--stone);
}
.tracker__total { font-family: var(--font-data); font-weight: 700; font-size: var(--fs-metric); color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.tracker__goal { font-size: var(--fs-small); color: var(--ink-55); margin-top: 0.5rem; }
.progress { position: relative; height: 10px; border-radius: var(--radius-pill); background: var(--stone); margin-top: 1rem; overflow: hidden; }
.progress__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--accent), var(--accent-dark)); transition: width 1.2s var(--ease); }
.progress__pct { display: inline-block; margin-top: 0.55rem; font-family: var(--font-data); font-weight: 600; font-size: var(--fs-small); color: var(--ink-70); }

.tracker__stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: clamp(1rem, 0.7rem + 1vw, 1.4rem) clamp(1.25rem, 0.8rem + 1.6vw, 2rem); border-bottom: 1px solid var(--stone); border-right: 1px solid var(--stone); }
.stat:nth-child(2n) { border-right: none; }
.stat__label { font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-40); }
.stat__value { font-family: var(--font-data); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.4vw, 1.7rem); color: var(--ink); margin-top: 0.35rem; }

.tracker__lower { display: grid; gap: 0; }
.tracker__chart, .tracker__sources { padding: clamp(1.25rem, 0.9rem + 1.4vw, 1.75rem) clamp(1.25rem, 0.8rem + 1.6vw, 2rem); }
.tracker__chart { border-bottom: 1px solid var(--stone); }
.panel-label { font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 1rem; }

.chart { width: 100%; height: 160px; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart__area { fill: url(#chartFill); opacity: 0.9; }
.chart__dot { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.chart__grid { stroke: var(--stone); stroke-width: 1; stroke-dasharray: 2 4; }
.chart__axis { font-family: var(--font-data); font-size: 9px; fill: var(--ink-40); }
.chart__empty { font-family: var(--font-body); font-size: 12px; fill: var(--ink-40); }

.source { margin-bottom: 1rem; }
.source:last-child { margin-bottom: 0; }
.source__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.45rem; }
.source__name { font-size: var(--fs-small); font-weight: 500; color: var(--ink-70); }
.source__val { font-family: var(--font-data); font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.source__val span { color: var(--ink-40); font-weight: 500; }
.source__bar { height: 7px; border-radius: var(--radius-pill); background: var(--neutral); overflow: hidden; }
.source__bar i { display: block; height: 100%; width: 0; border-radius: var(--radius-pill); background: var(--accent); transition: width 1s var(--ease); }

.tracker__foot { padding: 1.1rem; text-align: center; border-top: 1px solid var(--stone); background: var(--mist); }

@media (min-width: 768px) {
  .tracker__stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-right: 1px solid var(--stone); border-bottom: none; }
  .stat:last-child { border-right: none; }
}
@media (min-width: 1024px) {
  .tracker__body { grid-template-columns: minmax(280px, 0.9fr) 1.6fr; }
  .tracker__hero { border-bottom: none; border-right: 1px solid var(--stone); display: flex; flex-direction: column; justify-content: center; }
  .tracker__right { display: flex; flex-direction: column; }
  .tracker__stats { border-bottom: 1px solid var(--stone); }
  .tracker__lower { grid-template-columns: 1.3fr 1fr; flex: 1; }
  .tracker__chart { border-bottom: none; border-right: 1px solid var(--stone); }
}

/* ---------- 9. Current build ----------------------------------------------- */
.current { background: var(--neutral); }
.current__card {
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center;
  background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.current__shot {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10;
  background: radial-gradient(120% 120% at 20% 10%, #353b44, var(--ink));
  display: grid; place-content: center; text-align: center; color: var(--white-55); gap: 0.5rem; padding: 1rem;
}
.current__shot svg { width: 34px; height: 34px; margin: 0 auto; opacity: 0.6; }
.current__shot span { font-size: var(--fs-small); }
.current__body h3 { font-size: var(--fs-h2); display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.current__tag { font-size: var(--fs-lead); color: var(--ink-70); margin-top: 0.5rem; }
.current__metrics { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); margin: 1.5rem 0; }
.current__metric .stat__label { font-size: 0.66rem; }
.current__metric .data { font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); color: var(--ink); display: block; margin-top: 0.3rem; }
.current__desc { color: var(--ink-70); max-width: 52ch; }
.current__tools { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0; flex-wrap: wrap; }
.current__tools .panel-label { margin: 0; }
.tool-chip { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--stone); background: var(--mist); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); color: var(--ink-55); font-size: 0.9rem; }

@media (min-width: 900px) { .current__card { grid-template-columns: 1fr 1.1fr; } }

/* ---------- 10. Recent builds ---------------------------------------------- */
.builds-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.build-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.build-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--stone); }
.build-card__shot { aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--neutral), #e3e1dd); border-bottom: 1px solid var(--stone); display: grid; place-items: center; color: var(--ink-40); font-family: var(--font-data); font-weight: 600; }
.build-card__body { padding: 0.95rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.build-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.build-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.build-card__tag { font-size: var(--fs-small); color: var(--ink-55); }
.build-card__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 0.6rem; }
.build-card__rev { font-family: var(--font-data); font-weight: 600; color: var(--ink); }
.build-card__week { font-size: 0.78rem; color: var(--ink-40); }
.status-mini { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.72rem; font-weight: 600; }
.status-mini::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-mini.live { color: var(--live); }
.status-mini.killed { color: var(--killed); }
.status-mini.pivoted { color: var(--pivoted); }
.status-mini.progress { color: var(--progress); }

@media (min-width: 560px) { .builds-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .builds-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .builds-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- 11. Journal ---------------------------------------------------- */
.journal { background: var(--neutral); }
.posts-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.post-card { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__img { flex: none; width: 110px; align-self: stretch; background: radial-gradient(130% 130% at 25% 15%, #4a3b33, var(--ink)); position: relative; }
.post-card__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 70% 80%, var(--accent-glow), transparent 60%); }
.post-card__body { padding: 1rem 1.15rem 1.1rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.post-card__cat { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.post-card__excerpt { font-size: var(--fs-small); color: var(--ink-55); }
.post-card__meta { font-size: 0.78rem; color: var(--ink-40); margin-top: auto; }

@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } .post-card { flex-direction: column; } .post-card__img { width: 100%; aspect-ratio: 16 / 9; } .post-card__body { padding: 1rem 1.15rem 1.15rem; } }

/* empty states */
.empty {
  text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1.5rem;
  border: 1px dashed var(--stone); border-radius: var(--radius-lg); background: var(--surface);
}
.empty svg { width: 34px; height: 34px; margin: 0 auto 0.9rem; color: var(--accent); }
.empty h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); }
.empty p { color: var(--ink-55); max-width: 46ch; margin: 0.5rem auto 0; }

/* ---------- 12. CTA band --------------------------------------------------- */
.cta-band { background: var(--slate); color: #fff; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); }
.cta-band h2 { font-size: var(--fs-h2); color: #fff; }
.cta-band p { color: var(--white-70); font-size: var(--fs-small); margin-top: 0.5rem; }
.cta-band .signup { max-width: 520px; }
.cta-band .signup__input { background: rgba(255,255,255,0.08); border-color: var(--white-12); color: #fff; }
.cta-band .signup__input::placeholder { color: var(--white-55); }
.cta-band__waves { position: absolute; inset: 0; opacity: 0.5; z-index: 0; pointer-events: none; }
.cta-band__waves svg { position: absolute; right: -5%; top: -20%; width: 60%; height: auto; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; } }

/* ---------- 13. Footer ----------------------------------------------------- */
.site-footer { background: var(--slate); color: var(--white-70); padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand img { height: 24px; }
.footer-brand p { font-size: var(--fs-small); color: var(--white-55); margin-top: 0.9rem; max-width: 26ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-55); margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: var(--fs-small); color: var(--white-70); padding: 0.28rem 0; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 0.5rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--white-12); display: grid; place-items: center; color: var(--white-70); }
.socials a:hover { color: #fff; border-color: var(--white-55); background: var(--white-12); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--white-12); font-size: 0.8rem; color: var(--white-55); }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 2fr; } .footer-cols { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 14. Sticky mobile newsletter bar ------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 0.75rem; justify-content: space-between;
  padding: 0.7rem var(--gutter); background: var(--ink); color: #fff;
  box-shadow: 0 -4px 20px rgba(15,17,21,0.18);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar p { font-size: 0.82rem; line-height: 1.25; }
.mobile-bar p b { font-weight: 600; }
.mobile-bar .btn { flex: none; padding: 0.6em 1em; }
@media (min-width: 768px) { .mobile-bar { display: none !important; } }
body.has-mobile-bar { padding-bottom: 0; }

/* ---------- 15. Reveal-on-scroll ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
