/* THE SPEKTX DISPLAY PAGE (display.html). The stylesheet of the page Kevin supplied on 2026-10-08
   (Downloads/spektx_website.html), word for word, moved out of the page; additions are marked at the foot. */
  :root {
    --dark:   #0D0F1A;
    --navy:   #0F1E3C;
    --accent: #0F3460;
    --gold:   #E94560;
    --light:  #E8ECF4;
    --white:  #FFFFFF;
    --text:   #C8D0E0;
    --muted:  #8A96B0;
    --track1: #1565C0;
    --track2: #4A148C;
    --track3: #1A237E;
    --track4: #1B5E20;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── NOISE TEXTURE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 15, 26, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(233, 69, 96, 0.15);
  }

  nav img.nav-logo {
    height: 36px;
    width: auto;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
  }

  nav ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  nav ul a:hover { color: var(--white); }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 20px;
    border-radius: 2px;
    transition: all 0.2s !important;
  }

  .nav-cta:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 52, 96, 0.4) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 80% 60%, rgba(74, 20, 140, 0.15) 0%, transparent 60%),
      radial-gradient(ellipse 30% 30% at 20% 70%, rgba(26, 35, 126, 0.15) 0%, transparent 60%);
  }

  .hero-spectrum {
    position: absolute;
    bottom: 0; right: -100px;
    width: 600px;
    height: 600px;
    background: conic-gradient(from 200deg at 30% 70%,
      transparent 0deg,
      rgba(255,0,0,0.06) 20deg,
      rgba(255,165,0,0.05) 35deg,
      rgba(255,255,0,0.04) 50deg,
      rgba(0,255,0,0.04) 65deg,
      rgba(0,0,255,0.04) 80deg,
      rgba(148,0,211,0.05) 95deg,
      transparent 120deg
    );
    filter: blur(40px);
    pointer-events: none;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 48px;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  .hero-logo {
    width: min(520px, 80vw);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease both;
  }

  .hero-tagline {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease 0.2s both;
  }

  .hero-desc {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 56px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease 0.4s both;
  }

  .hero-ctas {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-primary {
    background: var(--gold);
    color: white;
    padding: 14px 36px;
    border: none;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-primary:hover { background: #c73650; transform: translateY(-2px); }

  .btn-secondary {
    background: transparent;
    color: var(--light);
    padding: 14px 36px;
    border: 1px solid rgba(200, 208, 224, 0.25);
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-secondary:hover { border-color: var(--light); transform: translateY(-2px); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── SECTION BASE ── */
  section {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: 0.04em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 24px;
  }

  .section-body {
    font-size: 16px;
    line-height: 1.8;
    color: #C8D4E8;
    max-width: 640px;
  }

  /* ── DIVIDER ── */
  .divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233,69,96,0.4), transparent);
    margin: 0 60px;
  }

  /* ── TRACKS ── */
  #tracks {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 64px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .track-card {
    padding: 48px;
    background: var(--dark);
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    cursor: default;
  }

  .track-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    transition: height 0.4s ease;
  }

  .track-card:hover::before { height: 100%; }
  .track-card:hover { background: rgba(255,255,255,0.02); }

  .track-card[data-track="1"]::before { background: var(--track1); }
  .track-card[data-track="2"]::before { background: var(--track2); }
  .track-card[data-track="3"]::before { background: var(--track3); }
  .track-card[data-track="4"]::before { background: var(--track4); }

  .track-number {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 16px;
  }

  .track-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1;
  }

  .track-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #9BA8C0;
    margin-bottom: 24px;
  }

  .track-tag {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 1px;
    border: 1px solid;
  }

  .track-card[data-track="1"] .track-tag { color: #5B8FE0; border-color: rgba(91,143,224,0.3); }
  .track-card[data-track="2"] .track-tag { color: #CE93D8; border-color: rgba(206,147,216,0.3); }
  .track-card[data-track="3"] .track-tag { color: #90CAF9; border-color: rgba(144,202,249,0.3); }
  .track-card[data-track="4"] .track-tag { color: #A5D6A7; border-color: rgba(165,214,167,0.3); }

  /* ── STATS ── */
  .stats-bar {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
  }

  .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 0.04em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
  }

  .stat-number span { color: var(--gold); }

  .stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ── WHY SPEKTX ── */
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
  }

  .pillar {
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    transition: border-color 0.3s, transform 0.3s;
  }

  .pillar:hover {
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-4px);
  }

  .pillar-icon {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .pillar-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 12px;
  }

  .pillar-text {
    font-size: 14px;
    line-height: 1.7;
    color: #9BA8C0;
  }

  /* ── CONTACT ── */
  #contact {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-box {
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(233, 69, 96, 0.03);
  }

  .contact-box::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--gold);
  }

  .contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 20px;
  }

  .contact-sub {
    font-size: 16px;
    color: #9BA8C0;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .contact-email {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-decoration: none;
    display: block;
    margin-top: 32px;
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    height: 28px;
    opacity: 0.6;
  }

  .footer-text {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
  }

  .footer-legal {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    opacity: 0.6;
    letter-spacing: 0.08em;
    text-align: right;
  }

  /* ── SCROLL ANIMATIONS ── */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    nav { padding: 16px 24px; }
    nav ul { display: none; }
    section, #tracks, #contact { padding: 60px 24px; }
    .tracks-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
    .pillars { grid-template-columns: 1fr; }
    .contact-box { padding: 48px 24px; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
    .divider { margin: 0 24px; }
  }


/* ── ADDED FOR THE REWORKED PAGE (2026-10-08). Everything above is the supplied page's own stylesheet, unchanged. ── */
nav > a { display: flex; align-items: center; }
.hero-logo-wide { width: min(760px, 88vw); height: auto; max-height: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%); }   /* the beam fades out where the supplied image ends */
/* the logo is supplied on black: on this dark page "screen" lets the black fall away and keeps the light */
.nav-logo, .hero-logo, .footer-logo { mix-blend-mode: screen; }
/* the primary button read white on #E94560 (3.9:1); this keeps the colour family and clears 4.5:1 (axe, 2026-10-08) */
.btn-primary { background: #c73650; color: #fff; }
.btn-primary:hover { background: #a82c42; }
/* the legal line was the muted grey at 60% opacity on #0d0f1a (3.0:1); the same hue at full strength clears 4.5:1 */
.footer-legal { color: #a3abc0; opacity: 1; }
.table-wrap { overflow-x: auto; margin-top: 34px; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
.table-wrap:focus-visible { outline: 2px solid #5B8FE0; outline-offset: 2px; }
table.standings { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.standings th, table.standings td { text-align: left; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: top; line-height: 1.6; }
table.standings thead th { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.standings tbody th { color: var(--white); font-weight: 600; min-width: 200px; }
table.standings td { color: var(--text); }
table.standings tbody tr:last-child th, table.standings tbody tr:last-child td { border-bottom: 0; }
.standing { display: inline-block; white-space: nowrap; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid; border-radius: 3px; }
.st-complete { color: #A5D6A7; border-color: rgba(165,214,167,0.45); }
.st-mostly { color: #FFD180; border-color: rgba(255,209,128,0.45); }
.st-build { color: #90CAF9; border-color: rgba(144,202,249,0.45); }
.back-home { color: var(--muted); }
