/*
Theme Name: 1xBet Honduras
Theme URI: https://example.com/1xbet-honduras
Author: Codex
Author URI: https://example.com
Description: WordPress theme converted from the supplied static HTML pages for 1xBet Honduras live casino content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: 1xbet-honduras
*/

/* Global/home styles */
:root {
      --bg: oklch(16% 0.04 252);
      --shell: oklch(12% 0.025 252);
      --surface: oklch(22% 0.03 250);
      --surface-2: oklch(27% 0.035 250);
      --card: oklch(20% 0.03 250 / 0.9);
      --fg: oklch(97% 0.01 250);
      --muted: oklch(76% 0.02 245);
      --line: oklch(38% 0.03 248 / 0.9);
      --accent: oklch(72% 0.16 240);
      --accent-2: oklch(78% 0.17 140);
      --danger: oklch(68% 0.19 20);
      --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --radius-sm: 12px;
      --wrap: min(1180px, calc(100vw - 32px));
      --font-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
      --font-body: "Segoe UI", "SF Pro Text", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--fg);
      background:
        radial-gradient(circle at top, color-mix(in oklch, var(--accent) 16%, transparent) 0, transparent 34%),
        radial-gradient(circle at 82% 16%, color-mix(in oklch, var(--accent-2) 14%, transparent) 0, transparent 22%),
        linear-gradient(180deg, oklch(15% 0.035 252), oklch(11% 0.022 252) 45%, oklch(9% 0.018 252));
      min-height: 100vh;
      line-height: 1.55;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    button {
      font: inherit;
    }

    .page-shell {
      width: var(--wrap);
      margin: 0 auto;
      padding-bottom: 80px;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
      background: color-mix(in oklch, var(--shell) 78%, transparent);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .topbar-inner {
      width: var(--wrap);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 76px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-display);
      letter-spacing: -0.02em;
      font-size: clamp(1.25rem, 2vw, 1.8rem);
      text-transform: uppercase;
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background:
        linear-gradient(135deg, color-mix(in oklch, var(--accent) 62%, white), color-mix(in oklch, var(--accent-2) 48%, black));
      color: oklch(11% 0.02 250);
      font-weight: 800;
      font-size: 1rem;
      box-shadow: 0 10px 30px color-mix(in oklch, var(--accent) 30%, transparent);
    }

    .nav-toggle {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--fg);
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .nav-toggle span,
    .nav-toggle::before,
    .nav-toggle::after {
      content: "";
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), opacity 140ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-toggle::before {
      transform: translateY(-6px);
    }

    .nav-toggle::after {
      transform: translateY(6px);
      margin-top: -2px;
    }

    .nav-toggle.is-open span {
      opacity: 0;
    }

    .nav-toggle.is-open::before {
      transform: translateY(0) rotate(45deg);
    }

    .nav-toggle.is-open::after {
      transform: translateY(-2px) rotate(-45deg);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .nav a {
      padding: 10px 14px;
      border-radius: 999px;
      color: var(--muted);
      letter-spacing: 0.02em;
      transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav a:hover,
    .nav a.is-active {
      color: var(--fg);
      background: rgba(255, 255, 255, 0.08);
    }

    .cta-mini {
      padding: 11px 16px;
      border-radius: 999px;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 82%, white), color-mix(in oklch, var(--accent-2) 70%, black));
      color: oklch(10% 0.02 250);
      font-weight: 700;
      letter-spacing: 0.02em;
      box-shadow: 0 14px 30px color-mix(in oklch, var(--accent) 22%, transparent);
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
      gap: 32px;
      align-items: stretch;
      padding: 34px 0 26px;
    }

    .hero-copy,
    .hero-visual,
    .panel,
    .feature-card,
    .table-card,
    .story-card,
    .accordion-item,
    .mobile-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    .hero-copy {
      padding: clamp(26px, 3vw, 42px);
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 7px color-mix(in oklch, var(--accent-2) 24%, transparent);
    }

    h1,
    h2,
    h3 {
      margin: 0;
      font-family: var(--font-display);
      line-height: 1.05;
      letter-spacing: -0.025em;
    }

    h1 {
      font-size: clamp(3rem, 5.6vw, 5.8rem);
      max-width: 10ch;
    }

    .hero-lead {
      max-width: 62ch;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.16rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .btn-primary,
    .btn-secondary,
    .tab-button,
    .chip-button {
      border: 0;
      cursor: pointer;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .tab-button:hover,
    .chip-button:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      padding: 15px 22px;
      border-radius: 999px;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 88%, white), color-mix(in oklch, var(--accent-2) 74%, black));
      color: oklch(11% 0.02 250);
      font-weight: 800;
    }

    .btn-secondary {
      padding: 15px 22px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--fg);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .meta-card {
      padding: 16px;
      border-radius: var(--radius-md);
      background: color-mix(in oklch, var(--surface) 76%, transparent);
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .meta-card span {
      display: block;
      color: var(--muted);
      font-size: 0.8rem;
      letter-spacing: 0.02em;
    }

    .meta-card strong {
      display: block;
      margin-top: 6px;
      font-size: 1rem;
      line-height: 1.3;
    }

    .hero-visual {
      position: relative;
      overflow: hidden;
      min-height: 560px;
      display: grid;
      align-items: end;
      padding: 26px;
    }

    .hero-visual::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(7, 12, 22, 0.18), rgba(7, 12, 22, 0.78)),
        radial-gradient(circle at 50% 70%, color-mix(in oklch, var(--accent) 18%, transparent) 0, transparent 38%);
      z-index: 1;
    }

    .hero-visual > img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-float {
      position: relative;
      z-index: 2;
      display: grid;
      gap: 16px;
      justify-self: end;
      width: min(320px, 100%);
    }

    .odds-card,
    .floating-stat {
      padding: 18px;
      border-radius: 20px;
      background: rgba(9, 14, 24, 0.78);
      border: 1px solid rgba(255, 255, 255, 0.09);
      backdrop-filter: blur(10px);
    }

    .odds-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 13px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .odds-row:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .odds-row small,
    .floating-stat small,
    .section-label,
    .kicker {
      display: block;
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
    }

    .odds-pill {
      padding: 8px 10px;
      border-radius: 999px;
      background: color-mix(in oklch, var(--accent-2) 24%, transparent);
      color: var(--accent-2);
      font-family: var(--font-mono);
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }

    .hero-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin: 8px 0 22px;
    }

    .feature-card {
      padding: 20px;
      min-height: 180px;
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .feature-index {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.07);
      color: var(--accent);
      font-family: var(--font-mono);
      font-weight: 700;
    }

    .feature-card p,
    .story-card p,
    .mobile-card p,
    .accordion-panel p,
    .lead-copy,
    .article p {
      color: var(--muted);
    }

    .section {
      padding: 18px 0;
      scroll-margin-top: 92px;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 18px;
    }

    .section-head h2 {
      font-size: clamp(2.2rem, 3.8vw, 4rem);
      max-width: 12ch;
    }

    .lead-copy {
      max-width: 58ch;
    }

    .table-grid,
    .story-grid,
    .mobile-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .table-card {
      padding: 22px;
      display: grid;
      gap: 16px;
    }

    .table-top {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 14px;
    }

    .table-card strong {
      font-size: 1.2rem;
    }

    .table-card p {
      margin: 0;
      color: var(--muted);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.07);
      color: var(--accent-2);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .chip-row,
    .tab-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin: 0 0 18px;
    }

    .chip-button,
    .tab-button {
      padding: 11px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--muted);
    }

    .chip-button.is-selected,
    .tab-button.is-selected {
      background: rgba(255, 255, 255, 0.12);
      color: var(--fg);
      border-color: rgba(255, 255, 255, 0.16);
    }

    .tab-panels {
      display: grid;
      gap: 18px;
    }

    .tab-panel[hidden] {
      display: none;
    }

    .story-card {
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
      gap: 0;
    }

    .story-card img {
      height: 100%;
      object-fit: cover;
      min-height: 320px;
    }

    .story-copy {
      padding: 24px;
      display: grid;
      gap: 14px;
      align-content: start;
    }

    .article {
      padding: clamp(22px, 3vw, 36px);
      border-radius: var(--radius-xl);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
      border: 1px solid rgba(255, 255, 255, 0.09);
      box-shadow: var(--shadow);
      display: grid;
      gap: 26px;
    }

    .article-block {
      display: grid;
      gap: 14px;
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .article-block:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .article h3 {
      font-size: clamp(1.75rem, 2.8vw, 2.5rem);
      max-width: 18ch;
    }

    .article p {
      margin: 0;
      max-width: 74ch;
      font-size: 1.03rem;
    }

    .bullet-list {
      display: grid;
      gap: 10px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .bullet-list li {
      position: relative;
      padding-left: 20px;
      color: var(--fg);
    }

    .bullet-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.62em;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--accent);
    }

    .data-table {
      overflow: auto;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 560px;
    }

    th,
    td {
      padding: 15px 16px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    th {
      color: var(--muted);
      font-size: 0.82rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    td {
      font-size: 0.98rem;
    }

    tr:last-child td {
      border-bottom: 0;
    }

    .accordion {
      display: grid;
      gap: 14px;
    }

    .accordion-item {
      overflow: hidden;
    }

    .accordion-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 20px 22px;
      background: transparent;
      color: var(--fg);
      border: 0;
      cursor: pointer;
      text-align: left;
    }

    .accordion-trigger span:last-child {
      color: var(--accent-2);
      font-family: var(--font-mono);
    }

    .accordion-panel {
      padding: 0 22px 22px;
      display: grid;
      gap: 12px;
    }

    .accordion-panel[hidden] {
      display: none;
    }

    .mobile-card {
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
      gap: 0;
    }

    .mobile-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 320px;
    }

    .mobile-copy {
      padding: 24px;
      display: grid;
      gap: 14px;
      align-content: start;
    }

    .footer-card {
      margin-top: 24px;
      padding: 24px;
      border-radius: var(--radius-xl);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      flex-wrap: wrap;
    }

    .footer-card p {
      margin: 0;
      color: var(--muted);
      max-width: 70ch;
    }

    .theme-router {
      display: grid;
      gap: 24px;
    }

    .theme-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .theme-card {
      position: relative;
      overflow: hidden;
      padding: 24px;
      border-radius: var(--radius-xl);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: var(--shadow);
      display: grid;
      gap: 18px;
      min-height: 240px;
    }

    .theme-card::after {
      content: "";
      position: absolute;
      inset: auto -20% -35% auto;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, color-mix(in oklch, var(--accent) 22%, transparent) 0, transparent 70%);
      pointer-events: none;
    }

    .theme-card span {
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    .theme-card p {
      margin: 0;
      color: var(--muted);
    }

    .theme-link {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      padding: 12px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .site-footer {
      padding: 0 0 56px;
    }

    .site-footer .footer-card {
      margin-top: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.6fr)) minmax(220px, 0.85fr);
      align-items: start;
      gap: 24px;
      padding: 28px;
    }

    .footer-brand {
      display: grid;
      gap: 14px;
    }

    .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: fit-content;
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2vw, 1.7rem);
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    .footer-kicker {
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    .footer-note {
      max-width: 34ch;
    }

    .footer-column {
      display: grid;
      gap: 14px;
      align-content: start;
    }

    .footer-title {
      color: var(--fg);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .footer-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    .footer-menu a {
      color: var(--muted);
      transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .footer-menu a:hover {
      color: var(--fg);
      transform: translateX(4px);
    }

    .footer-cta {
      display: grid;
      gap: 12px;
      align-content: start;
      justify-items: start;
    }

    .footer-cta .btn-primary,
    .footer-cta .btn-secondary {
      width: 100%;
      justify-content: center;
    }

    [data-reveal] {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(8px);
      transition:
        opacity 520ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 520ms cubic-bezier(0.23, 1, 0.32, 1),
        filter 520ms cubic-bezier(0.23, 1, 0.32, 1);
      transition-delay: var(--reveal-delay, 0ms);
      will-change: opacity, transform, filter;
    }

    [data-reveal].is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
      }
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 1080px) {
      .hero,
      .story-card,
      .mobile-card {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: 460px;
      }

      .hero-strip,
      .table-grid,
      .story-grid,
      .mobile-grid,
      .theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .site-footer .footer-card {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 840px) {
      .topbar-inner {
        min-height: 72px;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(7, 12, 22, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: grid;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
      }

      .nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      .nav a,
      .cta-mini {
        width: 100%;
        justify-content: center;
        text-align: center;
      }

      .hero-meta,
      .hero-strip,
      .table-grid,
      .story-grid,
      .mobile-grid,
      .theme-grid {
        grid-template-columns: 1fr;
      }

      .section-head {
        align-items: start;
        flex-direction: column;
      }

      .site-footer .footer-card {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .page-shell {
        width: min(100vw - 18px, 100%);
      }

      .hero {
        padding-top: 18px;
      }

      .hero-copy,
      .hero-visual,
      .article,
      .table-card,
      .feature-card,
      .story-copy,
      .mobile-copy {
        padding: 20px;
      }

      .hero-visual {
        min-height: 420px;
        padding: 16px;
      }

      h1 {
        font-size: clamp(2.25rem, 12vw, 3.6rem);
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
        justify-content: center;
      }
    }

.floating-stat-title { display: block; font-size: 1.55rem; margin-top: 8px; }
.floating-stat-copy { margin: 10px 0 0; }
.odds-card-label { margin-bottom: 8px; }


/* archive.html scoped styles */
body.xh-archive {
      --bg: oklch(16% 0.04 252);
      --shell: oklch(12% 0.025 252);
      --surface: oklch(22% 0.03 250 / 0.92);
      --surface-2: oklch(27% 0.035 250 / 0.96);
      --fg: oklch(97% 0.01 250);
      --muted: oklch(76% 0.02 245);
      --line: oklch(38% 0.03 248 / 0.9);
      --accent: oklch(72% 0.16 240);
      --accent-2: oklch(78% 0.17 140);
      --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --wrap: min(1220px, calc(100vw - 32px));
      --font-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
      --font-body: "Segoe UI", "SF Pro Text", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body.xh-archive {
      margin: 0;
      font-family: var(--font-body);
      color: var(--fg);
      background:
        radial-gradient(circle at top, color-mix(in oklch, var(--accent) 16%, transparent) 0, transparent 34%),
        radial-gradient(circle at 88% 12%, color-mix(in oklch, var(--accent-2) 14%, transparent) 0, transparent 24%),
        linear-gradient(180deg, oklch(15% 0.035 252), oklch(10% 0.022 252) 46%, oklch(9% 0.018 252));
      min-height: 100vh;
      line-height: 1.55;
    }

    body.xh-archive a { color: inherit; text-decoration: none; }
    body.xh-archive img { display: block; max-width: 100%; }
    body.xh-archive button { font: inherit; }

    body.xh-archive .topbar {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
      background: color-mix(in oklch, var(--shell) 78%, transparent);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.xh-archive .topbar-inner,
body.xh-archive .page-shell {
      width: var(--wrap);
      margin: 0 auto;
    }

    body.xh-archive .topbar-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    body.xh-archive .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-display);
      font-size: clamp(1.24rem, 2vw, 1.8rem);
      text-transform: uppercase;
      letter-spacing: -0.02em;
    }

    body.xh-archive .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 62%, white), color-mix(in oklch, var(--accent-2) 48%, black));
      color: oklch(11% 0.02 250);
      font-weight: 800;
      box-shadow: 0 10px 30px color-mix(in oklch, var(--accent) 30%, transparent);
    }

    body.xh-archive .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    body.xh-archive .nav a {
      padding: 10px 14px;
      border-radius: 999px;
      color: var(--muted);
      letter-spacing: 0.02em;
      transition: background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-archive .nav a:hover,
body.xh-archive .nav a.is-active {
      color: var(--fg);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-2px);
    }

    body.xh-archive .page-shell {
      padding: 36px 0 72px;
      display: grid;
      gap: 28px;
    }

    body.xh-archive .hero,
body.xh-archive .featured,
body.xh-archive .archive-card,
body.xh-archive .sidebar-card,
body.xh-archive .footer-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    body.xh-archive .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
      gap: 24px;
      padding: clamp(24px, 3vw, 38px);
      overflow: hidden;
    }

    body.xh-archive .hero-copy {
      display: grid;
      gap: 18px;
      align-content: start;
    }

    body.xh-archive .eyebrow,
body.xh-archive .category {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-archive .eyebrow::before,
body.xh-archive .category::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent-2) 20%, transparent);
    }

    body.xh-archive h1,
body.xh-archive h2,
body.xh-archive h3 { margin: 0; font-family: var(--font-display); line-height: 1.05; }
    body.xh-archive h1 { font-size: clamp(3rem, 5vw, 5.4rem); letter-spacing: -0.03em; max-width: 8ch; }
    body.xh-archive h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.02em; }
    body.xh-archive h3 { font-size: 1.7rem; letter-spacing: -0.02em; }

    body.xh-archive .hero p,
body.xh-archive .lede,
body.xh-archive .archive-card p,
body.xh-archive .sidebar-card p,
body.xh-archive .footer-card p {
      margin: 0;
      color: var(--muted);
    }

    body.xh-archive .hero-art {
      position: relative;
      min-height: 380px;
      border-radius: 24px;
      overflow: hidden;
      background: var(--surface);
    }

    body.xh-archive .hero-art img,
body.xh-archive .featured img,
body.xh-archive .archive-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    body.xh-archive .hero-art::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 12, 22, 0.08), rgba(7, 12, 22, 0.78));
    }

    body.xh-archive .hero-stat {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 22px;
      z-index: 1;
      display: grid;
      gap: 12px;
    }

    body.xh-archive .hero-stat strong {
      font-size: 1.7rem;
      line-height: 1.1;
    }

    body.xh-archive .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    body.xh-archive .chip-button {
      padding: 11px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.04);
      color: var(--fg);
      cursor: pointer;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-archive .chip-button.is-selected,
body.xh-archive .chip-button:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 84%, white), color-mix(in oklch, var(--accent-2) 70%, black));
      color: oklch(10% 0.02 250);
    }

    body.xh-archive .content-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 24px;
      align-items: start;
    }

    body.xh-archive .listing {
      display: grid;
      gap: 20px;
    }

    body.xh-archive .featured {
      display: grid;
      grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
      overflow: hidden;
    }

    body.xh-archive .featured-copy,
body.xh-archive .archive-card-copy,
body.xh-archive .sidebar-card {
      padding: 24px;
      display: grid;
      gap: 14px;
      align-content: start;
    }

    body.xh-archive .featured-meta,
body.xh-archive .archive-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 14px;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.83rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    body.xh-archive .archive-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    body.xh-archive .archive-card {
      overflow: hidden;
      display: grid;
      min-height: 100%;
    }

    body.xh-archive .archive-card figure {
      margin: 0;
      aspect-ratio: 16 / 10;
      overflow: hidden;
    }

    body.xh-archive .archive-card-copy a,
body.xh-archive .featured-copy a,
body.xh-archive .footer-link {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 11px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-weight: 700;
      letter-spacing: 0.02em;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-archive .archive-card-copy a:hover,
body.xh-archive .featured-copy a:hover,
body.xh-archive .footer-link:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.09);
    }

    body.xh-archive .sidebar {
      display: grid;
      gap: 18px;
    }

    body.xh-archive .sidebar-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
    }

    body.xh-archive .sidebar-list a {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      color: var(--fg);
    }

    body.xh-archive .sidebar-list span:last-child {
      color: var(--accent-2);
      font-family: var(--font-mono);
    }

    body.xh-archive .footer-card {
      padding: 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.7fr)) minmax(220px, 0.85fr);
      gap: 18px;
    }

    body.xh-archive .footer-brand,
body.xh-archive .footer-column,
body.xh-archive .footer-cta {
      display: grid;
      gap: 14px;
      align-content: start;
    }

    body.xh-archive .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: fit-content;
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2vw, 1.7rem);
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    body.xh-archive .footer-kicker,
body.xh-archive .footer-title {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-archive .footer-kicker {
      color: var(--accent-2);
    }

    body.xh-archive .footer-title {
      color: var(--fg);
    }

    body.xh-archive .footer-note {
      max-width: 34ch;
    }

    body.xh-archive .footer-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    body.xh-archive .footer-menu a {
      color: var(--muted);
      transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-archive .footer-menu a:hover {
      color: var(--fg);
      transform: translateX(4px);
    }

    body.xh-archive .footer-cta .footer-link {
      width: 100%;
      justify-content: center;
    }

    body.xh-archive [data-reveal] {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(8px);
      transition: opacity 520ms cubic-bezier(0.23, 1, 0.32, 1), transform 520ms cubic-bezier(0.23, 1, 0.32, 1), filter 520ms cubic-bezier(0.23, 1, 0.32, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }

    body.xh-archive [data-reveal].is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    @media (prefers-reduced-motion: reduce) {

      html { scroll-behavior: auto; }
      body.xh-archive [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
    
    }

    @media (max-width: 1080px) {

      body.xh-archive .hero,
body.xh-archive .featured,
body.xh-archive .content-grid {
        grid-template-columns: 1fr;
      }

      body.xh-archive .footer-card {
        grid-template-columns: 1fr 1fr;
      }
    
    }

    @media (max-width: 820px) {

      body.xh-archive .archive-grid { grid-template-columns: 1fr; }
      body.xh-archive .nav { gap: 6px; }
    
    }

    @media (max-width: 560px) {

      body.xh-archive .topbar-inner,
body.xh-archive .page-shell { width: min(100vw - 18px, 100%); }
      body.xh-archive .hero,
body.xh-archive .featured-copy,
body.xh-archive .archive-card-copy,
body.xh-archive .sidebar-card,
body.xh-archive .footer-card { padding: 20px; }
      body.xh-archive .footer-card { grid-template-columns: 1fr; }
      body.xh-archive .hero-art { min-height: 300px; }
      body.xh-archive h1 { font-size: clamp(2.3rem, 13vw, 4rem); }
    
    }

/* single.html scoped styles */
body.xh-single {
      --bg: oklch(16% 0.04 252);
      --shell: oklch(12% 0.025 252);
      --surface: oklch(22% 0.03 250 / 0.92);
      --surface-2: oklch(27% 0.035 250 / 0.96);
      --fg: oklch(97% 0.01 250);
      --muted: oklch(76% 0.02 245);
      --line: oklch(38% 0.03 248 / 0.9);
      --accent: oklch(72% 0.16 240);
      --accent-2: oklch(78% 0.17 140);
      --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --wrap: min(1220px, calc(100vw - 32px));
      --font-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
      --font-body: "Segoe UI", "SF Pro Text", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body.xh-single {
      margin: 0;
      font-family: var(--font-body);
      color: var(--fg);
      background:
        radial-gradient(circle at top, color-mix(in oklch, var(--accent) 16%, transparent) 0, transparent 34%),
        radial-gradient(circle at 84% 12%, color-mix(in oklch, var(--accent-2) 14%, transparent) 0, transparent 24%),
        linear-gradient(180deg, oklch(15% 0.035 252), oklch(10% 0.022 252) 46%, oklch(9% 0.018 252));
      min-height: 100vh;
      line-height: 1.65;
    }

    body.xh-single a { color: inherit; text-decoration: none; }
    body.xh-single img { display: block; max-width: 100%; }

    body.xh-single .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(16px);
      background: color-mix(in oklch, var(--shell) 78%, transparent);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.xh-single .topbar-inner,
body.xh-single .page-shell {
      width: var(--wrap);
      margin: 0 auto;
    }

    body.xh-single .topbar-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    body.xh-single .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-display);
      font-size: clamp(1.24rem, 2vw, 1.8rem);
      text-transform: uppercase;
      letter-spacing: -0.02em;
    }

    body.xh-single .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 62%, white), color-mix(in oklch, var(--accent-2) 48%, black));
      color: oklch(11% 0.02 250);
      font-weight: 800;
      box-shadow: 0 10px 30px color-mix(in oklch, var(--accent) 30%, transparent);
    }

    body.xh-single .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    body.xh-single .nav a {
      padding: 10px 14px;
      border-radius: 999px;
      color: var(--muted);
      letter-spacing: 0.02em;
      transition: background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-single .nav a:hover,
body.xh-single .nav a.is-active {
      color: var(--fg);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-2px);
    }

    body.xh-single .page-shell {
      padding: 38px 0 72px;
      display: grid;
      gap: 28px;
    }

    body.xh-single .hero,
body.xh-single .article-shell,
body.xh-single .meta-card,
body.xh-single .callout,
body.xh-single .related-card,
body.xh-single .footer-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    body.xh-single .hero {
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
      min-height: 460px;
    }

    body.xh-single .hero-copy {
      padding: clamp(24px, 3vw, 40px);
      display: grid;
      gap: 18px;
      align-content: end;
    }

    body.xh-single .eyebrow {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--accent-2);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-single .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent-2) 20%, transparent);
    }

    body.xh-single h1,
body.xh-single h2,
body.xh-single h3 {
      margin: 0;
      font-family: var(--font-display);
      line-height: 1.04;
    }

    body.xh-single h1 {
      font-size: clamp(3rem, 5vw, 5.2rem);
      letter-spacing: -0.03em;
      max-width: 10ch;
    }

    body.xh-single h2 {
      font-size: clamp(2rem, 2.8vw, 3rem);
      letter-spacing: -0.02em;
    }

    body.xh-single h3 {
      font-size: 1.7rem;
      letter-spacing: -0.02em;
    }

    body.xh-single .hero-copy p,
body.xh-single .article-shell p,
body.xh-single .article-shell li,
body.xh-single .meta-card p,
body.xh-single .callout p,
body.xh-single .related-card p,
body.xh-single .footer-card p {
      margin: 0;
      color: var(--muted);
    }

    body.xh-single .hero-media {
      position: relative;
      min-height: 100%;
    }

    body.xh-single .hero-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    body.xh-single .hero-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 12, 22, 0.12), rgba(7, 12, 22, 0.76));
    }

    body.xh-single .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.82rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    body.xh-single .article-shell {
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      gap: 24px;
      padding: 24px;
      align-items: start;
    }

    body.xh-single .meta-column {
      position: sticky;
      top: 98px;
      display: grid;
      gap: 18px;
    }

    body.xh-single .meta-card,
body.xh-single .callout {
      padding: 20px;
      display: grid;
      gap: 14px;
      align-content: start;
    }

    body.xh-single .toc {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }

    body.xh-single .toc a {
      display: block;
      padding: 11px 14px;
      border-radius: 14px;
      color: var(--muted);
      border: 1px solid transparent;
      transition: background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-single .toc a.is-active,
body.xh-single .toc a:hover {
      color: var(--fg);
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.08);
    }

    body.xh-single .article-body {
      display: grid;
      gap: 18px;
    }

    body.xh-single .article-section {
      padding: 20px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: grid;
      gap: 14px;
    }

    body.xh-single .article-section:last-child { border-bottom: 0; }

    body.xh-single .article-section ul {
      margin: 0;
      padding-left: 20px;
      display: grid;
      gap: 10px;
    }

    body.xh-single .pullquote {
      padding: 24px;
      border-radius: var(--radius-lg);
      background: color-mix(in oklch, var(--surface-2) 92%, transparent);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 2vw, 2rem);
      line-height: 1.12;
      letter-spacing: -0.02em;
    }

    body.xh-single .data-table {
      overflow: auto;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.xh-single table {
      width: 100%;
      border-collapse: collapse;
      min-width: 560px;
      background: rgba(8, 12, 22, 0.6);
    }

    body.xh-single th,
body.xh-single td {
      padding: 14px 16px;
      text-align: left;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      vertical-align: top;
    }

    body.xh-single th {
      color: var(--muted);
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    body.xh-single .related {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    body.xh-single .related-card {
      overflow: hidden;
      display: grid;
    }

    body.xh-single .related-card figure {
      margin: 0;
      aspect-ratio: 16 / 10;
      overflow: hidden;
    }

    body.xh-single .related-copy {
      padding: 20px;
      display: grid;
      gap: 12px;
      align-content: start;
    }

    body.xh-single .tag {
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--accent-2);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    body.xh-single .footer-card {
      padding: 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.7fr)) minmax(220px, 0.85fr);
      gap: 18px;
    }

    body.xh-single .footer-brand,
body.xh-single .footer-column,
body.xh-single .footer-actions {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    body.xh-single .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: fit-content;
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2vw, 1.7rem);
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    body.xh-single .footer-kicker,
body.xh-single .footer-title {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-single .footer-kicker {
      color: var(--accent-2);
    }

    body.xh-single .footer-title {
      color: var(--fg);
    }

    body.xh-single .footer-note {
      max-width: 34ch;
    }

    body.xh-single .footer-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    body.xh-single .footer-menu a {
      color: var(--muted);
      transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-single .footer-menu a:hover {
      color: var(--fg);
      transform: translateX(4px);
    }

    body.xh-single .footer-actions a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      justify-content: center;
      padding: 12px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.05);
      font-weight: 700;
      letter-spacing: 0.02em;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-single .footer-actions a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }

    body.xh-single [data-reveal] {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(8px);
      transition: opacity 520ms cubic-bezier(0.23, 1, 0.32, 1), transform 520ms cubic-bezier(0.23, 1, 0.32, 1), filter 520ms cubic-bezier(0.23, 1, 0.32, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }

    body.xh-single [data-reveal].is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    @media (prefers-reduced-motion: reduce) {

      html { scroll-behavior: auto; }
      body.xh-single [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
    
    }

    @media (max-width: 1080px) {

      body.xh-single .hero,
body.xh-single .article-shell {
        grid-template-columns: 1fr;
      }

      body.xh-single .meta-column {
        position: static;
      }

      body.xh-single .related {
        grid-template-columns: 1fr;
      }

      body.xh-single .footer-card {
        grid-template-columns: 1fr 1fr;
      }
    
    }

    @media (max-width: 560px) {

      body.xh-single .topbar-inner,
body.xh-single .page-shell { width: min(100vw - 18px, 100%); }
      body.xh-single .hero-copy,
body.xh-single .article-shell,
body.xh-single .meta-card,
body.xh-single .callout,
body.xh-single .footer-card { padding: 20px; }
      body.xh-single .footer-card { grid-template-columns: 1fr; }
      body.xh-single h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
    
    }

/* 404.html scoped styles */
body.xh-404 {
      --bg: oklch(16% 0.04 252);
      --shell: oklch(12% 0.025 252);
      --surface: oklch(22% 0.03 250 / 0.92);
      --surface-2: oklch(27% 0.035 250 / 0.96);
      --fg: oklch(97% 0.01 250);
      --muted: oklch(76% 0.02 245);
      --line: oklch(38% 0.03 248 / 0.9);
      --accent: oklch(72% 0.16 240);
      --accent-2: oklch(78% 0.17 140);
      --danger: oklch(70% 0.18 20);
      --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
      --radius-xl: 28px;
      --radius-lg: 22px;
      --radius-md: 16px;
      --wrap: min(1180px, calc(100vw - 32px));
      --font-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
      --font-body: "Segoe UI", "SF Pro Text", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
    }

    * { box-sizing: border-box; }
    html,
body.xh-404 { min-height: 100%; }
    body.xh-404 {
      margin: 0;
      font-family: var(--font-body);
      color: var(--fg);
      background:
        radial-gradient(circle at top, color-mix(in oklch, var(--accent) 16%, transparent) 0, transparent 34%),
        radial-gradient(circle at 82% 16%, color-mix(in oklch, var(--danger) 12%, transparent) 0, transparent 24%),
        linear-gradient(180deg, oklch(15% 0.035 252), oklch(10% 0.022 252) 46%, oklch(9% 0.018 252));
      line-height: 1.55;
      overflow-x: hidden;
    }

    body.xh-404 a { color: inherit; text-decoration: none; }
    body.xh-404 img { display: block; max-width: 100%; }
    body.xh-404 button,
body.xh-404 input { font: inherit; }

    body.xh-404 .topbar {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
      background: color-mix(in oklch, var(--shell) 78%, transparent);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.xh-404 .topbar-inner,
body.xh-404 .page-shell {
      width: var(--wrap);
      margin: 0 auto;
    }

    body.xh-404 .topbar-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    body.xh-404 .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-display);
      font-size: clamp(1.24rem, 2vw, 1.8rem);
      text-transform: uppercase;
      letter-spacing: -0.02em;
    }

    body.xh-404 .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 62%, white), color-mix(in oklch, var(--accent-2) 48%, black));
      color: oklch(11% 0.02 250);
      font-weight: 800;
      box-shadow: 0 10px 30px color-mix(in oklch, var(--accent) 30%, transparent);
    }

    body.xh-404 .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    body.xh-404 .nav a {
      padding: 10px 14px;
      border-radius: 999px;
      color: var(--muted);
      letter-spacing: 0.02em;
      transition: background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-404 .nav a:hover,
body.xh-404 .nav a.is-active {
      color: var(--fg);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-2px);
    }

    body.xh-404 .page-shell {
      padding: 38px 0 72px;
      display: grid;
      gap: 24px;
    }

    body.xh-404 .hero,
body.xh-404 .route-card,
body.xh-404 .search-card,
body.xh-404 .footer-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
    }

    body.xh-404 .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
      gap: 24px;
      overflow: hidden;
      min-height: 520px;
    }

    body.xh-404 .hero-copy {
      padding: clamp(24px, 3vw, 40px);
      display: grid;
      gap: 18px;
      align-content: center;
    }

    body.xh-404 .eyebrow {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--danger);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-404 .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 6px color-mix(in oklch, var(--danger) 20%, transparent);
    }

    body.xh-404 h1,
body.xh-404 h2,
body.xh-404 h3 { margin: 0; font-family: var(--font-display); line-height: 1.04; }
    body.xh-404 h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.03em; max-width: 9ch; }
    body.xh-404 h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.02em; }
    body.xh-404 h3 { font-size: 1.5rem; letter-spacing: -0.02em; }

    body.xh-404 p { margin: 0; color: var(--muted); }

    body.xh-404 .hero-actions,
body.xh-404 .chip-row,
body.xh-404 .footer-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    body.xh-404 .hero-actions a,
body.xh-404 .footer-actions a,
body.xh-404 .route-card a,
body.xh-404 .search-button,
body.xh-404 .chip-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.05);
      color: var(--fg);
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      cursor: pointer;
      transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-404 .hero-actions a:first-child,
body.xh-404 .search-button {
      background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 84%, white), color-mix(in oklch, var(--accent-2) 70%, black));
      color: oklch(10% 0.02 250);
    }

    body.xh-404 .hero-actions a:hover,
body.xh-404 .footer-actions a:hover,
body.xh-404 .route-card a:hover,
body.xh-404 .search-button:hover,
body.xh-404 .chip-button:hover,
body.xh-404 .chip-button.is-selected {
      transform: translateY(-2px);
    }

    body.xh-404 .chip-button.is-selected {
      background: rgba(255, 255, 255, 0.12);
      color: var(--fg);
    }

    body.xh-404 .hero-visual {
      position: relative;
      min-height: 100%;
    }

    body.xh-404 .hero-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    body.xh-404 .hero-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 12, 22, 0.1), rgba(7, 12, 22, 0.82));
    }

    body.xh-404 .error-code {
      position: absolute;
      right: 26px;
      bottom: 20px;
      z-index: 1;
      font-family: var(--font-display);
      font-size: clamp(4rem, 12vw, 8rem);
      line-height: 0.9;
      letter-spacing: -0.04em;
      color: rgba(255, 255, 255, 0.86);
    }

    body.xh-404 .search-card {
      padding: 24px;
      display: grid;
      gap: 16px;
    }

    body.xh-404 .search-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
    }

    body.xh-404 .search-row input {
      min-height: 56px;
      padding: 0 18px;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(8, 12, 22, 0.72);
      color: var(--fg);
    }

    body.xh-404 .search-row input:focus {
      outline: 2px solid color-mix(in oklch, var(--accent) 68%, white);
      outline-offset: 2px;
    }

    body.xh-404 .routes {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    body.xh-404 .route-card {
      padding: 22px;
      display: grid;
      gap: 14px;
      align-content: start;
      min-height: 100%;
    }

    body.xh-404 .route-card span {
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--accent-2);
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
    }

    body.xh-404 .footer-card {
      padding: 24px;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.7fr)) minmax(220px, 0.85fr);
      gap: 18px;
    }

    body.xh-404 .footer-brand,
body.xh-404 .footer-column,
body.xh-404 .footer-actions {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    body.xh-404 .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      width: fit-content;
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2vw, 1.7rem);
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    body.xh-404 .footer-kicker,
body.xh-404 .footer-title {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.76rem;
      font-weight: 700;
    }

    body.xh-404 .footer-kicker {
      color: var(--danger);
    }

    body.xh-404 .footer-title {
      color: var(--fg);
    }

    body.xh-404 .footer-note {
      max-width: 34ch;
    }

    body.xh-404 .footer-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    body.xh-404 .footer-menu a {
      color: var(--muted);
      transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    body.xh-404 .footer-menu a:hover {
      color: var(--fg);
      transform: translateX(4px);
    }

    body.xh-404 .footer-actions a {
      width: 100%;
      justify-content: center;
    }

    body.xh-404 [data-reveal] {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      filter: blur(8px);
      transition: opacity 520ms cubic-bezier(0.23, 1, 0.32, 1), transform 520ms cubic-bezier(0.23, 1, 0.32, 1), filter 520ms cubic-bezier(0.23, 1, 0.32, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }

    body.xh-404 [data-reveal].is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    @media (prefers-reduced-motion: reduce) {

      body.xh-404 [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
    
    }

    @media (max-width: 1080px) {

      body.xh-404 .hero,
body.xh-404 .routes { grid-template-columns: 1fr; }

      body.xh-404 .footer-card { grid-template-columns: 1fr 1fr; }
    
    }

    @media (max-width: 640px) {

      body.xh-404 .topbar-inner,
body.xh-404 .page-shell { width: min(100vw - 18px, 100%); }
      body.xh-404 .hero-copy,
body.xh-404 .search-card,
body.xh-404 .route-card,
body.xh-404 .footer-card { padding: 20px; }
      body.xh-404 .footer-card { grid-template-columns: 1fr; }
      body.xh-404 .search-row { grid-template-columns: 1fr; }
      body.xh-404 h1 { font-size: clamp(2.6rem, 14vw, 4.6rem); }
    
    }

/* WordPress dynamic content */
body.xh-archive .navigation.pagination,
body.xh-single .page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

body.xh-archive .navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.xh-archive .navigation.pagination a,
body.xh-archive .navigation.pagination span,
body.xh-single .page-links a,
body.xh-single .page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  font-weight: 700;
}

body.xh-archive .navigation.pagination .current,
body.xh-single .page-links .post-page-numbers.current {
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 84%, white), color-mix(in oklch, var(--accent-2) 70%, black));
  color: oklch(10% 0.02 250);
}

body.xh-single .entry-content {
  display: grid;
  gap: 22px;
}

body.xh-single .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

body.xh-single .entry-content h2,
body.xh-single .entry-content h3,
body.xh-single .entry-content h4 {
  color: var(--fg);
  margin-top: 10px;
}

body.xh-single .entry-content ul,
body.xh-single .entry-content ol {
  display: grid;
  gap: 10px;
  color: var(--muted);
  padding-left: 1.25rem;
}

body.xh-single .entry-content a {
  color: var(--accent-2);
  font-weight: 700;
}

body.xh-single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

body.xh-single .entry-content th,
body.xh-single .entry-content td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: var(--muted);
}

body.xh-single .entry-content th {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

body.xh-single .entry-content img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

body.xh-single .entry-content blockquote {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--accent-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

/* Home live table */
.live-table-section {
  display: grid;
  gap: 22px;
}

.live-game-table {
  box-shadow: var(--shadow);
}

.live-game-table table {
  min-width: 680px;
}

.live-game-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-2);
}

.live-game-table td:first-child {
  color: var(--fg);
  font-weight: 800;
}

.live-game-table tbody tr {
  transition: background 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.live-game-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.07);
}

.live-game-table tbody tr:hover td:first-child {
  color: var(--accent);
}

.table-followup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.table-followup p {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
  color: var(--muted);
}

@media (max-width: 820px) {
  .table-followup {
    grid-template-columns: 1fr;
  }

  .live-game-table {
    margin-inline: -4px;
    border-radius: var(--radius-md);
  }
}
