/* ============================================================
   ZIMS / ZOTbotics Website — shared stylesheet
   Design tokens pulled from the ZOTbotics Website Design Figma file
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Anton&family=Bungee&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root{
  /* colors */
  --navy-950:#000005;
  --navy-900:#020518;
  --navy-850:#030a21;
  --navy-800:#050a30;
  --navy-700:#0c1635;
  --navy-600:#1b2441;
  --yellow:#fec817;
  --yellow-soft:#f4db80;
  --yellow-dark:#efbc18;
  --ink:#020415;
  --btn-ink:#3b3000;
  --ebony:#ebebeb;
  --white:#ffffff;
  --line:#474746;

  /* type */
  --font-nav: 'Bebas Neue', sans-serif;
  --font-display: 'Anton', sans-serif;
  --font-quirk: 'Bungee', cursive;
  --font-body: 'Libre Franklin', sans-serif;
  --font-fine: 'Inter', sans-serif;

  --header-h: 100px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 12px);}
body{
  margin:0;
  background:var(--navy-800);
  color:var(--ebony);
  font-family:var(--font-body);
  line-height:1.5;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}
h1,h2,h3,h4,p{margin:0;}
.container{max-width:1440px; margin:0 auto; padding:0 24px;}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; left:0; right:0; z-index:1000;
  background:var(--navy-800);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .menu-contents{
  max-width:1440px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; padding:10px 24px;
}
.logo-link{display:flex; align-items:center; gap:12px; flex-shrink:0;}
.logo-link img.logo-full{height:72px; width:auto; object-fit:contain;}
.logo-wordmark{
  font-family:var(--font-nav); color:var(--yellow); font-size:26px;
  letter-spacing:1px; line-height:1;
}
.logo-wordmark small{display:block; font-family:var(--font-body); color:var(--white); font-size:9px; letter-spacing:1.5px; font-weight:600; margin-top:2px;}

.nav-toggle{
  display:none; background:none; border:none; color:var(--white);
  padding:8px; margin-left:auto;
}
.nav-toggle svg{width:28px; height:28px;}

.nav-menu{display:flex; align-items:center; gap:6px; flex-wrap:wrap;}
.nav-item{position:relative;}
.nav-link{
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-nav); font-size:32px; color:var(--white);
  padding:14px 18px; border-radius:15px; white-space:nowrap;
  transition:color .18s ease, background-color .18s ease;
}
.nav-link:hover, .nav-link:focus-visible, .nav-item.open > .nav-link{
  color:var(--yellow);
}
.nav-link.is-disabled{cursor:default; opacity:.55;}
.nav-link.is-disabled:hover{color:var(--white);}
.nav-link .caret{width:14px; height:14px; transition:transform .18s ease; flex-shrink:0;}
.nav-item.open .caret{transform:rotate(180deg);}
.nav-link.cta{background:var(--ink); }
.nav-link.cta:hover{color:var(--yellow); background:#131634;}

.nav-item.current > .nav-link{color:var(--yellow);}

.dropdown{
  position:absolute; top:100%; left:0; margin-top:6px;
  min-width:220px; padding:10px;
  background:rgba(37,37,37,.86); backdrop-filter:blur(6px);
  border-radius:18px;
  box-shadow: inset 0 14px 74px -20px rgba(0,0,0,.55), 0 18px 40px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
  z-index:1100;
}
.nav-item.open .dropdown{opacity:1; visibility:visible; transform:translateY(0);}
.dropdown a{
  display:block; font-family:var(--font-nav); font-size:22px; color:var(--white);
  padding:12px 16px; border-radius:12px;
}
.dropdown a:hover, .dropdown a:focus-visible{color:var(--yellow); background:rgba(255,255,255,.08);}

@media (max-width: 1180px){
  .nav-toggle{display:inline-flex;}
  .nav-menu{
    position:fixed; inset:var(--header-h) 0 0 0; top:var(--header-h);
    flex-direction:column; align-items:stretch; flex-wrap:nowrap; gap:0;
    background:var(--navy-800); padding:12px 20px 40px;
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto; overflow-x:hidden;
  }
  .nav-menu.mobile-open{transform:translateX(0);}
  .nav-link{font-size:28px; padding:16px 8px; border-radius:0; border-bottom:1px solid rgba(255,255,255,.08); justify-content:space-between; width:100%; box-sizing:border-box;}
  .nav-item{width:100%;}
  .nav-item:last-child{margin-top:auto; padding-top:20px;}
  .nav-link.cta{border-radius:15px; justify-content:center; border-bottom:none;}
  .dropdown{position:static; margin-top:0; opacity:1; visibility:visible; transform:none; display:none; background:rgba(255,255,255,.04); box-shadow:none; width:100%; min-width:0; box-sizing:border-box;}
  .nav-item.open .dropdown{display:block;}
  .dropdown a{width:100%; box-sizing:border-box;}
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--navy-850); padding:32px 24px;}
.site-footer .footer-row{
  max-width:1152px; margin:0 auto;
  border-top:1px solid rgba(255,255,255,.35);
  padding-top:28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.footer-copy{font-family:var(--font-fine); font-size:22px; color:var(--white); flex:1 1 260px;}
.footer-social{display:flex; gap:20px; align-items:center;}
.footer-social a{
  width:34px; height:34px; border-radius:9px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  transition:transform .18s ease;
}
.footer-social a:hover{transform:translateY(-3px);}
.footer-social img, .footer-social svg{width:100%; height:100%; object-fit:contain;}
.footer-logo{display:flex; align-items:center; gap:10px;}
.footer-logo img{height:56px; width:auto; object-fit:contain;}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:18px; letter-spacing:.9px;
  padding:18px 34px; border-radius:18px; border:1.5px solid transparent;
  transition:transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-solid{background:var(--yellow); color:var(--btn-ink);}
.btn-solid:hover{background:#ffd94d;}
.btn-outline{border-color:var(--yellow); color:var(--yellow);}
.btn-outline:hover{background:rgba(254,200,23,.1);}
.btn svg{width:18px; height:18px;}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.eyebrow-heading{
  font-family:var(--font-nav); color:var(--yellow); text-transform:uppercase;
  letter-spacing:5.4px; font-size:60px; margin:0 0 28px;
}
.section-heading{
  font-family:var(--font-display); color:var(--yellow); text-transform:uppercase;
  letter-spacing:1.5px; font-size:32px; margin:0 0 20px;
}
.body-copy{font-family:var(--font-body); font-weight:500; font-size:21px; line-height:1.85; color:var(--ebony);}
.hero-note{font-family:var(--font-body); font-size:16px; color:var(--white); text-align:center;}

/* pre-baked title banners (image already contains the page's lettering) */
.title-banner{position:relative; width:100%; overflow:hidden; line-height:0;}
.title-banner img{width:100%; height:auto; display:block;}
.title-banner .scroll-hint{
  position:absolute; left:50%; bottom:6%; transform:translateX(-50%);
  font-family:var(--font-body); font-size:21px; color:var(--white);
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.title-banner .scroll-hint svg{width:24px; height:24px; animation:bob 1.8s ease-in-out infinite;}

/* generic full-bleed section w/ gradient */
.grad-a{background:linear-gradient(180deg,var(--navy-950) 0%, var(--navy-900) 27%, var(--navy-700) 100%);}
.grad-b{background:linear-gradient(180deg,var(--navy-900) 0%, var(--navy-700) 100%);}
.grad-c{background:linear-gradient(180deg,var(--navy-700) 0%, var(--navy-900) 100%);}

/* skeleton / coming-soon placeholder image blocks */
.img-placeholder{
  background:repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,.02) 12px 24px);
  border:1px dashed rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.55); font-family:var(--font-body); font-size:14px; text-align:center; padding:16px;
  min-height:200px; border-radius:12px;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.hero{position:relative; overflow:hidden; min-height:640px; display:flex; align-items:flex-end;}
.hero-media{position:absolute; inset:0; z-index:0;}
.hero-media img, .hero-media video{width:100%; height:100%; object-fit:cover;}
.hero-media::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(2,5,24,.15) 0%, rgba(2,5,24,.85) 92%);}
.hero-buttons{position:relative; z-index:1; width:100%; display:flex; justify-content:center; gap:20px; padding:0 0 56px; flex-wrap:wrap;}

.about-zims{padding:96px 0 72px;}
.about-zims .grid{display:grid; grid-template-columns:1.3fr 1fr; gap:56px; align-items:center;}
.about-zims .art{
  aspect-ratio: 337.5 / 591; border-radius:16px; overflow:hidden;
  background:linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.about-zims .art img, .about-zims .art video{width:100%; height:100%; object-fit:cover;}
.link-cta{
  display:inline-flex; align-items:center; gap:10px; margin-top:28px;
  font-family:var(--font-display); color:var(--yellow); letter-spacing:1.8px;
  font-size:18px; text-transform:uppercase;
}
.link-cta svg{width:18px; height:12px;}

.about-maker{padding:80px 0;}
.about-maker .grid{display:grid; grid-template-columns:1fr 1.15fr; gap:56px; align-items:center;}
.about-maker .art{aspect-ratio:4/3; border-radius:16px; overflow:hidden; background:#d9d9d9;}
.about-maker .art img{width:100%; height:100%; object-fit:cover;}

.current-projects{padding:88px 0 110px; text-align:center;}
.current-projects .kicker{font-family:var(--font-body); color:var(--ebony); font-size:21px; margin-bottom:56px;}
.project-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px; text-align:left;}
.project-card{
  background:var(--navy-850); border-radius:22px; overflow:hidden;
  border:1px solid rgba(255,255,255,.06); display:flex; flex-direction:column;
}
.project-card .thumb{aspect-ratio:16/10; overflow:hidden; background:#111a3d;}
.project-card .thumb img{width:100%; height:100%; object-fit:cover;}
.project-card .body{padding:26px 28px 30px; display:flex; flex-direction:column; gap:14px; flex:1;}
.project-card h3{font-family:var(--font-quirk); color:var(--yellow); font-size:30px; font-weight:400;}
.project-card p{font-family:var(--font-body); font-weight:500; font-size:21px; color:var(--ebony); line-height:1.7; flex:1;}
.project-card .learn-more{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  font-family:var(--font-display); font-size:21px; color:var(--ebony);
  background:#474746; padding:12px 22px; border-radius:10px; letter-spacing:.5px;
}
.project-card .learn-more:hover{background:#5a5a58;}
.project-card.ai-project{background:#03071c; align-items:center; justify-content:center; text-align:center;}
.project-card.ai-project .body{align-items:center; text-align:center;}

@media (max-width: 980px){
  .about-zims .grid, .about-maker .grid{grid-template-columns:1fr;}
  .project-grid{grid-template-columns:1fr;}
}

/* ============================================================
   JOIN US PAGE
   ============================================================ */
.join-hero{position:relative;}
.recruitment-status{
  padding:70px 24px 40px; text-align:center;
  background:linear-gradient(175deg, #000000 18.6%, var(--navy-700) 44%);
}
.recruitment-status h1{font-family:var(--font-body); color:var(--yellow); font-size:64px; margin-bottom:8px;}
.recruitment-status .rule{max-width:720px; margin:22px auto 0; height:2px; background:rgba(255,255,255,.25); position:relative;}
.recruitment-status .rule::after{content:""; position:absolute; right:0; top:-4px; width:80px; height:10px; background:var(--navy-700);}

.role-banner{padding:24px 0 70px; text-align:center; background:var(--navy-700);}
.role-banner h2{font-family:var(--font-body); font-size:40px; color:var(--white);}
.role-banner .status{font-family:var(--font-body); font-size:32px; color:var(--yellow-soft); margin-top:14px;}
.role-links{display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:22px; font-family:var(--font-body); font-size:32px;}
.role-links a{color:var(--yellow-soft); text-decoration:underline; text-underline-offset:4px;}
.role-links a:hover{color:var(--yellow);}
.role-links span{color:var(--white);}

.level-grid{background:var(--navy-700); padding-bottom:80px;}
.level-grid .grid{display:grid; grid-template-columns:repeat(2,1fr); gap:26px; max-width:1000px; margin:0 auto;}
.level-card{
  border:2px solid rgba(71,71,70,.5); background:rgba(5,10,48,.7);
  border-radius:12px; padding:32px 26px; text-align:center; display:flex; flex-direction:column; gap:16px;
}
.level-card h3{font-family:var(--font-body); font-size:40px; color:var(--white);}
.level-card .subtitle{font-family:var(--font-body); font-size:32px; color:var(--white); margin-top:-6px;}
.level-card .status-line{font-family:var(--font-body); font-size:32px; color:var(--yellow-soft); margin-top:auto;}
.level-card.slap{text-decoration:none; transition:transform .15s ease;}
.level-card.slap:hover{transform:translateY(-4px);}

/* ============================================================
   SPONSORS / NETWORK / EVENTS / MAKERSPACE / PROJECTS
   ============================================================ */
.sponsor-blurb{max-width:1100px; margin:0 auto; text-align:center; padding:70px 24px; font-family:var(--font-quirk); font-size:40px; line-height:1.5; color:var(--white);}
.sponsor-grid{max-width:1150px; margin:0 auto; padding:0 24px 100px; display:grid; gap:26px;}
.sponsor-row{display:grid; grid-template-columns:1fr 1fr; gap:26px;}
.sponsor-logo{
  border-radius:14px; min-height:150px; display:flex; align-items:center; justify-content:center;
  padding:28px; text-align:center;
}
.sponsor-logo img{max-width:100%; max-height:96px; object-fit:contain;}
.sponsor-logo.bg-white{background:#fff;}
.sponsor-logo.bg-black{background:#0a0a0a;}
.sponsor-logo.bg-blue{background:#0064a4;}
@media (max-width:820px){.sponsor-row{grid-template-columns:1fr;}}

/* our network */
.network-intro{padding:90px 24px 50px; text-align:center; max-width:1100px; margin:0 auto;}
.network-intro h1{font-family:var(--font-quirk); color:var(--white); font-size:64px; line-height:1.3; margin-bottom:26px;}
.network-intro p{font-family:var(--font-quirk); color:var(--white); font-size:40px; line-height:1.4;}
.network-grid{max-width:1100px; margin:0 auto; padding:20px 24px 110px; display:grid; grid-template-columns:repeat(2,1fr); gap:40px;}
.net-card{position:relative; border:5px solid #010005; background:#d9d9d9; color:#111; padding:26px 26px 26px 168px; min-height:190px; display:flex; flex-direction:column; justify-content:center; gap:10px;}
.net-card img{position:absolute; left:18px; top:50%; transform:translateY(-50%); width:120px; height:120px; object-fit:contain;}
.net-card h3{font-family:var(--font-quirk); font-size:32px;}
.net-card p{font-family:var(--font-body); font-size:16px; line-height:1.6;}
.net-card.legacy h3{font-size:24px;}
.net-card.zims{border-color:var(--yellow); background:var(--navy-800);}
.net-card.zims h3{color:var(--yellow);}
.net-card.zims p{color:var(--white);}
.net-card.ace{border-color:#010005;}
.net-card.ace h3{color:#eb1c24;}
.net-card.uav h3{color:#00b332;}
.net-card.f1{background:var(--yellow); border-color:#010005;}
.net-card.f1 h3{color:#f55;}
.net-card.legacy{background:var(--yellow); border-color:#010005;}
.net-card.legacy h3{color:#fff; background:#010005; display:inline-block; padding:6px 14px; margin:-8px 0 6px -8px;}
.network-banner-card{
  grid-column:1/-1; background:var(--navy-800); border:2px solid var(--yellow); border-radius:16px;
  display:flex; align-items:center; justify-content:center; padding:40px; text-align:center;
}
.network-banner-card h3{font-family:var(--font-quirk); color:var(--yellow); font-size:48px;}
@media (max-width:820px){.network-grid{grid-template-columns:1fr;} .net-card{padding-left:26px; padding-top:150px;} .net-card img{position:static; transform:none; margin-bottom:10px;}}

/* events */
.gallery-heading{padding:80px 24px 40px; text-align:center; background:linear-gradient(180deg, #000000 0%, var(--navy-800) 50.5%, var(--navy-700) 100%);}
.gallery-heading h1{font-family:var(--font-display); font-size:96px; color:var(--yellow);}
@keyframes bob{0%,100%{transform:translateY(0);}50%{transform:translateY(6px);}}

.event-row{padding:64px 24px;}
.event-card{
  max-width:1200px; margin:0 auto; background:var(--navy-700); border:1.5px solid #000; border-radius:34px;
  padding:44px; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
  box-shadow:8px 8px 0 rgba(0,0,0,.35);
}
.event-row:nth-child(even) .event-card{grid-template-columns:1fr 1fr;}
.event-row:nth-child(even) .event-card .carousel{order:2;}
.event-card h3{font-family:var(--font-display); color:var(--yellow-dark); font-size:36px; margin-bottom:20px;}
.event-card p{font-family:var(--font-body); font-weight:500; font-size:24px; color:var(--white); line-height:1.6;}
.carousel{position:relative; border-radius:20px; overflow:hidden; aspect-ratio:3/2; background:#0c1635;}
.carousel-track{display:flex; height:100%; transition:transform .4s ease;}
.carousel-track img{width:100%; height:100%; object-fit:cover; flex-shrink:0;}
.carousel-btn{
  position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
  background:rgba(0,0,0,.45); border:none; color:#fff; display:flex; align-items:center; justify-content:center;
  touch-action:manipulation;
}
.carousel-btn:hover{background:rgba(0,0,0,.7);}
.carousel-btn.prev{left:12px;}
.carousel-btn.next{right:12px;}
.carousel-btn svg{width:18px; height:18px;}
.carousel-dots{position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:8px;}
.carousel-dots button{width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.4); border:none; padding:0;}
.carousel-dots button.active{background:var(--yellow);}

@media (max-width:900px){
  .event-card, .event-row:nth-child(even) .event-card{grid-template-columns:1fr;}
  .event-card .carousel{order:2;}
  .gallery-heading h1{font-size:48px;}
}

/* makerspace */
.maker-heading{
  font-family:var(--font-display); color:var(--yellow); text-align:center;
  font-size:60px; margin-bottom:40px; letter-spacing:.5px;
}
.maker-row{
  max-width:1296px; margin:0 auto; padding:0 72px;
  display:grid; grid-template-columns:558fr 674fr; gap:64px; align-items:center;
}
.maker-row .art{aspect-ratio:558/338; border-radius:16px; overflow:hidden;}
.maker-row .art img{width:100%; height:100%; object-fit:cover;}
.maker-row h2{font-family:var(--font-display); color:var(--yellow); font-size:60px; margin-bottom:20px;}
.maker-row p{font-family:var(--font-body); font-size:21px; color:var(--white); line-height:1.85;}

.maker-about{padding:80px 0; background:var(--navy-700);}

.maker-status{background:var(--navy-800); padding:80px 24px;}
.maker-status > iframe{
  max-width:1000px; margin:0 auto; border: none; width: 100%; height: 300px; display: flex; justify-content: center;
}
.status-cards{max-width:1000px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.status-card{background:var(--navy-700); border-radius:16px; padding:24px 26px;}
.status-card .label{font-family:var(--font-display); color:var(--yellow); font-size:13px; letter-spacing:1px; text-transform:uppercase; margin-bottom:8px;}
.status-card .value{font-family:var(--font-body); font-weight:700; color:var(--white); font-size:22px;}
.status-updated{max-width:1000px; margin:20px auto 0; text-align:center; font-family:var(--font-body); font-size:13px; color:rgba(255,255,255,.5);}
@media (max-width:820px){.status-cards{grid-template-columns:1fr;}}

.maker-equip{background:var(--navy-700); padding:80px 24px;}
.equip-grid{max-width:1296px; margin:0 auto; padding:0 72px; display:grid; grid-template-columns:1fr 1fr; gap:30px;}
.equip-card{background:var(--navy-800); border-radius:24px; padding:36px 40px;}
.equip-card h3{font-family:var(--font-display); color:var(--yellow); font-size:36px; margin-bottom:16px;}
.equip-card hr{border:none; border-top:1.5px solid #d9d9d9; margin-bottom:20px;}
.equip-card p{font-family:var(--font-body); font-size:21px; color:var(--white); white-space:pre-line; line-height:1.85;}

.maker-access{background:var(--navy-800); padding:80px 0;}
.maker-access .art{aspect-ratio:710/463.8;}

.maker-locate{background:var(--navy-700); padding:80px 0;}
.maker-locate .art{aspect-ratio:710/463.8;}

@media (max-width:900px){
  .maker-row{grid-template-columns:1fr; padding:0 24px;}
  .equip-grid{grid-template-columns:1fr; padding:0 24px;}
  .maker-status > iframe{height: 400px;}
}

@media (max-width:645px){
  .maker-status > iframe{height: 600px;}
}

/* projects page */
.projects-intro{padding:60px 24px 30px; text-align:center; background:var(--navy-800);}
.projects-intro h1{margin-bottom:22px;}
.projects-intro p{font-family:var(--font-body); font-size:30px; color:var(--white); line-height:1.6; max-width:900px; margin:0 auto;}

.plevel-strip{display:flex; width:100%;}
.plevel-strip a{
  position:relative; flex:1; aspect-ratio:360/420; overflow:hidden;
  display:flex; align-items:flex-end; justify-content:center; padding-bottom:32px;
}
.plevel-strip a img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5;}
.plevel-strip a span{position:relative; z-index:1; font-family:var(--font-nav); color:#fff; font-size:54px; letter-spacing:1px;}
.plevel-strip a.lvl1{background:rgba(5,10,48,.85);}
.plevel-strip a.lvl2{background:var(--yellow);}
.plevel-strip a.lvl3{background:#000;}
.plevel-strip a.ai{background:var(--yellow-soft);}
.plevel-strip a.lvl2 span, .plevel-strip a.ai span{color:#3b3000;}
@media (max-width:820px){.plevel-strip{flex-wrap:wrap;} .plevel-strip a{flex:1 1 50%; aspect-ratio:1/1;}}

.plevel-detail{padding:80px 24px;}
.plevel-detail-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.plevel-detail-grid.reverse .art{order:2;}
.plevel-detail .art{aspect-ratio:639/453; border-radius:28px; overflow:hidden;}
.plevel-detail .art img{width:100%; height:100%; object-fit:cover;}
.plevel-detail h2{font-family:var(--font-display); color:var(--yellow); font-size:36px; margin-bottom:14px;}
.plevel-detail h2 .lvl-num{font-size:60px;}
.plevel-detail .lead{font-family:var(--font-body); font-weight:400; color:var(--white); font-size:24px; margin-bottom:14px;}
.plevel-detail p{font-family:var(--font-body); color:var(--white); font-size:24px; line-height:1.7;}
.plevel-detail ul{margin:14px 0 0; padding-left:22px; color:var(--white); font-family:var(--font-body); font-size:24px; line-height:1.8;}
.plevel-detail ul li{margin-bottom:8px;}
.plevel-detail .coming-soon{font-size:54px; font-weight:400; margin-top:6px;}
@media (max-width:900px){.plevel-detail-grid, .plevel-detail-grid.reverse{grid-template-columns:1fr;} .plevel-detail-grid .art{order:-1;} .plevel-detail-grid.reverse .art{order:-1;}}

/* generic page hero title used on stub pages */
.stub{padding:140px 24px 120px; text-align:center;}
.stub h1{font-family:var(--font-display); color:var(--yellow); font-size:48px; margin-bottom:16px;}
.stub p{font-family:var(--font-body); color:var(--white); font-size:18px; max-width:600px; margin:0 auto;}

/* ============================================================
   MOBILE REFORMAT: Join Us / Our Sponsors / Our Network
   These three were previously just scaled down from desktop;
   this rebuilds their type scale and spacing for phone screens
   while keeping the same colors, fonts, and visual language.
   ============================================================ */

.role-banner > iframe{
  max-width:1000px; margin:0 auto; border: none; width: 100%; height: 500px; display: flex; justify-content: center;
}
@media (max-width:700px){

  /* ---------- Join Us ---------- */
  .recruitment-status{padding:44px 20px 0; color: #181c36;}
  .recruitment-status h1{font-size:34px; line-height:1.15;}
  .recruitment-status .rule{margin:16px auto 0;}

  .role-banner h2{font-size:22px; line-height:1.3;}
  .role-banner .status{font-size:16px; margin-top:0;}
  .role-links{
    flex-direction:column; align-items:center; gap:6px;
    font-size:16px; margin-top:16px;
  }
  .role-links span{display:none;} /* "and" reads fine as a line break between two stacked links */

  .role-banner > iframe{
    height: 900px;
  }

  .level-grid{padding-bottom:48px;}
  .level-grid .grid{grid-template-columns:1fr; gap:16px; padding:0 20px;}
  .level-card{padding:22px 20px; gap:10px;}
  .level-card h3{font-size:26px;}
  .level-card .subtitle{font-size:17px;}
  .level-card .status-line{font-size:15px;}
  .level-card .status-line[style]{font-size:14px !important;}

  /* ---------- Our Sponsors ---------- */
  .sponsor-blurb{font-size:20px; line-height:1.6; padding:40px 20px;}
  .sponsor-grid{padding:0 20px 56px; gap:16px;}
  .sponsor-row{gap:16px;}
  .sponsor-logo{min-height:110px; padding:18px;}
  .sponsor-logo img{max-height:64px;}

  /* ---------- Our Network ---------- */
  .network-intro{padding:52px 20px 32px;}
  .network-intro h1{font-size:32px; line-height:1.25; margin-bottom:16px;}
  .network-intro p{font-size:19px; line-height:1.5;}
  .network-grid{padding:16px 20px 64px; gap:24px;}
  .net-card{
    padding:20px; min-height:0;
    display:flex; flex-direction:column; align-items:flex-start; gap:8px;
  }
  .net-card img{position:static; transform:none; width:88px; height:88px; margin-bottom:6px;}
  .net-card h3{font-size:22px;}
  .net-card.legacy h3{font-size:19px;}
  .net-card p{font-size:15px; line-height:1.55;}

  /* ---------- Join Us: center the underline cleanly on mobile ---------- */
  .recruitment-status .rule{width:80%; max-width:320px;}
  .recruitment-status .rule::after{display:none;}

  /* ---------- Makerspace: just the banner, no scroll hint; sized down
     a bit so the next section's photo peeks into view sooner ---------- */
  .title-banner:has(.scroll-hint.has-label){position:relative; min-height:220px;}
  .title-banner:has(.scroll-hint.has-label) img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
  .scroll-hint.has-label{display:none;}

  /* ---------- Projects: level-select strip labels ---------- */
  .plevel-strip a{padding:0 10px 20px;}
  .plevel-strip a span{
    font-size:24px; text-align:center; white-space:normal; line-height:1.15;
    width:100%;
  }
}
