/* Save Longfellow — mobile-first, no framework. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(assets/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/noto-kufi-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(assets/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #FDB71A;
  --gold-deep: #E09A00;
  --ink: #1F1D1A;
  --ink-soft: #4A4640;
  --paper: #FFFFFF;
  --cream: #FFF5DC;
  --dark: #1F1D1A;
  --on-dark: #FFF8E8;
  --line: rgba(31, 29, 26, .14);
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --card: #FFFFFF;
  --radius: 14px;
  --display: "Archivo", "Noto Kufi Arabic", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130F;
    --fg: #F5EFE3;
    --muted: #C9C0B0;
    --cream: #211D16;
    --card: #2A251C;
    --line: rgba(255, 245, 220, .16);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-weight: 900; font-stretch: 85%; font-size: clamp(2.5rem, 10vw, 5.25rem); text-transform: uppercase; }
h2 { font-weight: 900; font-stretch: 90%; font-size: clamp(2rem, 7vw, 3.5rem); text-transform: uppercase; }
h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
/* Arabic: letter-spacing breaks the joins between letters, and tall
   ascenders and descenders need more line height than Archivo does. */
:lang(ar) * { letter-spacing: 0 !important; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { line-height: 1.4; font-stretch: normal; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .stats dt { direction: ltr; text-align: right; } /* keeps "~45%" in order */
[dir="rtl"] .sources { padding-inline: 0 1.2em; } /* the list is English, laid out LTR */
h4 { font-weight: 800; font-size: 1.1rem; margin-top: 1.75rem; }
p { margin: 0 0 1em; }
mark { background: var(--gold); color: var(--ink); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { inset-inline-start: 0; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.lede { font-size: 1.2rem; max-width: 42rem; }
.note, .small { font-size: .92rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: .6em 1.1em; border-radius: 999px;
  font: 800 1rem/1.1 var(--display); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.15rem; padding: .8em 1.4em; }
.btn-sm { min-height: 36px; font-size: .9rem; padding: .4em .9em; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
@media (prefers-color-scheme: dark) {
  .band:not(.band-gold) .btn-dark { background: var(--on-dark); color: var(--ink); }
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .45rem 16px; background: var(--gold); color: var(--ink);
}
.brand { display: flex; align-items: center; gap: .45rem; text-decoration: none; font: 900 1rem var(--display); font-stretch: 90%; }
.brand img { width: 24px; height: auto; }
.brand span { white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: .4rem; }
.topnav .btn { white-space: nowrap; }
.lang select {
  font: 600 .9rem var(--body); min-height: 36px; padding: 0 .4rem; border-radius: 8px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
}
@media (max-width: 640px) { .brand span { display: none; } }

/* Hero */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero-media { position: relative; }
.hero-media img { width: 100%; max-height: 62vh; object-fit: cover; object-position: 30% 30%; }
.hero-media .credit {
  position: absolute; inset-block-end: .5rem; inset-inline-end: .5rem; font-size: .75rem;
  padding: .15em .5em; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff;
}
.hero-media.logo-only { padding: 2rem 16px 0; }
.hero-media.logo-only img { max-width: 220px; margin: 0 auto; }
.hero-copy { position: relative; padding-top: 1.5rem; padding-bottom: 2.5rem; }
.kicker {
  display: inline-block; font: 800 .85rem var(--display); text-transform: uppercase; letter-spacing: .08em;
  background: #C8102E; color: #fff; padding: .35em .7em; border-radius: 4px;
}
.hero .lede { color: #EDE5D3; }
.hero .lede strong { color: var(--gold); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(88vh, 820px); }
  .hero-media, .hero-media picture { display: block; height: 100%; }
  .hero-media img { height: 100%; max-height: none; }
  .hero-copy { padding: 3rem 3rem; align-self: center; }
  .hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
}

.countdown {
  display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center;
  border-inline-start: 6px solid var(--gold); padding-block: .3rem; padding-inline: 1rem 0; margin: 1.5rem 0;
}
.count-n { grid-row: span 2; font: 900 clamp(3.25rem, 12vw, 4.5rem)/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.count-t { font: 800 1.05rem/1.2 var(--display); }
.count-date { font-size: .95rem; color: #CFC6B4; }
.countdown.is-text { display: block; font: 800 1.2rem var(--display); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Bands */
.band { padding: 3.5rem 0; }
@media (min-width: 700px) { .band { padding: 5rem 0; } }
.band-cream { background: var(--cream); }
.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark .note { color: #CFC6B4; }
.band-gold { background: var(--gold); color: var(--ink); }

/* Tiles */
.tiles { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.tile { background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem; border: 1px solid var(--line);
  display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; align-items: start; }
.tile .ico { grid-row: span 2; margin: 0; }
.tile h3 { margin-bottom: .25rem; }
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .tile { display: block; padding: 1.25rem 1.1rem; } .tile .ico { margin-bottom: .5rem; }
}
.tile p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; fill: none; stroke: var(--gold-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .5rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0 0; }
.stats div:last-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(5, 1fr); } .stats div:last-child { grid-column: auto; } }
.stats div { border-top: 4px solid var(--gold); padding-top: .6rem; }
.stats dt { font: 900 clamp(2.4rem, 9vw, 3.4rem)/1 var(--display); }
.stats dd { margin: .25rem 0 0; font-weight: 600; }

/* Plan section */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 1.5rem 0 2.5rem; }
.opt { border: 2px solid rgba(255,248,232,.35); border-radius: 10px; padding: .7rem .5rem; text-align: center; }
.opt span { display: block; font-size: .85rem; color: #CFC6B4; }
.opt b { display: block; font: 900 clamp(.8rem, 3.4vw, 1.25rem) var(--display); color: #FF6B6B; overflow-wrap: anywhere; }
.money-title { font-size: clamp(1.4rem, 5vw, 2rem); color: var(--gold); }
.bar { margin: 1.5rem 0; }
.bar-track { height: 56px; background: rgba(255,248,232,.14); border-radius: 8px; position: relative; overflow: hidden; }
.bar-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0.23%; min-width: 5px; background: var(--gold); }
.bar figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; font-size: .92rem; }
.bar-l-save { color: var(--gold); font-weight: 700; }
.pull { margin: 2rem 0; padding: 0; }
.pull p { font: 900 clamp(1.7rem, 6vw, 2.75rem)/1.1 var(--display); margin-bottom: .4rem; }
.pull cite { font-style: normal; color: #CFC6B4; }

/* North cards */
.cards { list-style: none; counter-reset: c; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { counter-increment: c; background: var(--card); border-radius: var(--radius); padding: 1.25rem; padding-inline-start: 4rem; position: relative; border: 1px solid var(--line); }
.card::before { content: counter(c); position: absolute; inset-inline-start: 1.1rem; top: 1rem; font: 900 2.2rem/1 var(--display); color: var(--gold-deep); }
.card p { margin: 0; color: var(--muted); }

/* Voices */
.voices { display: grid; gap: 1rem; margin: 2rem 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .voices { grid-template-columns: repeat(3, 1fr); } .quote-big { grid-column: span 2; } }
.quote { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.quote p { font: 700 1.2rem/1.35 var(--display); }
.quote p::before { content: "“"; display: block; font: 900 3.2rem/0.6 var(--display); color: var(--gold-deep); margin-bottom: .2rem; }
.quote cite { font-style: normal; font-size: .92rem; color: var(--muted); }
.quote-big p { font-size: clamp(1.4rem, 4.5vw, 2rem); }
.quote-gold { background: var(--gold); color: var(--ink); }
.quote-gold p::before { color: var(--ink); }
.quote-gold cite { color: var(--ink); }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); display: flex; flex-direction: column; }
.photo picture { display: block; flex: 1; min-height: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo figcaption { padding: .6rem .9rem .8rem; font-size: .92rem; color: var(--muted); }
.photo figcaption small { display: block; font-size: .8rem; }
.story { margin-top: 2rem; padding: 1.5rem; border: 3px dashed var(--gold-deep); border-radius: var(--radius); }
.story p { font-weight: 700; font-size: 1.1rem; }

/* Asks */
.asks { margin: 1rem 0 0; padding-inline-start: 1.4em; font-size: clamp(1.15rem, 3.8vw, 1.45rem); max-width: 48rem; }
.asks li { margin-bottom: .75rem; padding-inline-start: .25rem; }
.asks li::marker { font: 900 1.2em var(--display); }

/* Action tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 0; }
.tabs button {
  flex: 0 0 auto; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--fg); background: transparent; color: var(--fg); font: 800 .95rem var(--display);
}
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.panel { background: var(--card); border-radius: var(--radius); padding: 1.4rem; margin-top: 1rem; border: 1px solid var(--line); }
.js .panel[hidden] { display: none; }
.letter { margin: .5rem 0 1rem; }
.letter summary { cursor: pointer; font-weight: 700; }
.letter pre { white-space: pre-wrap; font: .95rem/1.5 var(--body); background: var(--cream); padding: 1rem; border-radius: 10px; margin: .6rem 0 0; }
.letter-note { background: var(--cream); border-inline-start: 4px solid var(--gold); padding: .6rem .9rem; font-size: .95rem; }
.notfound { padding-block: 3rem 4rem; }
.notfound section + section { border-block-start: 1px solid var(--line); margin-block-start: 2rem; padding-block-start: 2rem; }
.notfound h1, .notfound h2 { font-weight: 900; font-stretch: 85%; font-size: clamp(2rem, 7vw, 3.5rem); text-transform: uppercase; }
.members-label { font-weight: 700; margin: 1rem 0 0; }
.visit { margin-top: 1.25rem; }
.address { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-style: normal; }
.map { width: 100%; height: clamp(260px, 50vw, 420px); border-radius: var(--radius); background: var(--line); z-index: 0; }
html:not(.js) .map { display: none; }
/* Kangaroo marker: a gold map pin with the dark mascot, like the site icon. */
.roo-icon { background: none; border: 0; }
.roo-pin {
  display: grid; place-items: center; width: 52px; height: 52px; box-sizing: border-box;
  background: #FDB71A; border: 3px solid #1F1D1A; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}
.roo-pin img { width: auto; height: 32px; transform: rotate(45deg); }
.visit .small { margin-top: .5rem; }
.address .ico { width: 2rem; height: 2rem; flex: none; margin: 0; }
.address b { display: block; font-family: var(--display); }
.address a { font-weight: 600; text-underline-offset: 3px; }
.nowrap { white-space: nowrap; }
.people { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.people li { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; }
.people a { font-weight: 700; text-decoration: none; }
.people a:hover { text-decoration: underline; }
.people .email { font-size: .9rem; overflow-wrap: anywhere; }
.people .email a { font-weight: 400; }
.people span { display: block; font-size: .85rem; color: var(--muted); }
.people li.is-home { border-color: var(--gold-deep); border-width: 2px; }
.home-tag {
  display: inline-block; margin-inline-start: .35rem; padding: .1em .45em; border-radius: 4px; vertical-align: .1em;
  font: 800 .68rem var(--display); text-transform: uppercase; letter-spacing: .04em; background: var(--gold); color: #1F1D1A;
}
:lang(ar) .home-tag { text-transform: none; letter-spacing: 0; font-size: .75rem; }
.band-dark .note.allies a { color: var(--gold); font-weight: 700; }
.event { border-inline-start: 6px solid var(--gold); padding-inline-start: 1rem; margin-bottom: 1rem; }
.event p { margin: 0; }
.event-k { font: 800 .85rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.event-d { font: 900 1.5rem/1.2 var(--display); }
.meetings { list-style: none; padding: 0; margin: .75rem 0 0; }
.meetings li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.meetings b { font-family: var(--display); }
.meetings span small { display: block; color: var(--muted); }
.meetings li.is-past { opacity: .45; }
.meetings li.is-past b::after { content: " · " attr(data-past); font-weight: 400; font-size: .8em; }

/* Share */
.share { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .share { grid-template-columns: 1fr auto; } }
.qr { background: #fff; color: #1F1D1A; padding: 1rem 1.1rem .5rem; border-radius: var(--radius); text-align: center; width: 272px; max-width: 100%; }
.qr img { width: 180px; height: 180px; margin: 0 auto .5rem; image-rendering: pixelated; }
.qr-url {
  margin: 0; padding-block-start: .6rem; border-block-start: 3px solid var(--gold);
  font: 1rem/1.2 var(--display); font-stretch: 85%; overflow-wrap: anywhere;
}
.qr-url span { display: block; font-weight: 600; font-size: .85em; color: #5A554C; }
.qr-url b { display: block; font-weight: 800; }
.qr a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 700; font-size: .9rem; color: #1F1D1A; text-underline-offset: 3px; }

.sources { padding-inline-start: 1.2em; font-size: .95rem; }
.sources li { margin-bottom: .4rem; }
.h-sm { font-size: 1.6rem; }

.footer { background: var(--dark); color: #CFC6B4; padding: 2.5rem 0 3rem; font-size: .95rem; }
.footer img { width: 42px; margin-bottom: 1rem; }
.footer a { color: var(--on-dark); }
.langs a { margin-inline-end: .9rem; }
.langs a[aria-current] { color: var(--gold); text-decoration: none; font-weight: 700; }

.toast {
  position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 150%);
  background: var(--ink); color: var(--on-dark); padding: .7rem 1.2rem; border-radius: 999px;
  font-weight: 700; transition: transform .2s ease; z-index: 50; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

@media print {
  .topbar, .tabs, .btn-row, .cta-row, #share, .story { display: none !important; }
  .band, .hero { background: #fff !important; color: #000 !important; padding: 1rem 0; }
  .panel[hidden] { display: block !important; }
}
