:root {
      --bg: #0a0f1c;
      --paper: #111a2d;
      --ink: #e8edf8;
      --muted: #9cadc8;
      --line: #23314a;
      --brand: #63a3ff;
      --lime: #a2ff00;
      --accent: #ffb703;
      --mint: #14b8a6;
      --radius: 18px;
      --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      padding: 0;
      background: radial-gradient(circle at 12% -10%, #193967 0%, transparent 34%),
                  radial-gradient(circle at 95% 0%, #4a3b17 0%, transparent 28%),
                  var(--bg);
      color: var(--ink);
      font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
      line-height: 1.45;
      scroll-behavior: smooth;
    }

    .wrap {
      width: min(1120px, 92vw);
      margin: 0 auto;
    }

    .hero {
      position: relative;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      background: #000;
      color: #fff;
      min-height: 100vh;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }

    .fixed-side-lines {
      position: fixed;
      top: 0;
      height: 100vh;
      z-index: 0;
      pointer-events: none;
      opacity: 1;
    }

    .hero-inner {
      width: min(1512px, 100vw);
      margin: 0 auto;
      min-height: 100vh;
      position: relative;
      z-index: 2;
    }

    .hero-topline,
    .hero-sub,
    .hero-copy,
    .hero-link,
    .hero-quiz-btn {
      font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    .hero-topline {
      margin: 0;
      position: absolute;
      left: 32.1%;
      top: 10.3%;
      font-size: clamp(2rem, 5.6vw, 84.54px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .hero-sub {
      margin: 0;
      position: absolute;
      left: 32.1%;
      top: 19.3%;
      font-size: clamp(1.35rem, 3.5vw, 53px);
      font-weight: 400;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .hero-title {
      margin: 0;
      position: absolute;
      left: 16.1%;
      top: 25.7%;
      width: min(68vw, 1023px);
      line-height: 0;
    }

    .hero-title img {
      width: 100%;
      height: auto;
      display: block;
    }

    .hero-copy {
      margin: 0;
      position: absolute;
      left: 16.1%;
      top: 62.7%;
      font-size: clamp(1rem, 1.85vw, 28px);
      letter-spacing: -0.01em;
      line-height: 1.2;
      font-weight: 400;
      max-width: 700px;
    }

    .hero-link {
      display: inline-block;
      position: absolute;
      left: 16.1%;
      top: 73.4%;
      font-size: clamp(1rem, 1.85vw, 28px);
      font-weight: 600;
      letter-spacing: -0.01em;
      color: #fff;
      text-decoration: none;
    }

    .hero-link:hover {
      text-decoration: underline;
      text-underline-offset: 5px;
    }

    .hero-quiz-btn {
      display: inline-block;
      position: absolute;
      left: 16.1%;
      top: 82.5%;
      padding: 10px 16px;
      border-radius: 999px;
      font-size: clamp(0.95rem, 1.35vw, 1.15rem);
      font-weight: 600;
      letter-spacing: -0.01em;
      background: var(--lime);
      color: #0a0f1c;
      text-decoration: none;
      text-transform: uppercase;
    }

    .hero-quiz-btn:hover {
      filter: brightness(0.94);
    }

    .hero-edge,
    .hero-center-lines {
      pointer-events: none;
      position: absolute;
      inset: 0 auto 0 0;
      z-index: 1;
    }

    .parallax-layer {
      will-change: transform;
      transform: translate3d(0, 0, 0);
    }

    .hero-edge {
      width: clamp(70px, 9.2vw, 140px);
      background-image: url("img/pattern-left.svg");
      background-repeat: repeat-y;
      background-size: 100% auto;
      background-position: left top;
      opacity: 1;
    }

    .hero-edge-right {
      inset: 0 0 0 auto;
      background-image: url("img/pattern-right.svg");
      background-position: right top;
    }

    .hero-center-lines {
      width: clamp(180px, 26.2vw, 396px);
      left: 51.8%;
      transform: translateX(-50%);
      background: repeating-linear-gradient(100deg, rgba(125, 151, 196, 0.34) 0 1px, transparent 1px 7px);
      opacity: 0.38;
    }

    h1,
    h2,
    h3 {
      margin: 0;
      line-height: 1.1;
      font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
      letter-spacing: -0.02em;
    }

    h1 {
      font-size: clamp(2rem, 5.8vw, 4.35rem);
    }

    h2 {
      font-size: clamp(1.6rem, 3.2vw, 2.6rem);
      margin-bottom: 14px;
    }

    h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
    }

    .lead {
      margin: 18px 0 24px;
      max-width: 63ch;
      color: var(--muted);
      font-size: 1.06rem;
    }

    .cta-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .btn {
      display: inline-block;
      padding: 12px 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 700;
      border: 1px solid transparent;
      transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
    }

    .btn-main {
      background: #dbe7ff;
      color: #0d1830;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    }

    .btn-main:hover {
      transform: translateY(-2px);
    }

    .btn-alt {
      background: transparent;
      color: var(--ink);
      border-color: var(--line);
    }

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

    .hero-card {
      background: linear-gradient(140deg, #121f37 5%, #1a2a47 100%);
      border: 1px solid #2c4066;
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .hero-card ul {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      display: grid;
      gap: 10px;
    }

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

    .stat {
      background: var(--paper);
      border-radius: 12px;
      border: 1px solid var(--line);
      padding: 12px;
    }

    .stat b {
      display: block;
      font-size: 1.45rem;
      line-height: 1;
      margin-bottom: 4px;
    }

    .section {
      padding: 46px 0;
    }

    .section-intro {
      color: var(--muted);
      max-width: 75ch;
      margin-bottom: 22px;
    }

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

    .card {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
    }

    .card p,
    .card li {
      color: var(--muted);
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 8px;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #101a2d;
      font-size: 0.9rem;
      color: var(--ink);
    }

    .project-list {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .project-list a {
      color: #8eb8ff;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      word-break: break-all;
    }

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

    .timeline .card {
      border-left: 4px solid var(--mint);
    }

    .cta {
      margin: 48px 0 56px;
      padding: 28px;
      border-radius: calc(var(--radius) + 6px);
      background: linear-gradient(120deg, #2a5fc6 0%, #1d3f8c 100%);
      color: #fff;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
    }

    .cta p {
      margin: 10px 0 0;
      color: rgba(255, 255, 255, 0.92);
    }

    .cta .btn {
      background: #e6efff;
      color: #122f73;
      font-weight: 700;
    }

    a {
      color: #8eb8ff;
    }

    a:hover {
      color: #b0ceff;
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 16px 0 34px;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .reveal {
      opacity: 0;
      transform: translateY(10px);
      transition: 520ms ease;
    }

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

    .hero.reveal,
    .hero.reveal.show {
      opacity: 1;
      transform: none;
    }

    @media (max-width: 960px) {
      .hero-inner {
        width: min(1120px, 92vw);
        min-height: auto;
        padding: 120px 0 56px;
      }
.topline-container {
  margin-left: auto;
  width: fit-content;
  text-align: left;
}
      .hero-topline,
      .hero-sub,
      .hero-title,
      .hero-copy,
      .hero-link,
      .hero-quiz-btn {
        position: static;
      }

      .hero-topline {
        font-size: clamp(2rem, 9vw, 3.25rem);
      }

      .hero-sub {
        margin-top: 6px;
        font-size: clamp(2rem, 5.6vw, 2rem);
        font-weight: 200;
      }

      .hero-title {
        margin-top: 14px;
        width: min(96%, 680px);
        margin-left: auto;
        margin-right: auto;
      }

      .hero-copy {
        margin-top: 14px;
        margin-left: 8px;
        max-width: 30ch;
        font-size: clamp(1.2rem, 4.2vw, 1.35rem);
        text-transform: uppercase;
        font-weight: 300;
        line-height: 1.5em;
      }

      .hero-link {
        margin-top: 18px;
        margin-left: 8px;
        font-size: clamp(1.6rem, 4.2vw, 1.35rem);
      }

      .hero-quiz-btn {
        margin-top: 12px;
        margin-left: 8px;
      }

      .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .grid-3,
      .timeline {
        grid-template-columns: 1fr;
      }
    }