/* ══ RESPONSIVE ═══════════════════════════════ */

@media (max-width:1180px){
  :root{--pad:32px}
  .sec-head-split{gap:38px}
  .what-grid{gap:44px}
}

@media (max-width:1000px){
  .intro-grid{grid-template-columns:1fr;gap:18px}
  .intro-art{min-height:340px}   /* room for n2's label above its icon */
  .use-cards{grid-template-columns:1fr}
  .nav-links{display:none}
  .burger{display:flex}
  /* Full-screen menu. The drawer is a child of the nav and comes after the
     bar in the DOM, so the bar needs its own stacking order to stay on top —
     otherwise the menu covers the button that closes it. */
  .nav-in{position:relative;z-index:2}
  .nav-drawer{
    display:flex;position:fixed;inset:0;z-index:1;
    flex-direction:column;justify-content:center;padding:96px var(--pad) 40px;
    background:rgba(0,26,62,.98);backdrop-filter:blur(18px);
    opacity:0;visibility:hidden;transform:translateY(-10px);
    transition:opacity .3s,transform .38s cubic-bezier(.2,.7,.3,1),visibility .3s;
  }
  .nav-drawer.open{opacity:1;visibility:visible;transform:none}
  .nav-drawer a{
    display:block;padding:18px 0;color:rgba(255,255,255,.86);
    font-size:clamp(26px,7.5vw,34px);font-family:var(--disp);font-weight:600;
    letter-spacing:-.03em;border-bottom:1px solid rgba(255,255,255,.09);
  }
  .nav-drawer .drawer-cta{color:#fff;border-bottom:none}
  /* backdrop-filter on the bar would make it the containing block for the
     fixed drawer, collapsing the full-screen menu into the bar once scrolled.
     The background is near-opaque anyway, so the blur is no loss. */
  .nav.stuck{background:rgba(0,26,62,.97);backdrop-filter:none}
  body.menu-open{overflow:hidden}

  .found-grid{grid-template-columns:1fr;gap:22px}
  .found-img{min-height:260px}
  .use-grid{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:1fr;gap:18px}
  .card{padding:0 26px 26px}
  .card-img{margin:0 -26px 22px}
  .card h3{font-size:28px}
  .why-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  .sec-head-split{grid-template-columns:1fr;gap:24px;align-items:start}
  .foot-in{grid-template-columns:1fr;gap:44px}

  /* equation stacks */
  .eqn-row{flex-direction:column}
  .term{padding:20px 24px}
  .op{width:100%;height:auto;flex-direction:row;justify-content:flex-start;
      padding:0 24px 4px;font-size:32px;line-height:1}
  .op-eq{flex-direction:column;align-items:flex-start;gap:4px;padding-bottom:18px}
  .op-eq i{width:15px;height:3px}
  .term-out{border-left:none;border-top:1px solid rgba(255,255,255,.11);border-radius:0 0 var(--r) var(--r)}
}

@media (max-width:820px){
  .what-grid{grid-template-columns:1fr;gap:22px}
  .unis-in{flex-direction:column;align-items:flex-start;gap:18px}
  .unis-track{width:100%}
}

@media (max-width:680px){
  :root{--pad:22px}

  /* the marquee only ever shows one or two marks on a phone, so it runs
     smaller and tighter — and faster, since the row itself is shorter */
  .unis{--unis-gap:34px;--unis-h:60px}
  .unis-dark{--unis-h:54px}
  .unis-row{animation-duration:38s}

  br.brk{display:none}
  body{font-size:16px}
  .sec{padding:76px 0}
  .sec-head{margin-bottom:38px}
  .hero{padding-top:132px}
  .hero-in{padding-bottom:56px}
  .hero h1{font-size:clamp(34px,9vw,44px)}
  .lede{font-size:17px;margin-top:20px}
  .hero-btns{margin-top:30px}
  .hero-btns .btn{width:100%;justify-content:center}
  .equation{margin-top:48px}

  .nav-in{padding:12px var(--pad)}
  .brand{--lockup:42px}
  .foot .brand{--lockup:48px}
  .nav-cta .btn-sm{display:none}

  .principle{padding:80px 0}
  .principle-sub{font-size:16.5px}
  .mantra{flex-direction:column;gap:4px;margin-top:34px}

  .stats{grid-template-columns:1fr}
  .found-img{min-height:210px}
  .stat{padding:28px 22px}
  .use-grid{grid-template-columns:1fr}
  .band{padding:76px 0}
  .band-top{padding-bottom:32px;margin-bottom:38px}
  .use-card{padding:22px 22px;gap:16px}
  .ico{width:42px;height:42px;border-radius:11px}
  .intro-card{padding:30px 26px 150px}
  .intro-card p{font-size:17px}
  .art-mark{width:68px}
  .banner{padding:86px 0}
  .banner .banner-lead{font-size:18px}
  .banner .pull{font-size:19px}
  .exp-row{grid-template-columns:1fr;gap:22px}
  .exp{margin-top:38px;padding-top:28px}
  .why-grid{grid-template-columns:1fr;gap:26px}

  .cta{padding:78px 0}
  .cta-btns .btn{width:100%;justify-content:center}
  .cta-who{margin-top:34px}

  .foot{padding:52px 0 28px}
  .foot-nav{grid-template-columns:1fr 1fr;gap:24px}
  .foot-base{flex-direction:column;align-items:flex-start;gap:18px}
}

/* ── inner pages ── */
@media (max-width:1180px){
  .offer-grid,.route-grid,.next-grid,.beyond-grid{gap:48px}
  .mega-steps{gap:28px}
  .uni-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1000px){
  .phero{padding:156px 0 90px}
  .bleed-split{grid-template-columns:1fr}
  .bleed-img{aspect-ratio:16/9;min-height:0;border-radius:0}
  .bleed-copy{padding:44px var(--pad) 56px}   /* the call-out needs room under it too */
  .bleed-sec{padding-bottom:0}
  .mega-steps{grid-template-columns:1fr 1fr;gap:34px 40px;padding-bottom:40px}
  .mega-step:nth-child(2),.mega-step:nth-child(3),.mega-step:nth-child(4){padding-top:0}
  .mega-step:nth-child(3),.mega-step:nth-child(4){margin-top:26px}
  .offer-grid,.beyond-grid,.next-grid,.contact-grid{grid-template-columns:1fr;gap:34px}
  .goal-not{white-space:normal}
  .offer-h{position:static}
  .beyond-img{margin-right:0;order:-1}
  .overlap-img{width:100%}
  .overlap-card{position:static;width:100%;margin-top:24px;padding:34px 32px;box-shadow:none;
    border:1px solid var(--line)}
  /* the card is in the flow now, so it needs its own room before the banner */
  .overlap-sec{padding-bottom:64px}
  .focus-tiles{grid-template-columns:1fr 1fr;gap:18px}
  .path-grid{grid-template-columns:repeat(4,1fr);gap:18px}
  .path-tile{grid-column:span 2}
  .path-tile:nth-child(4){grid-column:1 / span 2}
  .path-tile:nth-child(5){grid-column:3 / span 2}
  .advisor-grid{grid-template-columns:repeat(2,1fr);gap:34px 26px}
  .advisor-shot{width:100%}
  .num-list{grid-template-columns:1fr;gap:0}
  .facts{grid-template-columns:repeat(2,1fr);gap:30px}
  .model{grid-template-columns:56px minmax(0,1fr);gap:8px 20px}
  .model p{grid-column:2}
  .video-frame{aspect-ratio:16/9}
}
@media (max-width:680px){
  .phero{padding:132px 0 70px}
  .phero h1{font-size:clamp(34px,9vw,44px)}
  .mega-steps{grid-template-columns:1fr;gap:26px}
  .mega-step:nth-child(3),.mega-step:nth-child(4){margin-top:0}
  .mega-n{font-size:60px}
  .lenses-sec{padding:78px 0 72px}
  .goal-band,.next-sec,.facts-sec,.closing-band{padding:78px 0}
  .goal-not{white-space:normal;font-size:clamp(24px,7vw,34px)}
  .goal-is-wrap{align-self:stretch;margin-top:34px;max-width:none}
  .offer summary{padding:24px 0;gap:18px}
  .offer-mark{width:30px;height:30px}
  .banner-students{padding-bottom:130px}
  .students-card{margin-top:-120px;padding:30px 24px 18px}
  .uni-grid{grid-template-columns:repeat(2,1fr)}
  /* focus areas swipe sideways, the next tile peeping in past the gutter */
  .focus-tiles{
    display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;
    gap:14px;align-items:start;
    /* bleeding right only keeps the first tile flush with the container while
       the next one peeps past the gutter; overflow-y is pinned because a
       scroll container otherwise inherits auto and the reveal transform
       gives it something to scroll */
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin:40px calc(var(--pad) * -1) 0 0;padding-right:var(--pad);
    scrollbar-width:none;
  }
  .focus-tiles::-webkit-scrollbar{display:none}
  .focus-tiles .rev{transform:none}
  .focus-tile{scroll-snap-align:start;aspect-ratio:3/4}
  .path-grid{grid-template-columns:1fr;gap:16px}
  .path-tile,.path-tile:nth-child(4),.path-tile:nth-child(5){grid-column:1 / -1}
  .path-tile{aspect-ratio:16/10}

  /* .sec's own padding wins over .bleed-sec at this width — put it back */
  .bleed-sec{padding:0}

  /* the halftone ground is all texture and no room on a phone */
  .paths-texture{display:none}
  .focus-sec{background-image:none}

  /* advisors run full width, so the copy is not squeezed into a half column */
  .advisor-grid{grid-template-columns:1fr;gap:38px}
  .advisor-shot{max-width:220px}
  .paths-h{margin-bottom:34px}
  .uni{min-height:150px;padding:32px 26px}
  .uni img{max-height:96px}
  .facts{grid-template-columns:1fr;gap:24px}
  .video-cap{left:24px;bottom:22px}
  .video-play{width:66px;height:66px}
  .video-play svg{width:26px;height:26px}
  /* The converging-streams plate. The node positions are fixed by the SVG
     path endpoints, so they cannot be nudged inward — the nodes are narrowed
     instead, which keeps every label inside the plate and every wire landing
     on the icon it belongs to. */
  .intro-art{min-height:356px}
  .wire-live path{--travel:-165px}
  .node{width:84px;gap:7px;margin-top:-19px}
  .n2 b{margin-bottom:9px}
  .node b{font-size:9.5px;letter-spacing:.06em}
  .nico{width:38px;height:38px;border-radius:11px}
  .nico svg{width:18px;height:18px}

  .contact-form{padding:28px 24px 30px}
  .field-row{grid-template-columns:1fr;gap:0}
  .advisors{padding-top:70px;padding-bottom:38px}
  .video-sec{padding-bottom:52px}
  .mega-sec{padding:80px 0 76px}
}
