/* Tandem Theme — Main Stylesheet */

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

    :root {
      --navy: #0a1628;
      --navy-mid: #0f1f3d;
      --navy-light: #162848;
      --orange: #f5a623;
      --orange-dim: #c27d0e;
      --white: #ffffff;
      --off-white: #e8edf5;
      --muted: #7a8ba8;
      --border: rgba(255,255,255,0.07);
    }

    html { scroll-behavior: smooth; }

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

    /* ── NOISE 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: 0;
      opacity: 0.4;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 48px;
      background: linear-gradient(to bottom, rgba(10,22,40,0.95) 0%, transparent 100%);
      backdrop-filter: blur(0px);
      transition: backdrop-filter 0.3s, background 0.3s;
    }

    nav.scrolled {
      background: rgba(10,22,40,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .nav-logo svg { width: 32px; height: 20px; }

    .nav-logo-text {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: 20px;
      letter-spacing: 0.08em;
      color: var(--white);
    }

    .nav-cta {
      background: var(--orange);
      color: var(--navy);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 10px 24px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }

    .nav-cta:hover { background: #ffbc42; transform: translateY(-1px); }

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

    /* Radial glow */
    .hero::after {
      content: '';
      position: absolute;
      top: -10%;
      right: -5%;
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 65%);
      pointer-events: none;
    }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 32px;
      opacity: 0;
      animation: fadeUp 0.8s 0.1s forwards;
    }

    .hero-eyebrow-line {
      width: 40px;
      height: 2px;
      background: var(--orange);
    }

    .hero-eyebrow span {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--orange);
    }

    .hero-headline {
      font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
      font-weight: 400;
      font-size: clamp(72px, 10vw, 130px);
      line-height: 0.92;
      letter-spacing: 0.03em;
      max-width: 980px;
      opacity: 0;
      animation: fadeUp 0.9s 0.25s forwards;
      text-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06);
    }

    .hero-headline em {
      font-style: normal;
      color: var(--orange);
      text-shadow: 0 0 60px rgba(245,166,35,0.35), 0 4px 32px rgba(0,0,0,0.4);
    }

    .hero-sub {
      margin-top: 32px;
      font-size: clamp(16px, 1.8vw, 20px);
      font-weight: 300;
      color: var(--off-white);
      max-width: 560px;
      line-height: 1.6;
      opacity: 0;
      animation: fadeUp 0.9s 0.4s forwards;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 24px;
      margin-top: 48px;
      opacity: 0;
      animation: fadeUp 0.9s 0.55s forwards;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--orange);
      color: var(--navy);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 16px 36px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      display: inline-block;
    }

    .btn-primary:hover {
      background: #ffbc42;
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(245,166,35,0.25);
    }

    .btn-ghost {
      color: var(--off-white);
      font-size: 14px;
      font-weight: 400;
      text-decoration: none;
      border-bottom: 1px solid var(--muted);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
    }

    .btn-ghost:hover { color: var(--white); border-color: var(--white); }

    /* Bike illustration (SVG inline) */
    .hero-bike {
      position: absolute;
      right: 6%;
      bottom: 10%;
      width: min(420px, 38vw);
      opacity: 0;
      animation: fadeIn 1.2s 0.8s forwards;
    }

    /* ── MARQUEE ── */
    .marquee-wrap {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      background: var(--navy-mid);
      padding: 18px 0;
      position: relative;
      z-index: 2;
    }

    .marquee-track {
      display: flex;
      gap: 64px;
      width: max-content;
      animation: marquee 28s linear infinite;
    }

    .marquee-item {
      display: flex;
      align-items: center;
      gap: 16px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      white-space: nowrap;
    }

    .marquee-dot { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }

    @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

    /* ── SECTIONS ── */
    section { position: relative; z-index: 1; }

    .section-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 100px 48px;
    }

    .section-label {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .section-label span {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--orange);
    }

    .section-label-line { width: 32px; height: 1px; background: var(--orange); }

    .section-title {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: clamp(32px, 4.5vw, 58px);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    /* ── PROBLEM SECTION ── */
    .problem { background: var(--navy-mid); }

    .problem-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px 80px;
      margin-top: 64px;
      align-items: start;
    }

    .problem-text p {
      font-size: 18px;
      line-height: 1.75;
      color: var(--off-white);
      margin-bottom: 20px;
    }

    .problem-text p strong { color: var(--white); font-weight: 500; }

    .problem-stats {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .stat-card {
      border: 1px solid var(--border);
      padding: 28px 32px;
      position: relative;
      background: rgba(255,255,255,0.02);
      transition: border-color 0.3s, background 0.3s;
    }

    .stat-card:hover {
      border-color: rgba(245,166,35,0.3);
      background: rgba(245,166,35,0.03);
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 3px;
      height: 100%;
      background: var(--orange);
    }

    .stat-num {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: 44px;
      color: var(--white);
      line-height: 1;
    }

    .stat-label {
      margin-top: 8px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
    }

    /* ── HOW IT WORKS ── */
    .how-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      margin-top: 64px;
    }

    .step {
      background: var(--navy-light);
      padding: 40px 32px;
      position: relative;
      transition: background 0.3s;
    }

    .step:hover { background: rgba(22,40,72,0.9); }

    .step-num {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: 56px;
      color: rgba(255,255,255,0.06);
      line-height: 1;
      margin-bottom: 24px;
    }

    .step-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 20px;
      color: var(--orange);
    }

    .step h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 12px;
      color: var(--white);
    }

    .step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

    .step-connector {
      position: absolute;
      top: 44px;
      right: -14px;
      width: 28px;
      height: 2px;
      background: var(--orange);
      z-index: 1;
    }

    /* ── BELIEFS ── */
    .beliefs { background: var(--navy-mid); }

    .beliefs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 64px;
    }

    .belief {
      padding: 40px 36px;
      border: 1px solid var(--border);
      transition: border-color 0.3s;
      position: relative;
      overflow: hidden;
    }

    .belief::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 100%;
      height: 2px;
      background: var(--orange);
      transform: scaleX(0);
      transition: transform 0.3s;
      transform-origin: left;
    }

    .belief:hover::after { transform: scaleX(1); }
    .belief:hover { border-color: rgba(245,166,35,0.15); }

    .belief-icon {
      font-size: 28px;
      margin-bottom: 20px;
      display: block;
    }

    .belief h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 12px;
      color: var(--white);
    }

    .belief p { font-size: 14px; color: var(--muted); line-height: 1.65; }

    /* ── PILOT TARGETS ── */
    .pilots-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      margin-top: 64px;
    }

    .pilot {
      background: var(--navy-light);
      padding: 48px 44px;
      position: relative;
      overflow: hidden;
    }

    .pilot::before {
      content: attr(data-label);
      position: absolute;
      top: 20px; right: 28px;
      font-family: 'DM Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--orange);
      opacity: 0.6;
    }

    .pilot h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .pilot p {
      font-size: 15px;
      color: var(--off-white);
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .pilot-tags { display: flex; flex-wrap: wrap; gap: 8px; }

    .tag {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.08em;
      padding: 6px 14px;
      border: 1px solid rgba(245,166,35,0.3);
      color: var(--orange);
      text-transform: uppercase;
    }

    /* ── MANIFESTO ── */
    .manifesto {
      background: var(--orange);
      color: var(--navy);
    }

    .manifesto .section-inner {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 80px;
      align-items: center;
    }

    .manifesto-label {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: 48px;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .manifesto-quote {
      font-size: clamp(18px, 2.2vw, 26px);
      line-height: 1.5;
      font-weight: 300;
      color: rgba(10,22,40,0.85);
    }

    .manifesto-quote strong {
      font-weight: 600;
      color: var(--navy);
    }

    /* ── CTA SECTION ── */
    .cta-section {
      background: var(--navy);
      text-align: center;
    }

    .cta-section .section-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .cta-section .section-title {
      max-width: 700px;
    }

    .cta-section p {
      font-size: 18px;
      color: var(--muted);
      margin-top: 20px;
      max-width: 500px;
      line-height: 1.65;
    }

    .cta-section .btn-primary {
      margin-top: 40px;
      font-size: 15px;
      padding: 18px 48px;
    }

    .cta-note {
      margin-top: 16px;
      font-size: 13px;
      color: var(--muted);
    }

    /* ── CONTACT FORM ── */
    .contact { background: var(--navy-mid); }

    .contact-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .form-field label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 300;
      padding: 14px 18px;
      outline: none;
      transition: border-color 0.2s;
      width: 100%;
    }

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      border-color: var(--orange);
    }

    .form-field select option { background: var(--navy-mid); }

    .form-field textarea { resize: vertical; min-height: 120px; }

    .form-submit {
      margin-top: 8px;
      background: var(--orange);
      color: var(--navy);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 16px 36px;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
      align-self: flex-start;
    }

    .form-submit:hover { background: #ffbc42; transform: translateY(-1px); }

    .contact-info h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .contact-info p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 36px;
    }

    .contact-details { display: flex; flex-direction: column; gap: 16px; }

    .contact-detail {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .contact-detail-icon {
      width: 36px;
      height: 36px;
      background: rgba(245,166,35,0.1);
      border: 1px solid rgba(245,166,35,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--orange);
      font-size: 16px;
    }

    .contact-detail-text {
      font-size: 14px;
      color: var(--off-white);
      line-height: 1.5;
    }

    .contact-detail-text span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; letter-spacing: 0.1em; text-transform: uppercase; }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      border-top: 1px solid var(--border);
      padding: 40px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      z-index: 1;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-logo-text {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: 17px;
      letter-spacing: 0.08em;
    }

    footer p {
      font-size: 13px;
      color: var(--muted);
    }

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

    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 0.15; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    /* ── SUCCESS STATE ── */
    .form-success {
      display: none;
      padding: 32px;
      border: 1px solid rgba(245,166,35,0.3);
      background: rgba(245,166,35,0.05);
      text-align: center;
    }

    .form-success h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 22px;
      margin-bottom: 12px;
    }

    .form-success p { font-size: 15px; color: var(--muted); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 20px 24px; }
      .hero { padding: 100px 24px 60px; }
      .section-inner { padding: 72px 24px; }
      .problem-grid, .contact-inner, .manifesto .section-inner { grid-template-columns: 1fr; gap: 40px; }
      .how-steps { grid-template-columns: 1fr 1fr; }
      .beliefs-grid { grid-template-columns: 1fr 1fr; }
      .pilots-grid { grid-template-columns: 1fr; }
      .hero-bike { display: none; }
      .step-connector { display: none; }
      footer { flex-direction: column; gap: 16px; text-align: center; }
    }

    @media (max-width: 600px) {
      .how-steps { grid-template-columns: 1fr; }
      .beliefs-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
    }