/* StreamWorks site, second edition: dark and cinematic.
 * No framework, no CDN, no build step. The crimson is the brand's own, lifted for dark. */

:root {
  --bg:      #0b0d11;
  --bg-2:    #12151b;
  --panel:   #171b22;
  --panel-2: #1d222b;
  --line:    #2a303b;
  --text:    #f3f4f6;
  --text-2:  #b4bac5;
  --text-3:  #858c99;
  --red:     #f0607a;
  --red-2:   #c41f43;
  --red-glow: rgba(240, 96, 122, 0.35);
  --good:    #4cc38a;
  --warm:    #f0b44c;
  --radius:  14px;
  --maxw:    1180px;
  --font:    Roboto, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { display: block; height: 22px; }
.nav nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav nav a.cta {
  color: #fff; background: var(--red-2); padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.nav nav a.cta:hover { background: #d42a50; }
@media (max-width: 820px) { .nav nav a.hide-sm { display: none; } .nav nav { gap: 14px; } }

/* ---------- type & buttons ---------- */

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin: 0 0 14px;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 650; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 60ch; }
.sub { color: var(--text-2); max-width: 62ch; margin: 18px 0 0; font-size: 18px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px;
  border-radius: 10px; font-weight: 650; font-size: 16px; border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red-2); color: #fff; box-shadow: 0 8px 30px var(--red-glow); }
.btn-primary:hover { background: #d42a50; }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--text-3); }

section { padding: 112px 0; position: relative; }
@media (max-width: 700px) { section { padding: 76px 0; } }

/* ---------- hero ---------- */

.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(196, 31, 67, .22), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1fr 1.1fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  color: var(--text-2); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 14px 6px 10px; margin-bottom: 26px; background: rgba(255,255,255,.03);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; font-weight: 750; letter-spacing: -0.035em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--red); }
.hero .lede { margin: 26px 0 0; }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-screen {
  position: absolute; right: 0; bottom: -2%; width: 44%; height: auto;
  border-radius: 10px; border: 1px solid #353c48;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03);
}
@media (max-width: 600px) { .hero-screen { width: 58%; bottom: -8%; } }

/* The Anchor line draws itself once. */
.anchor-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .anchor-line { animation: none; stroke-dashoffset: 0; } }

.early {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 18px 0; font-size: 16px; color: var(--text-2);
}
.early .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center; }
.early strong { color: var(--text); }

/* ---------- the Sunday story ---------- */

.story-head { max-width: 760px; margin-bottom: 64px; }
.moment {
  display: grid; gap: 32px; align-items: center; padding: 44px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .moment { grid-template-columns: 220px 1fr 1.25fr; gap: 44px; }
}
.moment-time { font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: .04em; }
.moment-time b { display: block; color: var(--text); font-size: 26px; letter-spacing: -0.02em; margin-top: 4px; }
.moment p { color: var(--text-2); margin: 10px 0 0; }
.frame {
  margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid #343a46;
  box-shadow: 0 24px 70px rgba(0,0,0,.55); background: var(--panel);
}
.frame img { display: block; width: 100%; height: auto; }
.frame.crop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-art { border: 0; box-shadow: none; background: none; }
.frame-art svg { display: block; width: 100%; height: auto; }

/* ---------- headline acts ---------- */

.acts { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 860px) { .acts { grid-template-columns: repeat(2, 1fr); } }
.act {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column; gap: 12px; color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.act:hover { text-decoration: none; border-color: color-mix(in srgb, var(--red) 55%, var(--line)); transform: translateY(-2px); }
.act svg { width: 44px; height: 44px; color: var(--red); }
.act .k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.act h3 { font-size: 26px; }
.act p { color: var(--text-2); margin: 0; }
.act ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 15.5px; }
.act li { padding-left: 20px; position: relative; margin: 6px 0; }
.act li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 2px; background: var(--red); }
.act .go { margin-top: auto; padding-top: 10px; color: var(--red); font-weight: 650; font-size: 15px; }

/* ---------- Outpost band ---------- */

.band { background: radial-gradient(120% 90% at 50% 0%, #1a1f28 0%, var(--bg) 70%); }
.band-art { margin: 48px auto 0; max-width: 1100px; }
.band-art img { display: block; width: 100%; height: auto; border-radius: 16px; }
.boxes { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 860px) { .boxes { grid-template-columns: 1fr 1fr; } }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.02); }
.box .k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.box h3 { margin: 8px 0 8px; }
.box p { color: var(--text-2); margin: 0; }

/* ---------- plans ---------- */

.lines { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 860px) { .lines { grid-template-columns: 1fr 1fr; } }
.line-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg-2); }
.line-card h3 { font-size: 24px; }
.line-card > p { color: var(--text-2); margin: 8px 0 18px; }
.tiers { display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.tier b { color: var(--text); }
.tier span { color: var(--text-2); font-size: 15.5px; }
.included { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.included span {
  font-size: 14px; color: var(--text); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 14px; background: rgba(255,255,255,.03);
}
.included span::before { content: "✓ "; color: var(--good); font-weight: 700; }
.note { color: var(--text-3); font-size: 15px; margin-top: 18px; }

/* ---------- strips ---------- */

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.quietcards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .quietcards { grid-template-columns: repeat(3, 1fr); } }
.quietcards div { border-top: 2px solid var(--red-2); padding-top: 18px; }
.quietcards h3 { font-size: 19px; }
.quietcards p { color: var(--text-2); margin: 8px 0 0; font-size: 16px; }

.cta-final { text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(196,31,67,.25), transparent 70%); }
.cta-final .lede { margin: 18px auto 0; }
.cta-final .btns { justify-content: center; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 56px 0 64px; color: var(--text-3); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(3, 1fr); margin-bottom: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 0 0 12px; }
.foot-grid a { display: block; color: var(--text-3); margin-bottom: 8px; }
.foot-grid a:hover { color: var(--text); text-decoration: none; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.built-by { display: inline-flex; align-items: center; gap: 9px; color: var(--text-3); }
.built-by img { height: 22px; }

/* ---------- inner pages ---------- */

.page-head { padding: 96px 0 40px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(196, 31, 67, .18), transparent 70%); pointer-events: none;
}
.page-head h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 750; letter-spacing: -0.03em; max-width: 18ch; }
.page-head .lede { margin: 22px 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a {
  font-size: 14px; color: var(--text-2); border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px;
}
.jump a:hover { color: var(--text); border-color: var(--text-3); text-decoration: none; }

.chapter { padding: 96px 0; border-top: 1px solid var(--line); }
.chapter-head { max-width: 760px; margin-bottom: 40px; }
.feat { display: grid; gap: 32px; align-items: center; padding: 36px 0; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1fr 1.35fr; gap: 56px; }
  .feat.flip { grid-template-columns: 1.35fr 1fr; }
  .feat.flip > .feat-text { order: 2; }
}
.feat-text h3 { font-size: 24px; margin-bottom: 10px; }
.feat-text p { color: var(--text-2); margin: 0 0 12px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--text-2); font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--red); font-weight: 700; }
.ticks li b { color: var(--text); font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 0.34fr; gap: 16px; align-items: end; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; justify-self: center; }
.frame.phone { border-radius: 22px; }
.frame.tall img { aspect-ratio: 4 / 3.3; object-fit: cover; object-position: top; }
.small-note { color: var(--text-3); font-size: 14px; margin-top: 10px; }

.flow { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow div {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--bg-2); position: relative;
}
.flow div:first-child { border-color: color-mix(in srgb, var(--red) 60%, var(--line)); }
.flow b { display: block; font-size: 17px; margin: 6px 0 6px; }
.flow span { color: var(--text-2); font-size: 15px; }
.flow i { font-style: normal; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .08em; }

.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--text-3); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.spec td { color: var(--text-2); }
.spec td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.tablewrap { overflow-x: auto; }
.feat-text .eyebrow { color: var(--red); margin-bottom: 10px; }
