/* nanopage-layout-guard: zero-specificity defaults so images keep their shape and media stays inside the screen. Site rules override them. */
:where(img, picture, video, canvas, svg, iframe) { max-width: 100%; }
:where(img[width][height], video[width][height]) { height: auto; }
:where(img) { object-fit: cover; }
:where(header, nav, footer) :where(img), :where(img[src$=".svg"]) { object-fit: contain; }
:where(h1, h2, h3, h4, p, li, td, th, dd, dt, figcaption, blockquote) { overflow-wrap: break-word; }
/* /nanopage-layout-guard */

:root{
  --bg:#12106b;
  --bg-2:#0d0b55;
  --bg-3:#1b1880;
  --line:rgba(255,255,255,.12);
  --text:#ffffff;
  --muted:#c3c6ee;
  --soft:#9da1d9;
  --gold:#f3c533;
  --gold-2:#ffd95a;
  --ink:#15125e;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,"Times New Roman",serif;
  --sans:"Segoe UI","Helvetica Neue",-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
  --header-h:76px;
  --wrap:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--gold)}
a:hover{color:var(--gold-2)}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.15;margin:0 0 .5em;letter-spacing:-.005em}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.4rem)}
h3{font-size:1.45rem}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.narrow{max-width:760px}
.eyebrow{display:block;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:600;margin:0 0 .9rem}
h3.eyebrow{font-family:var(--sans);line-height:1.65}
.lead{font-size:1.18rem;color:var(--muted)}
.muted{color:var(--muted)}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--ink);padding:8px 14px;z-index:100}
.skip:focus{left:12px;top:12px}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(18,16,107,.94);backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--header-h);gap:16px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff;min-width:0}
.brand img{width:52px;height:52px;border-radius:50%;flex:none;background:#fff}
.brand span{font-family:var(--serif);font-size:1.32rem;line-height:1.1;white-space:nowrap}
.brand small{display:block;font-family:var(--sans);font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--soft)}
.menu{position:relative}
.menu-btn{display:inline-flex;align-items:center;gap:12px;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.75);border-radius:999px;padding:10px 22px;font:600 1rem var(--sans);cursor:pointer}
.menu-btn:hover,.menu-btn[aria-expanded="true"]{border-color:var(--gold);color:var(--gold)}
.burger{width:22px;height:14px;position:relative;display:inline-block}
.burger i{position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .25s,opacity .2s}
.burger i:nth-child(1){top:0}.burger i:nth-child(2){top:6px}.burger i:nth-child(3){top:12px}
.menu-btn[aria-expanded="true"] .burger i:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .burger i:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] .burger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.menu-panel{position:absolute;right:0;top:calc(100% + 12px);min-width:320px;background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:0 24px 60px rgba(0,0,20,.55);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
.menu-panel.open{opacity:1;visibility:visible;transform:none}
.menu-panel a{display:block;padding:12px 16px;border-radius:12px;color:#fff;text-decoration:none;font-size:.93rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.menu-panel a:hover,.menu-panel a:focus-visible{background:var(--bg-3);color:var(--gold)}
.menu-panel a[aria-current="page"]{color:var(--gold)}
.menu-panel a small{display:block;letter-spacing:.04em;text-transform:none;font-weight:400;color:var(--soft);font-size:.82rem}
.menu-panel .menu-cta{background:var(--gold);color:var(--ink);text-align:center;margin-top:6px}
.menu-panel .menu-cta:hover{background:var(--gold-2);color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--gold);color:var(--ink);text-decoration:none;font-weight:700;font-size:1.05rem;padding:16px 32px;border-radius:999px;border:0;cursor:pointer;font-family:var(--sans);transition:background .15s,transform .15s}
.btn:hover{background:var(--gold-2);color:var(--ink);transform:translateY(-1px)}
.btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6)}
.btn.ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn.wide{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}

/* ---------- ask the society ---------- */
.ask{position:fixed;right:22px;bottom:62px;z-index:60;display:flex;align-items:center;gap:12px;background:#fff;color:var(--ink);text-decoration:none;border-radius:999px;padding:7px 22px 7px 7px;font-weight:600;font-size:1.02rem;box-shadow:0 10px 30px rgba(0,0,30,.45);transition:transform .15s}
.ask:hover{transform:translateY(-2px);color:var(--ink)}
.ask img{width:48px;height:48px;border-radius:50%;border:2px solid var(--gold)}

/* ---------- sections ---------- */
section{padding:88px 0}
.page-head{padding:80px 0 40px}
.rule{border:0;border-top:1px solid var(--line);margin:0}
.band{background:var(--bg-2)}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.card{background:var(--bg-3);border:1px solid var(--line);border-radius:22px;padding:34px}
.card h3{margin-bottom:.4em}
.card .btn{margin-top:12px}
.highlight{background:var(--gold);color:var(--ink);border-radius:22px;padding:40px}
.highlight h2,.highlight h3{color:var(--ink)}
.highlight .eyebrow{color:var(--ink);opacity:.75}
.highlight p{color:#2a2770}
.highlight .btn{background:var(--ink);color:#fff}
.highlight .btn:hover{background:#000046;color:var(--gold)}
.highlight .btn.ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.highlight .btn.ghost:hover{background:var(--ink);color:var(--gold)}
/* registration highlight: two blue buttons pinned to the bottom-left and
   bottom-right corners of the yellow panel, in normal flow so they never
   overlap the copy at any viewport width */
.highlight--registration{display:flex;flex-direction:column}
.highlight .hl-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 18px;margin-top:30px}
.highlight .hl-actions .btn{background:#1a3ed0;color:#fff;border:2px solid #1a3ed0;min-height:44px}
.highlight .hl-actions .btn:hover{background:#0f2a9e;border-color:#0f2a9e;color:#fff}
@media (max-width:640px){
  .highlight .hl-actions{gap:10px;margin-top:24px}
  .highlight .hl-actions .btn{flex:1 1 auto;padding:13px 16px;font-size:.95rem;white-space:nowrap}
}
dl.facts{margin:0}
dl.facts dt{font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:600;margin:0 0 .35rem}
dl.facts dd{margin:0 0 1.6rem;color:#fff}
ul.rings{list-style:none;padding:0;margin:0}
ul.rings li{position:relative;padding-left:28px;margin:.35em 0}
ul.rings li::before{content:"";position:absolute;left:2px;top:.62em;width:9px;height:9px;border:2px solid var(--muted);border-radius:50%}
blockquote.quote{margin:0;border-left:3px solid var(--gold);padding:4px 0 4px 26px}
blockquote.quote p{font-family:var(--serif);font-style:italic;font-size:1.5rem;line-height:1.4;margin-bottom:.6em}
blockquote.quote cite{font-style:normal;color:var(--soft);font-size:.95rem}

/* ---------- home ---------- */
.hero{padding:72px 0 80px;text-align:left;position:relative;overflow:hidden;background:url("/images/shishpu.webp") center/cover no-repeat}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,11,85,.72),rgba(13,11,85,.78));pointer-events:none}
/* hero grid: heading + lead on the left, crest beside the heading on the right.
   The crest starts at the top of the left column (level with the heading) and is
   pushed a little to the right of the heading, leaving the far right edge clear. */
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr);column-gap:clamp(28px,4.5vw,64px);row-gap:26px;align-items:start;justify-items:start}
.hero-brand{grid-column:2;grid-row:1/span 2;justify-self:start;align-self:start;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;margin:0;padding-top:4px}
.hero-logo{width:min(300px,100%);height:auto;margin:0 0 14px;border-radius:50%;background:#fff;box-shadow:0 30px 80px rgba(0,0,30,.55)}
.hero-title{grid-column:1;grid-row:1;min-width:0;margin:0;text-align:left}
.hero-body{grid-column:1;grid-row:2;min-width:0;margin:0;text-align:left}
.hero h1{max-width:none;margin:0 0 .4em;text-align:left;font-size:clamp(2.1rem,4.6vw,3.25rem);overflow-wrap:normal}
.hero .lead{max-width:640px;margin:0;text-align:left}
.hero .btn-row{justify-content:flex-start;margin-top:18px}
.hero-credit{position:absolute;right:20px;bottom:16px;z-index:2;margin:0;font-family:var(--sans);font-size:.8rem;letter-spacing:.05em;color:rgba(255,255,255,.85);text-align:right}
@media (max-width:600px){.hero-credit{right:12px;bottom:10px;font-size:.7rem;max-width:60vw}}
.motto{font-family:var(--serif);font-style:italic;color:var(--gold);font-size:1.15rem;margin:0;text-align:center}
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;column-gap:0;row-gap:28px;justify-items:center}
  .hero-brand{grid-column:1;grid-row:1;justify-self:center;align-items:center;text-align:center;order:0;margin-bottom:4px;padding-top:0}
  .hero-title{grid-column:1;grid-row:2;width:100%}
  .hero-body{grid-column:1;grid-row:3;width:100%}
}
@media (max-width:900px){
  .hero-logo{width:min(220px,54vw)}
}
@media (max-width:640px){
  .hero{padding:32px 0 48px}
  .hero-brand{margin-bottom:20px}
  .hero-logo{width:min(170px,46vw);margin-bottom:10px}
  .hero .motto{font-size:1rem;line-height:1.5}
  .hero h1{font-size:clamp(1.55rem,7.2vw,2rem);margin-bottom:.35em}
  .hero .lead{font-size:1rem;line-height:1.6}
  .hero .btn-row{margin-top:18px;gap:10px}
  .hero .btn{width:100%;min-height:44px;padding:13px 20px;font-size:1rem}
}
/* founded band: lighter, vibrant blue background for this section only;
   #1a3ed0 keeps the existing light text (muted copy, gold headings) at AA contrast */
.founded-band{background:#1a3ed0;padding-top:116px} /* extra top padding: the whole text (heading + copy) sits a little lower in the band */
/* founded band: heading on the left, supporting copy on the right.
   Both columns are top-aligned on the same grid line, so the heading (and the
   photo stacked under it) starts level with the first line of the copy on the
   right — no positive top margin, or the whole left column would hang below the
   text beside it (only the few pixels of optical leading are corrected below). */
.founded-band .wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(32px,6vw,88px);align-items:start}
.founded-band h2{margin:0 0 0;font-size:clamp(2.5rem,4.6vw,3.9rem);line-height:1.08}
.founded-band .founded-intro{min-width:0}
/* Optical alignment: the grid line already matches, but the heading's leading
   (1.08, tighter than the font's content box) drops its cap-height top a few
   pixels lower than the first line of the smaller copy beside it. Pull the
   heading — and the photo stacked under it, which follows it in flow — up by
   exactly that difference so the two columns read as one parallel line.
   Expressed in em of the fluid heading size, so it holds at every desktop
   width; the stacked single-column layout keeps its natural top edge. */
@media (min-width:861px){.founded-band h2{margin-top:-.07em}}
.founded-band .founded-photo{position:relative;width:clamp(150px,17vw,210px);aspect-ratio:1;margin:30px 0 0;border-radius:50%;overflow:hidden;border:3px solid rgba(243,197,51,.65);background:var(--bg-3);box-shadow:0 18px 40px rgba(0,0,20,.35)}
.founded-band .founded-photo img{display:block;width:100%;height:100%;object-fit:cover}
/* Curved "Ask the founder" label running along the bottom of the round photo with its
   baseline sitting on the photo's border line (the SVG overlay spans the area inside
   the 3px border, so a radius-98 arc in the 200-unit viewBox lands right on it).
   It lives in the SVG overlay so the letterforms bend with the circle at every size. */
.founded-band .founded-photo__curve{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.founded-band .founded-photo__curve text{font-family:var(--sans);font-size:15px;letter-spacing:.055em;fill:var(--gold);paint-order:stroke;stroke:rgba(18,16,107,.9);stroke-width:3px;stroke-linejoin:round}
.founded-band .founded-copy{max-width:760px;margin-top:0}
.founded-band .founded-copy p{color:var(--muted);font-size:1.05rem;margin-bottom:1em}
/* Extra breathing room between the two body paragraphs in the founded band's
   right-hand copy column (margins collapse, so the larger of the two wins). */
.founded-band .founded-copy p:nth-of-type(2){margin-top:2.8em}
.founded-band .founded-copy p:last-child{margin-bottom:0}
.founded-band .founded-charity{font-size:.88rem;letter-spacing:.04em;color:var(--soft);margin-top:2.8em}
@media (max-width:860px){.founded-band .wrap{grid-template-columns:1fr;row-gap:0}.founded-band h2{margin-top:0;font-size:clamp(2.05rem,7vw,2.7rem)}.founded-band .founded-photo{width:clamp(140px,28vw,180px);margin-top:24px}.founded-band .founded-copy{margin-top:18px}}
@media (max-width:640px){.founded-band{padding-top:88px}.founded-band .founded-photo{width:min(160px,46vw);margin-top:20px}.founded-band .founded-copy{margin-top:16px}.founded-band .founded-copy p{font-size:.98rem;line-height:1.6}.founded-band .founded-charity{font-size:.8rem;margin-top:2.2em}}
.course-card{display:flex;flex-direction:column}
.course-card .num{font-family:var(--serif);color:var(--gold);font-size:3rem;line-height:1;margin-bottom:12px}
.course-card p{flex:1}

/* ---------- gallery carousel ---------- */
.gallery-band{padding:72px 0 120px;overflow:hidden}
.marquee{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);margin-top:36px}
.marquee-track{display:flex;gap:18px;width:max-content;animation:marquee 60s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee figure{margin:0;width:340px;height:240px;border-radius:18px;overflow:hidden;flex:none;background:var(--bg-3);position:relative}
.marquee img{width:100%;height:100%;object-fit:cover}
.marquee figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 16px 12px;font-size:.85rem;background:linear-gradient(transparent,rgba(5,4,40,.85))}
.ph{display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--soft);font-size:.9rem;border:1px dashed rgba(255,255,255,.2)}
.ph svg{width:40px;height:40px;margin:0 auto 10px;display:block;opacity:.7}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee-track{animation:none}.marquee{overflow-x:auto}}

/* ---------- write to the society ---------- */
.write-band{padding:80px 0;border-top:1px solid var(--line)}
/* heading matches the standard section h2 (e.g. "Taught from Marylebone to La Paz"):
   same serif family, weight, fluid size and title case, left-aligned under the eyebrow */
.write-title{font-family:var(--serif);font-weight:500;line-height:1.15;letter-spacing:-.005em;text-transform:none;font-size:clamp(1.7rem,3.2vw,2.4rem);text-align:left;margin:0 0 .5em}
.write-lead{max-width:660px}
/* three partner sites side by side in one row at every viewport width */
.write-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px 32px;margin:0 0 1.6em;max-width:900px}
.write-link p{margin:0 0 .25em;color:var(--text);font-family:var(--serif);font-size:1.05rem;line-height:1.35}
.write-link a{color:var(--gold);text-decoration:none;overflow-wrap:anywhere}
.write-link a:hover{color:var(--gold-2);text-decoration:underline}
@media (max-width:640px){.write-band{padding:64px 0}.write-links{gap:6px 18px}.write-link p{font-size:.95rem}.write-link a{font-size:.92rem}}

/* ---------- gallery page ---------- */
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.photo-grid button{all:unset;cursor:zoom-in;display:block;border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:var(--bg-3)}
.photo-grid button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.photo-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.photo-grid button:hover img{transform:scale(1.04)}
.lightbox{position:fixed;inset:0;z-index:90;background:rgba(4,3,30,.94);display:none;align-items:center;justify-content:center;padding:30px}
.lightbox.open{display:flex}
.lightbox img{max-height:82vh;max-width:92vw;border-radius:10px}
.lightbox p{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:var(--muted)}
.lightbox button{position:absolute;background:rgba(255,255,255,.1);border:0;color:#fff;width:52px;height:52px;border-radius:50%;font-size:1.6rem;cursor:pointer}
.lightbox .lb-close{top:18px;right:18px}.lightbox .lb-prev{left:18px;top:50%}.lightbox .lb-next{right:18px;top:50%}

/* ---------- course / vortex ---------- */
.course-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:56px;align-items:start}
.vortex-side{position:-webkit-sticky;position:sticky;top:calc(var(--header-h) + 28px);height:calc(100vh - var(--header-h) - 56px);max-height:760px;display:flex;flex-direction:column;align-items:center;gap:14px}
.vortex-side svg{flex:1 1 0;width:100%;min-height:0;display:block;overflow:visible}
.vortex-label{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:600;text-align:center;line-height:1.5}
.vortex-top{display:none}
.vx-rod{stroke-width:4;stroke-linecap:round}
.vx-ghost{fill:none;stroke:rgba(255,255,255,.22);stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round}
/* No SVG filter here: WebKit can drop a dash-animated path that carries a filter. */
.vx-coil{fill:none;stroke:var(--gold);stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round}
.vx-end{fill:var(--gold);transition:r .3s;-webkit-transition:r .3s}
.vortex.done .vx-end{-webkit-animation:pulse 1.6s ease-in-out infinite;animation:pulse 1.6s ease-in-out infinite}
@-webkit-keyframes pulse{50%{opacity:.5}}
@keyframes pulse{50%{opacity:.5}}
.module-group-label{font-size:1.35rem;letter-spacing:.2em;color:var(--gold);font-weight:600;margin:0;padding:56px 0 8px}
.module-group-label + .module{padding-top:24px}
.module{padding:56px 0;border-top:1px solid var(--line)}
.module:first-of-type{border-top:0}
.module h2{max-width:620px}
.module .intro{font-size:1.15rem;color:#fff;max-width:680px}
.module-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px;margin-top:28px}
.module h4{font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:600;margin:0 0 .6rem}
.module-body p{color:var(--muted)}
.module.exam h2{color:var(--gold)}
.ask-enrol{margin-top:30px}

/* ---------- forms ---------- */
form.np{display:grid;gap:18px}
.field label{display:block;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:8px}
.field input,.field select,.field textarea{width:100%;background:var(--bg-2);border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#fff;font:inherit;font-size:1rem;padding:14px 16px}
.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:44px}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,197,51,.25)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.check{display:flex;gap:12px;align-items:flex-start;font-size:.95rem;color:var(--muted)}
.check input{width:20px;height:20px;margin-top:4px;accent-color:var(--gold);flex:none}
[data-np-status]{font-weight:600;color:var(--gold)}
.form-card{background:var(--bg-3);border:1px solid var(--line);border-radius:22px;padding:36px}

/* ---------- testimonials ---------- */
.testimonials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.testimonial{background:var(--bg-3);border:1px solid var(--line);border-radius:22px;padding:34px;margin:0}
.testimonial .q{font-family:var(--serif);font-size:1.25rem;line-height:1.5;margin-bottom:1.1em}
.testimonial .q::before{content:"“";display:block;font-size:3.4rem;line-height:.6;color:var(--gold);margin-bottom:6px}
.testimonial footer strong{display:block;color:#fff}
.testimonial footer span{color:var(--soft);font-size:.92rem}

/* ---------- footer ---------- */
.site-footer{background:var(--bg-2);border-top:1px solid var(--line);padding:56px 0 110px;font-size:.95rem;color:var(--muted)}
.site-footer .wrap{display:grid;grid-template-columns:1.3fr 1.1fr 1fr 1fr;gap:36px}
.site-footer h4{color:var(--gold);font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;margin:0 0 12px}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--gold)}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:.3em 0}
.foot-brand{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.foot-brand img{width:56px;height:56px;border-radius:50%;background:#fff}
.foot-brand strong{font-family:var(--serif);font-weight:500;color:#fff;font-size:1.1rem;line-height:1.25}
.vmn{color:var(--gold-2);font-style:italic}
.copy{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;font-size:.85rem;color:var(--soft)}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .grid-3{grid-template-columns:1fr}
  .grid-2,.testimonials{grid-template-columns:1fr}
  .site-footer .wrap{grid-template-columns:1fr 1fr}
  .foot-col-brand{grid-column:1/-1}
  .course-layout{display:block}
  .vortex-side{display:none}
  .vortex-top{display:block;position:sticky;top:var(--header-h);z-index:40;background:rgba(18,16,107,.96);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:14px 20px 10px;border-bottom:1px solid var(--line);margin:0 -24px}
  .vortex-top svg{width:100%;height:auto;display:block;overflow:visible}
  .vortex-top .vortex-label{margin-top:6px}
  .module-body{grid-template-columns:1fr;gap:8px}
}
@media (max-width:640px){
  body{font-size:17px}
  :root{--header-h:68px}
  .wrap{padding:0 20px}
  .vortex-top{margin:0 -20px}
  section{padding:64px 0}
  .page-head{padding:56px 0 24px}
  .brand img{width:44px;height:44px}
  .brand span{font-size:1.12rem}
  .brand small{display:none}
  .menu-btn{padding:9px 18px}
  .menu-panel{position:fixed;left:12px;right:12px;top:calc(var(--header-h) + 8px);min-width:0;max-height:calc(100vh - var(--header-h) - 24px);overflow:auto}
  .field-row{grid-template-columns:1fr}
  .card,.form-card,.highlight{padding:26px}
  .marquee figure{width:260px;height:190px}
  .ask{position:fixed;left:16px;right:auto;bottom:16px;width:auto;max-width:calc(100% - 100px);margin:0;padding:5px 18px 5px 5px;font-size:.95rem;box-shadow:0 8px 24px rgba(0,0,30,.5)}
  .ask img{width:42px;height:42px}
  .ask:hover{transform:none}
  .site-footer{padding-bottom:56px}
  .site-footer .wrap{grid-template-columns:1fr}
}
@media (max-width:380px){.brand span{font-size:1rem}.menu-btn .lbl{display:none}}

/* ---------- about / team ---------- */
.president{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:center;background:var(--bg-3);border:1px solid var(--line);border-radius:28px;padding:40px}
.president img{width:240px;height:240px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 6px rgba(243,197,51,.35)}
.president h2 small{display:block;font-family:var(--sans);font-size:.95rem;color:var(--gold);letter-spacing:.06em;margin-top:6px}
.team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 40px;margin-top:36px}
.person{display:flex;gap:20px;align-items:flex-start;padding:18px 0;border-top:1px solid var(--line)}
.person img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none;border:2px solid rgba(255,255,255,.18)}
.person h3{font-size:1.2rem;margin:0 0 2px}
.person .cred{color:var(--gold);font-size:.85rem;letter-spacing:.04em;margin:0 0 6px}
.person p.muted{font-size:.95rem;margin:0}
.contact-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.contact-facts dd{margin:0}
@media (max-width:900px){
  .president{grid-template-columns:1fr;text-align:center;padding:30px}
  .president img{margin:0 auto;width:180px;height:180px}
  .team{grid-template-columns:1fr}
  .contact-facts{grid-template-columns:1fr;gap:4px}
}
@media (max-width:640px){.person img{width:72px;height:72px}}
.highlight ul.rings li::before{border-color:var(--ink)}
@media (max-width:900px){.president p{text-align:left}}

/* ---------- history of BM page (template to fill in) ---------- */
.history-note{background:var(--bg-3);border:1px dashed rgba(255,255,255,.3);border-radius:18px;padding:24px 28px;color:var(--muted);font-size:.98rem;margin:0 0 8px}
.history-note strong{display:block;color:var(--gold);font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;margin-bottom:8px}
.history-chapter{padding:52px 0;border-top:1px solid var(--line)}
.history-chapter:first-of-type{border-top:0;padding-top:12px}
.history-chapter .year,.page-head h2.year,.card .year{display:block;font-family:var(--serif);color:var(--gold);font-size:1.9rem;line-height:1.1;margin:0 0 10px}
.history-chapter .year.year-long{font-size:clamp(.8rem,4.2vw,1.65rem);line-height:1.25;white-space:nowrap}
.card .num{font-family:var(--serif);color:var(--gold);font-size:3rem;line-height:1;margin-bottom:12px}
.history-chapter h2{margin-bottom:.5em}
.history-fill{border-left:3px dashed rgba(255,255,255,.28);padding:2px 0 2px 18px;margin:0 0 1em;color:var(--soft);font-style:italic}
.history-fill:last-child{margin-bottom:0}
.card .history-fill{border-left-color:rgba(255,255,255,.22);font-size:.95rem}
.history-chapter .history-fill{font-size:1.02rem}
@media (max-width:640px){
  .history-note{padding:20px 22px;font-size:.94rem}
  .history-chapter{padding:40px 0}
  .history-chapter .year,.page-head h2.year,.card .year{font-size:1.55rem}
  .card .num{font-size:2.4rem}
  .history-fill{padding-left:14px}
  .history-chapter .history-fill{font-size:1rem}
}
