/* Turon hub — styles. Brand: navy #283480 base, TuronMUN gold accent. */
:root{
  --navy:#283480;          /* ecosystem base */
  --navy-900:#141B4D;      /* deepest navy (hero gradient, text) */
  --navy-800:#1E2766;
  --ink:#1A2156;           /* body text on light */
  --navy-line:#3E4A9A;
  --bg:#F4F5FA;
  --surface:#FFFFFF;
  --muted:#4A5280;         /* 7:1 on --bg */
  --on-navy:#D3D7F7;       /* body text on navy, 8:1 */
  --line:#CDD1E8;
  --gold:#F6A81C;          /* hub accent = TuronMUN gold. Use on navy only (5.6:1) or as a fill behind navy text */
  --gold-ink:#8A5A00;      /* gold for text on light backgrounds (5.3:1 on --bg) */
  /* project accents */
  --mun:#F6A81C; --debate:#C92A2A; --vibe:#6741D9;
  --radius:20px;
  --wrap:1240px;
  --pad:clamp(20px,4vw,32px);
  --hh:68px;                /* header height */
  --screen:calc(100vh - var(--hh));   /* one screen below the header */
  --sy:clamp(20px,4.5vh,56px);        /* vertical padding inside a screen */
  --display:'Unbounded',system-ui,sans-serif;
  --text:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html{scroll-padding-top:var(--hh)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@supports (height:100svh){:root{--screen:calc(100svh - var(--hh));--sy:clamp(20px,4.5svh,56px)}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 var(--text);overflow-x:hidden}
h1,h2,h3{font-family:var(--display);margin:0;color:var(--navy);letter-spacing:-.03em;line-height:1.1}
p{margin:0}
a{color:var(--navy)}
img{max-width:100%;display:block}
:focus-visible{outline:3px solid var(--gold-ink);outline-offset:3px;border-radius:6px}
.dark :focus-visible,.site-footer :focus-visible{outline-color:var(--gold)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--pad)}
.skip{position:absolute;left:12px;top:-80px;background:var(--gold);color:var(--navy-900);padding:12px 16px;border-radius:10px;z-index:100;text-decoration:none;font-weight:700}
.skip:focus{top:12px}
.gold{color:var(--gold)}
.nowrap{white-space:nowrap}
.eyebrow{font:600 13px/1.3 var(--text);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(20,27,77,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;height:var(--hh);position:relative}
.logo{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:-.02em;text-decoration:none;color:#fff;display:inline-flex;align-items:center;gap:10px;min-height:44px}
.logo-mark{width:30px;height:30px;flex:none}
.nav-links{display:flex;gap:2px;list-style:none;margin:0;padding:0}
.nav-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;text-decoration:none;font-weight:500;font-size:15px;color:var(--on-navy)}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.08)}
.nav-tools{display:flex;align-items:center;gap:10px}
.menu-btn{display:none;min-width:44px;min-height:44px;border:1.5px solid var(--navy-line);border-radius:12px;background:transparent;color:#fff;cursor:pointer;align-items:center;justify-content:center}
.menu-btn svg{width:22px;height:22px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:14px;font:600 16px var(--text);text-decoration:none;border:1.5px solid transparent;transition:background .15s,color .15s,border-color .15s;cursor:pointer}
.btn-gold{background:var(--gold);color:var(--navy-900)}
.btn-gold:hover{background:#FFBB3F}
.btn-outline-light{border-color:rgba(255,255,255,.45);color:#fff}
.btn-outline-light:hover{border-color:#fff;background:rgba(255,255,255,.06)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-800)}
.btn-sm{min-height:44px;padding:0 18px;font-size:15px;border-radius:12px}

@media (max-width:919px){
  .nav-cta{display:none}
  .js .menu-btn{display:inline-flex}
  /* .nav is the .wrap, so its padding box already spans the full width */
  .js .nav-links{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;background:var(--navy-900);padding:4px var(--pad) 16px;border-top:1px solid var(--navy-line)}
  .js .nav-links.open{display:flex}
  .js .nav-links a{display:flex;min-height:52px;font-size:17px;padding:0 4px;border-bottom:1px solid rgba(255,255,255,.1);border-radius:0}
  .no-js .nav{flex-wrap:wrap;padding:8px 0;height:auto}
  .no-js .nav-links{order:3;width:100%;overflow-x:auto}
}

/* ---------- screens ----------
   Without JS (or on very short windows) the screens are a normal scrolling page.
   With JS, html.wheel shows one screen at a time next to the dial (option B). */
.screen{padding:var(--sy) 0;display:flex;flex-direction:column;justify-content:center}
.screen>.wrap{width:100%}
.screen+.screen:not(.dark){border-top:1px solid #E4E6F2}

/* ---------- the dial ---------- */
.dial{display:none}
/* laptops: a small half-wheel on the left edge */
html.wheel{--dial-d:clamp(270px,46vh,360px);--dial-w:calc(var(--dial-d) / 2 + 30px);--dial-v:0px;overflow:hidden}
@supports (height:100svh){html.wheel{--dial-d:clamp(270px,46svh,360px)}}
/* html.wheel already stops page scrolling; body must stay overflow:visible or it clips the phone menu (body is only 68px tall here) */
.wheel body{overflow:visible;background:var(--navy-900)}
.wheel .dial{display:block;position:fixed;z-index:30;left:0;top:var(--hh);bottom:0;width:var(--dial-w);background:var(--navy-900);overflow:hidden}
.dial-disc{position:absolute;left:calc(var(--dial-d) / -2);top:50%;width:var(--dial-d);height:var(--dial-d);margin-top:calc(var(--dial-d) / -2);border-radius:50%;background:radial-gradient(circle at 75% 50%,#2E3A94 0%,#1C2560 72%);border:2px solid var(--navy-line);box-shadow:0 0 0 8px rgba(62,74,154,.18);transition:transform .7s cubic-bezier(.3,.7,.2,1)}
.dial-disc::after{content:"";position:absolute;left:50%;top:50%;width:18%;height:18%;transform:translate(-50%,-50%);border-radius:50%;background:var(--navy-900);border:2px solid var(--navy-line)}
.dial a{--r:calc(var(--dial-d) * .12);position:absolute;left:50%;top:50%;display:flex;align-items:center;min-height:32px;padding:0 6px;white-space:nowrap;text-decoration:none;font:600 13px/1 var(--text);color:var(--on-navy);border-radius:8px;transform-origin:0 50%;transform:translateY(-50%) rotate(calc(var(--i) * 45deg)) translateX(var(--r));transition:color .3s}
.dial a:hover{color:#fff}
.dial a[aria-current="true"]{color:var(--gold);font-weight:700}
.dial a:nth-child(1){--i:0}.dial a:nth-child(2){--i:1}.dial a:nth-child(3){--i:2}.dial a:nth-child(4){--i:3}
.dial a:nth-child(5){--i:4}.dial a:nth-child(6){--i:5}.dial a:nth-child(7){--i:6}.dial a:nth-child(8){--i:7}
.dial-pointer{position:absolute;left:calc(var(--dial-d) / 2 + 9px);top:50%;margin-top:-9px;border:9px solid transparent;border-left:13px solid var(--gold);border-right:0}

/* the stage: the active screen fills everything right of / above the dial */
html.wheel{--screen:calc(100vh - var(--hh) - var(--dial-v))}
@supports (height:100svh){html.wheel{--screen:calc(100svh - var(--hh) - var(--dial-v))}}
.wheel .screen{position:fixed;top:var(--hh);left:var(--dial-w);right:0;bottom:var(--dial-v);margin:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:var(--bg);border:0;
  opacity:0;visibility:hidden;transform:translateY(28px);transition:opacity .4s,transform .55s cubic-bezier(.3,.7,.2,1),visibility 0s .55s}
.wheel .screen.dark{background:radial-gradient(120% 90% at 85% 0%,#33409A 0%,var(--navy) 38%,var(--navy-900) 100%)}
.wheel .site-footer.screen{background:var(--navy-900)}
.wheel[data-dir="back"] .screen{transform:translateY(-28px)}
.wheel .screen.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .45s .12s,transform .6s .12s cubic-bezier(.3,.7,.2,1),visibility 0s}
.wheel .screen:focus{outline:none}
.wheel .site-footer .footer-inner{align-items:center}
@media (prefers-reduced-motion:reduce){.dial-disc,.wheel .screen,.wheel .screen.is-active{transition:none}}
.nav-links a[aria-current="true"]{color:#fff;background:rgba(255,255,255,.1)}

/* phones & tablets: a low arc along the bottom instead */
@media (max-width:999px){
  html.wheel{--dial-d:250px;--dial-v:66px;--dial-w:0px}
  .wheel .dial{top:auto;right:0;width:auto;height:var(--dial-v);border-top:1px solid var(--navy-line)}
  .dial-disc{left:50%;top:10px;margin:0 0 0 calc(var(--dial-d) / -2)}
  .dial-disc::after{display:none}
  .dial a{--r:calc(var(--dial-d) / 2 - 27px);min-height:28px;font-size:12.5px;transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(calc(var(--i) * 45deg)) translateY(calc(var(--r) * -1))}
  .dial-pointer{left:50%;top:0;margin:0 0 0 -7px;border:7px solid transparent;border-top:9px solid var(--gold);border-bottom:0}
  /* option A: only the current name is shown; the other names hide (the ☰ menu and ‹ › cover them) */
  .dial a{visibility:hidden;font-size:14px}
  .dial a[aria-current="true"]{visibility:visible}
  /* 8 tick marks near the rim, one per section, turning with the wheel */
  .dial-disc::before{content:"";position:absolute;inset:5px;border-radius:50%;
    background:repeating-conic-gradient(from -2.5deg,rgba(211,215,247,.55) 0deg 5deg,transparent 5deg 45deg);
    -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 7px));
            mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 7px))}
  .wheel .dial-step{display:inline-flex}
}
.dial-step{display:none;position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;align-items:center;justify-content:center;border:1.5px solid var(--navy-line);border-radius:50%;background:var(--navy-900);color:#fff;cursor:pointer;padding:0}
.dial-step svg{width:20px;height:20px}
.dial-step:hover{border-color:var(--gold);color:var(--gold)}
.dial-prev{left:max(8px,calc(50% - var(--dial-d) / 2 - 52px))}
.dial-next{right:max(8px,calc(50% - var(--dial-d) / 2 - 52px))}

/* ---------- hero (dark) ---------- */
.dark{background:radial-gradient(120% 90% at 85% 0%,#33409A 0%,var(--navy) 38%,var(--navy-900) 100%);color:#fff}
.hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center}
.hero-main{display:flex;flex-direction:column;gap:clamp(14px,2.6vh,24px);min-width:0}
.dark .eyebrow{color:var(--on-navy)}
/* sized by width AND height, so short laptop screens shrink the title instead of cutting off the buttons */
.hero h1{color:#fff;font-size:clamp(30px,min(6vw,11vh),84px);line-height:1.02;letter-spacing:-.04em;font-weight:800;overflow-wrap:break-word}
.hero .sub{font-size:clamp(17px,min(2.1vw,3.2vh),21px);line-height:1.45;color:var(--on-navy);max-width:600px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-photo{margin:0;position:relative;border-radius:28px;overflow:hidden;background:var(--navy-800);box-shadow:0 30px 60px -30px rgba(0,0,0,.6);aspect-ratio:4/5;max-height:calc(var(--screen) - 2 * var(--sy))}
.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-photo figcaption{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(20,27,77,.85);color:#fff;font-size:13px;padding:10px 14px;border-radius:12px}
@supports (height:100svh){
  .hero h1{font-size:clamp(30px,min(6vw,11svh),84px)}
  .hero-main{gap:clamp(14px,2.6svh,24px)}
  .hero .sub{font-size:clamp(17px,min(2.1vw,3.2svh),21px)}
}

/* ---------- impact numbers (dark) ---------- */
.numbers .wrap{display:flex;flex-direction:column;gap:clamp(20px,4vh,40px)}
.impact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--navy-line);margin:0;container-type:inline-size}
.impact .stat{padding:clamp(18px,3vh,32px) 16px 0 0;display:flex;flex-direction:column;gap:10px}
.impact dd{margin:0;font-family:var(--display);font-size:clamp(40px,min(7vw,13vh),112px);font-size:clamp(34px,min(6.8cqi,13vh),112px);font-weight:700;letter-spacing:-.03em;line-height:1;order:-1;color:#fff}
.impact dt{color:var(--on-navy);font-size:clamp(15px,1.4vw,18px);line-height:1.35;max-width:240px}
.impact .stat:last-child dd{color:var(--gold)}
.awards{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--on-navy)}
.award-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.awards li{list-style:none;border:1px solid rgba(246,168,28,.55);color:#FFD27A;border-radius:999px;padding:6px 12px;font-weight:600}
.awards ul{display:contents;margin:0;padding:0}

/* ---------- section heads ---------- */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px 24px;flex-wrap:wrap;margin-bottom:clamp(16px,3vh,28px)}
.section-head h2,.split h2{font-size:clamp(28px,min(4vw,6.5vh),44px)}
.section-head p,.lead{color:var(--muted);font-size:17px;max-width:440px}

/* projects */
.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.project{background:var(--surface);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;border-top:6px solid var(--c)}
.p-mun{--c:var(--mun)} .p-debate{--c:var(--debate)} .p-vibe{--c:var(--vibe)}
.project-body{padding:clamp(20px,2.4vw,28px);display:flex;flex-direction:column;gap:12px;flex:1}
.project-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px}
.project .num{font-family:var(--display);font-size:15px;color:var(--muted)}
.chip{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:var(--c);color:#fff;white-space:nowrap}
.p-mun .chip{color:var(--navy-900)}
.project h3{font-size:clamp(22px,2.4vw,30px)}
.project p{color:#3C4478;font-size:16px;flex:1}
.project-links{display:flex;flex-wrap:wrap;gap:0 16px;align-items:center;padding-top:4px;border-top:1px solid #E4E6F2}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--navy);text-underline-offset:4px}
.text-link.subtle{font-weight:500;color:var(--muted)}

/* milestones: horizontal timeline */
.timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 20px}
.timeline li{position:relative;display:flex;flex-direction:column;gap:8px;padding-top:30px;border-top:2px solid var(--line);font-size:16px}
.timeline li::before{content:"";position:absolute;top:-9px;left:0;width:16px;height:16px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--bg)}
.timeline li:last-child::before{background:var(--navy)}
@media (prefers-reduced-motion:no-preference){.timeline li:last-child::before{animation:pulse 2s infinite}}
@keyframes pulse{0%{box-shadow:0 0 0 4px var(--bg),0 0 0 4px rgba(40,52,128,.5)}70%{box-shadow:0 0 0 4px var(--bg),0 0 0 14px rgba(40,52,128,0)}100%{box-shadow:0 0 0 4px var(--bg),0 0 0 4px rgba(40,52,128,0)}}
.timeline .when{font-family:var(--display);font-weight:700;font-size:15px;color:var(--navy)}
.timeline .what{font-weight:600;color:var(--ink);line-height:1.4}
.timeline .what small{display:block;color:var(--muted);font-size:14.5px;font-weight:400;margin-top:6px}

/* about */
.about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}
.story{background:var(--surface);border-radius:28px;padding:clamp(22px,min(3.4vw,5vh),44px);display:flex;flex-direction:column;gap:clamp(12px,2.2vh,20px);justify-content:center}
.story h2{font-size:clamp(23px,min(3vw,5vh),38px)}
.story p{font-size:clamp(15px,2.6vh,17px);line-height:1.6;color:#3C4478}
.photos{display:grid;grid-template-columns:3fr 2fr;grid-template-rows:1fr 1fr;gap:16px;min-height:clamp(320px,62vh,540px)}
.photo{margin:0;background:#DDE0F2;border-radius:var(--radius);overflow:hidden;position:relative}
.photo:first-child{grid-row:1/3}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo figcaption{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(20,27,77,.85);color:#fff;font-size:12.5px;line-height:1.35;padding:8px 12px;border-radius:10px}

/* get involved */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{background:var(--surface);border-radius:24px;padding:clamp(22px,2.6vw,32px);display:flex;flex-direction:column;gap:12px;text-decoration:none;color:inherit;transition:transform .15s}
@media (prefers-reduced-motion:no-preference){.card:hover{transform:translateY(-3px)}}
.card h3{font-size:clamp(21px,2.2vw,26px)}
.card p{font-size:16px;color:#3C4478;flex-grow:1}
.card .go{font-weight:600;color:var(--navy)}
.card.primary{background:var(--navy);color:#fff}
.card.primary h3{color:#fff}
.card.primary p{color:var(--on-navy)}
.card.primary .go{color:var(--gold)}

/* partners (inside the get-involved screen) */
.partners-title{margin-top:clamp(24px,5vh,48px);font-family:var(--text)}
.partners{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;list-style:none;margin:14px 0 0;padding:0}
.partners>li{display:flex}
.partner{flex:1;min-height:76px;background:var(--surface);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);font-weight:600;font-size:14.5px;line-height:1.3;text-align:center;padding:10px 12px}
.partner small{font-weight:500;color:var(--muted);font-size:12.5px}
.partner-cta{border:1.5px dashed var(--navy);background:transparent;color:var(--navy);text-decoration:none}
.partner-cta:hover{background:#E6E8F4}

/* faq */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(24px,4vw,48px)}
.split-intro{display:flex;flex-direction:column;gap:16px}
.faq{display:flex;flex-direction:column;gap:10px}
.faq details{background:var(--surface);border-radius:16px;padding:0 22px}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:58px;font-weight:600;font-size:17px;color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:700 22px var(--text);color:var(--gold-ink);flex:none}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 0 20px;color:#3C4478}

/* footer */
.site-footer{background:var(--navy-900);color:var(--on-navy);padding:40px 0 32px}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:24px 32px;flex-wrap:wrap;font-size:15px}
.footer-brand{display:flex;flex-direction:column;gap:6px;max-width:360px}
.footer-brand strong{color:#fff;font-family:var(--display);font-size:20px;display:inline-flex;align-items:center;gap:8px}
.footer-brand .logo-mark{width:26px;height:26px}
.footer-links{display:flex;gap:4px 8px;flex-wrap:wrap;list-style:none;margin:0;padding:0;align-items:center}
.footer-links a{color:#fff;display:inline-flex;align-items:center;min-height:44px;padding:0 10px;text-underline-offset:4px}
.copy{width:100%;font-size:13px;color:#B9C0F0;border-top:1px solid rgba(255,255,255,.1);padding-top:20px}

/* ---------- responsive ---------- */
@media (max-width:1099px){
  .partners{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* tablets and narrow laptops (the dial takes ~300px there): 5 milestones don't fit in one row */
@media (min-width:768px) and (max-width:1279px){
  .timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vh,36px) 24px}
}
@media (max-width:999px){
  /* hero: text on top, the photo fills whatever height is left */
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:clamp(18px,3vh,28px)}
  .hero-photo{aspect-ratio:16/10;max-height:360px;border-radius:22px}
  .wheel .hero{flex:1 1 auto;min-height:0}
  .wheel .hero-photo{aspect-ratio:auto;flex:1 1 0;min-height:0;max-height:none}
  .about{grid-template-columns:1fr}
  .photos{min-height:clamp(220px,34vh,360px)}
}
/* Phones: wide rows become sideways swipe rows so each screen stays one screen tall */
@media (max-width:767px){
  .projects,.cards,.timeline,.partners{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);gap:12px;margin-inline:calc(-1 * var(--pad));padding:0 var(--pad) 6px;scrollbar-width:none}
  .projects::-webkit-scrollbar,.cards::-webkit-scrollbar,.timeline::-webkit-scrollbar,.partners::-webkit-scrollbar{display:none}
  .projects>li,.cards>.card{flex:0 0 86%;scroll-snap-align:start}
  .partners>li{flex:0 0 58%;scroll-snap-align:start}
  .timeline{gap:0;padding-top:10px}
  .timeline li{flex:0 0 74%;padding-right:20px;scroll-snap-align:start}
  .impact{grid-template-columns:1fr 1fr;border-top:0}
  .impact .stat{border-top:1px solid var(--navy-line);padding:16px 12px 18px 0}
  .split{grid-template-columns:1fr;gap:20px}
  .split-intro{gap:8px}
  .story{border-radius:22px}
  .story p{font-size:15px;line-height:1.55}
  .project-body{padding:18px 20px;gap:10px}
  .project p{font-size:15px;line-height:1.5}
  .photos{display:block;min-height:0;height:clamp(130px,16vh,220px)}
  .photo:first-child{height:100%}
  .photo:not(:first-child){display:none}
  .section-head{margin-bottom:14px}
  .section-head p,.lead{font-size:15.5px}
}
@media (max-width:767px) and (max-height:760px){
  .about .photos{display:none}
}
@media (max-width:479px){
  .hero-ctas .btn{flex:1 1 auto;padding:0 18px}
  .impact dd{font-size:clamp(36px,11vw,48px)}
  .photo figcaption{font-size:12px;padding:6px 10px}
  .faq details{padding:0 16px}
  .faq summary{font-size:16px;min-height:54px}
}
/* very short phones: drop the hero photo rather than push the buttons off screen */
@media (max-width:999px) and (max-height:560px){
  .wheel .hero-photo{display:none}
}



/* ---------- dial animations ---------- */
/* first-visit hint chip */
.dial-hint{display:none}
.wheel .dial-hint{display:flex;align-items:center;gap:8px;position:fixed;z-index:35;left:calc(var(--dial-w) + (100vw - var(--dial-w)) / 2);bottom:calc(var(--dial-v) + 20px);transform:translate(-50%,12px);margin:0;padding:9px 16px;border-radius:999px;background:var(--gold);color:var(--navy-900);font:700 14px var(--text);box-shadow:0 10px 30px -10px rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .35s,transform .35s}
.wheel .dial-hint.show{opacity:1;transform:translate(-50%,0)}
/* the chip sits over the hero photo's caption on phones: fade the caption while it shows */
.hero-photo figcaption{transition:opacity .3s}
.hinting .hero-photo figcaption{opacity:0}
.dial-hint::after{content:"↓";font-size:16px}
.hint-swipe{display:none}
@media (max-width:999px){
  .wheel .dial-hint{left:50%}
  .hint-scroll{display:none}.hint-swipe{display:inline}
  .dial-hint::after{content:"↑"}
}
/* the dial nudges to show it turns (uses the separate `rotate` property, so it adds to the JS transform) */
.dial-disc.nudge{animation:dialNudge 1.1s cubic-bezier(.3,.7,.2,1)}
@keyframes dialNudge{0%,100%{rotate:0deg}35%{rotate:-16deg}65%{rotate:5deg}}
@media (prefers-reduced-motion:no-preference){
  .wheel .dial-hint.show::after{animation:hintBob 1.2s ease-in-out infinite}
}
@keyframes hintBob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}

/* staggered entrance: when a section turns into view, its parts rise in one after another */
@media (prefers-reduced-motion:no-preference){
  .wheel .screen.is-active :is(.hero-main>*,.hero-photo,#impact-title,.impact>.stat,.awards,.section-head,.projects>li,.timeline>li,.story,.photos>.photo,.cards>.card,.partners-title,.partners,.split-intro,.faq>details,.footer-inner>*){
    animation:rise .45s cubic-bezier(.3,.7,.2,1) backwards;animation-delay:calc(120ms + var(--d,0) * 65ms)}
  .hero-main>:nth-child(2),.impact>.stat:nth-child(1),.projects>li:nth-child(1),.timeline>li:nth-child(1),.photos>.photo:nth-child(1),.cards>.card:nth-child(1),.faq>details:nth-child(1),.footer-inner>:nth-child(2){--d:1}
  .hero-main>:nth-child(3),.impact>.stat:nth-child(2),.projects>li:nth-child(2),.timeline>li:nth-child(2),.photos>.photo:nth-child(2),.cards>.card:nth-child(2),.faq>details:nth-child(2),.footer-inner>:nth-child(3),.hero-photo{--d:2}
  .hero-main>:nth-child(4),.impact>.stat:nth-child(3),.projects>li:nth-child(3),.timeline>li:nth-child(3),.photos>.photo:nth-child(3),.cards>.card:nth-child(3),.faq>details:nth-child(3){--d:3}
  .impact>.stat:nth-child(4),.timeline>li:nth-child(4),.faq>details:nth-child(4),.partners-title{--d:4}
  .awards,.timeline>li:nth-child(5),.faq>details:nth-child(5),.partners{--d:5}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* narrow laptops: give the About story more width */
@media (min-width:1000px) and (max-width:1299px){
  .about{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
}
/* short phones (dial at the bottom): tighten so each stop still fits */
@media (max-width:767px) and (max-height:700px){
  html.wheel{--sy:14px}
  .section-head h2,.split h2{font-size:26px}
  .impact .stat{padding:12px 10px 12px 0;gap:6px}
  .impact dd{font-size:34px}
  .impact dt{font-size:14px}
  .numbers .wrap{gap:14px}
  .awards{font-size:13px;gap:6px 8px}
  .awards li{padding:4px 10px}
  .project h3{font-size:21px}
  .project-body{padding:16px 18px;gap:8px}
  .project p{font-size:14.5px}
  .story{padding:18px;gap:10px}
  .story h2{font-size:21px}
  .story p{font-size:14.5px}
  .card{padding:18px;gap:8px}
  .partners-title{margin-top:18px}
  .section-head{margin-bottom:10px}
  .section-head p,.lead{font-size:14.5px}
}

/* 404 */
.page-404{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px}
.page-404 h1{color:#fff;font-size:clamp(30px,5vw,56px)}
.page-404 .sub{color:var(--on-navy);font-size:18px}

/* ---------- laptop dial v2: a small wheel with the section names curving around it ---------- */
@media (min-width:1000px){
  html.wheel{--dial-d:clamp(170px,27vh,220px);--dial-x:26px;--dial-w:calc(var(--dial-x) + var(--dial-d) / 2 + 150px)}
  @supports (height:100svh){html.wheel{--dial-d:clamp(170px,27svh,220px)}}
  .dial-disc{left:calc(var(--dial-x) - var(--dial-d) / 2);box-shadow:0 0 0 6px rgba(62,74,154,.18)}
  .dial-pointer{left:calc(var(--dial-x) + var(--dial-d) / 2 + 6px)}
  /* the hub logo at the centre: gold core, white ring */
  .dial-disc::after{width:15%;height:15%;background:var(--gold);border:0;box-shadow:0 0 0 calc(var(--dial-d) * .025) #1C2560,0 0 0 calc(var(--dial-d) * .045) #fff}
  /* 8 ticks on the rim, one per section; they turn with the wheel */
  .dial-disc::before{content:"";position:absolute;inset:6px;border-radius:50%;
    background:repeating-conic-gradient(from 87deg,rgba(211,215,247,.55) 0deg 6deg,transparent 6deg 45deg);
    -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 calc(100% - 9px));
            mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 calc(100% - 9px))}
  /* names sit outside the rim, evenly spaced on a curve (--x/--y from app.js); they cancel the wheel's turn so they stay level */
  .dial a{top:50%;left:50%;margin:0;min-height:30px;padding:0 4px;font-size:14px;transform-origin:0 0;
    transform:rotate(calc(var(--a,0deg) * -1)) translate(var(--x,0px),var(--y,0px)) translateY(-50%);
    transition:transform .7s cubic-bezier(.3,.7,.2,1),opacity .45s,color .3s}
  .dial a[aria-current="true"]{font-size:15.5px}
  .dial a[data-k="1"]{opacity:.8}
  .dial a[data-k="2"]{opacity:.4}
  .dial a[data-k="3"],.dial a[data-k="4"]{opacity:0;pointer-events:none}
}
@media (min-width:1000px) and (prefers-reduced-motion:reduce){.dial a{transition:none}}

/* the rail has no colour of its own: each section's background runs under the dial */
.wheel .dial{background:transparent;border:0}
.wheel .screen{left:0;bottom:0;padding-left:var(--dial-w);padding-bottom:calc(var(--sy) + var(--dial-v))}
@media (min-width:1000px){
  /* the first-visit nudge wiggles only the ticks, so the names never tilt */
  .dial-disc.nudge{animation:none}
  .dial-disc.nudge::before{animation:dialNudge 1.1s cubic-bezier(.3,.7,.2,1)}
  html[data-tone="light"] .dial a{color:var(--muted)}
  html[data-tone="light"] .dial a:hover{color:var(--navy)}
  html[data-tone="light"] .dial a[aria-current="true"]{color:var(--gold-ink)}
}
