:root {
    --bg: #05060a;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --glass: rgba(10, 12, 18, 0.35);
    --stroke: rgba(255, 255, 255, 0.14);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --max: 1080px;
    --pad: 22px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
      Arial, "Apple Color Emoji", "Segoe UI Emoji";
    overflow-x: hidden;
  }
  
  /* Background video */
  .bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
  }
  
  .bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.02) contrast(1.02);
  }
  
  .bg-overlay {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(1200px 700px at 20% 25%, rgba(255, 255, 255, 0.10), transparent 55%),
      radial-gradient(900px 600px at 80% 65%, rgba(120, 140, 255, 0.10), transparent 55%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72));
    z-index: -1;
  }
  
  .bg-grain {
    position: absolute;
    inset: -30%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.09;
    animation: grain 10s steps(10) infinite;
  }
  @media (max-aspect-ratio: 9/16) {
    .bg-video {
      object-fit: contain; /* show entire video */
      background: black;   /* letterbox bars */
      object-position: center center;
    }
    .bg-overlay {
        background: linear-gradient(
          to bottom,
          rgba(0,0,0,0.65),
          rgba(0,0,0,0.75)
        );
      }
  }
  
  
  
  @keyframes grain {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -1%); }
    20% { transform: translate(-3%, 2%); }
    30% { transform: translate(2%, -3%); }
    40% { transform: translate(-1%, 3%); }
    50% { transform: translate(-3%, 1%); }
    60% { transform: translate(3%, 0%); }
    70% { transform: translate(0%, 3%); }
    80% { transform: translate(-2%, 2%); }
    90% { transform: translate(2%, -1%); }
    100% { transform: translate(0, 0); }
  }
  
  /* Top bar */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px min(4vw, 36px);
    backdrop-filter: blur(10px);
    background: linear-gradient(
      to bottom,
      rgba(5, 6, 10, 0.65),
      rgba(5, 6, 10, 0.25)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
  }
  
  .brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  }
  
  .brand-name {
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: lowercase;
  }
  
  .nav {
    display: flex;
    gap: 8px;
  }
  
  .nav-link {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 12, 18, 0.22);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.08em;
    font-size: 12px;
    transition: transform 0.15s ease, background 0.15s ease, border 0.15s ease;
  }
  
  .nav-link:hover {
    transform: translateY(-1px);
    background: rgba(10, 12, 18, 0.34);
  }
  
  .nav-link.is-active {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
  }
  
  /* Main content */
  .main {
    padding: 40px min(4vw, 36px) 90px;
  }
  
  .view {
    max-width: var(--max);
    margin: 0 auto;
  }
  /* Make first screen video-only */
.main {
    padding: 0; /* important: remove top padding so landing is true full height */
  }
  
  /* Full viewport landing "spacer" */
  .landing {
    height: 100vh;
    width: 100%;
    position: relative;
  }
  
  /* Content section below the fold */
  .content {
    padding: 40px min(4vw, 36px) 90px;
  }
  
  /* Scroll cue */
  /* .scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 150px;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: 10px;
    opacity: 0.75;
    user-select: none;
    pointer-events: none;
  } */
  
  
  .scroll-cue-line {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.45);
    animation: cue 1.6s ease-in-out infinite;
  }
  
  .scroll-cue-text {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.70);
  }
  .scroll-cue.dot {
    position: absolute;
    left: 50%;
    bottom: 150px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(-50%);
    animation: dotFloat 1.8s ease-in-out infinite;
    opacity: 0.85;
  }
  
  @keyframes dotFloat {
    0%   { transform: translate(-50%, 0); opacity: 0.35; }
    50%  { transform: translate(-50%, 12px); opacity: 1; }
    100% { transform: translate(-50%, 0); opacity: 0.35; }
  }
  
  
  @keyframes cue {
    0% { transform: translateY(0); opacity: 0.35; }
    50% { transform: translateY(10px); opacity: 0.9; }
    100% { transform: translateY(0); opacity: 0.35; }
  }
  

  /* Cards */
  .card {
    position: relative;
    background: rgba(10, 12, 18, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    padding: clamp(18px, 2.6vw, 30px);
    backdrop-filter: blur(14px);
  }
  /* subtle gradient border glow */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.20),
      rgba(255,255,255,0.05),
      rgba(120,140,255,0.10)
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
  }
  
  .hero {
    min-height: 56vh;
    display: grid;
    align-content: center;
    gap: 16px;
  }
  
  .kicker {
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
  }
  
  .h1 {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.05;
    margin: 0;
  }
  
  .sub {
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px, 1.5vw, 18px);
    max-width: 60ch;
  }
  
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 650;
    letter-spacing: 0.08em;
    font-size: 12px;
    transition: transform 0.15s ease, background 0.15s ease, border 0.15s ease;
  }
  
  
  .btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
  }
  
  .btn.secondary {
    background: rgba(0, 0, 0, 0.22);
  }
  
  .grid {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, 1fr);
  }
  
  .item {
    grid-column: span 12;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }
  
  .item h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  .item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
  }
  
  @media (min-width: 780px) {
    .item {
      grid-column: span 6;
    }
  }
  
  .list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }
  
  .row {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }
  
  .row-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  
  .row-title {
    margin: 0;
    font-size: 16px;
  }
  
  .row-meta {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  .row-desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
  }
  
  .row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* Footer */
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px min(4vw, 36px);
    backdrop-filter: blur(10px);
    background: linear-gradient(
      to top,
      rgba(5, 6, 10, 0.70),
      rgba(5, 6, 10, 0.18)
    );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
  }
  
  .footer-sep {
    opacity: 0.6;
  }
  