:root {
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --ink-soft: #8a8a8a;
  --paper: #f0f0f0;
  --surface: #ffffff;
  --line: #e6e6e6;
  --signal: #e10600;
  --signal-deep: #b00500;
  --wash: rgba(15, 15, 15, 0.55);
  --font-sans: 'Libre Franklin', 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 6, 0, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(26, 26, 26, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* —— Hero: one composition, brand-first, full-bleed —— */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: -4%;
  background:
    url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=2000&q=80')
      center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.45) 40%, rgba(10, 10, 10, 0.82) 100%),
    linear-gradient(90deg, rgba(225, 6, 0, 0.22), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 40rem);
  margin: 0 auto 0 0;
  padding: 5rem 1.5rem 3.5rem;
  max-width: var(--max);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 6rem 4rem 4.5rem;
    width: min(100% - 5rem, 38rem);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.headline {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 14ch;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--signal);
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: #ff1f14;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* —— Sections: one job each —— */

.band {
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
}

.band-inner {
  width: min(100%, 36rem);
  margin: 0 auto;
}

.band-readers {
  background:
    linear-gradient(180deg, #f7f7f7, var(--paper)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(0, 0, 0, 0.015) 11px,
      rgba(0, 0, 0, 0.015) 12px
    );
}

.band-newsroom {
  background:
    linear-gradient(135deg, #1a1a1a 0%, #2a1212 55%, #1a1a1a 100%);
  color: #f5f5f5;
}

.band-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 40ch;
}

.band-inner-wide {
  width: min(100%, 42rem);
}

.band-news {
  background:
    linear-gradient(180deg, #fafafa, #f0f0f0),
    radial-gradient(800px 400px at 100% 0%, rgba(225, 6, 0, 0.06), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.news-status {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.news-row:last-child {
  border-bottom: 1px solid var(--line);
}

.news-row:hover h3 {
  color: var(--signal);
}

.news-row:not(:has(.news-thumb)) {
  grid-template-columns: 1fr;
}

.news-thumb {
  width: 5.5rem;
  height: 4.25rem;
  border-radius: 0.35rem;
  background: var(--line) center / cover no-repeat;
}

.news-row-text h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.news-sub {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.news-more {
  margin: 1.5rem 0 0;
}

.text-link.ink {
  color: var(--ink);
}

.text-link.ink:hover {
  color: var(--signal);
}

/* —— Article reader —— */

.article-page {
  min-height: 100svh;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(225, 6, 0, 0.05), transparent 50%),
    var(--paper);
}

.article-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.back-link,
.brand-mini {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.back-link:hover,
.brand-mini:hover {
  color: var(--signal);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-mini img {
  border-radius: 0.4rem;
}

.article-shell {
  width: min(100% - 2rem, 40rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.article-shell .eyebrow {
  margin-bottom: 0.75rem;
}

.article-shell h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-meta {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.75rem;
  border-radius: 0.4rem;
  background: var(--line) center / cover no-repeat;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body blockquote {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--signal);
  color: var(--ink-muted);
  font-style: italic;
}

.article-app-cta {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-empty {
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .news-row {
    grid-template-columns: 4.5rem 1fr;
  }

  .news-thumb {
    width: 4.5rem;
    height: 3.5rem;
  }
}


.band-newsroom h2 {
  color: #fff;
}

.band-newsroom p {
  color: rgba(245, 245, 245, 0.78);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.band p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 38ch;
}

.text-link {
  display: inline-block;
  margin-top: 1.35rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: #ffc9c5;
}

/* —— Footer —— */

.site-footer {
  padding: 2.75rem 1.5rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.footer-brand img {
  border-radius: 0.45rem;
}

.footer-copy {
  margin: 0.65rem 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--signal);
}

.footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-image {
    animation: none;
    transform: none;
    inset: 0;
  }

  .btn:hover {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* —— Live news on marketing (fetched from app API) —— */

.band-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 40ch;
}

.band-inner-wide {
  width: min(100%, 42rem);
}

.band-news {
  background:
    linear-gradient(180deg, #fafafa, #f0f0f0),
    radial-gradient(800px 400px at 100% 0%, rgba(225, 6, 0, 0.06), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.news-status {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.news-row:last-child {
  border-bottom: 1px solid var(--line);
}

.news-row:hover h3 {
  color: var(--signal);
}

.news-row:not(:has(.news-thumb)) {
  grid-template-columns: 1fr;
}

.news-thumb {
  width: 5.5rem;
  height: 4.25rem;
  border-radius: 0.35rem;
  background: var(--line) center / cover no-repeat;
}

.news-row-text h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.news-sub {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.news-more {
  margin: 1.5rem 0 0;
}

.text-link.ink {
  color: var(--ink);
}

.text-link.ink:hover {
  color: var(--signal);
}

.article-page {
  min-height: 100svh;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(225, 6, 0, 0.05), transparent 50%),
    var(--paper);
}

.article-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.back-link,
.brand-mini {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.back-link:hover,
.brand-mini:hover {
  color: var(--signal);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-mini img {
  border-radius: 0.4rem;
}

.article-shell {
  width: min(100% - 2rem, 40rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.article-shell .eyebrow {
  margin-bottom: 0.75rem;
}

.article-shell h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-meta {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.75rem;
  border-radius: 0.4rem;
  background: var(--line) center / cover no-repeat;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body blockquote {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--signal);
  color: var(--ink-muted);
  font-style: italic;
}

.article-app-cta {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-empty {
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .news-row {
    grid-template-columns: 4.5rem 1fr;
  }

  .news-thumb {
    width: 4.5rem;
    height: 3.5rem;
  }
}

.article-page .article-app-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-page .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-sans);
}

.article-page .btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: transparent;
}