  :root {
    --bg: #f7f5f0; --surface: #ffffff; --ink: #11213d; --muted: #5b667c;
    --line: #e5e0d4; --blue: #1f5fbf; --blue-ink: #ffffff; --gold: #e3a82b;
    --shadow: 0 10px 30px -12px rgba(17,33,61,.25);
    --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root { --bg: #0c1424; --surface: #141e34; --ink: #eef1f8; --muted: #9aa6bf; --line: #24304c; --blue: #6c9cf0; --blue-ink: #0c1424; --shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

  /* floating header: logo pill left, nav pill right */
  .bar { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
  .bar__row { max-width: none; margin: 0; padding: 0 clamp(10px, 1.4vw, 20px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .pill { pointer-events: auto; display: flex; align-items: center; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .pill--brand { padding: 8px 18px 8px 14px; }
  .pill--nav { padding: 6px 8px; }
  .pill--login { padding: 6px; }
  .pill--login .btn { background: transparent; color: var(--ink); box-shadow: none; padding: 10px 18px; font-weight: 500; }
  .pill--login .btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); transform: none; box-shadow: none; }
  .pill--login .btn[aria-current="page"] { background: color-mix(in srgb, var(--ink) 8%, transparent); }
  .logo { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
  .logo img { height: 28px; width: auto; display: block; }
  .bar nav { display: flex; gap: 4px; }
  .bar nav a { text-decoration: none; font-size: .92rem; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
  .bar nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--blue); color: var(--blue-ink); font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--blue); }
  .btn--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
  .btn--quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .bar .btn { padding: 10px 18px; }
  @media (max-width: 640px) { .bar__row { padding: 0 10px; gap: 6px; } .pill--brand { padding: 8px 9px; } .logo span { display: none; } .pill--nav { padding: 4px; } .bar nav a { padding: 8px 7px; font-size: .82rem; } .bar nav a.home { padding: 8px 8px; } .pill--login { padding: 4px; } .pill--login .btn { padding: 9px 10px; font-size: .82rem; } }

  /* hero */
  .hero { position: relative; overflow: hidden; padding: clamp(8rem, 18vh, 11rem) 0 clamp(3.5rem, 8vw, 6rem); }
  .hero .wrap { max-width: none; padding: 0 clamp(10px, 1.4vw, 20px); display: grid; gap: 40px; align-items: center; position: relative; }
  @media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.25fr .75fr; } }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 7rem); line-height: 1.04; white-space: nowrap; }
  @media (min-width: 880px) { .hero h1 { font-size: clamp(2.6rem, 6.2vw, 7rem); } }
  .hero h1 em { font-style: italic; color: var(--blue); position: relative; white-space: nowrap; padding-right: .08em; margin-right: .06em; }
  .hero h1 em.swap { display: inline-block; vertical-align: bottom; text-align: left; transition: width .4s cubic-bezier(.22,1,.36,1), opacity .3s, transform .3s; }
  .hero h1 em.swap.out { opacity: 0; transform: translateY(.18em); }
  .hero h1 .ab { font-family: 'Kaushan Script', 'Brush Script MT', cursive; font-weight: 400; letter-spacing: 0; color: #a3abb5; font-size: 1.05em; }
  .hero h1 .h-flag { display: inline-block; height: .78em; width: auto; vertical-align: -.04em; margin-right: .16em; }
  .hero h1 .h-flag--ca { height: .6em; margin: 0 .16em 0 0; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); vertical-align: .02em; }
  .hero h1 em svg { position: absolute; left: -1%; bottom: .02em; width: 100%; height: .14em; overflow: visible; }
  .hero h1 em path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s .5s cubic-bezier(.22,1,.36,1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .hero p { margin-top: 26px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 30rem; }
  .emblem { position: relative; justify-self: center; width: min(78%, 340px); aspect-ratio: 66 / 96; }
  .emblem::before { content: ""; position: absolute; inset: -12% -30%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 38%, transparent), transparent 72%); z-index: 0; }
  .emblem svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--blue) 35%, transparent)); }
  .emblem .chev { animation: rise 3.2s ease-in-out infinite; transform-box: fill-box; }
  .emblem .chev:nth-child(2) { animation-delay: .35s; }
  .emblem .chev:nth-child(3) { animation-delay: .7s; }
  @keyframes rise { 0%, 100% { transform: translateY(5px); opacity: .45; } 50% { transform: translateY(-5px); opacity: 1; } }
  @media (max-width: 879px) { .emblem { width: 150px; order: -1; justify-self: start; } }
  .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

  section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
  .label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
  h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

  /* points */
  .points { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .point { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
  .point b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
  .point span { color: var(--muted); }

  /* session */
  .session { display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px); background: var(--ink); color: var(--bg); border-radius: 32px; }
  @media (prefers-color-scheme: dark) { .session { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } }
  .session h2 { max-width: 14ch; }
  .session p { opacity: .8; max-width: 30rem; }
  .meta { display: flex; flex-wrap: wrap; gap: 8px; }
  .meta span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); }
  .session .btn { background: var(--gold); color: #11213d; }
  .session .btn--quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 35%, transparent); }
  @media (min-width: 820px) { .session { grid-template-columns: 1.2fr 1fr; align-items: end; } .session .actions { justify-content: flex-end; margin: 0; } }

  /* clubs */
  .clubs { display: grid; gap: 28px; }
  @media (min-width: 820px) { .clubs { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
  .clubs p { color: var(--muted); font-size: 1.1rem; }
  .note { padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; font-size: .95rem; color: var(--muted); margin-top: 18px; }

  /* contact */
  .contact { display: grid; gap: 14px; margin-top: 28px; }
  @media (min-width: 720px) { .contact { grid-template-columns: 1.3fr 1fr; } }
  .card { display: block; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; transition: border-color .2s, transform .2s; }
  .card:hover { border-color: var(--blue); transform: translateY(-2px); }
  .card small { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
  .card b { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 600; word-break: break-word; }
  .card i { display: block; font-style: normal; color: var(--muted); font-size: .9rem; margin-top: 8px; }

  footer { padding: 40px 0 56px; color: var(--muted); font-size: .9rem; text-align: center; }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .hero h1 em path { stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

  /* inner pages */
  .page-hero { padding: clamp(8.5rem, 18vh, 11rem) 0 clamp(2rem, 5vw, 3.5rem); }
  .page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 14ch; line-height: 1.04; }
  .page-hero h1 .hl, .hero h1 .hl { color: var(--blue); }
  .page-hero p { margin-top: 20px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 32rem; }
  /* clubs hero art */
  .page-hero__split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
  .club-art { width: clamp(180px, 24vw, 280px); height: auto; overflow: visible; }
  .club-art__fill { fill: color-mix(in srgb, var(--blue) 14%, transparent); }
  .club-art__outline { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; animation: ca-draw 1.6s ease-out backwards; }
  .club-art__link { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; animation: ca-draw .7s ease-out calc(1.6s + var(--i) * .22s) backwards; }
  .club-art__rise { animation: ca-rise 2.4s cubic-bezier(.22,1,.36,1) .6s backwards; }
  .club-art__node { transform-box: fill-box; transform-origin: center; animation: ca-pop .5s cubic-bezier(.34,1.56,.64,1) calc(1.3s + var(--i) * .22s) backwards; }
  .club-art__node circle:first-child { fill: var(--surface); stroke: var(--blue); stroke-width: 2.5; }
  .club-art__node .h, .club-art__node path { fill: var(--blue); stroke: none; }
  .club-art__ring { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ca-ring 3.6s ease-out calc(3.6s + var(--i) * .5s) infinite; }
  @keyframes ca-draw { from { stroke-dashoffset: 1; } }
  @keyframes ca-rise { from { transform: translateY(100%); } }
  @keyframes ca-pop { from { transform: scale(0); opacity: 0; } }
  @keyframes ca-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
  @media (max-width: 640px) { .page-hero__split { grid-template-columns: 1fr; } .club-art { width: 200px; } }
  /* clubs list + add dialog */
  .clubs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
  .club-add { aspect-ratio: 1; min-height: 140px; border-radius: 22px; border: 2px dashed var(--panel-line); background: transparent; color: var(--panel-ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
  .club-add:hover, .club-add:focus-visible { background: rgba(255,255,255,.08); border-color: var(--panel-ink); transform: translateY(-2px); }
  .club { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--panel-line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 140px; }
  .club__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .club__init { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--blue-ink); font-weight: 600; }
  .club__badge { font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); }
  .club h3 { font-size: 1.2rem; line-height: 1.2; overflow-wrap: anywhere; }
  .club__meta { margin: auto 0 0; display: grid; gap: 2px; font-size: .9rem; color: rgba(238,241,248,.7); }
  .club__admin { display: flex; gap: 8px; }
  .club__act { font: 600 .85rem var(--sans); padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: #11213d; }
  .club__act--rm { background: transparent; color: #ff9a9a; box-shadow: inset 0 0 0 1px rgba(255,154,154,.5); }
  .cdlg { border: 0; padding: 28px; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border-radius: 26px; background: #141e34; color: #eef1f8; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px rgba(255,255,255,.14); }
  .cdlg::backdrop { background: rgba(5,10,20,.65); backdrop-filter: blur(6px); }
  .cdlg form { display: grid; gap: 16px; }
  .cdlg h2 { font-size: 1.6rem; padding-right: 36px; }
  .cdlg__sub { margin: -8px 0 0; color: rgba(238,241,248,.7); font-size: .95rem; }
  .cdlg__login { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(227,168,43,.16); font-size: .95rem; }
  .cdlg__login a { color: #fff; text-decoration: underline; }
  .cdlg label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: rgba(238,241,248,.8); }
  .cdlg input { font: 500 1rem var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
  .cdlg input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
  .cdlg small { font-weight: 400; color: rgba(238,241,248,.55); }
  .cdlg__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
  @media (max-width: 440px) { .cdlg__row { grid-template-columns: 1fr; } }
  .cdlg__err { margin: 0; color: #ff9a9a; font-size: .9rem; }
  .cdlg .btn { background: #fff; color: #11213d; border: 0; cursor: pointer; font: 600 1rem var(--sans); }
  .cdlg .btn:disabled { opacity: .6; cursor: default; }
  .page-body { padding-top: 0; }
  .more { margin-top: 28px; }

  /* story */
  .story { padding-top: clamp(3rem, 7vw, 5rem); }
  .story h2 { margin-bottom: 36px; max-width: none; }
  .story .wrap { max-width: none; padding: 0 clamp(10px, 1.4vw, 20px); }
  .chapters { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 1100px) { .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }
  .chapter { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
  .scene { background: color-mix(in srgb, var(--blue) 7%, var(--surface)); border-bottom: 1px solid var(--line); }
  .scene { aspect-ratio: 8 / 5; position: relative; }
  .ch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ch-actions { display: flex; gap: 6px; }
  .ch-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--blue); border: 1px solid var(--line); box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .15s, background .15s, color .15s; }
  .ch-btn svg { width: 18px; height: 18px; }
  .ch-btn:hover, .ch-btn:focus-visible { background: var(--blue); color: #fff; transform: scale(1.08); }
  .scene svg { display: block; width: 100%; height: 100%; overflow: hidden; }
  .ch-text { padding: 18px 22px 22px; }
  .year { display: block; font: 600 clamp(1.8rem, 3vw, 2.3rem)/1 var(--serif); color: var(--blue); letter-spacing: -.02em; }
  .ch-text p { margin-top: 8px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
  .sk { fill: color-mix(in srgb, var(--ink) 10%, transparent); }

  .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .f, .up, .pop { opacity: 0; }
  .up { transform: translateY(16px); }
  .pop { transform: scale(0); transform-box: fill-box; transform-origin: center; }
  .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; }
  .slide { transform: translateX(-150px); opacity: 0; }
  .dom { transform-box: fill-box; transform-origin: 100% 100%; }
  .shrink { transform-box: fill-box; transform-origin: 0 50%; }
  .shackle { transform-box: fill-box; transform-origin: 100% 100%; }
  .spray, .smoke, .coin, .ballot, .twinkle, .plume { opacity: 0; }
  .chapter.is-in .d { animation: draw 1.4s var(--t, 0s) cubic-bezier(.22,1,.36,1) forwards; }
  .chapter.is-in .f { animation: fadein .9s var(--t, 0s) ease forwards; }
  .chapter.is-in .up { animation: upin .9s var(--t, 0s) cubic-bezier(.22,1,.36,1) forwards; }
  .chapter.is-in .pop { animation: popin .6s var(--t, 0s) cubic-bezier(.34,1.56,.64,1) forwards; }
  .chapter.is-in .grow { animation: growy .7s var(--t, 0s) cubic-bezier(.22,1,.36,1) forwards; }
  .chapter.is-in .slide { animation: slidein 1.6s .1s cubic-bezier(.22,1,.36,1) forwards; }
  .chapter.is-in .dom { animation: fall .55s var(--t, 0s) cubic-bezier(.6,0,.9,.6) forwards; }
  .chapter.is-in .shrink { animation: shrink 1.8s .5s cubic-bezier(.65,0,.35,1) forwards; }
  .chapter.is-in .shackle { animation: unlock .7s .7s cubic-bezier(.34,1.56,.64,1) forwards; }
  .chapter.is-in .spray { animation: burst 1.8s var(--t, 0s) ease-out infinite; }
  .chapter.is-in .plume { animation: plume 1.8s 1s ease-out infinite; }
  .chapter.is-in .smoke { animation: smoke 2.6s var(--t, 0s) ease-out infinite; }
  .chapter.is-in .twinkle { animation: twinkle 2.4s var(--t, 0s) ease-in-out infinite; }
  .chapter.is-in .coin { animation: coindrop 2.2s 2.4s ease-in infinite; }
  .chapter.is-in .ballot { animation: ballot 1.4s .3s cubic-bezier(.5,0,.3,1) forwards; opacity: 1; }
  .chapter.is-in .ballot.loop { animation: ballotloop 3.2s .3s ease-in-out infinite; }
  .wave { animation: wave 3s linear infinite; }
  .bob { transform-box: fill-box; transform-origin: center; animation: bob 3.6s ease-in-out infinite; }
  .flag { transform-box: fill-box; transform-origin: 0 50%; animation: flagwave 1.8s ease-in-out infinite; }
  .flowd { stroke-dasharray: 10 12; animation: flow 1s linear infinite; }
  .chapter.is-in .flowd.late { animation: flow 1s linear infinite, fadeout 1s 1.6s ease forwards; }
  .valve { transform-box: fill-box; transform-origin: center; animation: valve 2.6s ease-in-out infinite; }
  .drop { transform-origin: center; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fadein { to { opacity: 1; } }
  @keyframes upin { to { opacity: 1; transform: none; } }
  @keyframes popin { to { opacity: 1; transform: scale(1); } }
  @keyframes growy { to { transform: scaleY(1); } }
  @keyframes slidein { to { opacity: 1; transform: none; } }
  @keyframes fall { to { transform: rotate(74deg); } }
  @keyframes shrink { to { transform: scaleX(0); } }
  @keyframes unlock { to { transform: translateY(-14px) rotate(-20deg); } }
  @keyframes burst { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: 1; } 55% { transform: translate(calc(var(--dx) * .7), -64px); } 100% { transform: translate(var(--dx), 24px); opacity: 0; } }
  @keyframes plume { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes smoke { 0% { transform: translate(0,0) scale(.5); opacity: 0; } 20% { opacity: .7; } 100% { transform: translate(16px,-46px) scale(1.5); opacity: 0; } }
  @keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
  @keyframes coindrop { 0% { transform: translateY(-8px); opacity: 0; } 25% { opacity: 1; } 85% { transform: translateY(78px); opacity: 1; } 100% { transform: translateY(78px); opacity: 0; } }
  @keyframes ballot { from { transform: translateY(0); } to { transform: translateY(40px); } }
  @keyframes ballotloop { 0% { transform: translateY(-10px); } 55%, 100% { transform: translateY(44px); } }
  @keyframes wave { to { transform: translateX(80px); } }
  @keyframes bob { 50% { transform: translateY(-4px) rotate(-1.5deg); } }
  @keyframes flagwave { 50% { transform: skewY(7deg); } }
  @keyframes flow { to { stroke-dashoffset: -44; } }
  @keyframes fadeout { to { opacity: .12; } }
  @keyframes valve { 50% { transform: scaleX(.3); } }
  @media (prefers-reduced-motion: reduce) {
    .chapter * { animation: none !important; }
    .d { stroke-dashoffset: 0; } .f, .up, .pop, .slide, .ballot, .spray { opacity: 1; } .up, .slide { transform: none; } .pop, .grow { transform: none; }
    .shrink { transform: scaleX(0); } .dom { transform: rotate(74deg); } .smoke, .coin, .plume { opacity: 0; }
  }

  /* brand pill as a section dropdown */
  .pill--brand .logo { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; cursor: pointer; }
  .pill--brand.dd { position: relative; }
  .logo__t { display: inline-block; transition: opacity .17s, transform .17s; }
  .logo__t.swap { opacity: 0; transform: translateY(-5px); }
  .brand .logo .chev { opacity: .55; transition: transform .25s; }
  .brand .logo[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .brand .dd__menu { left: 0; right: auto; width: 270px; transform-origin: top left; }
  @media (max-width: 640px) { .brand .logo { gap: 4px; } .brand .dd__menu { width: min(270px, calc(100vw - 20px)); } }

  /* chips, session cards, guests, dark panel */
  .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .chip { font: 500 .9rem var(--sans); padding: 8px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s, color .2s; }
  .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .chip[aria-pressed="true"] { background: var(--blue); color: var(--blue-ink); box-shadow: none; }
  #sessions-list .wrap { max-width: none; padding: 0 clamp(10px, 1.4vw, 20px); }
  .sessions { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 28px; }
  @media (min-width: 700px) { .sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ev { --base: #11213d; --hi: #2a6bd1; --accent: #f2b92b; display: flex; flex-direction: column; gap: 0; text-decoration: none; color: var(--panel-ink); position: relative; isolation: isolate; background: rgba(255,255,255,.08); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.3), 0 18px 40px -24px rgba(0,0,0,.6); transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .ev::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--pic) center / cover; filter: blur(36px) saturate(1.6); opacity: .5; }
  .ev:hover { transform: translateY(-4px); }
  .ev[data-topic="Economy"] { --base: #0f2a20; --hi: #1f7a52; --accent: #4cc38a; }
  .ev[data-topic="Energy"] { --base: #2b1a0c; --hi: #d9622b; --accent: #ff9f43; }
  .ev[data-topic="Health"] { --base: #2a1220; --hi: #c23b6a; --accent: #ff7a9c; }
  .ev[data-topic="Education"] { --base: #1d1740; --hi: #5b4bd1; --accent: #a99bff; }
  .ev[data-topic="Indigenous rights"] { --base: #2a1b12; --hi: #b3562d; --accent: #e8b86a; }
  .ev__thumb { position: relative; aspect-ratio: 16 / 9; max-height: min(62vh, 560px); width: 100%; overflow: hidden; background: radial-gradient(circle at 80% 18%, var(--accent), transparent 58%), linear-gradient(160deg, var(--hi), var(--base)); }
  .ev__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .ev__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%); pointer-events: none; }
  .ev__row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 22px; }
  .ev__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.2); color: #fff; font: 600 .95rem var(--serif); }
  .ev__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
  .ev__info { display: grid; gap: 3px; min-width: 0; }
  .ev__info > b { font: 600 1.25rem/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ev__meta { font-size: .95rem; line-height: 1.4; color: rgba(238,241,248,.65); }
  .ev__who { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; font-size: .85rem; white-space: nowrap; }
  .ev__role { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .ev__ver { flex: none; color: rgba(238,241,248,.6); }
  .feedtabs { display: flex; gap: 10px; margin-bottom: 24px; }
  .chip__n { opacity: .65; margin-left: 2px; }
  .ev__thumb--req { display: grid; place-items: center; }
  .ev__init { font: 600 3.2rem var(--serif); color: rgba(255,255,255,.85); }
  .ev__thumb--req img { z-index: 0; }
  .ev__vote { margin: 0 20px 20px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: inherit; font: 600 .92rem var(--sans); transition: background .2s, color .2s; }
  .ev__vote:hover { background: rgba(255,255,255,.2); }
  .ev__vote.is-on { background: #fff; color: #11213d; }
  .ev__vote:disabled { opacity: .6; cursor: wait; }
  .empty { color: var(--muted); grid-column: 1 / -1; }
  @media (prefers-reduced-motion: reduce) { .ev { transition: none; } }
  .has-panel { --panel: #11213d; --panel-ink: #eef1f8; --panel-line: rgba(255,255,255,.22); }
  @media (prefers-color-scheme: dark) { .has-panel { --panel: #141e34; } }
  .panel { background: var(--panel); color: var(--panel-ink); border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
  .has-panel footer { background: var(--panel); color: rgba(238,241,248,.6); }
  .has-panel footer .wrap { border-top: 1px solid var(--panel-line); padding-top: 32px; }
  .panel--flush { padding: 0; }
  .panel .chip { color: var(--panel-ink); box-shadow: inset 0 0 0 1.5px var(--panel-line); }
  .panel .chip:hover { box-shadow: inset 0 0 0 1.5px var(--panel-ink); }
  .panel .chip[aria-pressed="true"] { background: #fff; color: #11213d; box-shadow: none; }
  .panel .note { background: rgba(255,255,255,.07); color: rgba(238,241,248,.75); }
  .panel .note a { color: var(--panel-ink); }
  .panel .empty { color: rgba(238,241,248,.7); }
  .empty--req { display: grid; justify-items: start; gap: 14px; }
  .empty--req p { margin: 0; font-size: 1.1rem; }
  .panel .empty--req .btn { background: #fff; color: #11213d; }
  .panel .label { color: rgba(238,241,248,.65); }
  .panel .card, .panel .point, .panel .chapter { color: var(--ink); }
  .panel .session { background: rgba(255,255,255,.07); color: var(--panel-ink); box-shadow: inset 0 0 0 1px var(--panel-line); }
  @media (prefers-color-scheme: dark) { .panel .card, .panel .point, .panel .chapter { background: #1b2842; border-color: #2a3858; } }

  /* header tools: search, topic dropdown, login */
  .tools { display: flex; gap: 8px; align-items: center; }
  .pill--icon { padding: 4px; }
  .ibtn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; transition: background .2s; }
  .ibtn:hover, .ibtn[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 9%, transparent); }
  .dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--surface); }
  .pill--login .btn { display: inline-flex; gap: 8px; }
  .dd { position: relative; }
  .dd__menu { position: absolute; top: calc(100% + 12px); right: 0; width: min(250px, calc(100vw - 24px)); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 48px -16px rgba(17,33,61,.35); transform-origin: top right; opacity: 0; transform: translateY(-6px) scale(.97); transition: opacity .18s, transform .22s cubic-bezier(.22,1,.36,1); }
  .dd__menu.open { opacity: 1; transform: none; }
  .dd__title { font: 600 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 6px; }
  .dd__opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; }
  .dd__opt:hover, .dd__opt:focus-visible { background: color-mix(in srgb, var(--ink) 7%, transparent); outline: 0; }
  .dd__opt[aria-selected="true"] { background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
  .dd__n { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 500; }
  .dd__opt .ck { opacity: 0; flex: none; margin-left: auto; }
  .dd__opt[aria-selected="true"] .ck { opacity: 1; }

  /* nav: icon + text, filled pill for current page */
  .bar nav a { display: inline-flex; align-items: center; gap: 7px; }
  .bar nav a svg { flex: none; opacity: .85; }
  .bar nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); font-weight: 500; }
  .bar nav a[aria-current="page"] svg { opacity: 1; }

  /* "Take action" menu inside the centre pill */
  .navdd { position: relative; display: inline-flex; }
  .navbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s; }
  .navbtn:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .navbtn[aria-expanded="true"], .navbtn.is-current { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); font-weight: 500; }
  .navbtn .chev { transition: transform .25s; opacity: .7; }
  .navbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .navdd .dd__menu { left: 0; right: auto; width: 270px; transform-origin: top left; }
  .navdd .dd__opt { text-decoration: none; align-items: center; gap: 12px; }
  .navdd .dd__opt svg { flex: none; opacity: .8; }
  .navdd .dd__opt .lb { display: block; font-weight: 600; font-size: .95rem; }
  .navdd .dd__opt small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
  .navdd .dd__opt[aria-current="page"] { background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
  @media (max-width: 1180px) { .bar nav a:not([aria-current="page"]) .nl, .navbtn:not(.is-current) .nl { display: none; } }
  @media (max-width: 640px) {
    .bar__row { gap: 4px; padding: 0 10px; } .tools { gap: 4px; }
    .bar nav a .nl, .navbtn .nl { display: none; }
    .bar nav a, .bar nav a[aria-current="page"] { padding: 8px 5px; gap: 0; }
    .navbtn { padding: 8px 6px; gap: 3px; }
    .vt { display: none; }
    .ibtn { width: 32px; height: 32px; } .pill--icon { padding: 3px; } .pill--login { padding: 3px; } .pill--login .btn { padding: 8px 9px; }
    .pill--nav { position: relative; } .navdd { position: static; } .navdd .dd__menu { left: 0; right: auto; width: min(270px, calc(100vw - 90px)); }
  }
  @media (max-width: 380px) { .bar__row { gap: 3px; padding: 0 6px; } .tools { gap: 3px; } .pill--brand { padding: 7px 6px; } .bar nav a { padding: 8px 4px !important; } .pill--nav { padding: 3px; } .ibtn { width: 28px; height: 28px; } .pill--icon { padding: 2px; } .pill--login { padding: 2px; } .pill--login .btn { padding: 7px 8px; } }

  /* site search */
  .sx { position: fixed; inset: 0; z-index: 100; display: grid; justify-items: center; align-items: start; padding: 12vh 14px 14px; }
  .sx[hidden] { display: none; }
  .sx__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 45%, transparent); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
  .sx.open .sx__scrim { opacity: 1; }
  .sx__box { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.45); overflow: hidden; opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .2s, transform .25s cubic-bezier(.22,1,.36,1); }
  .sx.open .sx__box { opacity: 1; transform: none; }
  .sx__field { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
  .sx__field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.1rem var(--sans); color: var(--ink); outline: 0; }
  .sx__field input::-webkit-search-cancel-button { display: none; }
  .sx__field kbd { font: 500 .72rem var(--sans); padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
  .sx__list { list-style: none; margin: 0; padding: 8px; max-height: min(55vh, 440px); overflow: auto; }
  .sx__item a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; text-decoration: none; }
  .sx__item[aria-selected="true"] a, .sx__item a:hover { background: color-mix(in srgb, var(--blue) 11%, transparent); }
  .sx__kind { font: 600 .7rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
  .sx__t { font: 600 1.05rem var(--serif); }
  .sx__s { font-size: .88rem; color: var(--muted); }
  .sx mark { background: color-mix(in srgb, var(--gold) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
  .sx__empty { padding: 28px 20px; text-align: center; color: var(--muted); }
  .sx__foot { display: flex; gap: 16px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
  body.sx-open { overflow: hidden; }

  /* volunteer page */
  .vols { display: grid; gap: clamp(3rem, 7vw, 6rem); }
  .vol { display: grid; gap: 28px; align-items: center; background: none; border: 0; border-radius: 0; overflow: visible; grid-template-rows: none; }
  @media (min-width: 860px) { .vol { grid-template-columns: 1.3fr 1fr; gap: 56px; } .vol.rev .scene { order: 2; } .vol.rev .vol-text { order: 1; } }
  .vol .scene { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
  .vol-text .label { margin: 0 0 8px; }
  .vol-text h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 12px; }
  .vol-text p { color: var(--muted); font-size: 1.15rem; max-width: 26rem; margin-bottom: 24px; }
  .vflow { stroke-dasharray: 6 10; opacity: 0; }
  .ripple { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .vol.is-in .vflow { animation: vflow 1s linear infinite, showin .5s var(--t, 0s) forwards; }
  .vol.is-in .ripple { animation: ripple 2.4s var(--t, 0s) ease-out infinite; }
  .vol.is-in .pop.pulse { animation: popin .6s var(--t, 0s) cubic-bezier(.34,1.56,.64,1) forwards, dotpulse 2.6s calc(var(--t, 0s) + 1.6s) ease-in-out infinite; }
  .vol.is-in .pop.pulse2 { animation: popin .6s var(--t, 0s) cubic-bezier(.34,1.56,.64,1) forwards, heart 1.6s calc(var(--t, 0s) + 1s) ease-in-out infinite; }
  .vol.is-in .pop.dotb { animation: popin .5s var(--t, 0s) cubic-bezier(.34,1.56,.64,1) forwards, dotbounce 1.4s calc(var(--t, 0s) + 1s) ease-in-out infinite; }
  @keyframes vflow { to { stroke-dashoffset: -32; } }
  @keyframes showin { to { opacity: .9; } }
  @keyframes ripple { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }
  @keyframes dotpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
  @keyframes heart { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
  @keyframes dotbounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1); } }
  @media (prefers-reduced-motion: reduce) { .vflow { opacity: .9; } .vol * { animation: none !important; } }

  /* home hero: text near the left edge, morphing emblem */
  body.home .hero .wrap { max-width: none; padding: 0 clamp(20px, 4.5vw, 72px); }
  @media (min-width: 880px) { body.home .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
  body.home .emblem { aspect-ratio: 1; width: min(76%, 440px); justify-self: center; }
  body.home .emblem svg { overflow: visible; filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--shape, var(--blue)) 40%, transparent)); }
  @media (max-width: 879px) { body.home .emblem { width: 190px; order: -1; justify-self: start; } }

  /* sessions hero: morphing topic silhouettes */
  body.topics-page .emblem--topics { aspect-ratio: auto; display: grid; justify-items: center; gap: 10px; width: min(78%, 430px); justify-self: center; }
  body.topics-page .emblem--topics::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--shape, var(--gold)) 28%, transparent), transparent 72%); inset: -6% -24%; }
  body.topics-page .emblem--topics svg { width: 100%; height: auto; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--shape, var(--blue)) 40%, transparent)); }
  .emblem__label { position: relative; z-index: 1; margin: 0; min-height: 1.4em; font: italic 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--serif); color: var(--shape, var(--blue)); text-align: center; }
  @media (max-width: 879px) { body.topics-page .emblem--topics { width: 210px; order: -1; justify-self: start; } }

  /* news: "A closer look" */
  .news { padding-top: clamp(3rem, 7vw, 5rem); }
  .news .wrap { max-width: none; padding: 0 clamp(10px, 1.4vw, 20px); }
  .news h2 { max-width: none; margin-bottom: 8px; }
  .news__sub { color: var(--muted); margin-bottom: 28px; }
  .panel .news__sub { color: rgba(238,241,248,.65); }
  .newsgrid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 1100px) { .newsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .newsgrid { grid-template-columns: 1fr; } }
  .nw { align-self: start; display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 18px; border-radius: 26px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -24px rgba(0,0,0,.5); }
  .nw__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; display: block; background: rgba(255,255,255,.08); }
  .nw h3 { font: 600 1.4rem/1.15 var(--serif); letter-spacing: -.01em; margin: 0; padding: 0 8px; }
  .nw__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 8px; }
  .nw__tag { font: 600 .74rem var(--sans); letter-spacing: .07em; text-transform: uppercase; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; }
  .nw__more { font: 600 .85rem var(--sans); padding: 8px 15px; border-radius: 999px; border: 0; background: #fff; color: #11213d; cursor: pointer; transition: transform .2s; }
  .nw__more:hover { transform: translateY(-1px); }
  .nw__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1); }
  .nw.open .nw__detail { grid-template-rows: 1fr; }
  .nw__inner { overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
  .nw.open .nw__inner { padding-top: 4px; }
  .nw time { font-size: .8rem; color: rgba(255,255,255,.62); }
  .nw p { margin: 0; color: rgba(255,255,255,.76); font-size: .96rem; line-height: 1.55; }
  .nw__src { display: inline-flex; align-items: center; gap: 6px; font: 600 .85rem var(--sans); color: #fff; text-decoration: none; }
  .nw__src:hover { text-decoration: underline; }

  /* mobile: centre nav pill docks to the bottom of the screen */
  @media (max-width: 640px) {
    html, body { overflow-x: clip; }
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .bar__row { justify-content: space-between; }
    .pill--nav { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 5px; gap: 2px; z-index: 60; max-width: calc(100vw - 20px); }
    .bar nav { gap: 2px; }
    .bar nav a, .bar nav a[aria-current="page"] { padding: 12px 16px !important; }
    .navbtn { padding: 12px 14px; gap: 4px; }
    .pill--nav .navdd { position: static; }
    .pill--nav .navdd .dd__menu { top: auto; bottom: calc(100% + 12px); left: 50%; right: auto; width: min(290px, calc(100vw - 24px)); transform-origin: bottom center; transform: translate(-50%, 6px) scale(.97); }
    .pill--nav .navdd .dd__menu.open { transform: translate(-50%, 0); }
    img, svg, video { max-width: 100%; }
  }
  @media (max-width: 380px) {
    .bar nav a, .bar nav a[aria-current="page"] { padding: 11px 12px !important; }
    .navbtn { padding: 11px 11px; }
  }

  /* mobile: show full labels now that the nav lives at the bottom */
  @media (max-width: 640px) {
    .pill--brand { padding: 8px 14px 8px 11px; max-width: calc(100vw - 130px); min-width: 0; }
    .pill--brand .logo { gap: 8px; min-width: 0; font-size: .98rem; }
    .pill--brand .logo span, .pill--brand .logo__t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
    .bar nav a .nl, .navbtn .nl, .bar nav a:not([aria-current="page"]) .nl, .navbtn:not(.is-current) .nl { display: inline; }
    .bar nav a, .bar nav a[aria-current="page"] { padding: 11px 11px !important; gap: 5px; font-size: .8rem; }
    .navbtn { padding: 11px 11px; gap: 5px; font-size: .8rem; }
  }
  @media (max-width: 380px) {
    .bar nav a .nl, .navbtn .nl, .bar nav a:not([aria-current="page"]) .nl, .navbtn:not(.is-current) .nl { display: none; }
    .bar nav a, .bar nav a[aria-current="page"] { padding: 11px 12px !important; gap: 0; }
    .navbtn { gap: 3px; }
  }

  /* mobile: centre hero text and emblem */
  @media (max-width: 879px) {
    .hero .wrap > div:first-child { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero .actions { justify-content: center; }
    body.home .emblem, .emblem, body.topics-page .emblem--topics { justify-self: center; margin-left: auto; margin-right: auto; }
  }

  /* mobile: edge-to-edge bottom tray, big buttons with labels under icons */
  @media (max-width: 640px) {
    body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .pill--nav { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; max-width: none; width: auto; padding: 6px; gap: 4px; border-radius: 28px; }
    .bar nav { display: contents; }
    .bar nav a, .bar nav a[aria-current="page"], .navbtn { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 5px !important; padding: 10px 4px !important; border-radius: 22px; font-size: .74rem; line-height: 1.1; }
    .bar nav a svg, .navbtn > svg:first-child { width: 24px; height: 24px; }
    .bar nav a .nl, .navbtn .nl, .bar nav a:not([aria-current="page"]) .nl, .navbtn:not(.is-current) .nl { display: block !important; white-space: nowrap; }
    .pill--nav .navdd { flex: 1 1 0; min-width: 0; display: flex; }
    .navbtn { width: 100%; }
    .navbtn .chev { display: none; }
    .pill--nav .navdd .dd__menu { left: 50%; width: min(300px, calc(100vw - 24px)); }
  }

  /* mobile: show 3 items, then a "Show more" button */
  .showmore { display: none; }
  @media (max-width: 640px) {
    .is-collapsed > :nth-child(n+4) { display: none; }
    .showmore { display: flex; margin: 18px auto 0; }
  }

  /* event popup */
  .evdlg { border: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border-radius: 26px; overflow: auto; background: #141e34; color: #eef1f8; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px rgba(255,255,255,.14); }
  .evdlg::backdrop { background: rgba(5,10,20,.65); backdrop-filter: blur(6px); }
  .evdlg__x { position: absolute; z-index: 3; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.5); color: #fff; font-size: 1.5rem; line-height: 1; backdrop-filter: blur(6px); }
  .evdlg__hero { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #2a6bd1, #11213d); overflow: hidden; }
  .evdlg__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .evdlg__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,30,.85), transparent 55%); }
  .evdlg__who { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: grid; gap: 2px; }
  .evdlg__who strong { display: flex; align-items: center; gap: 8px; font: 600 1.9rem/1.1 var(--serif); }
  .evdlg__who .ev__ver { width: 20px; height: 20px; color: #fff; opacity: .8; }
  .evdlg__who span { color: rgba(238,241,248,.8); }
  .evdlg__links { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
  .evdlg__ln { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font: 500 .88rem var(--sans); transition: background .2s; }
  .evdlg__ln:hover { background: rgba(255,255,255,.2); }
  .evdlg__body { padding: 22px 24px 28px; display: grid; gap: 12px; }
  .evdlg__body h2 { font: 700 1.55rem/1.2 var(--sans); letter-spacing: -.01em; }
  .evdlg__body h3 { margin: 14px 0 0; font: 600 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(238,241,248,.6); }
  .evdlg__about, .evdlg__more p, .evdlg__join p { margin: 0; color: rgba(238,241,248,.8); font-size: 1rem; line-height: 1.55; }
  .evdlg__more { display: grid; gap: 10px; }
  .evdlg__readmore { justify-self: start; padding: 0; border: 0; background: none; color: #fff; font: 600 .92rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .evdlg__join { display: grid; gap: 14px; justify-items: start; }
  .evdlg .btn { background: #fff; color: #11213d; }
  @media (min-width: 720px) { .contact--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .act { padding-top: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 90px; }
  .act h2 { margin-bottom: 8px; }
  .act__sub { color: var(--muted); margin-bottom: 20px; }

  /* leaders and influencers */
  .leaders { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
  .leaders .wrap { max-width: none; padding: 0 clamp(10px, 1.4vw, 20px); }
  .leaders h2 { max-width: none; margin-bottom: 28px; }
  .leaders .news__sub { max-width: 52rem; }
  .ldlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  @media (max-width: 1100px) { .ldlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .ldlist { grid-template-columns: 1fr; } }
  .ld { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ph ph" "main req" "act act"; align-items: center; gap: 14px 10px; padding: 12px 12px 16px; border-radius: 26px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -24px rgba(0,0,0,.5); }
  .ld__ph { grid-area: ph; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; object-fit: cover; object-position: center 20%; background: rgba(255,255,255,.08); display: block; }
  .ld__ph--i { display: grid; place-items: center; font: 600 2.4rem var(--serif); color: rgba(255,255,255,.8); }
  .ld__main { grid-area: main; display: grid; gap: 4px; min-width: 0; padding: 0 8px; }
  .ld__main b { font: 600 1.4rem/1.15 var(--serif); letter-spacing: -.01em; }
  .ld__role { font-size: .92rem; color: rgba(255,255,255,.68); line-height: 1.4; }
  .ld__n { grid-area: ph; align-self: start; justify-self: start; z-index: 1; margin: 10px; min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; font: 600 1rem/1 var(--sans); color: #fff; font-variant-numeric: tabular-nums; background: rgba(12,20,36,.7); border: 1px solid rgba(255,255,255,.28); }
  .ld__act { grid-area: act; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
  .ld__req { grid-area: req; align-self: start; margin-right: 8px; padding: 8px 15px; border-radius: 999px; background: #fff; color: #11213d; font: 600 .85rem var(--sans); text-decoration: none; white-space: nowrap; transition: transform .2s; }
  .ld__req:hover { transform: translateY(-1px); }
  .ld__ic { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; text-decoration: none; transition: background .2s; }
  .ld__ic:hover { background: rgba(255,255,255,.2); }

  /* Lock page scroll behind any open modal dialog */
  html { scrollbar-gutter: stable; }
  html:has(dialog[open]) { overflow: hidden; }
  dialog { overscroll-behavior: contain; }
  .field { display: block; margin: 8px 0 8px; font: 600 .85rem var(--sans); color: var(--muted); }
  .field small { font-weight: 400; }
  .field__in { width: 100%; max-width: 28rem; font: 500 1rem var(--sans); color: var(--ink); background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 12px; padding: 12px 14px; }
  .field__in:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
  .act__sub { max-width: 40rem; }
  .panel .act__sub, .panel .field { color: rgba(238,241,248,.72); }
  .panel .field__in { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
  .panel .act + .act { padding-top: clamp(1.5rem, 4vw, 3rem); }
  .panel .act:first-child { padding-top: 0; }
  .panel .vols .chapter, .panel .vols .chapter.vol { background: none; border: 0; box-shadow: none; border-radius: 0; color: var(--panel-ink); --ink: var(--panel-ink); --muted: rgba(238,241,248,.7); --line: rgba(255,255,255,.22); }
  .panel .vols .btn { background: #fff; color: #11213d; }

  /* Keep the centre nav and right tools still while the brand label changes length */
  @media (min-width: 641px) {
    .bar__row { display: grid; grid-template-columns: 1fr auto 1fr; justify-content: normal; }
    .bar__row > :first-child { justify-self: start; }
    .bar__row > .tools { justify-self: end; }
    .logo__t { min-width: var(--brand-w, 0); text-align: left; }
  }
  .act-hero { width: clamp(230px, 32vw, 350px); height: auto; overflow: visible; }
  .act-hero .ah-body { fill: color-mix(in srgb, var(--blue) 18%, transparent); stroke: var(--blue); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
  .act-hero .ah-rim { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
  .act-hero .ah-mega { transform-box: fill-box; transform-origin: 30% 50%; animation: ah-punch 4.05s ease-in-out infinite; }
  .act-hero .ah-wave { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; opacity: 0; animation: ah-wave 1.35s ease-out var(--d) infinite; }
  .act-hero .ah-fly { opacity: 0; transform: translate(0, 0) scale(.2); animation: ah-fly 4.05s cubic-bezier(.22,1,.36,1) var(--d) infinite; }
  .act-hero .ah-node { fill: var(--surface); stroke: var(--blue); stroke-width: 2.5; }
  .act-hero .ah-ic { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  @keyframes ah-wave { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes ah-punch { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.05); } 16% { transform: scale(1); } }
  @keyframes ah-fly { 0% { opacity: 0; transform: translate(0, 0) scale(.2); } 12% { opacity: 1; } 35%, 70% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); } }
  @media (prefers-reduced-motion: reduce) { .act-hero * { animation: none !important; } .act-hero .ah-wave { opacity: 1; } .act-hero .ah-fly { opacity: 1; transform: translate(var(--x), var(--y)); } }
  .combo { position: relative; max-width: 28rem; }
  .combo .field__in { max-width: none; }
  .combo__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; max-height: 340px; overflow-y: auto; border-radius: 18px; background: #1b2842; color: #eef1f8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 24px 48px -16px rgba(0,0,0,.6); }
  .combo__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; }
  .combo__opt:hover, .combo__opt[aria-selected="true"] { background: rgba(255,255,255,.1); }
  .combo__opt img, .combo__ini { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; background: rgba(255,255,255,.1); display: grid; place-items: center; font: 600 .9rem var(--sans); color: rgba(255,255,255,.85); }
  .combo__t { display: grid; min-width: 0; }
  .combo__t b { font: 600 .98rem var(--sans); }
  .combo__t small { font-size: .8rem; color: rgba(238,241,248,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .combo__opt--own { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); margin-top: 4px; }
  .combo__rk { margin-left: auto; flex: none; font: 600 .8rem var(--sans); font-variant-numeric: tabular-nums; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: rgba(238,241,248,.85); }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sform { position: relative; max-width: 44rem; margin-top: 24px; padding: clamp(1.6rem, 3.4vw, 2.6rem); border-radius: 28px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
  .sform__bar { position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: rgba(255,255,255,.12); overflow: hidden; }
  .sform__bar i { display: block; height: 100%; background: #f2b92b; transform: scaleX(.25); transform-origin: left; transition: transform .8s cubic-bezier(.22,1,.36,1); }
  .sform__title { font: 600 clamp(1.6rem, 3.4vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.01em; margin: 6px 0 22px; min-height: 2.2em; display: flex; align-items: flex-end; transition: opacity .25s, transform .4s cubic-bezier(.22,1,.36,1); }
  .sform__title.is-swap { opacity: 0; transform: translateY(10px); }
  .sstep { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s cubic-bezier(.22,1,.36,1), opacity .5s .1s, margin .7s cubic-bezier(.22,1,.36,1); }
  .sstep.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 20px; }
  .sstep:first-child { margin-top: 0; }
  .sstep > div { min-height: 0; overflow: hidden; }
  .sstep.is-done > div { overflow: visible; }
  .sform input { width: 100%; font: 500 clamp(1.05rem, 2vw, 1.3rem) var(--sans); color: #fff; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.25); border-radius: 0; padding: 12px 0; outline: none; transition: border-color .3s; }
  .sform input:focus { border-color: #f2b92b; }
  .sform ::placeholder { color: rgba(238,241,248,.5); }
  .sform .combo { max-width: none; margin-bottom: 22px; }
  .sform .btn { background: #fff; color: #11213d; border: 0; cursor: pointer; }

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .sx__item--p a { display: flex; align-items: center; gap: 12px; }
  .sx__ph { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; background: rgba(128,128,128,.18); display: grid; place-items: center; font: 600 .9rem var(--sans); }
  .sx__pt { display: grid; min-width: 0; flex: 1; }
  .sx__pt .sx__s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sx__rk { flex: none; font: 600 .8rem var(--sans); font-variant-numeric: tabular-nums; padding: 5px 11px; border-radius: 999px; background: rgba(128,128,128,.18); }
  .sform { padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .sform__title { min-height: 0; margin-top: 0; }

/* meetings on phones: dialog fits the visible screen, buttons stack, nothing overflows */
.evdlg { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
.evdlg__who strong, .evdlg__body h2 { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .sessions { gap: 16px; }
  .ev__thumb { max-height: 46vh; }
  .ev__row { padding: 14px 16px 18px; }
  .evdlg { width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .evdlg__hero { aspect-ratio: 4 / 3; }
  .evdlg__who { left: 18px; right: 56px; bottom: 16px; }
  .evdlg__who strong { font-size: 1.5rem; }
  .evdlg__links { padding: 14px 18px 0; gap: 6px; }
  .evdlg__ln { padding: 8px 12px; font-size: .84rem; }
  .evdlg__body { padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
  .evdlg__body h2 { font-size: 1.3rem; }
  .evdlg__join { justify-items: stretch; }
  .evdlg__join > div { flex-direction: column; }
  .evdlg__join .btn { width: 100%; white-space: normal; text-align: center; padding: 14px 18px; }
}

/* phones: show the full meeting title and the speaker's full title instead of cutting them off */
@media (max-width: 560px) {
  .ev__info > b { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 1.15rem; line-height: 1.3; overflow-wrap: break-word; }
  .ev__who { flex-wrap: wrap; align-items: flex-start; white-space: normal; row-gap: 2px; }
  .ev__role { flex: 1 1 100%; overflow: visible; text-overflow: clip; white-space: normal; }
}
@media (min-width: 561px) { .ev__role::before { content: "· "; } }

/* About us popup: same look as the meeting popup */
.about { border: 0; padding: 30px 28px 28px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 26px; background: #141e34; color: #eef1f8; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px rgba(255,255,255,.14); overscroll-behavior: contain; }
.about[open] { display: grid; gap: 14px; }
.about::backdrop { background: rgba(5,10,20,.65); backdrop-filter: blur(6px); }
.about h2 { margin: 0; padding-right: 44px; font: 600 clamp(1.9rem, 6vw, 2.4rem)/1.1 var(--serif); }
.about p { margin: 0; color: rgba(238,241,248,.8); font-size: 1rem; line-height: 1.6; }
.about__x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(6px); }
.about__x:hover { background: rgba(255,255,255,.2); }
.about .actions { margin-top: 10px; }
.about .btn { background: #fff; color: #11213d; }
.about .btn--quiet { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.about .btn--quiet:hover { box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 560px) {
  .about { padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px; }
  .about .actions { flex-direction: column; }
  .about .btn { width: 100%; padding: 14px 18px; }
}

/* search popup: keyboard hints on devices with a keyboard, a Close button on touch screens */
.sx__done { display: none; font: 500 .85rem var(--sans); padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
@media (hover: none) and (pointer: coarse) {
  .sx__field kbd, .sx__foot { display: none; }
  .sx__done { display: inline-flex; }
}

/* Clubs and Take action on phones/tablets: animation on top, text and button centred beneath, like the other pages */
@media (max-width: 879px) {
  .page-hero__split { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }
  .page-hero__split > .club-art, .page-hero__split > .act-hero { order: -1; }
  .page-hero .club-art { width: min(150px, 38vw); }
  .page-hero .act-hero { width: min(250px, 66vw); }
  .page-hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
  .page-hero p { margin-left: auto; margin-right: auto; }
  .page-hero .actions { justify-content: center; }
}

/* phones: scrolling stays smooth and the bottom dock stays put.
   Live blur behind fixed bars and over the cards is what made scrolling choppy, so use solid fills here. */
@media (max-width: 640px) {
  .pill { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--surface) 96%, transparent); }
  .ev { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--base) 88%, #000); }
  .ev::before { display: none; }
  .pill--nav { transform: translate3d(0, 0, 0); will-change: transform; backface-visibility: hidden; }
}

/* People on phones: Request sits beside the name; all the icons fit on one row (wrapping only on very narrow screens) */
@media (max-width: 640px) {
  .ld__act { flex-wrap: nowrap; gap: 6px; padding: 0 4px; }
  .ld__ic { width: 34px; height: 34px; flex: none; }
  .ld__soc { order: 2; }
}
@media (max-width: 350px) { .ld__act { flex-wrap: wrap; } }

/* People, all screens: email, YouTube, Google first, then the social icons */
.ld__soc { order: 2; }

/* Request popup (home > People) */
.reqdlg select { font: 500 1rem var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); border-radius: 12px; padding: 12px 14px; min-width: 0; width: 100%; }
.reqdlg select option, .reqdlg select optgroup { color: #11213d; background: #fff; }
.reqdlg select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.reqdlg .btn { background: #fff; color: #11213d; }
.reqdlg .btn:disabled { opacity: .6; cursor: default; }
.reqdlg [data-msg] { margin: 0; font-size: .95rem; color: #ff9a9a; }
.reqdlg [data-msg][data-ok] { color: #9be6b4; }
.reqdlg [data-msg] a { color: inherit; text-decoration: underline; }

.dd__opt .dd__ico { flex: none; opacity: .8; }
.dd__opt[aria-selected="true"] .dd__ico { opacity: 1; }
