
  :root {
    /* Official Randhawa Group brand palette */
    --blue: #034AA6;          /* primary royal blue */
    --blue-2: #035AA6;
    --cyan: #049DD9;          /* bright accent blue */
    --gray: #595958;          /* brand dark gray */
    --silver: #BBBBBB;
    --blue-txt: #4AA3F2;        /* brand silver */

    --bg: #05080F;
    --bg-alt: #0B1120;
    --navy-deep: #021536;     /* dark sections */
    --navy-deeper: #010D24;
    --ink: #EDF1F7;
    --ink-2: #C5CDDA;
    --muted: #97A0B0;
    --rule: rgba(187,187,187,0.16);
    --rule-dark: rgba(187,187,187,0.22);

    --f-display: "Archivo", -apple-system, "Helvetica Neue", sans-serif;
    --f-body: "Manrope", -apple-system, sans-serif;
    --f-serif: "Fraunces", Georgia, serif;

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  ::selection { background: var(--blue); color: #fff; }
  a { color: inherit; text-decoration: none; }

  .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

  /* ─────────── Credential ticker ─────────── */
  .cred-bar {
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 100%);
    color: #fff;
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 11px 0;
    overflow: hidden;
  }
  .cred-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    animation: scroll 50s linear infinite;
    width: max-content;
  }
  .cred-track .dot { color: var(--cyan); font-size: 10px; }
  @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ─────────── Navigation ─────────── */
  nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5,8,15,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
  }
  nav.scrolled { border-color: var(--rule); }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }
  .logo img {
    mix-blend-mode: screen;
    height: 104px;
    width: auto;
    display: block;
  }
  .nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
    padding: 0; margin: 0;
    align-items: center;
  }
  .nav-links a {
    font-family: var(--f-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--cyan); text-shadow: 0 0 14px rgba(4,157,217,0.7); }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 11px 22px !important;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s !important;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--cyan) !important; box-shadow: 0 0 26px rgba(4,157,217,0.5); transform: translateY(-1px); }
  .hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

  /* ─────────── Hero ─────────── */
  .hero {
    padding: clamp(60px, 9vw, 130px) 0 clamp(70px, 9vw, 120px);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 10%; right: -15%;
    width: 55vw; height: 55vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(4,157,217,0.07), transparent 62%);
    pointer-events: none;
  }
  .hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    position: relative; z-index: 1;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-txt);
  }
  .eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--cyan); }
  .hero-meta {
    text-align: right;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.9;
  }
  .hero-meta strong { display: block; color: var(--ink); font-weight: 700; }

  h1.headline {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(54px, 10.5vw, 148px);
    line-height: 0.9;
    letter-spacing: -0.045em;
    margin: 0 0 48px;
    color: var(--ink);
    position: relative; z-index: 1;
  }
  h1.headline .line { display: block; }
  h1.headline .serif {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    letter-spacing: -0.03em;
    font-variation-settings: "opsz" 144;
  }
  h1.headline .dot { color: var(--cyan); }

  .hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: end;
    position: relative; z-index: 1;
  }
  .hero-lede {
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 520px;
  }
  .hero-lede strong { color: var(--ink); font-weight: 600; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 4px;
    font-family: var(--f-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
  }
  .btn-primary { background: var(--blue); color: #fff; }
  .btn-primary:hover {
    background: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -10px rgba(4,157,217,0.65);
  }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: #05080F; }
  .btn .arrow { transition: transform 0.25s; }
  .btn:hover .arrow { transform: translateX(4px); }


  .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
    position: relative; z-index: 1;
  }
  h1.headline { font-size: clamp(46px, 7.2vw, 104px); margin-bottom: 36px; }
  .hero-photo { margin: 0; position: relative; }
  .hero-photo .frame {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 34px 70px -28px rgba(0,0,0,0.7), 0 0 50px -20px rgba(4,157,217,0.25);
  }
  .hero-photo .frame::after {
    content: '';
    position: absolute; inset: 0;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    pointer-events: none;
  }
  .hero-photo::before {
    content: '';
    position: absolute;
    top: 22px; left: -22px; right: 22px; bottom: -22px;
    background: linear-gradient(150deg, var(--blue), var(--cyan));
    border-radius: 6px;
    opacity: 0.3;
    z-index: -1;
  }
  .hero-photo img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.04); }
  .hero-photo figcaption {
    margin-top: 14px;
    font-family: var(--f-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex; align-items: center; gap: 10px;
  }
  .hero-photo figcaption::before { content: ''; width: 24px; height: 2px; background: var(--cyan); }

  /* ─────────── Stats strip ─────────── */
  .stats {
    background: var(--bg-alt);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat {
    padding: 40px clamp(16px, 3vw, 40px);
    border-right: 1px solid var(--rule);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--blue-txt);
    margin-bottom: 8px;
  }
  .stat-num .plus { color: var(--cyan); font-weight: 900; }
  .stat-label {
    font-family: var(--f-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ─────────── Intro ─────────── */
  .intro { padding: clamp(80px, 10vw, 140px) 0; }
  .intro-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
  }
  .section-label {
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .section-label .num { color: var(--cyan); margin-right: 10px; }
  .intro-body h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 20px 0 28px;
    color: var(--ink);
  }
  .intro-body h2 em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    font-variation-settings: "opsz" 144;
  }
  .intro-body p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0; max-width: 640px; }

  /* ─────────── Services ─────────── */
  .services { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-alt); }
  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: clamp(50px, 6vw, 80px);
    flex-wrap: wrap;
  }
  .services-header h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(40px, 5.8vw, 84px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 16px 0 0;
    max-width: 780px;
    color: var(--ink);
  }
  .services-header h2 em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    font-variation-settings: "opsz" 144;
  }
  .services-header .aside { font-size: 14.5px; color: var(--muted); max-width: 320px; line-height: 1.6; }

  .service-list { border-top: 2px solid var(--ink); }
  .service-row {
    display: grid;
    grid-template-columns: 70px 1.2fr 2fr 60px;
    gap: clamp(20px, 3vw, 56px);
    padding: clamp(28px, 3.5vw, 42px) 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
    cursor: pointer;
    transition: padding 0.3s ease, background 0.3s ease;
  }
  .service-row:hover { padding-left: 14px; background: rgba(4,157,217,0.05); }
  .service-row:hover .service-arrow { transform: translate(4px, -4px); color: var(--cyan); }
  .service-num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 20px;
    color: var(--cyan);
    padding-top: 8px;
    letter-spacing: 0.04em;
  }
  .service-title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
  }
  .service-desc { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
  .service-desc .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
    font-family: var(--f-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-txt);
  }
  .service-desc .tags span { position: relative; padding-right: 16px; }
  .service-desc .tags span:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 4px; height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .service-arrow {
    font-family: var(--f-display);
    font-size: 28px;
    color: var(--ink);
    transition: transform 0.3s, color 0.3s;
    justify-self: end;
    padding-top: 4px;
  }

  /* ─────────── Approach / Credentials ─────────── */
  .approach {
    background: linear-gradient(160deg, var(--navy-deep) 0%, #032458 70%, #03316F 100%);
    color: #fff;
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
    overflow: hidden;
  }
  .approach::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 70vw; height: 70vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(4,157,217,0.18), transparent 60%);
    pointer-events: none;
  }
  .approach-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
  }
  .approach .section-label { color: var(--silver); }
  .approach .section-label .num { color: var(--cyan); }
  .approach h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 0;
    color: #fff;
  }
  .approach h2 em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--cyan);
    font-variation-settings: "opsz" 144;
  }
  .approach-body p { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.75; margin: 0; }
  .approach-body p + p { margin-top: 22px; }

  .credentials {
    margin-top: clamp(56px, 7vw, 90px);
    padding-top: 46px;
    border-top: 1px solid var(--rule-dark);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative; z-index: 1;
  }
  .cred { display: flex; flex-direction: column; gap: 6px; }
  .cred .num-mark {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--cyan);
    margin-bottom: 6px;
  }
  .cred .label {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--silver);
  }
  .cred .value {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(18px, 1.6vw, 22px);
    letter-spacing: -0.015em;
    color: #fff;
  }
  .cred .id { font-size: 13px; color: rgba(255,255,255,0.65); }


  /* ─────────── Principal ─────────── */
  .principal { padding: clamp(80px, 10vw, 140px) 0; }
  .principal-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(36px, 5vw, 90px);
    align-items: center;
  }
  .principal-photo { margin: 0; position: relative; }
  .principal-photo img {
    width: 100%; height: auto; display: block;
    border-radius: 6px;
    box-shadow: 0 34px 70px -28px rgba(0,0,0,0.7), 0 0 50px -20px rgba(4,157,217,0.2);
  }
  .principal-photo::after {
    content: '';
    position: absolute;
    left: 24px; right: -16px; top: -16px; bottom: 24px;
    border: 2px solid var(--cyan);
    border-radius: 6px;
    opacity: 0.35;
    z-index: -1;
  }
  .principal h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 10px;
    color: var(--ink);
  }
  .principal h2 em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    font-variation-settings: "opsz" 144;
  }
  .principal .role {
    font-family: var(--f-display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
  }
  .principal p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0 0 18px; max-width: 600px; }
  .principal .sig { margin-top: 28px; }
  .principal .sig img {
    width: 240px; height: auto; display: block;
  }
  .principal .sig .sig-caption {
    margin-top: 10px;
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }
  @media (max-width: 960px) {
    .principal-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ─────────── Testimonial ─────────── */
  .testimonial { padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: var(--bg); }
  .testimonial .quote-mark {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 120px;
    line-height: 0.5;
    color: var(--cyan);
    font-weight: 500;
    margin-bottom: 24px;
    display: inline-block;
    font-variation-settings: "opsz" 144;
  }
  .testimonial blockquote {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 46px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 960px;
    margin: 0 auto 36px;
    color: var(--ink);
    padding: 0;
  }
  .testimonial blockquote em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    font-variation-settings: "opsz" 144;
  }
  .attribution {
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .attribution strong { color: var(--ink); font-weight: 800; }

  /* ─────────── Contact ─────────── */
  .contact { background: var(--bg-alt); padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--rule); }
  .contact-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
  }
  .contact h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -0.035em;
    margin: 18px 0 0;
    color: var(--ink);
  }
  .contact h2 em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--blue-txt);
    font-variation-settings: "opsz" 144;
  }
  .contact-info { display: flex; flex-direction: column; gap: 28px; }
  .contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 18px;
    border-left: 3px solid var(--cyan);
  }
  .contact-item .label {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .contact-item a, .contact-item address {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--ink);
    font-style: normal;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  .contact-item a:hover { color: var(--blue-txt); }

  /* ─────────── Footer ─────────── */
  footer { background: #000; color: rgba(255,255,255,0.72); padding: 70px 0 32px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
  }
  .footer-logo img { mix-blend-mode: screen; width: 100%; max-width: 280px; height: auto; display: block; margin-bottom: 18px; }
  .footer-tag { font-size: 14px; line-height: 1.6; max-width: 320px; color: var(--silver); }
  .footer-col h4 {
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cyan);
    margin: 0 0 18px;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color 0.2s; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
  }

  /* ─────────── Responsive ─────────── */
  @media (max-width: 960px) {
    .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { justify-self: start; }
    .intro-grid { grid-template-columns: 1fr; gap: 16px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--rule); padding: 28px 20px; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
    .service-row { grid-template-columns: 48px 1fr 30px; gap: 16px; }
    .service-desc { grid-column: 1 / -1; padding-left: 64px; padding-top: 6px; }
    .approach-inner { grid-template-columns: 1fr; gap: 24px; }
    .credentials { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 620px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .logo img { height: 78px; }
    .hero-top { flex-direction: column; gap: 20px; }
    .hero-meta { text-align: left; }
    .services-header { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1), transform 0.8s cubic-bezier(0.2,0.8,0.2,1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════ Multi-page additions ═══════════ */
.nav-links .active { color: var(--blue-txt); }
.nav-links .active::after { width: 100%; }
.has-drop { position: relative; }
.has-drop .caret { font-size: 9px; opacity: 0.55; margin-left: 3px; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -18px;
  min-width: 250px;
  background: rgba(11,17,32,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.6);
  list-style: none; padding: 10px; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 4px;
  font-size: 13.5px;
}
.dropdown li a::after { display: none; }
.dropdown li a:hover { background: var(--bg-alt); color: var(--blue-txt); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg-alt); border-top: 1px solid var(--rule);
  padding: 14px var(--gutter) 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--ink);
}
.mobile-menu .mobile-group {
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan);
  padding: 18px 0 6px;
}
.mobile-menu .mobile-cta { color: var(--blue-txt); border-bottom: none; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { transition: all 0.25s ease; }

.page-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 50vw; height: 50vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(4,157,217,0.07), transparent 62%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.96; letter-spacing: -0.04em;
  margin: 18px 0 26px; color: var(--ink);
  position: relative; z-index: 1; max-width: 1000px;
}
.page-hero h1 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  color: var(--blue-txt); font-variation-settings: "opsz" 144;
}
.page-hero .lede {
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6;
  color: var(--ink-2); max-width: 760px; margin: 0;
  position: relative; z-index: 1;
}
.edge-strip {
  background: var(--bg-alt); border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.edge-strip .wrap {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
  color: var(--ink-2);
}
.edge-strip .badge {
  background: var(--blue); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.detail-section { padding: clamp(70px, 9vw, 120px) 0; }
.detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
.detail-card {
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(8px); border: 1px solid var(--rule); border-radius: 8px;
  padding: clamp(26px, 3vw, 38px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative; overflow: hidden;
}
.detail-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.detail-card:hover { box-shadow: 0 28px 56px -28px rgba(4,157,217,0.35); border-color: rgba(4,157,217,0.4); }
.detail-card:hover::before { transform: scaleX(1); }
.detail-card .dnum {
  font-family: var(--f-display); font-weight: 900; font-size: 13px;
  letter-spacing: 0.2em; color: var(--cyan); margin-bottom: 14px;
}
.detail-card h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -0.02em;
  line-height: 1.15; margin: 0 0 12px; color: var(--ink);
}
.detail-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.detail-section.alt { background: var(--bg-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.detail-section.alt .detail-card { background: rgba(255,255,255,0.04); }

.cta-band {
  background: linear-gradient(160deg, var(--navy-deep) 0%, #032458 70%, #03316F 100%);
  color: #fff; padding: clamp(64px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(4,157,217,0.18), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-band .section-label { color: var(--silver); }
.cta-band .section-label .num { color: var(--cyan); }
.cta-band h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1;
  letter-spacing: -0.03em; margin: 14px 0 0; color: #fff;
}
.cta-band h2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  color: var(--cyan); font-variation-settings: "opsz" 144;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy-deep); }

/* About page */
.story-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 90px); align-items: start;
}
.story-grid .principal-photo { position: sticky; top: 140px; }
.story-body h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08;
  letter-spacing: -0.03em; margin: 18px 0 24px; color: var(--ink);
}
.story-body h2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  color: var(--blue-txt); font-variation-settings: "opsz" 144;
}
.story-body p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(40px, 5vw, 60px);
}
.cred-band {
  background: linear-gradient(160deg, var(--navy-deep) 0%, #032458 70%, #03316F 100%);
  color: #fff; padding: clamp(64px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.cred-band::before {
  content: ''; position: absolute; top: -40%; left: -10%;
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(4,157,217,0.16), transparent 60%);
  pointer-events: none;
}
.cred-band .credentials { margin-top: 0; padding-top: 0; border-top: none; }

/* Contact page */
.contact-page { padding: clamp(60px, 8vw, 110px) 0; }
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.form-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--rule); border-radius: 10px;
  backdrop-filter: blur(10px);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--f-body); font-size: 15.5px; color: var(--ink);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--rule); border-radius: 6px;
  padding: 13px 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(4,157,217,0.18);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-submit { width: 100%; justify-content: center; border: 0; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.form-status {
  display: none; border-radius: 6px; padding: 14px 16px; margin-bottom: 20px;
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
}
.form-status.show { display: block; }
.form-status.sent { background: rgba(34,197,94,0.12); color: #7BE3A3; border: 1px solid rgba(34,197,94,0.35); }
.form-status.error { background: rgba(239,68,68,0.12); color: #F1A0A0; border: 1px solid rgba(239,68,68,0.35); }

@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .principal-photo { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}


/* ═══════════ Dark Cinematic Edition ═══════════ */
body { position: relative; }
body::before, body::after {
  content: '';
  position: fixed;
  width: 72vw; height: 72vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.17;
  z-index: -1;
  pointer-events: none;
  animation: aurora-drift 28s ease-in-out infinite alternate;
}
body::before {
  background: radial-gradient(circle, var(--blue), transparent 65%);
  top: -28vw; left: -18vw;
}
body::after {
  background: radial-gradient(circle, var(--cyan), transparent 65%);
  bottom: -32vw; right: -22vw;
  animation-delay: -14s;
}
@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(7vw, 5vh) scale(1.14); }
}
#stars-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(4,157,217,0.8);
  z-index: 300;
}
/* hero headline word stagger (homepage) */
h1.headline .line {
  opacity: 0;
  transform: translateY(0.5em);
  animation: line-in 0.9s cubic-bezier(0.2, 0.85, 0.25, 1) forwards;
}
h1.headline .line:nth-child(1) { animation-delay: 0.12s; }
h1.headline .line:nth-child(2) { animation-delay: 0.30s; }
h1.headline .line:nth-child(3) { animation-delay: 0.48s; }
@keyframes line-in { to { opacity: 1; transform: translateY(0); } }
h1.headline .serif {
  background: linear-gradient(100deg, var(--cyan) 5%, #8FD9F7 50%, var(--blue-txt) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(4,157,217,0.3));
}
/* glow ticker dots */
.cred-track .dot { text-shadow: 0 0 10px var(--cyan); }
/* stat numbers gradient */
.stat-num {
  background: linear-gradient(120deg, #fff 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.stat-num .plus { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
  h1.headline .line { opacity: 1; transform: none; animation: none; }
}


/* ═══════════ Effects pack: spotlight · tilt · mesh · constellation ═══════════ */

/* content above effect layers */
.hero > .wrap, .page-hero > .wrap,
.approach > .wrap, .cta-band > .wrap, .cred-band > .wrap {
  position: relative; z-index: 1;
}

/* 01 — spotlight (heroes) */
.spot-grid, .spot-grid-bright, .spot-lamp {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.spot-grid {
  background-image: radial-gradient(rgba(187,187,187,0.32) 1px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.14;
}
.spot-grid-bright {
  background-image: radial-gradient(rgba(4,157,217,0.85) 1.2px, transparent 1.7px);
  background-size: 26px 26px;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 170px at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
  transition: opacity 0.4s ease;
}
.spot-lamp {
  inset: auto;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,157,217,0.13), transparent 60%);
  left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.spot-on .spot-grid-bright, .spot-on .spot-lamp { opacity: 1; }

/* 03 — tilt glare */
.detail-card, .stat { transform-style: preserve-3d; will-change: transform; }
.detail-card::after, .stat::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 220px at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.detail-card:hover::after, .stat:hover::after { opacity: 1; }
.stat { position: relative; overflow: hidden; }

/* 04 — extra mesh blobs (injected by JS) */
.mesh-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: -1;
}
.mesh-a {
  width: 30vw; height: 30vw;
  background: #4AA3F2;
  top: 42%; left: 38%;
  opacity: 0.10;
  animation: mesh-a 16s ease-in-out infinite alternate;
}
.mesh-b {
  width: 22vw; height: 22vw;
  background: #8FD9F7;
  top: 12%; right: 24%;
  opacity: 0.07;
  animation: mesh-b 20s ease-in-out infinite alternate;
}
@keyframes mesh-a { to { transform: translate(-9vw, 12vh) scale(1.35); } }
@keyframes mesh-b { to { transform: translate(10vw, 9vh) scale(0.8); } }

/* 07 — constellation canvases (dark bands) */
.net-canvas {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mesh-blob { animation: none; }
  .spot-grid-bright, .spot-lamp { display: none; }
}
