@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   LSCMUN 2026 — AGE OF CONSEQUENCE
   Palette: sampled from the logo files, then reconciled with the
   design team's colour sheet. Every value below is one of theirs.
   ============================================================ */

:root{
  /* --- Brand (design team sheet) --- */
  --espresso:  #2E2317;
  --cocoa:     #583D28;
  --olive:     #565536;
  --moss:      #797857;
  --sage:      #747665;
  --bone:      #F1EACD;

  /* --- Derived --- */
  --ground:        var(--espresso);
  --ground-raised: #382F2A;
  --ground-deep:   #241C13;
  --ink:           var(--bone);
  --ink-muted:     rgba(241,234,205,.60);
  --ink-faint:     rgba(241,234,205,.58);   /* 4.91:1 on the raised surface — AA */
  --rule:          rgba(241,234,205,.15);
  --rule-strong:   rgba(241,234,205,.30);

  /* Accent: the one non-earth hue in the sheet. Carries at 6.4:1
     on the ground and gives the CTAs something to be. */
  --accent:    #8EAEA9;
  --accent-hi: #A6C1BC;
  --on-accent: #2E2317;

  /* --- Type --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  /* --- Space --- */
  --s1:.5rem; --s2:1rem; --s3:1.5rem; --s4:2rem;
  --s5:3rem; --s6:4rem; --s7:6rem; --s8:9rem;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1200px;
  --measure: 68ch;

  --dur: 480ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:var(--body); font-size:1.0625rem; line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--display); font-weight:700; line-height:1.06;
  letter-spacing:-.02em; margin:0; text-wrap:balance; }
p{ margin:0 0 var(--s2); }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; border-radius:2px; }
::selection{ background:var(--accent); color:var(--on-accent); }

.skip{ position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--accent); color:var(--on-accent); padding:.75rem 1.25rem;
  font:600 .875rem/1 var(--body); border-radius:0 0 6px 0; }
.skip:focus{ left:0; }

/* ---------- Layout ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }
.section{ padding-block: clamp(3.5rem, 9vw, var(--s8)); position:relative; }
.section--raised{ background:var(--ground-raised); }
.section--deep{ background:var(--ground-deep); }

/* ---------- SIGNATURE: the strata rule ------------------------
   Five bands in the exact logo colours, read as sediment layers.
   Consequence is time made visible. Used as every section break.
   ------------------------------------------------------------ */
.strata{ display:flex; height:6px; width:100%; }
.strata span{ flex:1; }
/* Mid-tones only, so no band ever vanishes into either ground
   (bone on the light page, espresso on the dark one). */
.strata span:nth-child(1){ background:#583D28; }  /* cocoa            */
.strata span:nth-child(2){ background:#827057; }  /* light brown      */
.strata span:nth-child(3){ background:#565536; }  /* olive            */
.strata span:nth-child(4){ background:#797857; }  /* moss             */
.strata span:nth-child(5){ background:#A19F6D; }  /* light olive      */
.strata--thin{ height:3px; }

/* ---------- Type utilities ---------- */
.eyebrow{
  font-family:var(--mono); font-size:.9375rem; font-weight:500;
  letter-spacing:.22em; text-transform:uppercase; color:var(--accent);
  margin:0 0 var(--s3); display:flex; align-items:center; gap:.75rem;
}
.eyebrow::before{ content:""; width:2rem; height:1px; background:var(--accent); flex:none; }
.h-xl{ font-size:clamp(2.5rem, 7vw, 5rem); }
.h-lg{ font-size:clamp(2.125rem, 5vw, 3.5rem); }
.h-md{ font-size:clamp(1.5rem, 2.7vw, 2.125rem); }
.lede{ font-size:clamp(1.125rem, 1.7vw, 1.375rem); color:var(--ink-muted);
  max-width:var(--measure); line-height:1.7; }
.prose{ max-width:var(--measure); color:var(--ink-muted); }
.prose strong{ color:var(--ink); font-weight:600; }
.mono{ font-family:var(--mono); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  min-height:48px; padding:.85rem 1.6rem; cursor:pointer;
  font:600 1rem/1 var(--body); letter-spacing:.01em;
  border-radius:999px; border:1px solid transparent; text-decoration:none;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease),
             border-color var(--dur) var(--ease), transform 160ms var(--ease);
}
.btn:active{ transform:scale(.98); }
.btn--primary{ background:var(--accent); color:var(--on-accent); }
.btn--primary:hover{ background:var(--accent-hi); }
.btn--ghost{ border-color:var(--rule-strong); color:var(--ink); }
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn[aria-disabled="true"]{ opacity:.45; pointer-events:none; }

/* ---------- Floating pill nav ---------- */
.nav{
  /* Centred with insets + auto margins rather than left:50% + translate:
     a percentage width on a fixed element can resolve against the overflow
     it creates, which loops. Insets cannot exceed the viewport. */
  position:fixed; top:1rem; left:1rem; right:1rem; z-index:100;
  max-width:1140px; margin-inline:auto;
  display:flex; align-items:center; gap:var(--s3);
  padding:.5rem .5rem .5rem 1rem; border-radius:999px;
  /* Solid: a translucent bar takes on the colour of whatever scrolls
     under it, so the header appeared to change colour mid-scroll. */
  background:#241C13;
  border:1px solid rgba(241,234,205,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* The nav pill is dark on EVERY page, including the light-inverted
   register page. It must therefore use fixed light-on-dark values,
   never the theme tokens — those flip to dark ink on .invert and the
   menu becomes dark text on a dark panel. */
.nav, .nav__brand b{ color:#F1EACD; }
.nav__brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; flex:none; }
.nav__brand img{ width:40px; height:40px; }
.nav__brand b{ font:700 1.5rem/1 var(--display); letter-spacing:-.005em; }
.nav__links{ display:flex; gap:.25rem; margin-left:auto; }
.nav__links li{ display:flex; }
.nav__links a{
  /* block, not inline: vertical padding on an inline element does not
     add to layout height, so the pill backgrounds overlap each other. */
  display:block; width:100%;
  padding:.6rem .85rem; border-radius:999px; text-decoration:none;
  font:500 .9375rem/1 var(--body); color:rgba(241,234,205,.78);
  letter-spacing:.02em; transition:color 200ms, background 200ms;
}
.nav__links a:hover{ color:#F1EACD; background:rgba(241,234,205,.09); }
.nav__links a[aria-current="page"]{ color:#241C13; background:#8EAEA9; font-weight:600; }
.nav__cta{ flex:none; }
.nav__toggle{ display:none; margin-left:auto; background:none;
  border:1px solid rgba(241,234,205,.28);
  color:#F1EACD; width:44px; height:44px; border-radius:999px; cursor:pointer;
  align-items:center; justify-content:center; }

@media (max-width: 940px){
  .nav{ padding:.5rem .5rem .5rem .875rem; }
  .nav__toggle{ display:inline-flex; }
  .nav__cta{ display:none; }
  .nav__links{
    position:absolute; top:calc(100% + .5rem); left:0; right:0;
    flex-direction:column; gap:.125rem; padding:.75rem;
    /* Fully opaque, and no backdrop-filter of its own: a blurred panel
       nested inside the blurred nav composites badly and the page
       shows through the menu. */
    background:#241C13;
    border:1px solid var(--rule-strong); border-radius:20px; margin:0;
    box-shadow:0 18px 40px rgba(0,0,0,.45);
  }
  .nav__links[hidden]{ display:none; }
  .nav__links a{ padding:.85rem 1rem; font-size:.9375rem; }
}

/* ============================================================
   HERO — the signature moment.
   The word CONSEQUENCE is scattered around the mark and settles
   into place on load: cause, then effect.
   ============================================================ */
.hero{
  position:relative; min-height:100svh; display:grid; place-items:center;
  padding:7rem var(--pad) 4rem; overflow:hidden; isolation:isolate;
}
.hero::after{ /* soil-depth vignette */
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(120% 80% at 50% 42%, rgba(121,120,87,.20), transparent 62%),
    linear-gradient(180deg, var(--ground-deep) 0%, var(--espresso) 45%, var(--ground-deep) 100%);
}
.hero__stage{
  position:relative; width:min(100%, 1100px);
  display:grid; place-items:center; gap:clamp(1.25rem, 3vw, 2rem);
}
.hero__mark{ width:clamp(140px, 17vw, 215px); opacity:1; }
.hero__stage > div{ text-align:center; }

/* ---- The headline ------------------------------------------------
   Quiet on purpose. The emblem is the hero; the theme is stated once,
   at a civil size, and left alone. One fade-and-rise on load.
   ------------------------------------------------------------------ */
.hero__h1{ margin:0; text-align:center; line-height:1.1; }
/* Italic serif, not mono — the mono eyebrow sits directly beneath it
   and two spaced-caps lines in a row read as a stutter. */
.hero__h1-sm{
  display:block; font-size:clamp(1rem,2.2vw,1.5rem);
  font-weight:400; font-style:italic; color:var(--ink-muted);
  margin-bottom:.15em;
  animation:riseIn 700ms var(--ease) 100ms backwards;
}
.hero__word{
  display:block; font-size:clamp(2rem, 6vw, 4.25rem);
  font-weight:700; letter-spacing:-.02em;
}
.hero__word .wd{ display:inline-block; white-space:nowrap; }
.hero__word .sp{ width:.28em; }
/* Letters rise in sequence — 8px and 34ms apart. Enough to feel alive
   on load, small enough that nothing moves out of alignment. */
/* The screen-reader copy of the word must not join a text selection,
   or copying the headline yields the word twice. */
.hero__word .sr-only{ user-select:none; -webkit-user-select:none; }
.hero__word .ltr{
  display:inline-block; white-space:pre;
  animation:riseIn 560ms var(--ease) backwards; animation-delay:var(--d);
}
@keyframes riseIn{
  from{ opacity:0; transform:translateY(8px); }
  to  { opacity:1; transform:none; }
}
@media (prefers-reduced-motion: reduce){
  .hero__h1-sm, .hero__word .ltr{ animation:none; }
}
.hero__caption{ position:relative; text-align:center; margin-top:var(--s4); }
.hero__eyebrow{
  font-family:var(--mono); font-size:.75rem; letter-spacing:.28em;
  text-transform:uppercase; color:var(--accent); margin:0 0 .75rem;
}
.hero__title{ font-size:clamp(1.5rem,3vw,2.25rem); font-weight:600; margin:0 0 .5rem; }
.hero__meta{ font-family:var(--mono); font-size:.9375rem; color:var(--ink-muted);
  letter-spacing:.06em; margin:0 0 var(--s5); }
.hero__actions{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; }

@media (max-width: 760px){
  .hero__mark{ width:clamp(130px,30vw,180px); }
  .hero__caption{ margin-top:var(--s3); }
}

.scroll-cue{ position:absolute; bottom:2rem; left:50%; translate:-50% 0;
  color:var(--ink-faint); animation:bob 2.6s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ translate:-50% 0; } 50%{ translate:-50% 8px; } }
@media (prefers-reduced-motion: reduce){ .scroll-cue{ animation:none; } }

/* ---------- Scroll reveal (fade + rise) ---------- */
.reveal{ opacity:0; transform:translateY(28px);
  transition:opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Stat row ---------- */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1px; background:var(--rule); border-block:1px solid var(--rule); }
.stat{ background:var(--ground); padding:var(--s4) var(--s3); }
.section--raised .stat{ background:var(--ground-raised); }
.stat dt{ font-family:var(--mono); font-size:.8125rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink-faint); margin-bottom:.5rem; }
.stat dd{ margin:0; font-family:var(--display); font-size:clamp(1.75rem,3.4vw,2.5rem);
  font-weight:700; line-height:1; font-variant-numeric:tabular-nums; }

/* ---------- Council cards ---------- */
.grid{ display:grid; gap:var(--s3); }
.grid--councils{ grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); }
.grid--3{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.grid--2{ grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); }

.council{
  background:var(--ground-raised); border:1px solid var(--rule);
  border-radius:14px; padding:var(--s4) var(--s3) var(--s3);
  display:flex; flex-direction:column; position:relative; overflow:hidden;
  transition:border-color 620ms var(--ease), background 620ms var(--ease),
              transform 620ms var(--ease);
}
.section--raised .council{ background:var(--ground); }
.council::before{ content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg,var(--cocoa),var(--olive),var(--accent)); }
.council:hover{ border-color:var(--rule-strong); }
.council__code{ font-family:var(--mono); font-size:.75rem; font-weight:500;
  letter-spacing:.16em; color:var(--accent); margin-bottom:.5rem; }
.council__name{ font-size:1.4375rem; font-weight:700; margin-bottom:.75rem; }
.council__blurb{ color:var(--ink-muted); font-size:1rem; margin-bottom:var(--s3); }
.council__agendas{ margin-bottom:var(--s3); }
.council__agendas li{
  font-size:.9375rem; color:var(--ink-muted); padding-left:1.1rem;
  position:relative; margin-bottom:.5rem; line-height:1.5;
}
.council__agendas li::before{
  content:""; position:absolute; left:0; top:.6em; width:5px; height:5px;
  border-radius:50%; background:var(--moss);
}
.council__foot{ margin-top:auto; padding-top:var(--s2); border-top:1px solid var(--rule);
  display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.sdg{
  font-family:var(--mono); font-size:.6875rem; letter-spacing:.04em;
  padding:.3rem .55rem; border-radius:5px;
  background:#4C4B34; color:var(--bone);
  border:1px solid rgba(241,234,205,.22); white-space:nowrap;
}
.council__note{ font-family:var(--mono); font-size:.6875rem; color:var(--accent);
  letter-spacing:.08em; text-transform:uppercase; }

/* ---------- Definition / people cards ---------- */
.card{ background:var(--ground-raised); border:1px solid var(--rule);
  border-radius:14px; padding:var(--s4) var(--s3); }
.section--raised .card{ background:var(--ground); }
.card h3{ font-size:1.3125rem; margin-bottom:.65rem; }
.card p{ color:var(--ink-muted); font-size:1rem; margin:0; }

.person{ text-align:center; }
.person__ph{
  width:96px; height:96px; margin:0 auto var(--s2); border-radius:50%;
  background:var(--cocoa); border:1px solid var(--rule-strong);
  display:grid; place-items:center;
  font-family:var(--display); font-size:1.75rem; font-weight:700; color:var(--bone);
}
.person__role{ font-family:var(--mono); font-size:.6875rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--accent); margin-bottom:.4rem; }
.person__name{ font-size:1.25rem; font-weight:700; margin-bottom:.25rem; }
.person__meta{ font-family:var(--mono); font-size:.75rem; color:var(--ink-faint); }

/* ---------- Schedule ---------- */
.sched{ border-top:1px solid var(--rule); }
.sched__row{ display:grid; grid-template-columns:minmax(9rem,auto) 1fr;
  gap:var(--s3); padding:.9rem 0; border-bottom:1px solid var(--rule); align-items:baseline; }
.sched__time{ font-family:var(--mono); font-size:.8125rem; color:var(--accent);
  font-variant-numeric:tabular-nums; letter-spacing:.02em; }
.sched__what{ font-size:1.0625rem; }
.sched__row--break .sched__what{ color:var(--ink-faint); font-style:italic; }
@media (max-width:560px){
  .sched__row{ grid-template-columns:1fr; gap:.2rem; padding:.75rem 0; }
}

/* ---------- Fee table ---------- */
.fees{ width:100%; border-collapse:collapse; font-size:1.0625rem; }
.fees caption{ text-align:left; color:var(--ink-muted); font-size:.875rem;
  margin-bottom:var(--s2); }
.fees th,.fees td{ text-align:left; padding:.9rem 1rem; border-bottom:1px solid var(--rule); }
.fees thead th{ font-family:var(--mono); font-size:.6875rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink-faint); font-weight:500; }
.fees td:last-child{ font-family:var(--mono); font-variant-numeric:tabular-nums;
  color:var(--accent); font-weight:500; white-space:nowrap; }
.fees tbody tr:hover{ background:rgba(241,234,205,.04); }

/* ---------- Notice ---------- */
/* Solid, not translucent — a tinted overlay shifts colour depending on
   what scrolls behind it. */
.notice{
  border:1px solid rgba(142,174,169,.40); background:#33403E;
  border-radius:12px; padding:var(--s3); display:flex; gap:.9rem;
  font-size:1rem; color:var(--ink);
}
.notice svg{ flex:none; color:var(--accent); margin-top:.15rem; }
.notice strong{ color:var(--ink); }

/* ============================================================
   LIGHT INVERSION — the register page.
   The site is soil; the act of joining it is light.
   ============================================================ */
.invert{
  --ground:#FAF6E3; --ground-raised:#F1EACD; --ground-deep:#D6CCA8;
  --ink:var(--espresso); --ink-muted:rgba(46,35,23,.75); --ink-faint:rgba(46,35,23,.75);
  --rule:rgba(46,35,23,.16); --rule-strong:rgba(46,35,23,.32);
  --accent:#565536; --accent-hi:#6B6A44; --on-accent:#FAF6E3;
  background:var(--ground); color:var(--ink);
}
.invert .sdg{ background:#E2DBB8; color:#3A3928; border-color:rgba(46,35,23,.26); }
.invert .person__ph{ background:var(--moss); color:var(--bone); }
/* The lichen accent used for notices reads on espresso but disappears
   on bone — restate it in the darker key for the light page. */
.invert .notice{ border-color:rgba(46,35,23,.30); background:#E9E3C6; color:var(--ink); }

/* ---------- Forms ---------- */
.form{ display:grid; gap:var(--s3); max-width:640px; }
.field{ display:grid; gap:.4rem; }
.field > label{ font-weight:600; font-size:.9375rem; }
.field .req{ color:#9B2C2C; }
.invert .field .req{ color:#8A2222; }
.field small{ color:var(--ink-muted); font-size:.8125rem; }
.field input,.field select,.field textarea{
  font:400 1rem/1.5 var(--body); color:var(--ink);
  background:var(--ground-raised); border:1px solid var(--rule-strong);
  border-radius:9px; padding:.8rem .9rem; min-height:48px; width:100%;
  transition:border-color 200ms, background 200ms;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--accent); outline:3px solid rgba(86,85,54,.28); outline-offset:1px;
}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{ border-color:#9B2C2C; }
.field__err{ color:#9B2C2C; font-size:.8125rem; font-weight:600; min-height:0; }
.invert .field__err{ color:#8A2222; }
.field input[type="file"]{ padding:.6rem; }
.fieldset{ border:1px solid var(--rule); border-radius:12px; padding:var(--s3); }
.fieldset legend{ font-weight:600; padding-inline:.5rem; font-size:.9375rem; }

.errsum{ border:1px solid #9B2C2C; background:rgba(155,44,44,.10);
  border-radius:12px; padding:var(--s3); }
.errsum h2{ font-family:var(--body); font-size:1rem; font-weight:700; margin-bottom:.5rem; }
.errsum ul{ list-style:disc; padding-left:1.25rem; }
.errsum a{ color:inherit; }

/* ---------- Payment block ---------- */
.pay{ display:grid; gap:var(--s4); grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start; }
@media (max-width:760px){ .pay{ grid-template-columns:1fr; } }
.pay__qr{ background:#fff; border-radius:14px; padding:var(--s3); text-align:center;
  border:1px solid var(--rule-strong); }
.pay__qr img{ width:100%; max-width:260px; margin:0 auto; }
.pay__qr .ph{ aspect-ratio:1; display:grid; place-items:center; max-width:260px;
  margin:0 auto; border:2px dashed rgba(46,35,23,.35); border-radius:10px;
  color:rgba(46,35,23,.55); font:500 .8125rem/1.5 var(--mono); text-align:center;
  padding:1rem; }
.paydl{ display:grid; gap:.1rem; }
.paydl div{ display:flex; justify-content:space-between; gap:1rem;
  padding:.65rem 0; border-bottom:1px solid var(--rule); }
.paydl dt{ color:var(--ink-muted); font-size:.875rem; }
.paydl dd{ margin:0; font-family:var(--mono); font-size:.875rem; text-align:right;
  word-break:break-word; }

/* ---------- Sponsor tiers ---------- */
.tier{ border:1px solid var(--rule); border-radius:14px; padding:var(--s4) var(--s3);
  background:var(--ground-raised); }
.section--raised .tier{ background:var(--ground); }
.tier--platinum{ border-color:rgba(142,174,169,.5); }
.tier h3{ font-size:1.75rem; margin-bottom:.75rem; }
.tier__price{ font-family:var(--mono); font-size:1rem; font-weight:500;
  color:var(--accent); margin-bottom:var(--s3); }
.tier ul li{ font-size:1rem; color:var(--ink-muted); padding-left:1.4rem;
  position:relative; margin-bottom:.5rem; }
.tier ul li::before{ content:""; position:absolute; left:0; top:.55em; width:8px; height:1px;
  background:var(--accent); }

/* ---------- Footer ---------- */
.foot{ background:var(--ground-deep); color:var(--ink); padding-block:var(--s6) var(--s4); }
.foot__grid{ display:grid; gap:var(--s4);
  grid-template-columns:minmax(0,1.4fr) repeat(auto-fit,minmax(150px,1fr)); }
@media (max-width:640px){
  .foot__grid{ grid-template-columns:1fr; gap:var(--s5); }
}
.foot h4{ font-family:var(--mono); font-size:.6875rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-faint); font-weight:500; margin-bottom:var(--s2); }
.foot a{ color:var(--ink-muted); text-decoration:none; font-size:1rem;
  display:inline-block; padding:.3rem 0; transition:color 200ms; }
.foot a:hover{ color:var(--accent); }
.foot__mark{ display:flex; align-items:center; gap:.75rem; margin-bottom:var(--s2); }
.foot__mark img{ width:52px; height:52px; }
.foot__legal{ margin-top:var(--s5); padding-top:var(--s3); border-top:1px solid var(--rule);
  display:flex; flex-wrap:wrap; gap:var(--s2) var(--s4); justify-content:space-between;
  font-size:.8125rem; color:var(--ink-faint); }

/* ---------- Page entry ------------------------------------------
   Opening any tab: the header's own lines rise in sequence, and the
   whole document cross-fades from the previous page where the browser
   supports it. Same 8px/riseIn token as the hero — one rhythm across
   the site, nothing new to learn.
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference){
  @view-transition{ navigation:auto; }
}
.phead .wrap > *{ animation:riseIn 620ms var(--ease) backwards; }
.phead .wrap > *:nth-child(1){ animation-delay: 60ms; }
.phead .wrap > *:nth-child(2){ animation-delay:135ms; }
.phead .wrap > *:nth-child(3){ animation-delay:210ms; }
.phead .wrap > *:nth-child(4){ animation-delay:285ms; }
.nav{ animation:riseIn 560ms var(--ease) backwards; }
@media (prefers-reduced-motion: reduce){
  .phead .wrap > *, .nav{ animation:none; }
}

/* ---------- Page header (interior pages) ---------- */
.phead{ padding:9rem var(--pad) var(--s6); position:relative; isolation:isolate; }
.phead::after{ content:""; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(90% 120% at 20% 0%, rgba(88,61,40,.42), transparent 60%); }
.invert .phead::after{ background:radial-gradient(90% 120% at 20% 0%, rgba(121,120,87,.22), transparent 60%); }

.u-center{ text-align:center; }
.u-mt3{ margin-top:var(--s3); } .u-mt4{ margin-top:var(--s4); }
.u-mt5{ margin-top:var(--s5); } .u-mb4{ margin-bottom:var(--s4); }
.u-mb5{ margin-bottom:var(--s5); }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ============================================================
   ADDITIONS
   ============================================================ */

/* ---- Equal-height boxes -------------------------------------
   Grid already stretches each row; the cards have to actually
   fill the height they are given, or short ones float short.
   ------------------------------------------------------------ */
.grid > *{ height:100%; }
.card{ display:flex; flex-direction:column; }
.card > p:last-child{ margin-bottom:0; }
.tier{ display:flex; flex-direction:column; }

/* ---- Pop reveal ---------------------------------------------
   Used for council cards and CTAs. Slightly more presence than
   the plain rise, still small.
   ------------------------------------------------------------ */
.reveal--pop{ opacity:0; transform:translateY(22px) scale(.96);
  transition:opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal--pop.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal--pop{ opacity:1; transform:none; transition:none; }
}

/* CTA groups pop in as one unit when scrolled to. */
.cta-row{ display:flex; gap:.75rem; flex-wrap:wrap; }
.u-center .cta-row{ justify-content:center; }

/* ---- Headshots ---------------------------------------------- */
.person__ph{ overflow:hidden; }
.person__ph img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.person--lg .person__ph{ width:132px; height:132px; }

/* ---- FAQ accordion ------------------------------------------
   Real <details>/<summary>, so it is keyboard operable and
   announced correctly. The panel slides open on 0fr -> 1fr.
   ------------------------------------------------------------ */
.faq{ border:1px solid var(--rule); border-radius:14px;
  background:var(--ground-raised); overflow:hidden; }
.section--raised .faq{ background:var(--ground); }
.faq + .faq{ margin-top:.75rem; }
.faq summary{
  list-style:none; cursor:pointer; padding:1.15rem var(--s3);
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  font-family:var(--display); font-size:1.3125rem; font-weight:700;
  line-height:1.25; color:var(--ink);
  transition:background 240ms var(--ease);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ background:rgba(241,234,205,.05); }
.invert .faq summary:hover{ background:rgba(46,35,23,.05); }
.faq summary::after{
  content:""; flex:none; width:13px; height:13px; margin-right:.15rem;
  border-right:2.5px solid var(--accent); border-bottom:2.5px solid var(--accent);
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform 320ms var(--ease);
}
.faq[open] summary::after{ transform:rotate(-135deg) translate(-3px,-3px); }
.faq__inner{ display:grid; grid-template-rows:0fr;
  transition:grid-template-rows 380ms var(--ease); }
.faq[open] .faq__inner{ grid-template-rows:1fr; }
.faq__inner > div{ overflow:hidden; }
.faq__inner p{ padding:0 var(--s3) 1.25rem; margin:0;
  color:var(--ink-muted); font-size:1rem; max-width:64ch; }
@media (prefers-reduced-motion: reduce){
  .faq__inner, .faq summary::after{ transition:none; }
}

/* ---- Footer sponsor call ------------------------------------ */
.foot__sponsor{ margin-top:var(--s4); padding-top:var(--s3);
  border-top:1px solid var(--rule); }
.foot__sponsor b{
  display:block; font-family:var(--mono); font-size:.8125rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--accent);
  margin-bottom:.5rem; font-weight:500;
}
.foot__sponsor span{ display:block; font-size:1rem; color:var(--ink-muted); }
.foot__sponsor a{ color:var(--accent); }

/* ---- Hero lockup (full name / theme / tagline) --------------- */
.hero__full{
  font-family:var(--mono); font-size:clamp(.75rem,1.7vw,.9375rem);
  letter-spacing:.24em; text-transform:uppercase; color:var(--accent);
  margin:0 0 clamp(.6rem,1.6vw,1rem);
}
.hero__tag{
  font-size:clamp(1.0625rem,2.1vw,1.4375rem); font-style:italic;
  color:var(--ink-muted); margin:clamp(.5rem,1.4vw,.85rem) 0 0;
}

/* Fee table now carries four columns; keep it readable on phones. */
.fees th:nth-child(2), .fees td:nth-child(2){ white-space:nowrap; }
.fees th:nth-child(3), .fees td:nth-child(3){
  font-family:var(--mono); font-size:.875rem; color:var(--ink-muted); white-space:nowrap; }
@media (max-width:640px){
  .fees{ font-size:.9375rem; }
  .fees th, .fees td{ padding:.7rem .5rem; }
  .fees th:nth-child(2), .fees td:nth-child(2){ display:none; }
}

/* ---------- Gallery ------------------------------------------- */
.gallery{ display:grid; gap:var(--s3);
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); }
.gallery__item{
  display:block; padding:0; border:1px solid var(--rule); cursor:pointer;
  background:var(--ground); border-radius:14px; overflow:hidden;
  font:inherit; color:inherit; text-align:left;
  transition:border-color 420ms var(--ease), transform 420ms var(--ease);
}
.section--raised .gallery__item{ background:var(--ground-raised); }
.gallery__item img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.gallery__item:hover{ border-color:var(--accent); transform:translateY(-3px); }
.gallery__cap{ display:block; padding:.85rem var(--s2);
  font-size:.9375rem; color:var(--ink-muted); }
@media (prefers-reduced-motion: reduce){ .gallery__item:hover{ transform:none; } }

.lightbox{
  position:fixed; inset:0; z-index:300; display:none;
  align-items:center; justify-content:center; padding:var(--pad);
  background:rgba(20,15,10,.94);
}
.lightbox.is-open{ display:flex; }
.lightbox figure{ margin:0; max-width:min(1100px,100%); max-height:100%; }
.lightbox img{ max-width:100%; max-height:80vh; object-fit:contain;
  border-radius:10px; margin-inline:auto; }
.lightbox figcaption{ color:#F1EACD; text-align:center; margin-top:var(--s2);
  font-size:1rem; }
.lightbox__x{
  position:absolute; top:1.25rem; right:1.25rem; width:48px; height:48px;
  border-radius:999px; cursor:pointer; font-size:1.75rem; line-height:1;
  background:rgba(241,234,205,.12); color:#F1EACD;
  border:1px solid rgba(241,234,205,.3);
}
.lightbox__x:hover{ background:rgba(241,234,205,.22); }

/* Seven nav items now — tighten the links a little before the
   mobile breakpoint so the pill does not crowd. */
@media (max-width:1100px) and (min-width:941px){
  .nav__links a{ padding:.6rem .6rem; font-size:.875rem; }
  .nav__brand b{ font-size:1.25rem; }
}

/* ---- Album tiles + viewer navigation ------------------------- */
.gallery__stack{ position:relative; display:block; }
/* Stacked-paper edge, so an album reads as more than one photo. */
.gallery__item--album .gallery__stack::before,
.gallery__item--album .gallery__stack::after{
  content:""; position:absolute; inset:0; border-radius:10px;
  border:1px solid var(--rule); background:var(--ground-raised);
  z-index:-1;
}
.gallery__item--album .gallery__stack::before{ transform:translate(6px,-6px); }
.gallery__item--album .gallery__stack::after{ transform:translate(12px,-12px); opacity:.6; }
.gallery__item--album{ margin-top:12px; margin-right:12px; overflow:visible; }
.gallery__item--album .gallery__stack img{ border-radius:10px; }
.gallery__count{
  position:absolute; right:.6rem; bottom:.6rem;
  font-family:var(--mono); font-size:.75rem; letter-spacing:.06em;
  padding:.35rem .6rem; border-radius:999px;
  background:rgba(20,15,10,.82); color:#F1EACD;
  border:1px solid rgba(241,234,205,.28);
}
.gallery__item .gallery__cap{ font-family:var(--display); font-weight:700;
  font-size:1.0625rem; color:var(--ink); }

.lightbox__nav{
  position:absolute; top:50%; translate:0 -50%;
  width:52px; height:52px; border-radius:999px; cursor:pointer;
  font-size:2rem; line-height:1; padding-bottom:.25rem;
  background:rgba(241,234,205,.12); color:#F1EACD;
  border:1px solid rgba(241,234,205,.3);
}
.lightbox__nav:hover{ background:rgba(241,234,205,.22); }
.lightbox__nav--prev{ left:1.25rem; }
.lightbox__nav--next{ right:1.25rem; }
@media (max-width:640px){
  .lightbox__nav{ top:auto; bottom:1.25rem; translate:none; width:48px; height:48px; }
  .lightbox__nav--prev{ left:25%; }
  .lightbox__nav--next{ right:25%; }
}

/* QR-only payment block: no details column to sit beside, so centre it. */
.pay--qronly{ grid-template-columns:1fr; justify-items:center; }
.pay--qronly .pay__qr{ width:100%; max-width:340px; }
