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

    :root {
      --navy: #1D1355;
      --navy-light: #2a1d6b;
      --teal: #43C0B2;
      --teal-dark: #3aab9f;
      --teal-deep: #1f7a70; /* accessible teal for text on light backgrounds */
      --white: #ffffff;
      --gray-50: #f8fafc;
      --gray-100: #f1f5f9;
      --gray-300: #cbd5e1;
      --gray-400: #94a3b8;
      --gray-600: #475569;
      --gray-900: #1D1355;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--gray-900);
      line-height: 1.6;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a:focus-visible,
    button:focus-visible {
      outline: 3px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      background: var(--navy);
      color: #fff;
      padding: 12px 20px;
      z-index: 200;
      text-decoration: none;
    }

    .skip-link:focus {
      left: 0;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 16px 0;
      background: rgba(255,255,255,0.85);
      backdrop-filter: saturate(180%) blur(12px);
      -webkit-backdrop-filter: saturate(180%) blur(12px);
      box-shadow: 0 1px 0 rgba(29,19,85,0.06);
      transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

    header.scrolled {
      padding: 10px 0;
      box-shadow: 0 6px 24px -8px rgba(29,19,85,0.18);
      background: rgba(255,255,255,0.92);
    }

    header .logo-img {
      transition: height 0.3s ease;
    }

    header.scrolled .logo-img {
      height: 44px;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

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

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

    header .logo-img {
      height: 52px;
    }

    .logo-text {
      font-size: 13px;
      font-weight: 600;
      color: var(--navy);
      line-height: 1.25;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    nav a {
      color: var(--gray-600);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s;
    }

    nav a:not(.btn-contact) {
      position: relative;
    }

    nav a:not(.btn-contact)::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      height: 2px;
      width: 0;
      background: var(--teal);
      transition: width 0.25s ease;
    }

    nav a:not(.btn-contact):hover {
      color: var(--navy);
    }

    nav a:not(.btn-contact):hover::after {
      width: 100%;
    }

    nav .btn-contact {
      background: var(--navy);
      color: #fff;
      padding: 10px 20px;
      border-radius: 50px;
      font-weight: 600;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    nav .btn-contact:hover {
      background: var(--navy-light);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -6px rgba(29,19,85,0.5);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      color: var(--navy);
    }

    .nav-toggle svg {
      display: block;
      width: 26px;
      height: 26px;
    }

    /* Hero */
    .hero {
      min-height: 88vh;
      background: linear-gradient(135deg, var(--navy) 0%, #2a1d6b 40%, #1a3a4a 70%, var(--navy) 100%);
      display: flex;
      align-items: center;
      padding: 140px 0 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 10%;
      right: -15%;
      width: 90%;
      height: 90%;
      background: radial-gradient(ellipse at center, rgba(67, 192, 178, 0.20) 0%, transparent 60%);
      pointer-events: none;
      animation: aurora 14s ease-in-out infinite alternate;
    }

    @keyframes aurora {
      0%   { transform: translate(0, 0) scale(1); opacity: 0.9; }
      100% { transform: translate(-4%, 6%) scale(1.15); opacity: 1; }
    }

    /* Real Black Mountain photo, held behind a navy scrim for text legibility */
    .hero-photo {
      position: absolute;
      inset: 0;
      background: url('/hero-blackmountain.jpg') center right / cover no-repeat;
      opacity: 0.55;
      z-index: 0;
      pointer-events: none;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, var(--navy) 0%, rgba(29,19,85,0.82) 34%, rgba(29,19,85,0.35) 70%, rgba(29,19,85,0.15) 100%);
      z-index: 0;
      pointer-events: none;
    }

    .hero-eyebrow {
      display: inline-block;
      font-size: 0.82rem !important;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--teal) !important;
      text-transform: none;
      margin-bottom: 18px !important;
      padding: 7px 14px;
      border: 1px solid rgba(67,192,178,0.4);
      border-radius: 50px;
      background: rgba(67,192,178,0.08);
    }

    /* Ghosted tower mark watermark */
    .hero-mark {
      position: absolute;
      right: -40px;
      bottom: -40px;
      width: min(46vw, 560px);
      opacity: 0.06;
      pointer-events: none;
      z-index: 0;
      animation: float 9s ease-in-out infinite alternate;
    }

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

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 640px;
    }

    .hero-content > * {
      opacity: 0;
      transform: translateY(20px);
      animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    }

    .hero h1 { animation-delay: 0.05s; }
    .hero-content > p { animation-delay: 0.18s; }
    .hero-actions { animation-delay: 0.30s; }

    @keyframes rise {
      to { opacity: 1; transform: none; }
    }

    .hero h1 {
      font-size: clamp(2.25rem, 5vw, 3.25rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.15;
      margin-bottom: 24px;
    }

    .hero p {
      font-size: 1.1rem;
      color: var(--gray-300);
      margin-bottom: 32px;
      max-width: 560px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.2s;
    }

    .btn-primary {
      background: var(--teal);
      color: var(--navy);
    }

    .btn-primary:hover {
      background: var(--teal-dark);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px -8px rgba(67,192,178,0.6);
    }

    .btn-secondary {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.5);
    }

    .btn-secondary:hover {
      border-color: #fff;
      background: rgba(255,255,255,0.08);
      transform: translateY(-2px);
    }

    .btn svg {
      transition: transform 0.2s ease;
    }

    .btn:hover svg {
      transform: translateX(3px);
    }

    /* About */
    .about {
      padding: 100px 0;
      background: #fff;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 24px;
    }

    .about p {
      font-size: 1rem;
      color: var(--gray-600);
      max-width: 800px;
    }

    .about p + p {
      margin-top: 16px;
    }

    /* Services */
    .services {
      padding: 100px 0;
      background: var(--gray-50);
    }

    .services-header {
      margin-bottom: 48px;
    }

    .services-header p {
      color: var(--teal-deep);
      font-weight: 500;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 32px;
    }

    .service-card {
      background: #fff;
      border-radius: 12px;
      padding: 32px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      border: 1px solid var(--gray-100);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--teal), var(--navy));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s ease;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 48px -16px rgba(29,19,85,0.25);
      border-color: rgba(67,192,178,0.4);
    }

    .service-card:hover::before {
      transform: scaleX(1);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(67,192,178,0.15), rgba(29,19,85,0.08));
      color: var(--teal-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    }

    .service-card:hover .service-icon {
      transform: scale(1.08) rotate(-3deg);
      background: linear-gradient(135deg, var(--teal), var(--navy));
      color: #fff;
    }

    .service-icon svg {
      width: 24px;
      height: 24px;
    }

    .service-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--gray-900);
    }

    .service-card p {
      font-size: 0.95rem;
      color: var(--gray-600);
    }

    /* AI Systems */
    .ai {
      padding: 100px 0;
      background: linear-gradient(135deg, var(--navy) 0%, #2a1d6b 45%, #1a3a4a 100%);
      position: relative;
      overflow: hidden;
    }

    .ai-mark {
      position: absolute;
      right: -60px;
      bottom: -50px;
      width: min(40vw, 460px);
      opacity: 0.05;
      pointer-events: none;
      z-index: 0;
      filter: brightness(0) invert(1);
    }

    .ai .container { position: relative; z-index: 1; }

    .ai .services-header p { color: var(--teal); }
    .ai h2, .ai .ai-lead { color: #fff; }

    .ai-lead {
      font-size: 1.15rem;
      max-width: 760px;
      margin-bottom: 12px;
      line-height: 1.5;
    }

    .ai-sub {
      color: var(--gray-300);
      max-width: 760px;
      margin-bottom: 48px;
    }

    .ai-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }

    .ai-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      padding: 28px;
      transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    }

    .ai-card:hover {
      transform: translateY(-6px);
      border-color: rgba(67,192,178,0.5);
      background: rgba(255,255,255,0.06);
    }

    .ai-step {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 10px;
    }

    .ai-card h3 { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
    .ai-card p { font-size: 0.95rem; color: var(--gray-300); }

    .ai-proof {
      border-left: 3px solid var(--teal);
      padding: 4px 0 4px 20px;
      max-width: 760px;
      color: var(--gray-300);
      font-size: 0.98rem;
      margin-bottom: 32px;
    }

    .ai-proof strong { color: #fff; font-weight: 600; }

    /* Join Network */
    .join {
      padding: 80px 0;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
      text-align: center;
    }

    .join h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
    }

    .join p {
      color: var(--gray-300);
      margin-bottom: 32px;
      max-width: 540px;
      margin-left: auto;
      margin-right: auto;
    }

    .interest-form { max-width: 720px; margin: 0 auto; text-align: left; }
    .interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
    .interest-form label { display: block; color: var(--gray-300); font-size: 0.85rem; font-weight: 600; }
    .interest-form label span { font-weight: 400; opacity: 0.8; }
    .interest-form input[type=text], .interest-form input[type=email], .interest-form input[type=tel],
    .interest-form input[type=date], .interest-form select {
      display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 6px;
      border: 1px solid rgba(255,255,255,0.25); background: #fff; color: #111; font: inherit;
    }
    .interest-form .interest-consent { font-weight: 400; margin: 8px 0 24px; display: flex; gap: 10px; align-items: flex-start; }
    .interest-form .interest-consent input { margin-top: 4px; }
    .interest-form .interest-consent a { color: #fff; text-decoration: underline; }
    .interest-form .interest-hp { position: absolute; left: -9999px; }
    .interest-form .btn { border: 0; cursor: pointer; }
    .interest-status { margin: 16px 0 0; min-height: 1.4em; color: #fff; }
    .interest-status.error { color: #ffb4b4; }
    @media (max-width: 640px) { .interest-grid { grid-template-columns: 1fr; } }

    /* What to Expect */
    .expect {
      padding: 100px 0;
      background: #fff;
    }

    .expect-header {
      margin-bottom: 48px;
    }

    .expect-header p {
      color: var(--gray-600);
      font-size: 0.95rem;
      max-width: 700px;
    }

    .expect-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
    }

    .expect-card {
      background: var(--gray-50);
      border-radius: 12px;
      padding: 32px;
      position: relative;
      border: 1px solid transparent;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    }

    .expect-card:hover {
      transform: translateY(-6px);
      background: #fff;
      box-shadow: 0 20px 40px -16px rgba(29,19,85,0.18);
      border-color: rgba(67,192,178,0.35);
    }

    .expect-card .number {
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .expect-card:hover .number {
      transform: scale(1.12);
      background: var(--teal);
    }

    .expect-card .number {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      background: var(--navy);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 600;
      font-size: 14px;
    }

    .expect-card h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--gray-900);
      padding-right: 40px;
    }

    .expect-note {
      margin-top: 32px;
      font-size: 0.85rem;
      color: var(--gray-600);
      max-width: 700px;
    }

    /* Footer */
    footer {
      background: var(--navy);
      padding: 64px 0 24px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-brand .logo-text {
      color: #fff;
    }

    .footer-contact h2 {
      color: #fff;
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .footer-contact p {
      color: var(--gray-300);
      font-size: 14px;
      margin-bottom: 6px;
    }

    .footer-contact a {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .footer-contact a:hover {
      color: var(--teal);
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-links a {
      color: var(--gray-300);
      text-decoration: none;
      font-size: 14px;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-bottom {
      border-top: 1px solid var(--navy-light);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-bottom p {
      color: var(--gray-300);
      font-size: 12px;
    }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
      will-change: opacity, transform;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: none;
    }

    .reveal-stagger > * {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal-stagger.is-visible > * {
      opacity: 1;
      transform: none;
    }

    .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
    .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
    .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }

    /* Respect users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
      .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
      .hero-content > * { opacity: 1; transform: none; }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .nav-toggle { display: block; }

      header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-top: 1px solid var(--gray-100);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 8px 0;
      }

      header nav.open { display: flex; }

      header nav a {
        padding: 14px 24px;
        font-size: 16px;
      }

      header nav .btn-contact {
        margin: 8px 24px;
        border-radius: 8px;
        text-align: center;
      }

      .hero h1 { font-size: 2rem; }
      .footer-top { flex-direction: column; }
    }
