/* ============================================================
   SyātCast v2 — Quirky-Futuristic Newspaper
   Reference: Editorial New, MIT Tech Review, The Browser,
   Backchannel-era publication design.
   ============================================================ */

:root {
  /* Paper and ink — slightly cooler, slightly more electric */
  --paper: #f3eee2;
  --paper-deep: #e8e1cf;
  --paper-soft: #faf6ec;
  --ink: #0c0a08;
  --ink-soft: #2a2520;
  --ink-mute: #6b5f52;
  --rule: #8a7a68;
  --rule-soft: #c4b59c;

  /* Sharp accents */
  --signal: #e63319;       /* electric red — the headline accent */
  --signal-deep: #b8240f;
  --ochre: #d49a3a;
  --ink-blue: #1a2a4d;     /* deep blue for contrast moments */

  /* Type */
  --font-display: 'Fraunces', 'Editorial New', Georgia, serif;
  --font-body: 'Newsreader', 'Lora', Georgia, serif;
  --font-ui: 'Schibsted Grotesk', 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max-w: 1320px;
  --measure: 60ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* subtle scroll-progress indicator at the top */
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 23% 47%, rgba(12,10,8,0.015) 0.5px, transparent 1px),
    radial-gradient(circle at 67% 12%, rgba(12,10,8,0.015) 0.5px, transparent 1px),
    radial-gradient(circle at 89% 78%, rgba(12,10,8,0.015) 0.5px, transparent 1px);
  background-size: 80px 80px, 90px 90px, 70px 70px;
}

::selection { background: var(--signal); color: var(--paper); }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule);
  transition: color 200ms, text-decoration-color 200ms;
}
a:hover {
  color: var(--signal);
  text-decoration-color: var(--signal);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--signal);
  z-index: 1000;
  width: 0%;
  transition: width 80ms linear;
}

/* ============================================================
   MASTHEAD — futuristic newspaper header
   ============================================================ */

.masthead {
  padding: 1.25rem var(--gutter) 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: relative;
  z-index: 2;
}

.masthead-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--rule-soft);
}
.masthead-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.masthead-bar .live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.masthead-bar .center { text-align: center; letter-spacing: 0.18em; }
.masthead-bar .right { text-align: right; }

@media (max-width: 720px) {
  .masthead-bar { grid-template-columns: 1fr; text-align: center; gap: 0.4rem; }
  .masthead-bar .right { text-align: center; }
}

.masthead-wordmark {
  max-width: var(--max-w);
  margin: 1.25rem auto 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 8rem);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  position: relative;
}
.masthead-wordmark a {
  text-decoration: none;
  color: var(--ink);
  background: none;
  display: inline-block;
}
.masthead-wordmark .accent {
  color: var(--signal);
  font-style: italic;
  font-weight: 500;
  /* Ensure the ā macron always renders: fall back to fonts that include U+0101,
     and avoid forcing optical-size variation on this single glyph. */
  font-family: 'Fraunces', 'Newsreader', Georgia, 'Times New Roman', serif;
  font-variation-settings: 'opsz' 40;
}

.masthead-tagline {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.5rem;
}
.masthead-tagline span {
  display: inline-block;
  padding: 0 1rem;
  position: relative;
}
.masthead-tagline span::before,
.masthead-tagline span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4rem;
  height: 1px;
  background: var(--ink-mute);
}
.masthead-tagline span::before { right: 100%; }
.masthead-tagline span::after { left: 100%; }
@media (max-width: 600px) {
  .masthead-tagline span::before,
  .masthead-tagline span::after { width: 1.5rem; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  background: none;
}
.nav-brand:hover { color: var(--signal); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  background: none;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width 220ms;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.active::after { width: 100%; background: var(--ink); }

@media (max-width: 720px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a:not(.nav-cta) { font-size: 0.7rem; }
}

.nav-cta {
  background: var(--signal) !important;
  color: var(--paper) !important;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--signal-deep) !important;
  color: var(--paper) !important;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
  position: relative;
  z-index: 2;
}

/* ============================================================
   PAGE HEADERS
   ============================================================ */

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.5rem;
}
.page-tag::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--signal);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.page-title em {
  font-style: italic;
  color: var(--signal);
}

.page-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink-soft);
  margin-bottom: 3rem;
  max-width: 55ch;
  line-height: 1.4;
}

/* ============================================================
   FRONT PAGE — irregular grid
   ============================================================ */

.frontpage-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem 4rem;
  align-items: start;
  padding-top: 1rem;
  padding-bottom: 3rem;
  position: relative;
}
.frontpage-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 3rem;
  left: calc(58.33% - 2rem);
  width: 1px;
  background: var(--rule-soft);
}
@media (max-width: 900px) {
  .frontpage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .frontpage-grid::before { display: none; }
}

.lead-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: var(--paper-deep);
  border: 1px solid var(--ink);
}

.lead-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.lead-headline em {
  font-style: italic;
  color: var(--signal);
  font-weight: 500;
}

.lead-deck {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  max-width: 38ch;
}

.lead-byline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--rule-soft);
}

.lead-body {
  font-size: 1.05rem;
  line-height: 1.7;
}
.lead-body p { margin-bottom: 1.25rem; max-width: var(--measure); }

/* Drop cap, sharp, modern */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 5em;
  line-height: 0.85;
  float: left;
  padding: 0.2rem 0.5rem 0 0;
  color: var(--signal);
}

/* Sidebar / "In this issue" */
.sidebar-section {
  margin-bottom: 2.5rem;
}
.sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sidebar-label .label-meta {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.sidebar-item {
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--rule-soft);
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item .tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.3rem;
  display: block;
}
.sidebar-item .headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.25;
}
.sidebar-item .headline a {
  text-decoration: none;
  color: var(--ink);
}
.sidebar-item .headline a:hover { color: var(--signal); }

/* ============================================================
   DEADLINE TICKER — big, bold, electric
   ============================================================ */

.deadline-block {
  background: var(--ink);
  color: var(--paper);
  margin: 4rem calc(-1 * var(--gutter)) 4rem;
  padding: 3rem var(--gutter);
  position: relative;
  overflow: hidden;
}
.deadline-block::before {
  content: 'APPLY · APPLY · APPLY · APPLY · APPLY · APPLY · APPLY · APPLY · APPLY · APPLY · APPLY ·';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--signal);
  padding: 0.4rem 0;
  white-space: nowrap;
  border-bottom: 1px solid rgba(230, 51, 25, 0.3);
}
.deadline-block::after {
  content: 'DEADLINE · 1 JUNE 2026 · 21:00 IST · DEADLINE · 1 JUNE 2026 · 21:00 IST ·';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--signal);
  padding: 0.4rem 0;
  white-space: nowrap;
  border-top: 1px solid rgba(230, 51, 25, 0.3);
}

.deadline-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 1.5rem 0;
}
@media (max-width: 760px) {
  .deadline-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.deadline-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.deadline-headline em {
  font-style: italic;
  color: var(--signal);
}
.deadline-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 0.85rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--signal);
  color: var(--paper);
  padding: 1rem 1.6rem;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
  transition: background 200ms, transform 200ms;
  border: 1px solid var(--signal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn .arrow {
  transition: transform 200ms;
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(4px); }

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

.btn-on-dark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-on-dark:hover {
  background: var(--signal);
  color: var(--paper);
  border-color: var(--signal);
}

/* ============================================================
   BELOW-THE-FOLD COLUMNS
   ============================================================ */

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.feature-columns::before, .feature-columns::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule-soft);
}
.feature-columns::before { left: calc(33.33% - 1.5rem); }
.feature-columns::after { left: calc(66.66% - 1.5rem); }
@media (max-width: 900px) {
  .feature-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-columns::before, .feature-columns::after { display: none; }
  .feature-col { border-top: 1px dashed var(--rule-soft); padding-top: 2rem; }
  .feature-col:first-child { border-top: none; padding-top: 0; }
}

.feature-col-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.85rem;
}
.feature-col-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.feature-col-title a {
  text-decoration: none;
  color: var(--ink);
}
.feature-col-title a:hover { color: var(--signal); }
.feature-col p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.feature-col .more {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  text-decoration: none;
}
.feature-col .more:hover { color: var(--signal-deep); }

/* ============================================================
   PULL QUOTE
   ============================================================ */

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  text-align: center;
  margin: 5rem auto;
  max-width: 28ch;
  color: var(--ink);
  position: relative;
  padding: 2rem 0;
}
.pull-quote::before, .pull-quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 1px;
  background: var(--signal);
}
.pull-quote::before { top: 0; }
.pull-quote::after { bottom: 0; }
.pull-quote em {
  font-style: italic;
  color: var(--signal);
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink);
  max-width: 8rem;
}

/* ============================================================
   GENERIC BLOCKS for other pages
   ============================================================ */

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}
h2 em { font-style: italic; color: var(--signal); }

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1.25rem; max-width: var(--measure); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-label .ix {
  font-family: var(--font-mono);
  color: var(--signal);
  font-size: 0.62rem;
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 820px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; gap: 2rem; }
}
.col-ruled {
  border-left: 1px solid var(--rule-soft);
  padding-left: 2rem;
}
@media (max-width: 820px) {
  .col-ruled {
    border-left: none;
    border-top: 1px dashed var(--rule-soft);
    padding-left: 0;
    padding-top: 2rem;
  }
}

/* ============================================================
   FOUNDERS PHOTO
   ============================================================ */

.founders-photo-frame {
  position: relative;
  margin: 3rem 0;
  padding: 0;
}
.founders-photo {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%) contrast(1.05) saturate(0.85);
  border: 1px solid var(--ink);
}
.founders-photo-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 0.85rem;
  border-bottom: 1px dashed var(--rule-soft);
  padding-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.founders-photo-caption .left { color: var(--ink); }

/* ============================================================
   ARTICLE LIST (blog)
   ============================================================ */

.article-list { list-style: none; }
.article-item {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 720px) {
  .article-item { grid-template-columns: 1fr; gap: 0.5rem; }
}
.article-item:first-child { padding-top: 0; }
.article-item:last-child { border-bottom: none; }

.article-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--signal);
  padding-top: 0.35rem;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--rule); }
.article-meta .cat { color: var(--signal); }

.article-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.article-title a {
  text-decoration: none;
  color: var(--ink);
}
.article-title a:hover { color: var(--signal); }

.article-excerpt {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  max-width: 65ch;
}
.article-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   STATS / METADATA STRIP
   ============================================================ */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 3rem 0;
}
.stats-strip .stat {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--rule-soft);
  position: relative;
}
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.4rem;
}
.stats-strip .stat .value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
}
@media (max-width: 720px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip .stat:nth-child(2) { border-right: none; }
  .stats-strip .stat:nth-child(1), .stats-strip .stat:nth-child(2) {
    border-bottom: 1px solid var(--rule-soft);
  }
}

/* ============================================================
   DASH LIST
   ============================================================ */

.dash-list { list-style: none; margin: 1.5rem 0; }
.dash-list li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  max-width: var(--measure);
}
.dash-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 600;
}
.dash-list li:last-child { border-bottom: none; }

/* ============================================================
   NUMBERED LIST
   ============================================================ */

.numbered-list {
  list-style: none;
  counter-reset: nlist;
  margin: 2rem 0;
}
.numbered-list li {
  counter-increment: nlist;
  padding-left: 5rem;
  position: relative;
  margin-bottom: 2.5rem;
  max-width: var(--measure);
}
.numbered-list li::before {
  content: '/' counter(nlist, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--signal);
  letter-spacing: 0.06em;
}

/* ============================================================
   TRACK BLOCK
   ============================================================ */

.track {
  padding-top: 1.5rem;
  border-top: 3px solid var(--ink);
  position: relative;
}
.track-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.5rem;
}
.track-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--ink);
  padding: 3rem var(--gutter) 2.5rem;
  background: var(--paper);
  margin-top: 5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.footer-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  background: none;
}
.footer-links a:hover { color: var(--signal); }
@media (max-width: 720px) {
  .footer-links { align-items: center; }
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--rule-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .masthead-bar .live::before { animation: none; }
}

/* ============================================================
   TYPING / TERMINAL
   ============================================================ */

.cursor-blink::after {
  content: '▌';
  color: var(--signal);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ============================================================
   FEATURE BOX
   ============================================================ */

.feature-box {
  background: var(--paper-deep);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 3rem var(--gutter);
  margin: 3rem calc(-1 * var(--gutter));
  position: relative;
}
.feature-box-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ============================================================
   BLOCKQUOTE
   ============================================================ */

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  border-left: 3px solid var(--signal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--ink-soft);
}

/* ============================================================
   CUSTOM CURSOR — dot + lagging ring
   Only active on pointer devices / non-reduced-motion desktops
   ============================================================ */


.cursor-dot,
.cursor-ring {
  display: none; /* shown via JS when conditions are met */
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* The sharp centre dot — signal red, hard edge */
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  transition: width 180ms, height 180ms, background 180ms;
}

/* The lagging ring — warm ink with subtle paper fill */
.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-soft);
  background: transparent;
  transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1),
              height 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms,
              background 280ms;
}

/* Hover state — ring inflates, tints signal; dot disappears into it */
.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: var(--signal);
  background: rgba(230, 51, 25, 0.06);
}

/* JS adds this class to <html> when custom cursor is confirmed active */
.custom-cursor-active,
.custom-cursor-active a,
.custom-cursor-active button,
.custom-cursor-active .btn,
.custom-cursor-active .nav-cta,
.custom-cursor-active .nav-brand,
.custom-cursor-active [data-cursor] {
  cursor: none !important;
}
