/* PUSH—PUSH website. Colours follow the pitch deck. One family (Archivo); its width axis does the
   poster work: expanded caps for headlines, condensed for dates, normal width for reading. */
:root {
  --ink: #101b1c;      /* page */
  --ink-2: #0f181f;    /* inputs, phone */
  --panel: #20302e;    /* raised surfaces */
  --line: #31433d;     /* borders */
  --paper: #f7f7f1;    /* text */
  --sage: #b8c5bf;     /* secondary text */
  --lime: #b9e86a;     /* actions, wordmark */
  --gold: #e4b769;     /* waiting states */
  --coral: #f2a08f;    /* problems */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--lime) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--lime); color: var(--ink); padding: 8px 12px; z-index: 10; }
.muted { color: var(--sage); }
.small { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Display type: the deck's heavy caps, pushed wide */
.display {
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
.page-title { font-size: clamp(2.4rem, 6.5vw, 4.75rem); margin: 0 0 20px; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-stretch: 115%; font-variation-settings: 'wdth' 115; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 14px; }
.h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--sage); max-width: 60ch; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wordmark {
  font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 800; letter-spacing: 0.14em;
  color: var(--lime); text-decoration: none; font-size: 18px; white-space: nowrap;
}
.wordmark:hover { color: var(--paper); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--sage); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--paper); }
.nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; }
.menu-toggle summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle[open] summary { border-color: var(--lime); }
.menu-panel { position: absolute; left: 0; right: 0; top: 72px; background: var(--ink); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; z-index: 20; display: grid; gap: 4px; }
.menu-panel a { padding: 10px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 14px; justify-self: start; border-bottom: 0; }
@media (max-width: 1180px) {
  .nav, .head-actions { display: none; }
  .menu-toggle { display: block; }
  .site-head .wrap { position: relative; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: var(--ink); border: 2px solid var(--lime);
  padding: 11px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap;
}
.btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--lime); color: var(--lime); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-danger { background: transparent; color: var(--coral); border-color: color-mix(in srgb, var(--coral) 50%, transparent); }
.btn-danger:hover { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-button { background: none; border: 0; color: var(--sage); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--sage); }
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(3.3rem, 11.4vw, 10.25rem); line-height: 0.86; margin-bottom: clamp(28px, 4vw, 48px); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hero .tagline { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.4; color: var(--paper); max-width: 30ch; margin-bottom: 30px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--sage); }
@media (max-width: 880px) { .hero-body { grid-template-columns: 1fr; } }

/* Phone + chat (the join conversation) */
.phone {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 32px; padding: 18px 14px 22px;
  max-width: 380px; width: 100%; justify-self: end; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
@media (max-width: 880px) { .phone { justify-self: start; } }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.phone-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; font-stretch: 125%; font-variation-settings: 'wdth' 125; }
.phone-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.phone-sub { font-size: 12px; color: var(--sage); }
.chat { display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 14px; }
.bubble p { margin: 0 0 6px; }
.bubble p:last-child { margin: 0; }
.bubble.them { background: var(--panel); border-bottom-left-radius: 4px; justify-self: start; }
.bubble.me { background: var(--lime); color: var(--ink); border-bottom-right-radius: 4px; justify-self: end; font-weight: 500; }
.chips { display: grid; gap: 6px; justify-self: start; width: 86%; }
.chip { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; text-align: center; color: var(--lime); font-weight: 600; font-size: 14px; background: transparent; font-family: inherit; }
.chat-seq > * { animation: pop 0.45s cubic-bezier(.2, .7, .2, 1) both; }
.chat-seq > *:nth-child(1) { animation-delay: 0.3s; }
.chat-seq > *:nth-child(2) { animation-delay: 1.1s; }
.chat-seq > *:nth-child(3) { animation-delay: 1.5s; }
.chat-seq > *:nth-child(4) { animation-delay: 2.4s; }
.chat-seq > *:nth-child(5) { animation-delay: 3.2s; }
.chat-seq > *:nth-child(6) { animation-delay: 3.6s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat-seq > * { animation: none; } }

/* Steps (a real sequence: join, create, grow) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; font-weight: 300;
  font-stretch: 62%; font-variation-settings: 'wdth' 62; color: var(--lime); margin-bottom: 12px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--sage); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Benefit rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-stretch: 115%; font-variation-settings: 'wdth' 115; font-weight: 750; }
.row p { margin: 0; color: var(--sage); }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; gap: 6px; } }
.note { border-left: 3px solid var(--lime); padding: 4px 0 4px 16px; color: var(--sage); margin-top: 28px; max-width: 70ch; }

/* Show listings: like a gig poster run-down */
.shows { border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.date-block { text-align: center; line-height: 1; font-stretch: 62%; font-variation-settings: 'wdth' 62; }
.date-block .d { display: block; font-size: 46px; font-weight: 800; }
.date-block .m { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); margin-top: 4px; font-weight: 700; }
.show h3 { font-size: 1.3rem; }
.show h3 a { text-decoration: none; }
.show .meta { color: var(--sage); font-size: 15px; margin-top: 4px; }
@media (max-width: 640px) {
  .show { grid-template-columns: 64px minmax(0, 1fr); }
  .show .btn { grid-column: 2; justify-self: start; }
  .date-block .d { font-size: 38px; }
}

/* Artist grid */
.artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
@media (max-width: 520px) { .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .monogram { font-size: 2.8rem; } .artist .name { font-size: 1rem; } }
.artist { text-decoration: none; display: block; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--panel); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.monogram {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 850; font-stretch: 125%; font-variation-settings: 'wdth' 125;
  color: var(--ink); letter-spacing: -0.02em;
}
.artist .name { font-weight: 700; font-size: 1.1rem; margin-top: 12px; line-height: 1.25; }
.artist .what { color: var(--sage); font-size: 15px; }
.artist:hover .name { color: var(--lime); }

/* Collective loop */
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.loop li { padding: 28px; position: relative; }
.loop li + li { border-left: 1px solid var(--line); }
.loop li + li::before {
  content: ''; position: absolute; left: -9px; top: 34px; width: 16px; height: 16px;
  background: var(--ink); border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); transform: rotate(45deg);
}
.loop h3 { font-size: 1.5rem; font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; margin-bottom: 10px; }
.loop p { margin: 0; color: var(--sage); }
.loop-back { margin-top: 14px; color: var(--sage); font-size: 15px; }
@media (max-width: 760px) {
  .loop { grid-template-columns: 1fr; }
  .loop li + li { border-left: 0; border-top: 1px solid var(--line); }
  .loop li + li::before { left: 34px; top: -9px; transform: rotate(135deg); }
}

/* Membership block */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.price .amount { font-size: clamp(4.5rem, 14vw, 10rem); line-height: 0.85; }
.price .amount-text { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.9; }
.price .per { display: block; line-height: 1.35; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--sage); margin-top: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; font-stretch: 100%; font-variation-settings: 'wdth' 100; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }

/* Empty states */
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; color: var(--sage); }
.empty strong { color: var(--paper); display: block; font-size: 1.15rem; margin-bottom: 6px; }
.empty p:last-child { margin-bottom: 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--sage); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; align-content: start; }
.foot-links a { color: var(--sage); }
.legal { margin-top: 28px; font-size: 13px; max-width: 90ch; }
.foot-tag { margin-top: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }

/* Profile page */
.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile .portrait { max-width: 440px; }
/* The name scales with its column, so a single long name like IMVEMNYAMA stays on one line. */
.profile > :has(> h1) { container-type: inline-size; }
.profile h1 { font-size: clamp(2rem, 10cqi, 4.2rem); margin-bottom: 10px; overflow-wrap: anywhere; }
.profile .what { color: var(--sage); font-size: 1.1rem; margin-bottom: 22px; }
@media (max-width: 800px) { .profile { grid-template-columns: 1fr; } .profile .portrait { max-width: 320px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--sage); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
.videos:has(> .video:only-child) { grid-template-columns: minmax(0, 820px); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Event page */
.event-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.poster { border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.poster img { width: 100%; height: auto; }
.poster-type { aspect-ratio: 4 / 5; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--lime); color: var(--ink); }
.poster-type .pd { font-size: clamp(4rem, 10vw, 7rem); line-height: 0.85; font-weight: 850; font-stretch: 62%; font-variation-settings: 'wdth' 62; }
.poster-type .pt { font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 0.95; overflow-wrap: anywhere; }
.event-facts { list-style: none; padding: 0; margin: 0 0 26px; }
.event-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.event-facts li:first-child { border-top: 1px solid var(--line); }
.event-facts span:first-child { color: var(--sage); }
@media (max-width: 800px) { .event-hero { grid-template-columns: 1fr; } }
.artist-strip { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.artist-strip .portrait { width: 120px; }
.artist-strip .monogram { font-size: 2.6rem; }

/* Tables (equipment, admin) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--sage); font-size: 13.5px; background: color-mix(in srgb, var(--panel) 50%, transparent); }
tr:last-child td { border-bottom: 0; }
td .muted { font-size: 13.5px; }

/* Status badges */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.badge.ok { color: var(--lime); }
.badge.wait { color: var(--gold); }
.badge.bad { color: var(--coral); }
.badge.off { color: var(--sage); }

/* Forms */
.form { display: grid; gap: 18px; max-width: 720px; }
.form.wide { max-width: none; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.hint { font-size: 13.5px; color: var(--sage); margin: 0; }
input:not([type]), input[type='text'], input[type='email'], input[type='url'], input[type='date'], input[type='time'], input[type='number'], input[type='password'], input[type='tel'], input[type='search'], select, textarea {
  width: 100%; background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; font: inherit; font-size: 16px; line-height: 1.4;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 25%, transparent); }
input[type='file'] { font: inherit; color: var(--sage); }
input[type='checkbox'] { width: 18px; height: 18px; accent-color: var(--lime); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 32px; }
.filters .field { min-width: 180px; flex: 1; }
.filters .field.grow { flex: 2; }

/* Flash messages */
.flash { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px; border: 1px solid; }
.flash.ok { border-color: color-mix(in srgb, var(--lime) 60%, transparent); background: color-mix(in srgb, var(--lime) 8%, transparent); }
.flash.err { border-color: color-mix(in srgb, var(--coral) 60%, transparent); background: color-mix(in srgb, var(--coral) 8%, transparent); }

/* Panels (member area, planner results) */
.panel { background: var(--panel); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 20px; }

/* Funding */
.fund-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fund-options .panel + .panel { margin-top: 0; }
.fund-option { display: flex; flex-direction: column; gap: 14px; }
.fund-option p { color: var(--sage); margin: 0; }
.fund-option .btn-row { margin-top: auto; }
.fund-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .fund-options { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 6px; }
.stack > * + * { margin-top: 48px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Planner results */
.match { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.match:last-child { border-bottom: 0; }
.match .portrait { width: 72px; border-radius: 8px; }
.match .monogram { font-size: 1.6rem; }
.match .name { font-weight: 700; }
.match .why { color: var(--sage); font-size: 15px; }
.match .reason { font-size: 14px; color: var(--paper); margin-top: 2px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.list-plain li > :first-child { flex: 1 1 auto; min-width: 0; }
.list-plain li > .badge { flex-shrink: 0; }
.list-plain li:last-child { border-bottom: 0; }

/* Rules */
.rules-section { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 24px; }
.rules-section ol { margin: 0; padding-left: 1.2em; }
.rules-section li { margin-bottom: 12px; max-width: 68ch; }
.rules-section li::marker { color: var(--lime); font-weight: 700; }
@media (max-width: 760px) { .rules-section { grid-template-columns: 1fr; } }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; max-width: 68ch; }

/* Admin */
.admin-bar { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.admin-bar .wrap { display: flex; gap: 6px 15px; align-items: center; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; max-width: 1360px; }
.admin-bar a, .admin-bar .link-button { text-decoration: none; color: var(--sage); font-size: 14px; }
.admin-bar a[aria-current='page'] { color: var(--lime); }
.admin-bar .wordmark { font-size: 15px; margin-right: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 36px; }
.stat { background: var(--panel); border-radius: var(--radius); padding: 18px 20px; }
.stat .n { font-size: 2.2rem; font-weight: 800; line-height: 1; font-stretch: 62%; font-variation-settings: 'wdth' 62; }
.stat .l { color: var(--sage); font-size: 14px; margin-top: 6px; }
.stat a { text-decoration: none; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 2px 0; }
.inline-form input, .inline-form select { width: auto; padding: 6px 9px; font-size: 14px; }
.thread { display: grid; gap: 8px; max-width: 720px; }
.thread .bubble { white-space: pre-wrap; font-size: 15px; }
.thread .stamp { font-size: 12px; color: var(--sage); }
.thread .me .stamp { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.thread .failed { outline: 1px solid var(--coral); }

/* Simulator */
.sim { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: start; }
.sim .phone { justify-self: start; max-width: 400px; }
.sim-chat { height: 560px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.sim-chat .bubble { white-space: pre-wrap; font-size: 14.5px; }
.sim-chat .chips { width: 86%; }
.sim-chat .chip { cursor: pointer; }
.sim-chat .chip:hover { border-color: var(--lime); }
.sim-list { background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: grid; gap: 2px; width: 86%; }
.sim-list .sec { font-size: 12px; color: var(--sage); padding: 6px 8px 2px; }
.sim-list button { text-align: left; background: none; border: 0; color: var(--paper); font: inherit; padding: 8px; border-radius: 6px; cursor: pointer; }
.sim-list button:hover { background: var(--panel); }
.sim-list small { display: block; color: var(--sage); font-size: 12.5px; }
.sim-input { display: flex; gap: 8px; margin-top: 12px; }
.sim-input input { flex: 1; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }

/* ---- Header search ---- */
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); }
.icon-btn:hover { border-color: var(--lime); color: var(--lime); }
.menu-search { display: flex; gap: 8px; margin-bottom: 8px; }
.menu-search input { flex: 1; min-width: 0; }

/* ---- Photo-led hero ---- */
.hero-photo { padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-photo h1 { font-size: clamp(2.8rem, 14.5cqi, 7.5rem); }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, clamp(44px, 5.6vw, 76px)); gap: 10px; position: relative; }
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage .c1 { grid-column: 1 / 4; grid-row: 1 / 5; }
.collage .c2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.collage .c3 { grid-column: 4 / 7; grid-row: 3 / 5; }
.collage .c4 { grid-column: 1 / 3; grid-row: 5 / 7; }
.collage .c5 { grid-column: 3 / 7; grid-row: 5 / 7; }
.collage-cap { position: absolute; right: 0; bottom: -28px; margin: 0; font-size: 13px; color: var(--sage); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { grid-template-rows: repeat(6, clamp(40px, 11vw, 70px)); }
}

/* ---- Partner strip ---- */
.partner-strip { display: flex; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.partner-label { color: var(--sage); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.partner-strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.partner-strip img { height: 34px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .85; display: block; }
.partner-strip a:hover img { filter: none; opacity: 1; }
.partner-strip span { font-weight: 700; color: var(--paper); }

/* ---- Stats band ---- */
.stats-band { border-top: 1px solid var(--line); padding: 28px 0; }
.stats-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.stats-band .n { display: block; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--lime); font-stretch: 62%; font-variation-settings: 'wdth' 62; }
.stats-band .l { color: var(--sage); }

/* ---- Tabs ---- */
.tabs .tab-list { display: none; }
.tabs.js .tab-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { background: transparent; color: var(--sage); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.tab:hover { color: var(--paper); border-color: var(--sage); }
.tab[aria-selected='true'] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tab-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); max-width: 760px; }
.tabs:not(.js) .tab-panel + .tab-panel { margin-top: 16px; }
.tab-panel p { color: var(--sage); max-width: 60ch; }

/* ---- See it in action ---- */
.see-it { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.see-it p { color: var(--sage); max-width: 46ch; }
.see-it .video { aspect-ratio: 16 / 9; }
@media (max-width: 880px) { .see-it { grid-template-columns: 1fr; } }

/* ---- Directory ---- */
.crumbs { margin-bottom: 8px; font-size: 14px; color: var(--sage); }
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 32px; }
.role-card { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid transparent; border-radius: var(--radius); padding: 24px; text-decoration: none; }
.role-card:hover { border-color: var(--lime); color: inherit; }
.role-card p { color: var(--sage); margin: 0; flex: 1; }
.role-n { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--lime); font-stretch: 62%; font-variation-settings: 'wdth' 62; }
.role-go { color: var(--lime); font-weight: 600; font-size: 15px; }

/* ---- Opportunities ---- */
.own-opps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 32px 0 28px; }
.own-opp { text-decoration: none; display: grid; gap: 8px; align-content: start; }
.own-opp p { color: var(--sage); margin: 0; }
.own-opp:hover { color: inherit; outline: 1px solid var(--lime); }
.chips-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chips-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; text-decoration: none; color: var(--sage); }
.chips-nav a[aria-current='page'] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.opps { border-top: 1px solid var(--line); }
.opp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.opp h3 { font-size: 1.2rem; margin: 6px 0; }
.opp h3 a { text-decoration: none; }
.opp p { color: var(--sage); margin: 0; max-width: 70ch; }
.opp-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--sage); font-size: 14px; }
.opp-side { display: grid; justify-items: end; gap: 10px; text-align: right; }
.opp-deadline { font-size: 14px; color: var(--sage); }
.opp-deadline.urgent { color: var(--gold); font-weight: 600; }
@media (max-width: 640px) { .opp { grid-template-columns: 1fr; } .opp-side { justify-items: start; text-align: left; } }

/* ---- Stories ---- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.story-card, .story-lead { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.story-card:hover h3, .story-lead:hover h2 { color: var(--lime); }
.story-img { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-img-blank { height: 100%; display: grid; place-items: center; color: var(--sage); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.story-meta { color: var(--sage); font-size: 14px; }
.story-card h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.story-card p, .story-lead p { color: var(--sage); margin: 0; }
.story-lead { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .story-lead { grid-template-columns: 1fr; } }
.story { max-width: 820px; }
.story-hero { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.story-hero img { width: 100%; display: block; }
.story-text { font-size: 1.1rem; line-height: 1.7; }
.story-text p { max-width: 68ch; }
.story-member { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 40px; }
.story-member p { color: var(--sage); }
@media (max-width: 560px) { .story-member { grid-template-columns: 1fr; } }

/* ---- Programmes ---- */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 32px; }
.prog { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.prog p { color: var(--sage); margin: 0; }
.prog:hover { color: inherit; outline: 1px solid var(--lime); }
.prog .badge { justify-self: start; }
.partner-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.partner-cta p { color: var(--sage); max-width: 60ch; margin: 0; }

/* ---- Member stats ---- */
.mini-stats { display: flex; gap: 18px; flex-wrap: wrap; color: var(--sage); font-size: 14px; }
.mini-stats strong { color: var(--paper); font-size: 1.05rem; }
.own-opps .panel + .panel, .prog-grid .panel + .panel { margin-top: 0; }
.own-opp .badge { justify-self: start; }
.story .page-title { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; }
