/* ============================================================
   VANTAGE NETWORK — home.css  |  Homepage (v4)

   v2 layout (bento, timeline, cards) in the original fonts, built
   to the v3 performance rules so it stays smooth even with hardware
   acceleration switched off:
     - no backdrop-filter, no filter:blur, no animated gradients
     - no infinite animations and nothing tied to scroll position
     - motion = one-time opacity/transform fades (home.js), nothing else
   Shared pieces (nav, buttons, form, modal) live in style.css.
   ============================================================ */

section[id]{scroll-margin-top:72px;}

/* ── One-time reveal ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference){
  .js [data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1);}
  .js [data-reveal].in{opacity:1;transform:none;}
  .intro{animation:introUp .8s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i,0) * 80ms + 80ms);}
}
@keyframes introUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}

/* ── Section scaffolding ─────────────────────────────────────── */
.section-head{margin-bottom:56px;max-width:880px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-sub{font-size:16px;color:var(--muted);line-height:1.7;margin-top:16px;}
.section-label{display:inline-flex;align-items:center;gap:10px;}
.section-label::before{content:'';width:18px;height:1px;background:var(--accent);}
.section-head.center .section-label::after{content:'';width:18px;height:1px;background:var(--accent);}

/* ── Hero ────────────────────────────────────────────────────── */
.hero{position:relative;overflow:hidden;background:var(--bg);}
/* Photo runs full-bleed to the right edge of the screen (the one exception to the 1200px width). */
.hero-media{position:absolute;top:0;right:0;bottom:0;width:62%;z-index:0;}
.hero-model{width:100%;height:100%;object-fit:cover;object-position:center 15%;opacity:.6;}
/* One static gradient veil instead of masks, filters and the animated SVG. */
.hero-media::after{content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,var(--bg) 0%,rgba(10,10,10,.85) 22%,rgba(10,10,10,.3) 62%,rgba(10,10,10,.45) 100%),
             linear-gradient(0deg,var(--bg) 0%,transparent 28%,transparent 82%,rgba(10,10,10,.7) 100%);}
.hero-wrap{position:relative;z-index:2;min-height:100svh;padding-top:calc(var(--nav-h) + 56px);padding-bottom:90px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;}
.hero-badge{border-radius:999px;padding:7px 16px 7px 14px;margin-bottom:30px;width:fit-content;}
.badge-dot{animation:none;}
.hero-title{display:flex;flex-direction:column;}
.ht-line{display:block;}
.hero-sub{font-weight:400;color:var(--muted);font-size:17px;max-width:470px;margin:28px 0 36px;}
.btn-lg{padding:16px 30px;font-size:13px;}
.btn-primary svg{transition:transform .2s ease;}
.btn-primary:hover svg{transform:translateX(3px);}
.hero-trust{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:34px;padding:0;}
.hero-trust li{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);}
.hero-trust svg{width:16px;height:16px;fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.scroll-cue{position:absolute;left:50%;bottom:28px;z-index:3;transform:translateX(-50%);width:24px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:14px;display:flex;justify-content:center;padding-top:7px;transition:border-color .2s;}
.scroll-cue:hover{border-color:var(--accent);}
.scroll-cue span{width:3px;height:8px;border-radius:2px;background:var(--accent);}

/* ── Aurora (hero, apply section) ────────────────────────────
   Pre-rendered, already-blurred images (tools/make-aurora.py), always
   100% of the screen width. The browser only draws a bitmap; everything
   that moves is a CSS transform/opacity animation, paused off-screen
   (aurora.js).
   Shine ("glint"): a second copy of the same image inside a wide window
   with a soft bell-shaped mask. The window slides across while the copy
   inside slides back by the same amount, so the copy always sits exactly
   on the wave: where the window is, the aurora glows stronger in its own
   colour and shape. Endless, no pause. */
.aurora{position:absolute;left:0;right:0;top:0;height:100%;overflow:hidden;pointer-events:none;
  background:var(--aurora-img) no-repeat center/100% 100%;
  will-change:opacity,transform;opacity:var(--aurora-o,.9);}
.aurora[data-curve="rise"]{--aurora-img:url(aurora-rise.webp);}
.aurora[data-curve="drift"]{--aurora-img:url(aurora-drift.webp);}
.aurora[data-curve="crest"]{--aurora-img:url(aurora-crest.webp);}
.aurora[data-curve="sway"]{--aurora-img:url(aurora-sway.webp);}
.aurora-hero{z-index:1;}
.aurora-cta{z-index:0;--aurora-o:1;--glint-dur:20s;--glint-delay:-7s;}
/* How it works: positioned by aurora.js (data-anchor) so the middle of the
   wave sits behind step 3, while staying inside the section. */
.aurora-process{z-index:0;--aurora-o:.8;--glint-dur:18s;--glint-delay:-4s;}
/* Apply modal: slightly see-through form box. */
.modal-overlay .modal-box{z-index:1;background:linear-gradient(180deg,rgba(21,20,24,.8),rgba(17,17,19,.8));}

/* window = 55% of the aurora width; the copy inside is 100/55 of the window = the full aurora */
.aurora-glint{display:none;position:absolute;top:0;bottom:0;left:0;width:55%;will-change:transform;
  -webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.12) 16%,rgba(0,0,0,.45) 32%,rgba(0,0,0,.85) 44%,#000 50%,rgba(0,0,0,.85) 56%,rgba(0,0,0,.45) 68%,rgba(0,0,0,.12) 84%,transparent);
          mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.12) 16%,rgba(0,0,0,.45) 32%,rgba(0,0,0,.85) 44%,#000 50%,rgba(0,0,0,.85) 56%,rgba(0,0,0,.45) 68%,rgba(0,0,0,.12) 84%,transparent);}
.aurora-glint-img{position:absolute;top:0;bottom:0;left:0;width:calc(100% / .55);
  background:var(--aurora-img) no-repeat center/100% 100%;opacity:var(--glint-o,.9);will-change:transform;}

@media (prefers-reduced-motion: no-preference){
  .aurora{animation:auroraBreathe 7s ease-in-out infinite;}
  .aurora-cta{animation-delay:-3s;}
  .aurora-glint{display:block;animation:glintMove var(--glint-dur,16s) linear var(--glint-delay,0s) infinite;}
  .aurora-glint-img{animation:glintHold var(--glint-dur,16s) linear var(--glint-delay,0s) infinite;}
  .aurora.paused,.aurora.paused .aurora-glint,.aurora.paused .aurora-glint-img{animation-play-state:paused;}
}
@keyframes auroraBreathe{
  0%,100%{opacity:calc(var(--aurora-o,.9) * .65);transform:translateY(6px) scaleY(.95);}
  50%{opacity:var(--aurora-o,.9);transform:translateY(-6px) scaleY(1.04);}
}
/* window: from just off the left edge (-55% of W) to just off the right edge (+W) */
@keyframes glintMove{from{transform:translateX(-100%);}to{transform:translateX(calc(100% / .55));}}
/* copy: the exact opposite offset, so it never moves relative to the wave */
@keyframes glintHold{from{transform:translateX(55%);}to{transform:translateX(-100%);}}

/* ── Stats strip ─────────────────────────────────────────────── */
.stats{background:var(--bg);padding:0 0 8px;margin-top:-1px;}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);background:#101012;overflow:hidden;}
.stat{padding:30px 26px;text-align:center;position:relative;}
.stat + .stat::before{content:'';position:absolute;left:0;top:22%;bottom:22%;width:1px;background:var(--line);}
.stat-num{font-family:'Bebas Neue',sans-serif;font-size:clamp(40px,4.4vw,56px);line-height:1;color:var(--text);letter-spacing:1px;font-variant-numeric:tabular-nums;}
.stat-num small{font-size:.55em;color:var(--accent);margin:0 2px;}
.stat-lbl{font-size:13px;color:var(--muted);margin-top:8px;}

/* ── Word band (static) ──────────────────────────────────────── */
/* Soft hairlines that fade out at both ends instead of hard full-width borders. */
.band{overflow:hidden;padding:26px 0;margin-top:72px;
  background:linear-gradient(90deg,transparent,rgba(155,92,246,.35) 30%,rgba(155,92,246,.35) 70%,transparent) top/100% 1px no-repeat,
             linear-gradient(90deg,transparent,rgba(155,92,246,.35) 30%,rgba(155,92,246,.35) 70%,transparent) bottom/100% 1px no-repeat,
             linear-gradient(180deg,var(--bg),#0e0d12 35%,#0e0d12 65%,var(--bg));}
.band-row{display:flex;justify-content:center;align-items:center;gap:22px;white-space:nowrap;padding:0 20px;
  font-family:'Bebas Neue',sans-serif;font-size:clamp(22px,2.35vw,36px);letter-spacing:1.5px;color:var(--text);}
.band-row i{font-style:normal;font-size:.5em;color:var(--accent);}
.band-row .outline{color:transparent;-webkit-text-stroke:1px rgba(167,139,250,.7);}

/* ── Cards ───────────────────────────────────────────────────── */
.card{position:relative;background:#121214;border:1px solid var(--line);border-radius:var(--radius);padding:28px;transition:border-color .25s ease,background .25s ease;}
.card:hover{border-color:rgba(155,92,246,.35);background:#141317;}
.card-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  background:rgba(155,92,246,.1);border:1px solid rgba(155,92,246,.22);}
.card-icon svg{width:21px;height:21px;fill:none;stroke:var(--accent-h);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.card-title{font-size:17px;font-weight:600;color:var(--text);margin-bottom:8px;letter-spacing:.1px;}
.card-text{font-size:14.5px;color:var(--muted);line-height:1.7;}

/* ── Services bento ──────────────────────────────────────────── */
.services{padding:110px 0 120px;background:var(--bg);overflow:hidden;}
.bento{display:grid;grid-template-columns:1fr 300px 1fr;gap:16px;grid-template-areas:"a phone d" "b phone e" "c phone f";}
.b-a{grid-area:a;}.b-b{grid-area:b;}.b-c{grid-area:c;}.b-d{grid-area:d;}.b-e{grid-area:e;}.b-f{grid-area:f;}
/* No card box around the phone: just the phone with a purple glow behind it
   (a radial gradient, not a blur filter). */
.b-phone,.b-phone:hover{grid-area:phone;display:flex;align-items:center;justify-content:center;padding:30px 20px;
  background:none;border-color:transparent;}
.phone-glow{position:absolute;left:50%;top:50%;width:520px;height:620px;transform:translate(-50%,-50%);pointer-events:none;
  background:radial-gradient(closest-side,rgba(155,92,246,.55),rgba(155,92,246,.22) 42%,rgba(155,92,246,.07) 70%,transparent);}
.services-phone{position:relative;width:232px;height:444px;border-radius:38px;border:1px solid #2a2a30;background:#0A0A0A;overflow:hidden;
  box-shadow:0 0 0 6px #121214,0 0 0 7px #26262b;}
.services-phone svg{width:100%;height:100%;display:block;}

/* ── Process timeline ────────────────────────────────────────── */
/* Alternate sections blend in and out with a short gradient instead of a hard line. */
.process,.faq{background:linear-gradient(180deg,var(--bg) 0,#0f0e13 110px,#0f0e13 calc(100% - 110px),var(--bg) 100%);}
.process{position:relative;overflow:hidden;padding:110px 0;}
.process > .container{position:relative;z-index:1;}
.timeline{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:20px;position:relative;padding:0;}
.tl-line{position:absolute;left:10%;right:10%;top:27px;height:2px;background:var(--line);border-radius:2px;}
.tl-fill{position:absolute;inset:0;background:linear-gradient(90deg,var(--accent),var(--accent-h));border-radius:2px;transform-origin:left center;}
/* One-time fill when the timeline first appears; no scroll scrubbing. */
.js .tl-fill{transform:scaleX(0);transition:transform 1.4s cubic-bezier(.65,0,.35,1) .3s;}
.js .timeline.in .tl-fill{transform:none;}
.tl-step{text-align:center;position:relative;z-index:1;}
.tl-dot{width:56px;height:56px;margin:0 auto 22px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#0f0e13;border:1px solid var(--accent);font-family:'Bebas Neue',sans-serif;font-size:24px;color:var(--accent-h);
  transition:background .25s,color .25s;}
.tl-step:hover .tl-dot{background:var(--accent);color:#fff;}
.tl-body h3{font-size:15px;font-weight:600;letter-spacing:.3px;margin-bottom:8px;color:var(--text);}
.tl-body p{font-size:14px;color:var(--muted);line-height:1.7;}

/* ── Why us ──────────────────────────────────────────────────── */
.why-us{padding:110px 0;background:var(--bg);}
/* Original layout: heading, intro and numbered list on the left,
   partner card on the right; thin dividers between list items. */
.why-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:center;}
.why-lead{font-size:15px;color:var(--muted);line-height:1.8;margin:24px 0 36px;max-width:520px;}
.why-list{display:flex;flex-direction:column;}
.why-item{display:flex;gap:22px;align-items:flex-start;padding:22px 0;border-top:1px solid var(--line);}
.why-item:last-child{border-bottom:1px solid var(--line);}
.why-num{font-family:'Bebas Neue',sans-serif;font-size:30px;color:var(--accent);line-height:1;flex-shrink:0;width:40px;}
.why-item h4{font-size:15px;font-weight:600;color:var(--text);margin-bottom:6px;letter-spacing:.2px;}
.why-item p{font-size:14px;color:var(--muted);line-height:1.7;}
.partner-card{padding:32px;display:flex;flex-direction:column;border-radius:var(--radius);}
.partner-card:hover{box-shadow:none;}
.partner-top{justify-content:space-between;margin-bottom:20px;}
.partner-screenshot{border-radius:10px;margin:0 0 20px;border:1px solid var(--line);}
.partner-text{font-size:14px;line-height:1.75;margin-bottom:20px;color:var(--muted);}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq{padding:110px 0;}
.faq-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;margin-top:0;align-items:start;}
.faq-aside{position:sticky;top:110px;}
.faq-aside .section-title{margin-bottom:20px;}
.faq-note{font-size:15px;margin-bottom:28px;color:var(--muted);line-height:1.7;}
.faq-list{display:flex;flex-direction:column;gap:10px;}
.faq-item{border:1px solid var(--line);border-radius:12px;background:#111113;transition:border-color .25s ease;}
.faq-item:hover{border-color:rgba(255,255,255,.12);}
.faq-item.open{border-color:rgba(155,92,246,.4);}
.faq-btn{padding:20px 22px;font-size:15.5px;}
.faq-icon{position:relative;width:26px;height:26px;border-radius:50%;border:1px solid #2e2e35;font-size:0;flex-shrink:0;}
.faq-icon::before,.faq-icon::after{content:'';position:absolute;left:50%;top:50%;width:10px;height:1.5px;background:var(--accent-h);transform:translate(-50%,-50%);transition:transform .25s ease;}
.faq-icon::after{transform:translate(-50%,-50%) rotate(90deg);}
.faq-item.open .faq-icon{transform:none;}
.faq-item.open .faq-icon::after{transform:translate(-50%,-50%) rotate(0deg);}
.faq-answer-inner{padding:0 22px;color:var(--muted);font-size:15px;line-height:1.8;}
.faq-item.open .faq-answer-inner{padding-bottom:22px;}

/* ── Apply CTA ───────────────────────────────────────────────── */
.apply-cta{position:relative;overflow:hidden;padding:100px 0 120px;background:var(--bg);}
.apply-cta .container{position:relative;z-index:1;}
.cta-card{position:relative;overflow:hidden;isolation:isolate;text-align:center;padding:72px 32px;border-radius:24px;border:1px solid rgba(155,92,246,.45);
  background:radial-gradient(ellipse 70% 80% at 50% 0%,rgba(155,92,246,.14),transparent 70%),rgba(17,17,19,.38);}
.cta-glow{display:none;}
.apply-eyebrow{font-family:'DM Sans',sans-serif;font-style:normal;font-size:13px;letter-spacing:3px;text-transform:uppercase;color:var(--accent-h);margin-bottom:18px;}
.apply-titles-row{font-weight:400;margin-bottom:22px;}
.apply-sub{font-size:16px;font-weight:400;margin:0 auto 36px;max-width:520px;}

/* ── Footer (giant outlined wordmark) ────────────────────────── */
.site-footer{position:relative;border-top:0;background:linear-gradient(180deg,var(--bg) 0,#08080a 120px);padding-top:100px;overflow:hidden;}
/* Logo on the left (vertically centred), Explore + Legal pushed to the right edge. */
.footer-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:48px;}
.footer-brand-col .footer-logo-text{font-family:'Bebas Neue',sans-serif;font-size:34px;}
.footer-links{display:flex;gap:96px;}
.footer-col{display:flex;flex-direction:column;gap:12px;}
.footer-col h3{font-size:11px;font-weight:600;letter-spacing:3px;text-transform:uppercase;color:var(--accent-h);margin-bottom:8px;}
.footer-col a,.footer-col p{font-size:14.5px;color:var(--muted);width:fit-content;transition:color .2s;}
.footer-col a:hover{color:var(--text);}
.arrow-link{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--accent-h);background:none;border:none;padding:0 0 6px;cursor:pointer;font-family:'DM Sans',sans-serif;
  border-bottom:1px solid rgba(167,139,250,.35);transition:color .2s,border-color .2s;}
.arrow-link:hover{color:#fff;border-color:#fff;}
/* Sized to the 1120px content width; its lower part tucks under the
   (opaque) bottom bar, so only the top of the letters shows. */
.footer-giant{position:relative;z-index:1;font-family:'Bebas Neue',sans-serif;font-size:min(195.5px,calc((100vw - 80px) / 5.73));line-height:.8;text-align:center;white-space:nowrap;
  letter-spacing:.01em;margin:90px auto -.14em;color:transparent;-webkit-text-stroke:1px rgba(240,237,232,.16);user-select:none;}
.footer-giant span{-webkit-text-stroke-color:rgba(155,92,246,.45);}
.footer-bottom{position:relative;z-index:1;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;
  padding-top:24px;padding-bottom:28px;border-top:1px solid var(--line);background:#08080a;font-size:12.5px;color:rgba(154,154,159,.7);}
.footer-bottom p{margin:0;}

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:1080px){
  .bento{grid-template-columns:1fr 1fr;grid-template-areas:"phone phone" "a d" "b e" "c f";}
  .footer-links{gap:64px;}
}
@media(max-width:900px){
  .hero-media{width:100%;}
  .hero-model{opacity:.32;}
  .aurora-hero{--aurora-o:.5;}
  .aurora-process{--aurora-o:.55;}
  .hero-media::after{background:linear-gradient(0deg,var(--bg) 0%,rgba(10,10,10,.55) 40%,rgba(10,10,10,.75) 100%);}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .stat:nth-child(3)::before{display:none;}
  .stat:nth-child(n+3){border-top:1px solid var(--line);}
  .band-row{flex-wrap:wrap;white-space:normal;gap:6px 14px;font-size:24px;}
  .timeline{grid-template-columns:1fr;gap:28px;max-width:520px;margin:0 auto;}
  .tl-line{left:27px;right:auto;top:10px;bottom:10px;width:2px;height:auto;}
  .tl-fill{transform-origin:center top;}
  .js .tl-fill{transform:scaleY(0);}
  .tl-step{display:flex;gap:20px;text-align:left;align-items:flex-start;}
  .tl-dot{margin:0;flex-shrink:0;}
  .tl-body{padding-top:6px;}
  .faq-layout{grid-template-columns:1fr;gap:36px;}
  .faq-aside{position:static;}
  .why-layout{grid-template-columns:1fr;gap:44px;}
  .partner-card{max-width:560px;}
}
@media(max-width:640px){
  .hero-wrap{justify-content:flex-start;min-height:auto;padding-top:calc(var(--nav-h) + 56px);padding-bottom:64px;}
  .hero-sub{font-size:16px;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-actions .btn-primary,.hero-actions .btn-ghost{justify-content:center;}
  .btn-lg{letter-spacing:1.5px;}
  .scroll-cue{display:none;}
  .services,.process,.why-us,.faq{padding:80px 0;}
  .section-head{margin-bottom:40px;}
  .bento{grid-template-columns:1fr;grid-template-areas:"phone" "a" "b" "c" "d" "e" "f";gap:12px;}
  .card{padding:22px;}
  .why-item{gap:16px;}
  .partner-card{padding:24px;}
  .phone-glow{width:360px;height:520px;}
  .stat{padding:22px 12px;}
  .band{margin-top:48px;}
  .cta-card{padding:52px 22px;border-radius:18px;}
  .footer-top{flex-direction:column;align-items:flex-start;gap:36px;}
  .footer-links{gap:56px;}
  .footer-giant{margin-top:56px;font-size:calc((100vw - 48px) / 5.73);}
}
