/* ──────────────────────────────────────────────────────────────────────
 * Globebuzz — main.css
 * Editorial newspaper styles for the Globebuzz WordPress theme.
 * Mirrors the design tokens from the prototype.
 * ────────────────────────────────────────────────────────────────────── */

/* ---------- Tokens & root ---------- */
:root, .ed-root {
  --paper: #FFFFFF;
  --paper-alt: #F4F6FB;
  --ink: #000000;
  --muted: #5A6273;
  --rule: #000000;
  --accent: #1454D8;
  --accent-ink: #FFFFFF;
  --halftone: #1454D8;
  --maxw: 1280px;
}

/* Dark mode (applied via [data-dark="true"] on <html> or <body>) */
html[data-dark="true"], body[data-dark="true"] {
  --paper: #0B0D12;
  --paper-alt: #15181F;
  --ink: #F4F5F7;
  --muted: #8E94A3;
  --rule: #3A3E48;
  --accent: #4F84E8;
  --accent-ink: #FFFFFF;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-feature-settings: "onum", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .12s; }
a:hover { color: var(--accent); }
button { font-family: inherit; }

/* ---------- Type helpers ---------- */
.ed-mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-feature-settings: "tnum"; }
.ed-kicker {
  font-family: 'Source Serif 4', serif;
  font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-feature-settings: "tnum";
}
.ed-kicker-ink { color: var(--ink); }
.ed-headline {
  font-weight: 800; line-height: .95; letter-spacing: -.022em;
  font-feature-settings: "ss01", "kern"; text-wrap: balance; margin: 0;
}
.ed-deck { font-weight: 400; line-height: 1.32; color: var(--muted); font-style: italic; text-wrap: pretty; margin: 0; }
.ed-byline { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ed-byline strong { color: var(--ink); font-weight: 700; }
.ed-rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.ed-rule-thick { border: 0; border-top: 3px solid var(--rule); margin: 0; }
.ed-rule-double { border: 0; border-top: 1px solid var(--rule); box-shadow: 0 3px 0 -2px var(--rule); margin: 0 0 3px; }
.ed-cap { font-size: 11px; line-height: 1.45; color: var(--muted); font-style: italic; margin-top: 6px; }
.ed-credit { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ed-dropcap p:first-of-type::first-letter,
.ed-dropcap::first-letter {
  float: left; font-size: 72px; line-height: .85; font-weight: 800;
  padding: 6px 8px 0 0; color: var(--accent); font-feature-settings: "ss01";
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }
.container-fluid { padding: 0 56px; }

@media (max-width: 900px) {
  .container, .container-fluid { padding: 0 16px; }
}

/* ---------- Masthead ---------- */
.gb-masthead { padding: 18px 56px 0; position: relative; }
.gb-masthead__util {
  display: flex; justify-content: space-between; align-items: center;
}
.gb-masthead__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.gb-masthead__actions { display: flex; align-items: center; gap: 14px; }
.gb-btn-ghost {
  cursor: pointer; background: transparent; border: 1px solid var(--rule);
  padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Source Serif 4', serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.gb-btn-ghost svg { display: block; }
.gb-btn-primary {
  cursor: pointer; background: var(--accent); color: var(--accent-ink);
  border: 0; padding: 8px 18px; font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.gb-btn-outline {
  cursor: pointer; background: transparent; color: var(--accent);
  border: 1px solid var(--accent); padding: 6px 12px;
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px;
}
.gb-wordmark {
  text-align: center;
  padding: 16px 0 4px;
}
.gb-wordmark-icon { display: inline-block; margin-bottom: 14px; }
.gb-wordmark-text {
  font-family: 'Source Serif 4', serif;
  font-weight: 900;
  font-size: 128px;
  letter-spacing: -.04em;
  line-height: .85;
  color: var(--ink);
  font-feature-settings: "ss01", "kern";
}
.gb-wordmark-text .org { color: var(--accent); font-style: italic; font-weight: 800; }
.gb-wordmark-tagline {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .32em; color: var(--muted); margin-top: 18px;
}

/* ---------- Nav ---------- */
.gb-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 56px; gap: 24px;
}
.gb-nav__list {
  display: flex; gap: 24px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.gb-nav__list a {
  font-size: 13px; font-weight: 500; color: var(--ink);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.gb-nav__list .current-menu-item a,
.gb-nav__list .current_page_item a,
.gb-nav__list a:hover { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.gb-search-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); padding: 6px 12px; cursor: text;
  color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em;
}

/* ---------- Live ticker ---------- */
.gb-ticker {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 92px 1fr; align-items: stretch;
  height: 42px; overflow: hidden;
}
.gb-ticker__live {
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: 'Source Serif 4', serif; font-size: 11.5px; font-weight: 800; letter-spacing: .22em;
}
.gb-ticker__live::before {
  content: ''; width: 7px; height: 7px; background: var(--accent-ink);
  border-radius: 50%; animation: gb-pulse 1.4s ease-in-out infinite;
}
.gb-ticker__track {
  overflow: hidden; position: relative; display: flex; align-items: center;
}
.gb-ticker__inner {
  display: flex; width: max-content; animation: gb-marquee 80s linear infinite;
}
.gb-ticker__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.15); height: 100%;
  font-size: 12.5px; color: var(--paper); white-space: nowrap; transition: background .12s;
}
.gb-ticker__item:hover { background: rgba(255,255,255,.06); color: var(--paper); }
.gb-ticker__tag {
  font-family: 'JetBrains Mono', monospace; background: var(--accent); color: var(--accent-ink);
  padding: 2px 7px; font-size: 9.5px; letter-spacing: .12em; font-weight: 700;
}
.gb-ticker__arrow { opacity: .55; font-family: 'JetBrains Mono', monospace; font-size: 11px; }

@keyframes gb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Halftone placeholder ---------- */
.ed-halftone {
  position: relative; overflow: hidden; width: 100%;
  background:
    radial-gradient(circle at 22% 38%, color-mix(in oklab, var(--halftone), white 18%) 0%, transparent 38%),
    radial-gradient(circle at 78% 72%, color-mix(in oklab, var(--halftone), black 20%) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--halftone), white 8%) 0%, color-mix(in oklab, var(--halftone), black 25%) 90%);
}
.ed-halftone::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) 0.9px, transparent 1.1px),
    radial-gradient(circle, rgba(0,0,0,.45) 0.9px, transparent 1.1px);
  background-size: 4px 4px, 4px 4px;
  background-position: 0 0, 2px 2px;
  mix-blend-mode: overlay; opacity: .7;
}
.ed-halftone::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--paper) 0.4px, transparent 0.9px);
  background-size: 5px 5px;
  mix-blend-mode: screen; opacity: .35;
}
.ed-halftone--real {
  background: var(--ink);
  background-size: cover; background-position: center;
  filter: grayscale(.9) contrast(1.05);
}
.ed-halftone--real::before, .ed-halftone--real::after { opacity: .55; }
.ed-halftone-label {
  position: absolute; left: 10px; bottom: 8px; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .06em;
  color: var(--paper); text-shadow: 0 1px 0 rgba(0,0,0,.4); opacity: .75;
}

/* ---------- Front page ---------- */
main.gb-main { padding: 36px 56px 0; }

.gb-fold-heading {
  text-align: center; margin-bottom: 4px;
  color: var(--accent); font-weight: 700;
  font-family: 'Source Serif 4', serif;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}

.gb-fold {
  display: grid; grid-template-columns: 1fr 1px 380px; gap: 32px;
  padding-top: 28px; border-top: 3px double var(--rule);
}
.gb-fold__divider {
  border-top: 0; border-left: 1px solid var(--rule); margin: 0;
  width: 1px; height: auto; align-self: stretch;
}

/* Sponsored lead */
.gb-sponsored__chip-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.gb-sponsored__chip {
  background: var(--ink); color: var(--paper); padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .2em; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.gb-sponsored__chip::before {
  content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.gb-sponsored__title {
  font-size: 76px; margin: 0 0 18px;
  font-family: 'Source Serif 4', serif; font-weight: 800; line-height: .95; letter-spacing: -.022em;
}
.gb-sponsored__title a { color: var(--ink); }
.gb-sponsored__title a:hover { color: var(--accent); }
.gb-sponsored__cap { font-size: 11px; line-height: 1.45; color: var(--muted); font-style: italic; margin-top: 6px; }
.gb-sponsored__body {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 22px;
  font-size: 15.5px; line-height: 1.6;
}
.gb-sponsored__body p { margin: 0; }
.gb-sponsored__footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px; gap: 20px;
}

/* Latest News rail */
.gb-rail__header {
  background: var(--ink); color: var(--paper); padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.gb-rail__header-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; font-weight: 700;
}
.gb-rail__header-label::before {
  content: ''; width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; animation: gb-pulse 1.4s ease-in-out infinite;
}
.gb-rail__header a { color: var(--paper); font-size: 10px; letter-spacing: .12em; }
.gb-rail__item {
  padding: 16px 0 18px; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
}
.gb-rail__item:last-child { border-bottom: 0; }
.gb-rail__num {
  font-family: 'Source Serif 4', serif; font-weight: 800; font-size: 22px;
  color: var(--accent); line-height: 1; letter-spacing: -.02em;
}
.gb-rail__title {
  margin: 6px 0 8px; font-family: 'Source Serif 4', serif;
  font-weight: 800; font-size: 17px; line-height: 1.22; letter-spacing: -.012em;
}
.gb-rail__excerpt {
  margin: 0 0 12px; font-size: 13px; line-height: 1.48; color: var(--muted);
}
.gb-rail__meta {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}

/* Today's Thought */
.gb-thought {
  margin-top: 22px;
  padding: 20px 18px; background: var(--paper-alt); border: 1px solid var(--rule);
}
.gb-thought__kicker {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.gb-thought__kicker::before {
  content: ''; display: inline-block; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent);
}
.gb-thought__quote {
  margin: 14px 0 12px; font-family: 'Source Serif 4', serif; font-style: italic;
  font-weight: 500; font-size: 20px; line-height: 1.28; letter-spacing: -.01em;
}
.gb-thought__quote .q { color: var(--accent); font-weight: 800; font-size: 30px; position: relative; top: 6px; }
.gb-thought__attrib { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* The Globe Today (3-col card grid) */
.gb-section-title {
  display: flex; align-items: baseline; justify-content: space-between;
}
.gb-section-title h2 {
  margin: 0; font-family: 'Source Serif 4', serif;
  font-weight: 900; font-size: 38px; letter-spacing: -.02em;
}
.gb-section-meta {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.gb-globe-today {
  margin-top: 64px;
}
.gb-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; row-gap: 36px;
}
.gb-grid-3 .gb-card { position: relative; }
.gb-grid-3 .gb-card::after {
  content: ''; position: absolute; right: -16px; top: 0; bottom: 0;
  width: 1px; background: var(--rule); opacity: .55;
}
.gb-grid-3 .gb-card:last-child::after { display: none; }
.gb-card__hl {
  font-family: 'Source Serif 4', serif; font-weight: 800; font-size: 24px;
  line-height: 1.15; letter-spacing: -.018em; margin: 0 0 10px;
}
.gb-card__hl a { color: var(--ink); }
.gb-card__hl a:hover { color: var(--accent); }
.gb-card__deck { font-size: 14px; line-height: 1.45; color: var(--muted); font-style: italic; margin: 0 0 12px; }
.gb-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; gap: 10px;
}

/* Mixed section: Healthcare + Lifestyle + Press releases mini */
.gb-mixed-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
}
.gb-press-mini__header {
  background: var(--ink); color: var(--paper); padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.gb-press-mini__header span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.gb-press-mini__header a { color: var(--paper); font-size: 10px; letter-spacing: .1em; }
.gb-press-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--rule);
}
.gb-press-item__num {
  font-family: 'Source Serif 4', serif; font-weight: 800; font-size: 30px;
  color: var(--accent); line-height: 1; letter-spacing: -.02em;
}
.gb-press-item h4 {
  margin: 6px 0 8px; font-family: 'Source Serif 4', serif;
  font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.01em;
}

/* Newsletter CTA */
.gb-newsletter-cta {
  margin-top: 56px; padding: 40px 48px;
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.gb-newsletter-cta__kicker {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; color: var(--accent);
}
.gb-newsletter-cta h3 {
  font-family: 'Source Serif 4', serif; font-weight: 900; font-size: 44px;
  letter-spacing: -.025em; line-height: 1; margin: 12px 0 14px;
}
.gb-newsletter-cta h3 em { font-style: italic; color: var(--accent); }
.gb-newsletter-cta p { font-size: 15px; line-height: 1.5; opacity: .8; max-width: 520px; margin: 0; }
.gb-newsletter-cta__action {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.gb-newsletter-cta .gb-btn-primary { padding: 18px 32px; font-size: 16px; letter-spacing: .14em; gap: 10px; }
.gb-newsletter-cta__note { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .06em; opacity: .65; }

/* ---------- Article single ---------- */
.gb-article-header { max-width: 880px; margin: 0 auto; text-align: center; padding: 48px 0 24px; }
.gb-article-header .ed-kicker { display: inline-flex; align-items: center; gap: 10px; }
.gb-article-header h1 {
  font-family: 'Source Serif 4', serif; font-weight: 900;
  font-size: 72px; line-height: 1.02; letter-spacing: -.025em;
  margin: 24px 0 24px;
}
.gb-article-header .ed-deck { font-size: 22px; max-width: 760px; margin: 0 auto 28px; }
.gb-article-tools {
  margin-top: 18px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.gb-article-tools a {
  padding: 6px 14px; border: 1px solid var(--rule);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.gb-article-hero { margin: 40px auto 24px; max-width: 1100px; }
.gb-article-body {
  display: grid; grid-template-columns: 1fr 1px 280px; gap: 36px;
  max-width: 1100px; margin: 32px auto 0;
}
.gb-article-body article { font-size: 17px; line-height: 1.62; }
.gb-article-body article h2 {
  font-family: 'Source Serif 4', serif; font-weight: 800;
  font-size: 30px; letter-spacing: -.02em; margin: 36px 0 14px;
}
.gb-article-body article h3 {
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: 22px; letter-spacing: -.015em; margin: 28px 0 12px;
}
.gb-article-body article p { margin: 20px 0 0; }
.gb-article-body article p:first-child { margin-top: 0; }
.gb-article-body article a { color: var(--accent); border-bottom: 1px solid currentColor; }
.gb-article-body article blockquote {
  margin: 24px 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent);
  font-family: 'Source Serif 4', serif; font-style: italic;
  font-size: 22px; line-height: 1.3; color: var(--ink);
}
.gb-article-aside { position: sticky; top: 16px; align-self: start; }

/* ---------- Archive / category ---------- */
.gb-section-mast {
  padding: 40px 56px 24px; border-bottom: 3px double var(--rule);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.gb-section-mast h1 {
  margin: 0; font-family: 'Source Serif 4', serif; font-weight: 900;
  font-size: 160px; line-height: .82; letter-spacing: -.05em;
}
.gb-section-mast h1 .dot { color: var(--accent); }
.gb-section-mast .ed-deck { font-size: 19px; margin: 14px 0 0; max-width: 720px; }
.gb-archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; row-gap: 36px;
}
.gb-archive-card .gb-card__hl { font-size: 21px; }
.gb-archive-card .gb-card__deck { font-size: 13.5px; }

/* ---------- Press releases archive ---------- */
.gb-wire {
  padding: 36px 56px 0;
  display: grid; grid-template-columns: 1fr 280px; gap: 40px;
}
.gb-wire-day {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--rule); padding-bottom: 8px;
}
.gb-wire-day h3 {
  margin: 0; font-family: 'Source Serif 4', serif;
  font-weight: 800; font-size: 22px; letter-spacing: -.01em;
}
.gb-wire-item {
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 92px 1fr 200px; gap: 24px; align-items: start;
}
.gb-wire-item__time {
  font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em; line-height: 1;
}
.gb-wire-item__tz {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: .08em; color: var(--muted); margin-top: 4px;
}
.gb-wire-item__priority {
  margin-top: 10px; display: inline-block; padding: 2px 8px;
  background: var(--accent); color: var(--accent-ink);
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .16em; font-weight: 700;
}
.gb-wire-item__tag {
  border: 1px solid var(--rule); padding: 2px 8px;
  font-family: 'Source Serif 4', serif; font-weight: 600; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
}
.gb-wire-item h4 {
  font-family: 'Source Serif 4', serif; font-weight: 800; font-size: 22px;
  line-height: 1.18; letter-spacing: -.01em; margin: 4px 0 8px;
}
.gb-wire-item p { margin: 0; font-size: 14px; line-height: 1.5; }

/* ---------- Footer ---------- */
.gb-footer {
  padding: 56px 56px 28px; border-top: 3px double var(--rule); margin-top: 64px;
}
.gb-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
}
.gb-footer__brand {
  display: flex; align-items: center; gap: 10px;
}
.gb-footer__brand-text {
  font-family: 'Source Serif 4', serif; font-weight: 900; font-size: 26px;
  letter-spacing: -.025em; line-height: 1;
}
.gb-footer__brand-text .org { color: var(--accent); font-style: italic; font-weight: 800; }
.gb-footer__col h4 {
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--ink);
}
.gb-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gb-footer__col a { font-size: 13px; }
.gb-footer__bottom {
  margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); gap: 18px; flex-wrap: wrap;
}
.gb-footer__bottom a { color: var(--muted); }

/* ---------- Subscribe modal ---------- */
.gb-modal {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(8, 10, 14, .55); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  animation: gb-fade-in .18s ease-out; font-family: 'Source Serif 4', serif;
}
.gb-modal.is-open { display: flex; }
.gb-modal__box {
  width: 520px; max-width: calc(100vw - 32px);
  background: #FFFFFF; color: #000;
  border: 2px solid #000; position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 16px 16px 0 var(--accent);
  animation: gb-pop-in .22s cubic-bezier(.2, .7, .3, 1.1);
}
.gb-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border: 1px solid #000;
  background: transparent; cursor: pointer; font-size: 16px; line-height: 1; color: #000;
}
.gb-modal__head { padding: 32px 36px 0; }
.gb-modal__brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: 'Source Serif 4', serif; font-weight: 900; font-size: 22px;
  letter-spacing: -.025em;
}
.gb-modal__brand .org { color: var(--accent); font-style: italic; font-weight: 800; }
.gb-modal__tag {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 3px 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .18em; font-weight: 700; margin-bottom: 14px;
}
.gb-modal__title {
  margin: 0; font-family: 'Source Serif 4', serif; font-weight: 900;
  font-size: 36px; line-height: 1.02; letter-spacing: -.025em;
}
.gb-modal__title em { font-style: italic; color: var(--accent); }
.gb-modal__sub { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #444; }
.gb-modal__form { padding: 24px 36px 32px; }
.gb-modal__input-row { display: flex; }
.gb-modal__form input[type="email"] {
  flex: 1; padding: 14px 16px;
  border: 1.5px solid #000; border-right: 0;
  font-size: 15px; font-family: 'Source Serif 4', serif; color: #000; outline: none; background: #fff;
}
.gb-modal__form button[type="submit"] {
  background: var(--accent); color: #fff; border: none;
  padding: 0 22px; font-family: 'Source Serif 4', serif; font-weight: 800;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.gb-modal__legal {
  margin-top: 14px; display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .06em; color: #666;
}
.gb-modal__success { padding: 24px 36px 32px; text-align: center; }
.gb-modal__success-check { font-size: 40px; color: var(--accent); margin-bottom: 8px; }

@keyframes gb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes gb-pop-in {
  from { opacity: 0; transform: scale(.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Pagination ---------- */
.gb-pagination {
  display: flex; justify-content: center; gap: 8px; margin: 40px 0;
}
.gb-pagination a, .gb-pagination span {
  padding: 8px 14px; border: 1px solid var(--rule);
  font-family: 'Source Serif 4', serif; font-size: 12px;
  letter-spacing: .06em; color: var(--ink);
}
.gb-pagination .current {
  background: var(--ink); color: var(--paper);
}

/* ---------- Comments ---------- */
.gb-comments { max-width: 880px; margin: 56px auto 0; padding: 32px 0; border-top: 3px double var(--rule); }
.gb-comments h2 { font-family: 'Source Serif 4', serif; font-weight: 900; font-size: 32px; letter-spacing: -.02em; margin: 0 0 24px; }
.gb-comments .comment-list { list-style: none; padding: 0; margin: 0; }
.gb-comments .comment { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.gb-comments .comment-author { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 13px; }
.gb-comments .comment-meta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.gb-comments .comment-content { margin-top: 8px; font-size: 14px; line-height: 1.55; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gb-wordmark-text { font-size: 96px; }
  .gb-sponsored__title { font-size: 56px; }
  .gb-section-mast h1 { font-size: 120px; }
  .gb-article-header h1 { font-size: 56px; }
}

@media (max-width: 900px) {
  .gb-masthead { padding: 12px 16px 0; }
  .gb-nav { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .gb-nav__list { gap: 16px; overflow-x: auto; }
  main.gb-main { padding: 20px 16px 0; }
  .gb-wordmark-text { font-size: 56px; }
  .gb-wordmark-tagline { font-size: 9px; letter-spacing: .24em; }
  .gb-fold { grid-template-columns: 1fr; }
  .gb-fold__divider { display: none; }
  .gb-sponsored__title { font-size: 36px; }
  .gb-sponsored__body { grid-template-columns: 1fr; column-gap: 0; }
  .gb-grid-3 { grid-template-columns: 1fr; }
  .gb-grid-3 .gb-card::after { display: none; }
  .gb-mixed-grid { grid-template-columns: 1fr; }
  .gb-newsletter-cta { grid-template-columns: 1fr; padding: 28px 20px; gap: 20px; }
  .gb-newsletter-cta h3 { font-size: 32px; }
  .gb-archive-grid { grid-template-columns: 1fr; }
  .gb-section-mast { padding: 24px 16px; flex-direction: column; align-items: stretch; }
  .gb-section-mast h1 { font-size: 72px; }
  .gb-wire { grid-template-columns: 1fr; padding: 20px 16px 0; }
  .gb-wire-item { grid-template-columns: 70px 1fr; }
  .gb-wire-item > :nth-child(3) { display: none; }
  .gb-article-header { padding: 28px 16px; }
  .gb-article-header h1 { font-size: 36px; }
  .gb-article-body { grid-template-columns: 1fr; padding: 0 16px; }
  .gb-article-body article { font-size: 16px; }
  .gb-footer { padding: 32px 16px 20px; }
  .gb-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
