:root {
      --bg:      #ffffff;
      --surface: #f7f7f8;
      --fg:      #1a1a1a;
      --muted:   #6b6b6b;
      --border:  #e5e5e5;
      --accent:  #1890ff;

      --accent-soft: color-mix(in oklch, var(--accent) 10%, transparent);
      --fg-soft:     color-mix(in oklch, var(--fg) 4%, transparent);
      --surface-alt: #f0f0f2;
      --surface-elevated: #ffffff;

      --font-display: 'Open Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
      --font-body:    'Open Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
      --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

      --fs-h1: clamp(36px, 5vw, 56px);
      --fs-h2: clamp(28px, 3.5vw, 42px);
      --fs-h3: 20px;
      --fs-lead: 18px;
      --fs-body: 16px;
      --fs-meta: 13px;

      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 24px;
      --gap-lg: 40px;
      --gap-xl: 72px;
      --gap-2xl: 128px;
      --container: 1280px;
      --gutter: 48px;

      --radius: 8px;
      --radius-lg: 16px;
      --radius-xl: 24px;
    }

body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.6;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

.section {
      padding-block: clamp(72px, 10vw, var(--gap-2xl));
    }

.section-alt { background: var(--surface-alt); }

.section + .section { border-top: 1px solid var(--border); }

.reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

.reveal-item {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

.reveal-item.visible { opacity: 1; transform: translateY(0); }

.eyebrow {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--gap-sm);
    }

.section-header { margin-bottom: var(--gap-xl); }

.section-header h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-bottom: var(--gap-sm);
    }

.section-header .lead {
      font-size: var(--fs-lead);
      color: var(--muted);
      max-width: 640px;
      line-height: 1.7;
    }

/* ---- Topnav ---- */
    .topnav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      height: 64px;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: background 0.3s, border-color 0.3s;
    }

.topnav nav a {
      font-size: 16px; font-weight: 500;
      color: rgba(255,255,255,0.65);
      transition: color 0.25s;
      position: relative;
      letter-spacing: 0.01em;
    }

.topnav nav a.active { color: #ffffff; }

.topnav nav a.active::after { transform: scaleX(1); }

.topnav.scrolled nav a.active { color: #1a1a1a; }

.topnav .nav-cta {
      font-size: 15px; font-weight: 600;
      color: #ffffff;
      padding: 10px 28px;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: var(--radius);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 0.02em;
    }

.topnav .nav-cta:active { transform: scale(0.96); transition-duration: 0.1s; }

/* ---- Page Hero ---- */
    .page-hero {
      position: relative;
      padding-top: 160px;
      padding-bottom: 80px;
      background: #000000;
      color: #ffffff;
      overflow: hidden;
    }

.page-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24,144,255,0.06) 0%, transparent 70%);
      pointer-events: none;
    }

.page-hero h1 {
      font-size: var(--fs-h1);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
      color: #ffffff;
    }

.page-hero .lead {
      font-size: var(--fs-lead);
      color: rgba(255,255,255,0.7);
      max-width: 640px;
      margin-top: var(--gap-md);
      line-height: 1.7;
    }

.page-hero .eyebrow { color: var(--accent); }

/* ---- News Featured ---- */
    .news-featured {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: var(--gap-md);
      margin-bottom: var(--gap-xl);
    }

.news-featured-card {
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color 0.3s, box-shadow 0.3s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

.news-featured-card:hover { border-color: rgba(0,0,0,0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.news-featured-img {
      aspect-ratio: 16 / 9;
      background: var(--surface);
      overflow: hidden;
    }

.news-featured-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

.news-featured-img a { display: block; height: 100%; }

.news-featured-card:hover .news-featured-img img { transform: scale(1.03); }

.news-featured-body { padding: var(--gap-lg); }

.news-featured-body h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }

.news-featured-body h3 a:hover { color: var(--accent); }

.news-date {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 8px;
    }

.news-featured-body h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: var(--gap-sm);
      line-height: 1.3;
    }

.news-featured-body p {
      font-size: var(--fs-body);
      color: var(--muted);
      line-height: 1.7;
    }

.news-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      padding: 4px 10px;
      border: 1px solid var(--accent-soft);
      border-radius: 100px;
      margin-bottom: var(--gap-sm);
      font-family: var(--font-mono);
      letter-spacing: 0.04em;
    }

/* ---- News List ---- */
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

.news-item {
      background: var(--surface);
      padding: var(--gap-lg);
      display: grid;
      grid-template-columns: 160px auto 1fr auto;
      gap: var(--gap-md);
      align-items: start;
      transition: background 0.2s, box-shadow 0.3s;
    }

.news-item:hover { background: var(--surface-elevated); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.news-item-thumb {
      width: 160px;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      border-radius: var(--radius);
      background: var(--surface-alt);
      display: block;
      align-self: center;
    }

.news-item-date {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--muted);
      white-space: nowrap;
      padding-top: 2px;
    }

.news-item h3 {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 6px;
      line-height: 1.4;
    }

.news-item p {
      font-size: var(--fs-body);
      color: var(--muted);
      line-height: 1.6;
    }

.news-item-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--muted);
      padding: 4px 10px;
      border: 1px solid var(--border);
      border-radius: 100px;
      white-space: nowrap;
      font-family: var(--font-mono);
    }

/* ---- CTA ---- */
    .cta-section {
      padding-block: var(--gap-2xl);
      background: var(--surface-alt);
      text-align: center;
    }

.cta-section h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      margin-bottom: var(--gap-md);
    }

.cta-section .lead {
      font-size: var(--fs-lead);
      color: var(--muted);
      max-width: 560px;
      margin-inline: auto;
      margin-bottom: var(--gap-lg);
    }

.cta-buttons {
      display: flex;
      gap: var(--gap-md);
      justify-content: center;
      flex-wrap: wrap;
    }

.btn {
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

.btn-primary {
      background: var(--fg);
      color: var(--bg);
      border: 1px solid var(--fg);
    }

.btn-primary:hover { background: transparent; color: var(--fg); }

.btn-primary:active { transform: scale(0.97); transition-duration: 0.1s; background: rgba(0,0,0,0.85); }

.btn-secondary {
      background: transparent;
      color: var(--fg);
      border: 1px solid rgba(0,0,0,0.15);
    }

.btn-secondary:hover { border-color: rgba(0,0,0,0.4); background: rgba(0,0,0,0.04); }

.btn-secondary:active { transform: scale(0.97); transition-duration: 0.1s; background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.3); }

/* ---- Footer ---- */
    .pagefoot {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding-block: var(--gap-xl);
    }

.footer-inner {
      display: grid;
      grid-template-columns: 1.5fr auto auto auto;
      gap: var(--gap-xl);
      align-items: start;
    }

.footer-brand {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--fg);
      margin-bottom: 10px;
    }

.footer-col h4 {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(0,0,0,0.45);
      margin-bottom: 16px;
    }

.footer-bottom {
      margin-top: var(--gap-xl);
      padding-top: var(--gap-lg);
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: rgba(0,0,0,0.4);
    }

.footer-desc {
      max-width: 32ch;
      font-size: 13px;
      color: var(--muted);
    }

/* ---- Focus visible ---- */
    :focus { outline: none; }

:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 4px;
    }

.btn:focus-visible { outline-offset: 4px; }

.topnav nav a:focus-visible { outline-offset: 6px; }

/* ---- Nav dropdowns ---- */
    .nav-dropdown {
      position: relative;
    }

.nav-dropdown > a {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

.nav-dropdown > a::before {
      content: '';
      display: none;
    }

.nav-dropdown .dropdown-arrow {
      width: 8px;
      height: 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform 0.25s;
      flex-shrink: 0;
      opacity: 0.6;
    }

.dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      min-width: 180px;
      background: rgba(10,10,10,0.95);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius);
      padding: 8px 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s, background 0.3s, border-color 0.3s;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
      z-index: 120;
    }

.topnav.scrolled .dropdown-menu {
      background: rgba(255,255,255,0.98);
      border-color: var(--border);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

.nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

.nav-dropdown:hover .dropdown-arrow {
      transform: rotate(-135deg) translateY(-2px);
    }

.dropdown-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }

.dropdown-menu a:hover {
      background: rgba(255,255,255,0.08);
      color: #ffffff;
    }

.topnav.scrolled .dropdown-menu a:hover {
      background: var(--surface);
      color: var(--fg);
    }

.dropdown-menu a::after {
      display: none !important;
    }

/* ---- Mobile Nav ---- */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px; height: 40px;
      padding: 8px;
      border-radius: var(--radius);
      cursor: pointer;
      z-index: 110;
    }

.nav-toggle span {
      display: block;
      width: 100%; height: 2px;
      background: #ffffff;
      border-radius: 1px;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, background 0.3s;
      transform-origin: center;
    }

.topnav.scrolled .nav-toggle span { background: var(--fg); }

.mobile-nav { display: none; }

/* ---- Responsive ---- */
    @media (max-width: 1024px) { :root { --gutter: 32px; } }

@media (max-width: 920px) {
      .nav-toggle { display: flex; }
      .topnav nav { display: none; }
      .topnav > .container > .nav-cta { display: none; }
      .nav-toggle.active span { background: #ffffff !important; }
      .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--border);
        padding: 16px var(--gutter) 24px;
        gap: 8px;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
      .mobile-nav nav { display: flex; flex-direction: column; gap: 0; }
      .mobile-nav nav a {
        font-size: 16px; font-weight: 500;
        color: rgba(0, 0, 0, 0.75);
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        transition: color 0.2s;
      }
      .mobile-nav nav a:last-child { border-bottom: none; }
      .mobile-nav nav a:hover { color: #1a1a1a; }
      .mobile-nav nav a.active { color: #1a1a1a; }
      .mobile-nav .nav-cta {
        margin-top: 12px; text-align: center;
        font-size: 15px; font-weight: 600;
        color: #1a1a1a;
        padding: 12px 28px;
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: var(--radius);
        transition: all 0.25s;
      }
      .mobile-nav .nav-cta:hover {
        background: #1a1a1a; color: #ffffff; border-color: #1a1a1a;
      }

      .news-featured { grid-template-columns: 1fr; }
      .news-item { grid-template-columns: 1fr; }
      .news-item-thumb { width: 100%; aspect-ratio: 16 / 9; }
      .news-item-tag { justify-self: start; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
      .footer-bottom { flex-direction: column; gap: var(--gap-sm); text-align: center; }
      :root { --gutter: 24px; }

      .dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        pointer-events: auto;
        transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .nav-dropdown.open .dropdown-menu,
        .nav-dropdown:hover .dropdown-menu,
        .nav-dropdown:focus-within .dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
        transform: none;
      }
      .dropdown-menu a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border);
      }
      .dropdown-menu a:last-child {
        border-bottom: none;
      }
    }

@media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; }
      .page-hero { padding-top: 120px; padding-bottom: 56px; }
      .cta-buttons { flex-direction: column; align-items: center; }
      .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
    }

@media (prefers-reduced-motion: reduce) {
      .reveal, .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
      .news-featured-img img { transition: none !important; }
    }
