

  /* ─── Design Tokens ─────────────────────────────── */
  :root {
      --ink: #0d0d0d;
      --ink-soft: #2a2a2a;
      --muted: #6b6b6b;
      --rule: #d4cfc8;
      --cream: #faf8f5;
      --accent: #C0362C;
      --accent-dk: #8b0c21;
      --code-bg: #f4f1ed;
      --gold: #b8860b;
  }

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

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Lora', Georgia, serif;
      background: var(--cream);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
  }







  /* ─── Breaking-news ticker ───────────────────────── */
  .ticker-wrap {
      background: var(--ink);
      color: #fff;
      overflow: hidden;
      height: 32px;
      display: flex;
      align-items: center;
  }

  .ticker-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 11px;
      letter-spacing: 0.12em;
      background: var(--accent);
      padding: 0 14px;
      height: 100%;
      display: flex;
      align-items: center;
      white-space: nowrap;
      flex-shrink: 0;
      z-index: 9;
  }

  .ticker-track {
      display: flex;
      animation: ticker 38s linear infinite;
      white-space: nowrap;
      padding-left: 24px;
  }

  .ticker-track span {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      letter-spacing: 0.04em;
      padding-right: 64px;
      opacity: 0.9;
  }

  .ticker-track span::before {
      content: '//';
      color: var(--accent);
      margin-right: 10px;
      font-weight: 700;
  }

  @keyframes ticker {
      0% {
          transform: translateX(0);
      }

      100% {
          transform: translateX(-50%);
      }
  }

  /* ─── Top utility bar ────────────────────────────── */
  .util-bar {
      border-bottom: 1px solid var(--rule);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--muted);
      background: var(--cream);
  }

  /* ─── Masthead ───────────────────────────────────── */
  .masthead {
      border-bottom: 3px double var(--ink);
      padding: 16px 0 12px;
      background: var(--cream);
      position: sticky;
      top: 0;
      z-index: 50;
      transition: box-shadow 0.2s, padding 0.25s ease;
  }

  .masthead.scrolled {
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
      padding: 4px 0 4px;
      /* tighter bar when sticky */
  }

  /* ── Sticky-scrolled: shrink logo, hide tagline ── */
  .masthead.scrolled .logo {
      font-size: clamp(22px, 2.5vw, 26px);
      transition: font-size 0.25s ease;
  }

  .masthead.scrolled .logo-sub {
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      margin-top: 0;
      transition: opacity 0.2s ease, max-height 0.25s ease, margin-top 0.25s ease;
  }

  /* Ensure un-scrolled state transitions smoothly back */
  .logo {
      transition: font-size 0.25s ease;
  }

  .logo-sub {
      transition: opacity 0.2s ease, max-height 0.25s ease, margin-top 0.25s ease;
      max-height: 40px;
      overflow: hidden;
  }

  .logo {
      font-family: Georgia, serif;
      font-weight: 900;
      font-size: clamp(28px, 4vw, 44px);
      letter-spacing: -0.03em;
      color: var(--ink);
      text-decoration: none;
      line-height: 1;
  }

  .logo2 {
      font-family: 'Playfair Display', Georgia, serif;
      font-weight: 900;
      font-size: clamp(18px, 3vw, 24px);
      letter-spacing: -0.03em;
      color: var(--ink);
      text-decoration: none;
      line-height: 1;
  }

  .logo2 .tld,
  .logo .tld {
      color: var(--accent);
  }

  .logo-sub {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      text-align: center;
      margin-top: 2px;
  }

  /* ─── Primary nav ────────────────────────────────── */
  .primary-nav {
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.1em;
      /* Horizontal scroll on ALL screen sizes — no hiding */
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  .primary-nav::-webkit-scrollbar {
      display: none;
  }

  /* ─── Nav scroll indicator ───────────────────────── */
  .nav-scroll-wrap {
      position: relative;
  }

  /* Right fade */
  .nav-scroll-wrap::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 48px;
      background: linear-gradient(to right, transparent, var(--cream));
      pointer-events: none;
      transition: opacity 0.25s;
      z-index: 2;
  }

  /* Left fade */
  .nav-scroll-wrap::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 32px;
      background: linear-gradient(to left, transparent, var(--cream));
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.25s;
      z-index: 2;
  }

  .nav-scroll-wrap.at-end::after {
      opacity: 0;
  }

  .nav-scroll-wrap.scrolled::before {
      opacity: 1;
  }

  /* Chevron arrow */
  .nav-scroll-arrow {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
      pointer-events: none;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.25s;
  }

  .nav-scroll-arrow svg {
      width: 14px;
      height: 14px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      animation: nudge 1.6s ease-in-out infinite;
  }

  .nav-scroll-wrap.at-end .nav-scroll-arrow {
      opacity: 0;
  }

  @keyframes nudge {

      0%,
      100% {
          transform: translateX(0);
      }

      50% {
          transform: translateX(3px);
      }
  }

  /* Only show on small screens */
  @media (min-width: 769px) {

      .nav-scroll-wrap::before,
      .nav-scroll-wrap::after,
      .nav-scroll-arrow {
          display: none;
      }
  }

  .primary-nav a {
      color: var(--ink);
      text-decoration: none;
      padding: 8px 14px;
      display: inline-flex;
      align-items: center;
      transition: color 0.15s;
      white-space: nowrap;
  }

  .primary-nav a:hover {
      color: var(--accent);
  }

  .primary-nav a.active {
      color: var(--accent);
      border-bottom: 2px solid var(--accent);
  }

  /* ─── Hamburger ──────────────────────────────────── */
  .hamburger {
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      justify-content: center;
      align-items: center;
  }

  .hamburger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--ink);
      transition: transform 0.25s, opacity 0.25s, width 0.25s;
      transform-origin: center;
  }

  .hamburger.open span:nth-child(1) {
      transform: translateY(6.5px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
      opacity: 0;
      width: 0;
  }

  .hamburger.open span:nth-child(3) {
      transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ─── Mobile drawer ──────────────────────────────── */
  .mobile-drawer {
      position: fixed;
      inset: 0;
      z-index: 100;
      pointer-events: none;
  }

  .drawer-overlay {
      position: absolute;
      inset: 0;
      background: rgba(13, 13, 13, 0);
      transition: background 0.3s;
  }

  .drawer-panel {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: min(340px, 88vw);
      background: var(--cream);
      border-right: 2px solid var(--ink);
      transform: translateX(-100%);
      transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
  }

  .mobile-drawer.open {
      pointer-events: all;
  }

  .mobile-drawer.open .drawer-overlay {
      background: rgba(13, 13, 13, 0.55);
  }

  .mobile-drawer.open .drawer-panel {
      transform: translateX(0);
  }

  .drawer-header {
      border-bottom: 1px solid var(--rule);
      padding: 16px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .drawer-nav a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: 0.08em;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid var(--rule);
      transition: background 0.12s, color 0.12s;
  }

  .drawer-nav a:hover {
      background: rgba(196, 18, 48, 0.04);
      color: var(--accent);
  }

  .drawer-nav .arrow {
      font-size: 14px;
      opacity: 0.4;
  }

  /* ─── Edition badge ──────────────────────────────── */
  .edition-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: var(--accent);
      border: 1px solid var(--accent);
      padding: 3px 10px;
  }

  /* ─── Section labels ─────────────────────────────── */
  .section-label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
  }

  .section-label.red {
      color: var(--accent);
  }

  /* ─── Headlines ──────────────────────────────────── */
  h1,
  h2,
  h3,
  h4 {
      font-family: 'Playfair Display', Georgia, serif;
      line-height: 1.15;
  }

  .hed-xl {
      font-size: clamp(32px, 4.5vw, 56px);
      font-weight: 900;
      letter-spacing: -0.02em;
      line-height: 1.08;
  }

  .hed-lg {
      font-size: clamp(22px, 3vw, 32px);
      font-weight: 700;
  }

  .hed-md {
      font-size: clamp(18px, 2vw, 22px);
      font-weight: 700;
  }

  .hed-sm {
      font-size: 17px;
      font-weight: 700;
  }

  /* ─── Byline ─────────────────────────────────────── */
  .byline {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      letter-spacing: 0.06em;
      color: var(--muted);
  }

  .byline strong {
      color: var(--ink-soft);
  }

  /* ─── Body copy ──────────────────────────────────── */
  .copy {
      font-size: 16px;
      line-height: 1.78;
      color: var(--ink-soft);
  }

  .copy-sm {
      font-size: 14px;
      line-height: 1.65;
      color: var(--ink-soft);
  }

  /* ─── Rules ──────────────────────────────────────── */
  .rule {
      border: none;
      border-top: 1px solid var(--rule);
  }

  .rule-bold {
      border: none;
      border-top: 2px solid var(--ink);
  }

  .rule-double {
      border: none;
      border-top: 3px double var(--ink);
  }

  /* ─── Article card ───────────────────────────────── */
  .article-card {
      display: flex;
      flex-direction: column;
      gap: 8px;
  }

  .article-card a.headline-link {
      text-decoration: none;
      color: inherit;
      transition: color 0.15s;
  }

  .article-card a.headline-link:hover {
      color: var(--accent);
  }

  /* ─── Lead image ─────────────────────────────────── */
  .lead-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      display: block;
      filter: grayscale(12%) contrast(1.04);
      transition: filter 0.3s;
  }

  .lead-img:hover {
      filter: grayscale(0%) contrast(1);
  }

  /* ─── Tech tag ───────────────────────────────────── */
  .tech-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 600;
      background: var(--code-bg);
      border: 1px solid var(--rule);
      color: var(--ink-soft);
      padding: 2px 7px;
      border-radius: 2px;
  }

  .tech-tag.hot {
      background: rgba(196, 18, 48, 0.08);
      border-color: rgba(196, 18, 48, 0.25);
      color: var(--accent-dk);
  }

  /* ─── Subscribe button ───────────────────────────── */
  .btn-subscribe {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: var(--ink);
      color: #fff;
      border: none;
      padding: 8px 18px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s;
      display: inline-block;
  }

  .btn-subscribe:hover {
      background: var(--accent);
  }

  /* ─── Desktop search ─────────────────────────────── */
  .search-wrapper {
      position: relative;
  }

  .search-input {
      font-family: 'Lora', serif;
      font-size: 13px;
      border: none;
      border-bottom: 1.5px solid var(--ink);
      background: transparent;
      padding: 4px 28px 4px 4px;
      width: 160px;
      outline: none;
      color: var(--ink);
      transition: width 0.25s;
  }

  .search-input:focus {
      width: 220px;
  }

  .search-input::placeholder {
      color: var(--muted);
      font-style: italic;
  }

  .search-btn {
      position: absolute;
      right: 2px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--ink);
      font-size: 15px;
      padding: 2px;
      line-height: 1;
  }

  .search-btn:hover {
      color: var(--accent);
  }

  /* ─── Mobile search overlay ──────────────────────── */
  .mobile-search-overlay {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--cream);
      display: flex;
      flex-direction: column;
      transform: translateY(-100%);
      transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
  }

  .mobile-search-overlay.open {
      transform: translateY(0);
      pointer-events: all;
  }

  .mobile-search-inner {
      padding: 16px 20px;
      border-bottom: 2px solid var(--ink);
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .mobile-search-field {
      flex: 1;
      font-family: 'Lora', serif;
      font-size: 18px;
      border: none;
      border-bottom: 1.5px solid var(--ink);
      background: transparent;
      padding: 8px 4px;
      outline: none;
      color: var(--ink);
  }

  .mobile-search-field::placeholder {
      color: var(--muted);
      font-style: italic;
  }

  .mobile-search-close {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 20px;
      color: var(--ink);
      padding: 4px;
      flex-shrink: 0;
  }

  .mobile-search-submit {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 0.1em;
      background: var(--ink);
      color: #fff;
      border: none;
      padding: 10px 18px;
      cursor: pointer;
      flex-shrink: 0;
  }

  .mobile-search-hint {
      padding: 16px 20px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      letter-spacing: 0.08em;
      color: var(--muted);
  }

  /* ─── Pull quote ─────────────────────────────────── */
  .pull-quote {
      border-left: 3px solid var(--accent);
      padding-left: 20px;
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-style: italic;
      line-height: 1.5;
      color: var(--ink);
  }

  /* ─── Sidebar widgets ────────────────────────────── */
  .sidebar-widget {
      padding-top: 16px;
      border-top: 2px solid var(--ink);
  }

  .sidebar-widget-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 12px;
  }

  /* ─── Most-read ranked list ──────────────────────── */
  .ranked-list li {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid var(--rule);
  }

  .ranked-list li:last-child {
      border-bottom: none;
  }

  .rank-num {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 900;
      color: var(--rule);
      line-height: 1;
      min-width: 22px;
      margin-top: 2px;
  }

  /* ─── Status pip ─────────────────────────────────── */
  .status-pip {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
      /* green = operational */
      animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {

      0%,
      100% {
          opacity: 1;
          transform: scale(1);
      }

      50% {
          opacity: 0.5;
          transform: scale(1.4);
      }
  }

  /* ─── Footer ─────────────────────────────────────── */
  footer {
      background: var(--ink);
      color: rgba(255, 255, 255, 0.75);
  }

  .footer-logo {
      font-family: 'Playfair Display', serif;
      font-weight: 900;
      font-size: 36px;
      color: #fff;
      letter-spacing: -0.03em;
  }

  .footer-logo .tld {
      color: var(--accent);
  }

  .footer-link {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      transition: color 0.15s;
  }

  .footer-link:hover {
      color: #fff;
  }

  /* ─── Reveal animations ──────────────────────────── */
  .reveal {
      opacity: 0;
      transform: translateY(12px);
      animation: reveal 0.5s ease forwards;
  }

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

  .reveal-1 {
      animation-delay: 0.05s;
  }

  .reveal-2 {
      animation-delay: 0.12s;
  }

  .reveal-3 {
      animation-delay: 0.22s;
  }

  /* ─── Hover underline link ───────────────────────── */
  .u-link {
      text-decoration: none;
      color: inherit;
      background-image: linear-gradient(var(--accent), var(--accent));
      background-size: 0 1px;
      background-repeat: no-repeat;
      background-position: 0 100%;
      transition: background-size 0.25s;
  }

  .u-link:hover {
      background-size: 100% 1px;
  }

  /* ─── Responsive ─────────────────────────────────── */
  @media (max-width: 768px) {
      .desktop-search {
          display: none;
      }

      .desktop-subscribe {
          display: none;
      }
  }

  @media (min-width: 769px) {
      .mobile-only {
          display: none !important;
      }
  }

 