/* ============================================================
   bitu. shared stylesheet
   Design system extracted from the original index.html (verbatim),
   plus article-page and section-page styles in the same language.
   One stylesheet for every page. Change styling in one place.
   ============================================================ */

:root {
  color-scheme: light only;
  --orange: #E8590C;
  --orange-deep: #B8430A;
  --orange-bright: #FF6B1A;
  --orange-wash: #FFE8D4;
  --orange-tint: #FFF1E2;
  --cream: #FBF6EE;
  --cream-soft: #F5EFE5;
  --cream-deep: #EDE5D6;
  --white: #FFFFFF;
  --ink: #1F1A14;
  --ink-2: #3D352B;
  --ink-muted: #5E5448;
  --ink-faint: #8A8073;
  --line: #E5DDCC;
  --line-soft: #EDE6D6;
  --space-1: 8px; --space-2: 16px; --space-3: 24px;
  --space-4: 32px; --space-5: 48px; --space-6: 64px;
  --radius: 6px;
  --maxw: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background-color: #FBF6EE; color-scheme: light only; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #1F1A14; background-color: #FBF6EE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
  html, body { background-color: #FBF6EE !important; color: #1F1A14 !important; }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--space-3);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.wordmark {
  font-weight: 800; font-size: 24px; letter-spacing: -0.04em;
  color: var(--ink); display: inline-flex; align-items: baseline;
}
.wordmark .dot { color: var(--orange); }
.nav { display: none; gap: var(--space-3); font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink-muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); position: relative; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px;
  height: 2px; background: var(--orange);
}
.subscribe-btn {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  padding: 10px 18px; background: var(--orange); color: var(--white);
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .15s, transform .15s;
}
.subscribe-btn:hover { background: var(--orange-bright); transform: translateY(-1px); }
@media (min-width: 720px) {
  .nav { display: flex; }
  .topbar-inner { padding: 16px var(--space-4); }
  .wordmark { font-size: 26px; }
}

.tagline-strip {
  background: var(--cream-soft); color: var(--ink-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; text-align: center;
  padding: 11px var(--space-2);
  border-bottom: 1px solid var(--line-soft);
}
.tagline-strip .accent { color: var(--orange); font-weight: 700; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-3); }
@media (min-width: 720px) { .container { padding: 0 var(--space-4); } }

.carousel { position: relative; margin: var(--space-4) 0 var(--space-3); }
.carousel-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 12px;
}
.carousel-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint);
}
.carousel-eyebrow .counter {
  margin-left: auto; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; scroll-snap-stop: always; }
.slide-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--cream-deep);
  background-size: cover; background-position: center;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--space-3);
  color: var(--white);
}
@media (min-width: 600px) { .slide-photo { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) { .slide-photo { aspect-ratio: 16 / 9; padding: var(--space-4); } }
.slide-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.10) 25%,
    rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.78) 95%);
}
.slide-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
}
.slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--white);
  background: var(--orange);
  padding: 6px 12px; border-radius: 100px;
}
.slide-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--white); }
.slide-mark {
  font-size: 14px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.slide-mark .dot { color: var(--orange); }
.slide-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.slide-headline {
  font-size: clamp(22px, 5.4vw, 36px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  text-wrap: balance;
}
.slide-lede {
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.slide-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.slide-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.slide-meta .sources strong { color: var(--white); font-weight: 600; }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.dot-btn {
  width: 28px; height: 4px; padding: 0;
  border: none; cursor: pointer;
  background: var(--line); border-radius: 100px;
  transition: background .2s, width .25s;
}
.dot-btn.active { background: var(--orange); width: 44px; }

.section-head {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) 0 var(--space-2);
  border-top: 1px solid var(--line); margin-top: var(--space-4);
}
.section-head h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}
.section-head .accent { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.section-head .count {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--ink-faint);
}

.feed { display: grid; gap: var(--space-3); padding-bottom: var(--space-5); }
@media (min-width: 720px) { .feed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feed { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--orange); transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(31,26,20,0.12);
}
.card-image {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px;
  background-color: var(--cream-deep);
}
.card-image-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
}
.card-image.variant-photo {
  background-size: cover; background-position: center;
  color: var(--white);
}
.card-image.variant-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.55) 88%, rgba(0,0,0,0.7) 100%);
}
.card-image.variant-photo .card-image-tag-pill {
  background: var(--orange); color: var(--white);
  padding: 5px 11px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
}
.card-image.variant-photo .card-image-mark { text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.card-image.variant-photo .card-image-mark .dot { color: var(--orange); }
.card-image.variant-photo .card-image-headline { text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.card-image.variant-orange { background: var(--orange); color: var(--white); }
.card-image.variant-orange::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 100% 100%, rgba(0,0,0,0.16), transparent 60%),
    radial-gradient(40% 60% at 0% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.card-image.variant-cream {
  background: var(--cream-soft); color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.card-image.variant-cream::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 100% 0%, var(--orange-tint), transparent 65%);
}
.card-image.variant-tint {
  background: var(--orange-tint); color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.card-image.variant-tint::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 0% 100%, rgba(232,89,12,0.12), transparent 60%);
}
.card-image:not(.variant-photo)::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.card-image.variant-orange::after {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px) !important;
}
.card-image-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.85;
}
.card-image-headline {
  position: relative; z-index: 1;
  font-size: 18px; font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.18; margin-top: auto; max-width: 95%;
  text-wrap: balance;
}
.card-image-mark {
  font-size: 12px; font-weight: 800; letter-spacing: -0.04em;
  opacity: 0.85; flex-shrink: 0;
}
.card-image.variant-orange .card-image-mark .dot { color: var(--ink); opacity: 1; }
.card-image.variant-cream .card-image-mark .dot,
.card-image.variant-tint .card-image-mark .dot { color: var(--orange); opacity: 1; }
.card-body {
  padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 10px;
}
.card-headline {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.25; color: var(--ink);
}
.card-lede {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-faint);
}
.card-meta .sources { color: var(--ink-muted); font-weight: 500; }
.card-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }

.subscribe-block {
  background: var(--cream-soft); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5) var(--space-3);
  margin: var(--space-5) 0;
  position: relative; overflow: hidden;
}
.subscribe-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 0% 0%, var(--orange-wash), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, var(--orange-tint), transparent 60%);
  pointer-events: none;
}
.subscribe-inner { position: relative; max-width: 580px; margin: 0 auto; text-align: center; }
.subscribe-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
  background: var(--white); padding: 5px 12px;
  border-radius: 100px; border: 1px solid var(--line-soft);
}
.subscribe-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.subscribe-block h3 {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin-top: 14px; color: var(--ink); text-wrap: balance;
}
.subscribe-block p {
  margin-top: 12px; color: var(--ink-2);
  font-size: 15px; line-height: 1.55;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.subscribe-form {
  margin-top: var(--space-3);
  display: flex; flex-direction: column; gap: 10px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.subscribe-form input {
  font-family: inherit; font-size: 15px; padding: 13px 16px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: var(--radius); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.subscribe-form input::placeholder { color: var(--ink-faint); }
.subscribe-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.subscribe-form button {
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  padding: 13px 20px; background: var(--orange); color: var(--white);
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .15s, transform .15s;
}
.subscribe-form button:hover { background: var(--orange-bright); transform: translateY(-1px); }
.subscribe-fineprint { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }
@media (min-width: 600px) {
  .subscribe-form { flex-direction: row; }
  .subscribe-form input { flex: 1; }
}

footer {
  background: var(--cream-soft); color: var(--ink-2);
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-3); border-top: 1px solid var(--line);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-3); }
.footer-top {
  display: grid; gap: var(--space-4);
  padding-bottom: var(--space-4); border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 0 var(--space-4) var(--space-4); }
  .footer-inner { padding: 0; }
}
.footer-brand .wordmark { font-size: 28px; color: var(--ink); }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.6; max-width: 320px; color: var(--ink-2); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: var(--space-3); font-size: 12px; color: var(--ink-faint);
}
@media (min-width: 720px) {
  .footer-bottom {
    flex-direction: row; justify-content: space-between; align-items: center;
    padding: var(--space-3) var(--space-4) 0;
  }
}

/* ============================================================
   NEW: article page
   Single-column readable measure, sits in the same type system.
   ============================================================ */

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-3) var(--space-6);
}
@media (min-width: 720px) {
  .article-wrap { padding: var(--space-6) var(--space-4); }
}
.article-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: var(--space-2);
}
.article-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.article-headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--ink); text-wrap: balance;
}
.article-standfirst {
  margin-top: var(--space-3);
  font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5;
  color: var(--ink-2); font-weight: 500;
}
.article-meta {
  margin-top: var(--space-3); padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.article-meta .byline { color: var(--ink-muted); font-weight: 600; }

.article-body {
  margin-top: var(--space-4);
  font-size: 18px; line-height: 1.7; color: var(--ink-2);
}
.article-body p { margin-bottom: var(--space-3); }
.article-body a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-color: var(--orange-wash);
  text-underline-offset: 2px;
  transition: text-decoration-color .15s;
}
.article-body a:hover { text-decoration-color: var(--orange); }

.article-sources {
  margin-top: var(--space-5); padding-top: var(--space-3);
  border-top: 2px solid var(--ink);
}
.article-sources h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink); margin-bottom: var(--space-2);
}
.article-sources ul { list-style: none; }
.article-sources li { margin-bottom: 8px; font-size: 14px; line-height: 1.4; }
.article-sources a {
  color: var(--ink-muted); word-break: break-word;
  text-decoration: underline; text-decoration-color: var(--line);
  text-underline-offset: 2px;
}
.article-sources a:hover { color: var(--orange); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: var(--space-4);
  font-size: 13px; font-weight: 600; color: var(--ink-muted);
  transition: color .15s;
}
.back-link:hover { color: var(--orange); }

/* ============================================================
   NEW: section index page
   A simple stacked list of headlines for one section.
   ============================================================ */

.section-hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-5) var(--space-3) var(--space-2);
}
@media (min-width: 720px) { .section-hero { padding: var(--space-6) var(--space-4) var(--space-2); } }
.section-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section-hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.section-hero h1 {
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink);
}

.section-empty {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-4) var(--space-3) var(--space-6);
  color: var(--ink-muted); font-size: 15px;
}
@media (min-width: 720px) { .section-empty { padding: var(--space-4) var(--space-4) var(--space-6); } }

/* Reuse .feed + .card for the section article grid (already defined above). */

/* === bitu UI: hamburger + lightbox === */

/* Hamburger button - hidden on desktop, shown < 720px */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer; border-radius: var(--radius);
}
.hamburger:hover { background: var(--cream-deep); }
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31,26,20,0.45);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(78vw, 320px);
  background: #FFFFFF; border-left: 1px solid var(--line);
  padding: var(--space-4) var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-1);
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -12px 0 32px -16px rgba(31,26,20,0.25);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-2);
}
.mobile-nav-head .wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.mobile-nav-head .wordmark .dot { color: var(--orange); }
.mobile-nav-close {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink-muted); padding: 4px 8px;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a {
  font-size: 17px; font-weight: 600; color: var(--ink-2);
  padding: 12px 8px; border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--orange); }
@media (min-width: 720px) {
  .hamburger { display: none; }
  .mobile-nav { display: none; }
}

/* Sources lightbox */
.sources-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-5);
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  padding: 11px 18px; background: var(--ink); color: var(--cream);
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .15s, transform .15s;
}
.sources-trigger:hover { background: var(--orange); transform: translateY(-1px); }
.sources-trigger .count {
  background: rgba(255,255,255,0.18); border-radius: 100px;
  padding: 1px 8px; font-variant-numeric: tabular-nums;
}
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31,26,20,0.55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 80vh; overflow-y: auto; padding: var(--space-4);
  transform: translateY(8px) scale(0.98); transition: transform .2s;
}
.lightbox.open .lightbox-panel { transform: translateY(0) scale(1); }
.lightbox-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2); border-bottom: 2px solid var(--ink);
}
.lightbox-head h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}
.lightbox-close {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink-muted); padding: 0 4px;
}
.lightbox-intro {
  font-size: 13px; color: var(--ink-muted); margin-bottom: var(--space-3); line-height: 1.5;
}
.lightbox ul { list-style: none; }
.lightbox li { margin-bottom: 12px; font-size: 14px; line-height: 1.4; }
.lightbox a {
  color: var(--ink-muted); word-break: break-word;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px;
}
.lightbox a:hover { color: var(--orange); }

/* === bitu UI fix: solid opaque mobile drawer with readable text === */
.mobile-nav-panel {
  background-color: #FBF6EE;   /* solid cream, fully opaque - no see-through */
  background-image: none;
  opacity: 1;
}
.mobile-nav.open .mobile-nav-panel { opacity: 1; }

/* Ensure drawer links are dark and clearly readable on the cream panel */
.mobile-nav a {
  color: #1F1A14;              /* solid ink, high contrast */
  opacity: 1;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: #E8590C; }   /* orange on hover/active */

.mobile-nav-head .wordmark { color: #1F1A14; }
.mobile-nav-head .wordmark .dot { color: #E8590C; }
.mobile-nav-close { color: #5E5448; }
/* ===========================================================================
   bitu additions: Related on bitu, Search, Contact form, header search link
   Appended Phase 5.2. Uses existing :root tokens (--orange, --cream, --ink…).
   =========================================================================== */

/* --- Header search link (sits left of the Join-waitlist button) --- */
.search-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.search-link:hover { color: var(--orange-deep); background: var(--orange-tint); }
@media (max-width: 720px) { .search-link { display: none; } }

/* --- Related on bitu (article foot) --- */
.related {
  max-width: 720px;
  margin: var(--space-5, 3rem) auto 0;
  padding: var(--space-4, 2rem) 1.5rem 0;
  border-top: 1px solid var(--cream-deep);
}
.related-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.related-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); display: inline-block;
}
.related-head h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0;
}
.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  background: var(--cream-soft);
  border: 1px solid var(--cream-deep);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: var(--white);
}
.related-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
}
.related-cat .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); display: inline-block;
}
.related-headline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.related-date {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* --- Search page --- */
.search-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-4, 2rem) 1.5rem var(--space-5, 3rem);
}
.search-input {
  width: 100%;
  font-family: inherit;
  font-size: 1.1rem;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--cream-deep);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.search-input:focus { border-color: var(--orange); }
.search-status {
  margin: 0.9rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.search-results { display: flex; flex-direction: column; gap: 0.75rem; }
.search-result {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  background: var(--cream-soft);
  border: 1px solid var(--cream-deep);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.search-result:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: var(--white);
}
.search-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
}
.search-cat .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); display: inline-block;
}
.search-headline { font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.search-standfirst { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.search-date { font-size: 0.78rem; color: var(--ink-faint); }
.search-empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--ink-muted);
}

/* --- Contact form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.5rem 0;
}
.contact-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--cream-deep);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-submit {
  align-self: flex-start;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease;
}
.contact-submit:hover { background: var(--orange-deep); }
.contact-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
}

/* Honeypot field for Netlify forms - hidden from humans, bots fill it. */
.hidden-field { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------------------
   Share buttons (added) - plain links, brand-matched, no tracking
   --------------------------------------------------------------------------- */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid var(--cream-deep, #EDE5D6);
  border-bottom: 1px solid var(--cream-deep, #EDE5D6);
}
.share-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted, #5E5448);
  text-transform: uppercase;
  margin-right: 4px;
}
.share-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--cream-deep, #EDE5D6);
  background: var(--cream-soft, #F5EFE5);
  color: var(--ink-2, #3D352B);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.share-btn:hover {
  background: var(--orange-wash, #FFE8D4);
  border-color: var(--orange, #E8590C);
  color: var(--orange-deep, #B8430A);
}
.share-btn:active { transform: translateY(1px); }
.share-copy {
  /* it's a <button>, normalise it to match the <a> pills */
  appearance: none;
  -webkit-appearance: none;
}
@media (max-width: 520px) {
  .share-label { width: 100%; margin-bottom: 2px; }
  .share-btn { font-size: 0.8rem; padding: 7px 11px; }
}

/* ---------------------------------------------------------------------------
   Share buttons (added) - plain links, brand-matched, no tracking
   --------------------------------------------------------------------------- */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid var(--cream-deep, #EDE5D6);
  border-bottom: 1px solid var(--cream-deep, #EDE5D6);
}
.share-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted, #5E5448);
  text-transform: uppercase;
  margin-right: 4px;
}
.share-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--cream-deep, #EDE5D6);
  background: var(--cream-soft, #F5EFE5);
  color: var(--ink-2, #3D352B);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.share-btn:hover {
  background: var(--orange-wash, #FFE8D4);
  border-color: var(--orange, #E8590C);
  color: var(--orange-deep, #B8430A);
}
.share-btn:active { transform: translateY(1px); }
.share-copy {
  /* it's a <button>, normalise it to match the <a> pills */
  appearance: none;
  -webkit-appearance: none;
}
@media (max-width: 520px) {
  .share-label { width: 100%; margin-bottom: 2px; }
  .share-btn { font-size: 0.8rem; padding: 7px 11px; }
}
/* ===========================================================================
   bitu spotlight — featured stories conveyor
   Five fixed slots (1 large lead + 4 supporting). The articles ride through
   the slots: every 3s each slot fades its current article out and the next
   article in, so every story advances one slot per tick (a conveyor / orbit).
   Slots never move or resize; only their inner content changes.

   Desktop (>=720px): large lead on the left, 2x2 supporting grid on the right.
   Mobile (<720px): hero lead on top, then a horizontal swipe strip of the
   four supporting slots (~78vw each so the next peeks in). Conveyor still runs.

   Reduced motion: no conveyor. All five render statically (lead + four cards).
   =========================================================================== */

.spotlight {
  margin: var(--space-4) 0 var(--space-3);
}
.spotlight-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 14px;
}
.spotlight-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint);
}

.spotlight-grid { display: grid; gap: var(--space-3); }

/* ---- Lead slot (large) ---- */
.spotlight-lead-wrap { display: block; }
.spot-lead {
  display: block; position: relative;
  border-radius: var(--radius); overflow: hidden;
}
.lead-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--cream-deep);
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--space-3);
  color: var(--white);
}
@media (min-width: 600px) { .lead-photo { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) { .lead-photo { aspect-ratio: 16 / 9; padding: var(--space-4); } }
.lead-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.10) 25%,
    rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.78) 95%);
}
.lead-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
}
.lead-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--white);
  background: var(--orange); padding: 6px 12px; border-radius: 100px;
}
.lead-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--white); }
.lead-mark {
  font-size: 14px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.lead-mark .dot { color: var(--orange); }
.lead-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.lead-headline {
  font-size: clamp(22px, 5.4vw, 36px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35); text-wrap: balance;
}
.lead-lede {
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lead-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ---- Supporting slots (the four small ones) ---- */
.spot-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px;
  background: var(--cream-soft);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.spot-card:hover {
  transform: translateY(-2px); border-color: var(--orange); background: var(--white);
}
.spot-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--orange-deep);
}
.spot-cat .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.spot-headline {
  font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.spot-date { font-size: 0.78rem; color: var(--ink-faint); margin-top: auto; }

/* ---- The conveyor fade: applied to the CONTENT wrapper inside each slot. ---- */
.spot-fade { transition: opacity .4s ease; }
.spot-fade.is-out { opacity: 0; }

/* ---------------------------------------------------------------------------
   DESKTOP (>=720px): lead left, 2x2 supporting grid right.
   --------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .spotlight-grid { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .spotlight-rail {
    display: grid; grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr; gap: var(--space-3);
  }
}

/* ---------------------------------------------------------------------------
   MOBILE (<720px): hero lead, then a horizontal swipe strip of 4 (~78vw each).
   --------------------------------------------------------------------------- */
@media (max-width: 719px) {
  .spotlight-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
    gap: var(--space-2);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    margin-top: var(--space-3); padding-bottom: 4px;
  }
  .spotlight-rail::-webkit-scrollbar { display: none; }
  .spot-card { scroll-snap-align: start; }
}

/* ---------------------------------------------------------------------------
   Reduced motion: JS stops the conveyor; all five visible, nothing moves.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .spot-fade { transition: none; }
}


/* bitu developing-story threads */
.story-latest {
  color: var(--orange);
  font-weight: 700;
}
.story-update-banner {
  background: var(--orange-wash);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin: var(--space-2) 0 var(--space-3);
  font-size: 0.95rem;
  line-height: 1.5;
}
.story-update-banner .story-update-label {
  font-weight: 700;
  color: var(--orange-deep);
}
.story-update-banner a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 2px;
}
.story-update-banner a:hover { color: var(--orange-deep); }
