/* site.css */
/* Omboga Community Resource Centre — public site. Fresh, bright and community-led. */
:root {
  /* Brand palette */
  --green: #1B7F3B;
  /* primary green: buttons, labels, icons */
  --green-dark: #0F5C2A;
  /* hover, headings on light */
  --green-deep: #0B4A22;
  /* top bar, dark panels, footer */
  --blue: #1F5FBF;
  /* headlines, water icon, waves */
  --blue-dark: #174A96;
  --orange: #F5A01A;
  /* accent: Contact Us button, bars, highlights */
  --orange-dark: #D98A0C;
  --orange-ink: #9A5E05;
  /* orange as small text on light */
  --mint: #EAF5EE;
  /* hero wash, cards, alternate bands */
  --mint-2: #D9EEDF;
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --line: #E1EAE4;
  --ink: #1E2A24;
  --heading: #0F5C2A;
  --text: #3C4A43;
  --muted: #66756D;
  --on-dark: #FFFFFF;
  --on-dark-body: #CFE6D6;
  --purple: #5A3E9B;
  --red: #C0392B;
  /* aliases kept for older rules */
  --deep: var(--green-deep);
  --gold: var(--orange);
  --gold-ink: var(--orange-ink);
  --gold-dark: var(--orange-dark);
  --tint: var(--mint);
  --green-soft: var(--mint);
  --gold-soft: #FFF1D6;
  --mid-green: #1B7F3B;
  --door-green: #146330;
  --radius: 18px;
  --radius-panel: 24px;
  --radius-btn: 999px;
  --shadow: 0 18px 40px -18px rgba(15, 92, 42, 0.28);
  --serif: 'Poppins', system-ui, 'Segoe UI', sans-serif;
  --sans: 'Poppins', system-ui, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  color: var(--blue);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--green-dark);
}

p {
  margin: 0 0 1em;
  color: var(--text);
  max-width: 75ch;
}

a {
  color: var(--green);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul,
ol {
  padding-left: 1.3em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--green-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.15s;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--orange);
}

.ico {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  position: relative;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  margin: 0 0 10px;
  padding-top: 16px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 5px;
  border-radius: 3px;
  background: var(--orange);
}

.center .eyebrow::before {
  left: 50%;
  transform: translateX(-50%);
}

.lead {
  font-size: 1.2rem;
  max-width: 58ch;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.caption {
  font-size: 13px;
  color: var(--muted);
}

.center {
  text-align: center;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 88px 0;
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
}

.section-head {
  max-width: 64ch;
  margin-bottom: 36px;
}

.tight {
  padding-top: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.btn-gold,
.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-gold:hover,
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}

.btn-link {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  color: var(--green);
  text-decoration: underline;
  font-weight: 700;
}

.btn .ico {
  width: 20px;
  height: 20px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--green-deep);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px 28px;
  flex-wrap: wrap;
}

.topbar li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar a:hover {
  color: var(--orange);
}

.topbar .ico {
  width: 16px;
  height: 16px;
}

.topbar ul.topbar-social {
  gap: 8px;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.topbar-social a:hover {
  background: var(--orange);
  color: #fff;
}

@media (max-width: 760px) {
  .topbar-info li:not(:first-child) {
    display: none;
  }

  .topbar .wrap {
    min-height: 38px;
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.25s;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(15, 92, 42, 0.35);
}

.site-header .wrap {
  max-width: 1380px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 82px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--green);
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-top: 2px;
}

.brand-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange-ink);
  text-transform: uppercase;
  margin-top: 4px;
}

.brand-tag::before,
.brand-tag::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.site-nav {
  margin: 0 auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.91rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.site-nav ul a:hover {
  background: var(--mint);
  color: var(--green-dark);
}

.site-nav ul a[aria-current="page"] {
  background: var(--green);
  color: #fff;
}

.nav-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-left: auto;
}

.header-cta {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.91rem;
}

.header-login {
  padding: 8px 14px;
}

.header-cta .ico,
.nav-extra .btn .ico {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  place-items: center;
  flex: none;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle .ico-close {
  display: none;
}

.ico-sm {
  width: 18px;
  height: 18px;
}

@media (max-width: 1260px) {
  .site-nav ul a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .header-login {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  .header-cta {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .header-bar {
    min-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    margin: 0;
    max-height: calc(100vh - 140px);
    overflow: auto;
    box-shadow: var(--shadow);
  }

  .site-header .wrap {
    position: relative;
  }

  .nav-open .site-nav {
    display: block;
  }

  .nav-open .nav-toggle .ico-menu {
    display: none;
  }

  .nav-open .nav-toggle .ico-close {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav ul a {
    font-size: 1.05rem;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .nav-extra {
    display: grid;
    gap: 14px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .nav-extra .btn {
    width: 100%;
  }

  .nav-contact {
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--muted);
    padding: 0 4px 4px;
  }

  .nav-contact a,
  .nav-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    min-height: 32px;
  }

  .nav-contact .ico {
    color: var(--green);
  }

  .brand-tag {
    display: flex;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .brand-tag {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--mint) 0%, #F4FAF6 70%, #fff 100%);
  padding: 64px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  padding: 24px 0 56px;
}

.hero h1 {
  color: var(--green);
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
}

.hero h1 span {
  color: var(--blue);
}

.hero .lead {
  margin-bottom: 32px;
  font-size: 1.25rem;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -8%;
  left: -10%;
  width: 42%;
  border-radius: 50%;
  border: 0 solid transparent;
  border-left: 34px solid var(--green);
  opacity: 0.9;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 2%;
  left: -4%;
  width: 36%;
  border-radius: 50%;
  border-left: 14px solid #8CCDA3;
  opacity: 0.6;
  z-index: 0;
}

.hero-media img,
.hero-media .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 140px 0 0 28px;
  z-index: 1;
  box-shadow: var(--shadow);
}

.hero-media .ph {
  aspect-ratio: auto;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding: 8px 0 24px;
  }

  .hero-media {
    min-height: 0;
    height: 340px;
  }

  .hero-media img,
  .hero-media .ph {
    border-radius: 60px 28px 28px 28px;
  }

  .hero-media::before,
  .hero-media::after {
    display: none;
  }
}

/* service strip under the hero */
.strip-wrap {
  position: relative;
  z-index: 2;
  margin-top: -8px;
  padding-bottom: 48px;
}

.strip {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(15, 92, 42, 0.35);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px 10px;
  border: 1px solid var(--line);
}

.strip-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 14px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  border-radius: 14px;
  transition: background 0.2s;
}

.strip-item:first-child {
  border-left: 0;
}

.strip-item:hover {
  background: var(--mint);
  color: var(--ink);
}

.strip-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.strip-icon .ico {
  width: 28px;
  height: 28px;
}

.strip-icon.c1 {
  background: var(--green);
}

.strip-icon.c2 {
  background: var(--blue);
}

.strip-icon.c3 {
  background: var(--green);
}

.strip-icon.c4 {
  background: var(--orange);
}

.strip-icon.c5 {
  background: #0284C7;
}

.strip-text {
  min-width: 0;
}

.strip-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
}

.strip-text span {
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 0;
  }

  .strip-item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .strip {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-left: 0;
  }
}

/* about block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.blob-photo {
  position: relative;
  padding: 6% 6% 8% 0;
}

.blob-photo::before {
  content: "";
  position: absolute;
  left: -8%;
  top: 4%;
  width: 70%;
  height: 80%;
  background: var(--green);
  border-radius: 62% 38% 46% 54% / 55% 45% 55% 45%;
  z-index: 0;
}

.blob-photo::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 45%;
  height: 40%;
  background: var(--orange);
  border-radius: 45% 55% 50% 50% / 60% 40% 60% 40%;
  z-index: 0;
}

.blob-photo img,
.blob-photo .ph {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1.05;
  object-fit: cover;
  border-radius: 28px 28px 28px 110px;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {

  .blob-photo img,
  .blob-photo .ph {
    aspect-ratio: 4/3;
    border-radius: 24px 24px 24px 80px;
  }
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.together {
  background: var(--mint);
  border-radius: var(--radius-panel);
  padding: 40px 28px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.together .ico {
  width: 96px;
  height: 96px;
  stroke-width: 1.3;
  color: var(--green);
}

.together p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
  max-width: 14ch;
}

.together .swoosh {
  width: 120px;
  height: 12px;
}

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .together {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blob-photo {
    max-width: 420px;
  }
}

/* ---------- cards and grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .card {
    padding: 24px;
  }
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card:nth-child(4n+2) .card-icon {
  background: var(--blue);
}

.card:nth-child(4n+4) .card-icon {
  background: var(--orange);
}

.card-icon .ico {
  width: 28px;
  height: 28px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-top: 12px;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.card-link .ico {
  width: 18px;
  height: 18px;
}

.ph {
  background: var(--mint-2);
  border: 2px dashed #8FC9A3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  width: 100%;
}

.ph span {
  max-width: 26ch;
}

.photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* button colours must win over section link colours */
.dark a.btn-gold,
.banner a.btn-gold,
.cta-band a.btn-gold,
.site-footer a.btn-gold,
.gold a.btn-gold {
  color: #fff;
}

.dark a.btn-gold:hover,
.banner a.btn-gold:hover,
.cta-band a.btn-gold:hover {
  color: #fff;
}

.gold a.btn-primary,
.banner-gold a.btn-primary {
  color: #fff;
}

.gold a.btn-primary:hover {
  color: #fff;
}

.dark a.btn-outline-light {
  color: #fff;
}

.dark a.btn-outline-light:hover {
  color: var(--green-dark);
}

/* light banners: the "light" outline button becomes a green outline */
.banner a.btn-outline-light {
  color: var(--green);
  border-color: var(--green);
}

.banner a.btn-outline-light:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn {
  white-space: normal;
  text-align: center;
}

.header-cta,
.nav-extra .btn {
  white-space: nowrap;
}

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps li {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  font-size: 0.97rem;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* dark panel */
.dark {
  background: var(--green-deep);
  color: var(--on-dark);
}

.dark h2,
.dark h3 {
  color: var(--on-dark);
}

.dark .eyebrow {
  color: #8CCDA3;
}

.dark p {
  color: var(--on-dark-body);
}

.dark a {
  color: var(--orange);
}

.dark .facts .ico {
  color: var(--orange);
}

.dark .facts strong {
  color: var(--on-dark);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.desk-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.desk-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: #fff;
}

.desk-bar strong {
  margin-left: 6px;
  margin-right: auto;
}

.desk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F08B80;
  display: inline-block;
}

.desk-dot:nth-child(2) {
  background: #FFD58A;
}

.desk-dot:nth-child(3) {
  background: #8CCDA3;
}

.desk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .desk-row {
    grid-template-columns: 1fr;
  }
}

.desk-widget {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
}

.desk-widget small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFD58A;
}

.desk-widget strong {
  font-size: 0.98rem;
  color: #fff;
}

.desk-widget span {
  font-size: 12px;
  color: var(--on-dark-body);
}

.booking-mockup {
  margin-top: 18px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  border-left: 6px solid var(--orange);
}

.booking-mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.booking-badge {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.booking-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 0.88rem;
}

.booking-mockup-grid small {
  display: block;
  font-size: 11px;
  color: #8CCDA3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-mockup-grid strong {
  color: #fff;
}

.tile {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px;
  min-height: 125px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--on-dark);
}

.tile-free {
  background: transparent;
  border-style: dashed;
  border-color: #8CCDA3;
}

.tile-busy {
  border-color: #8CCDA3;
  background: var(--green);
}

.tile-over {
  border-color: #F08B80;
}

.tile-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.tile-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.tile p {
  font-size: 13px;
  margin: 0;
  color: var(--on-dark-body);
}

.stamp {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: #FFD58A;
  border: 2px solid #FFD58A;
  border-radius: 6px;
  padding: 1px 7px;
  transform: rotate(-2deg);
  align-self: flex-start;
}

.stamp-red {
  color: #F08B80;
  border-color: #F08B80;
}

.tile-free .tile-state {
  color: #8CCDA3;
  font-weight: 700;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 5px solid var(--green);
}

.stat:nth-child(2) {
  border-top-color: var(--blue);
}

.stat:nth-child(4) {
  border-top-color: var(--orange);
}

.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num.is-ph {
  color: var(--orange-ink);
  font-size: 28px;
}

.stat-label {
  font-weight: 600;
  color: var(--green-dark);
}

.stat-note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}

@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* programmes */
.prog {
  display: flex;
  flex-direction: column;
}

.prog-media {
  margin: -8px -8px 18px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.prog .pill {
  align-self: flex-start;
  background: var(--mint);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.prog dl {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  font-size: 0.95rem;
}

.prog dt {
  color: var(--muted);
}

.prog dd {
  margin: 0;
}

.prog .card-link {
  margin-top: auto;
}

/* levels */
.levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.level {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.level.featured {
  background: var(--green-deep);
  color: var(--on-dark);
  border-color: var(--green-deep);
}

.level.featured h3,
.level.featured .level-amount {
  color: var(--on-dark);
}

.level.featured p,
.level.featured li {
  color: var(--on-dark-body);
}

.level.featured .level-tag {
  background: var(--orange);
  color: #fff;
}

.level-tag {
  align-self: flex-start;
  background: var(--mint);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.level-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}

.level.featured .level-amount {
  color: #FFD58A;
}

.level ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.level li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 0.95rem;
}

.level li .ico {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--green);
}

.level.featured li .ico {
  color: var(--orange);
}

.level .btn {
  margin-top: auto;
}

.levels.small .level {
  padding: 24px;
}

.levels.small .level ul {
  display: none;
}

@media (max-width: 960px) {
  .levels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .levels {
    grid-template-columns: 1fr;
  }
}

/* soft orange band (hall) */
.gold {
  background: #FFF4DF;
  color: var(--ink);
}

.gold h2 {
  color: var(--blue);
}

.gold h3,
.gold p {
  color: var(--ink);
}

.gold .eyebrow {
  color: var(--orange-ink);
}

.gold a {
  color: var(--green-dark);
}

.spaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.space {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #F3DFB6;
}

.space h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.space p {
  margin: 0;
  font-size: 0.95rem;
}

.space .from {
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 8px;
  color: var(--orange-ink);
}

@media (max-width: 760px) {
  .spaces {
    grid-template-columns: 1fr;
  }
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-list .ico {
  flex: none;
  color: var(--green);
  margin-top: 3px;
}

.info-list strong {
  display: block;
  color: var(--green-dark);
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mint);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.map .ph {
  border: 0;
  border-radius: 0;
  height: 300px;
}

/* forms */
form {
  max-width: 720px;
}

.form-card {
  background: var(--mint);
  border-radius: var(--radius-panel);
  padding: 32px;
}

@media (max-width: 600px) {
  .form-card {
    padding: 22px;
  }
}

.field {
  margin-bottom: 16px;
}

.field label,
.field .label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.field .hint {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  font: inherit;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid #B9CDBF;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

@media (max-width: 600px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid #B9CDBF;
  border-radius: 999px;
  background: #fff;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  margin: 0;
}

.checks input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  accent-color: var(--green);
}

.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  background: var(--mint);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 24px;
  color: var(--green-dark);
}

.error-box {
  background: #FBE6E3;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 24px;
  color: #7A2A20;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

/* banners and misc */
.banner {
  background: linear-gradient(180deg, var(--mint) 0%, #F4FAF6 100%);
  color: var(--ink);
  padding: 64px 0;
}

.banner h1 {
  color: var(--green);
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.banner .eyebrow {
  color: var(--green);
}

.banner .lead {
  color: var(--text);
  margin-bottom: 0;
}

.banner-gold {
  background: #FFF4DF;
}

.banner-gold h1 {
  color: var(--green);
}

.banner-gold .eyebrow {
  color: var(--orange-ink);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-of-type {
  border-top: 0;
}

.service-row:nth-child(even) .service-media {
  order: 2;
}

@media (max-width: 860px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-row:nth-child(even) .service-media {
    order: 0;
  }
}

.facts {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.facts .ico {
  flex: none;
  color: var(--green);
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

.quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue);
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.3;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.person {
  text-align: center;
}

.person .ph,
.person .photo {
  aspect-ratio: 1;
  border-radius: 50%;
  width: 160px;
  margin: 0 auto 12px;
}

.person strong {
  display: block;
  color: var(--green-dark);
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.logos .ph,
.logos img {
  aspect-ratio: 3/2;
}

.logos img {
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  background: var(--mint);
  color: var(--green-dark);
  font-size: 14px;
}

.tablewrap {
  overflow-x: auto;
}

.inkind {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.inkind li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  color: var(--green-dark);
}

.inkind .ico {
  color: var(--green);
  flex: none;
}

@media (max-width: 760px) {
  .inkind {
    grid-template-columns: 1fr;
  }
}

.cta-band {
  background: var(--green);
  color: var(--on-dark);
  padding: 48px 0;
}

.cta-band h2,
.cta-band p {
  color: var(--on-dark);
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-band p {
  margin: 0;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 1.6em;
}

/* ---------- footer ---------- */
.footer-wave {
  background: #fff;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 110px;
  display: block;
}

@media (max-width: 760px) {
  .footer-wave svg {
    height: 60px;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--on-dark-body);
  padding: 64px 0 40px;
  font-size: 15px;
}

.site-footer p {
  color: var(--on-dark-body);
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer .wrap {
  position: relative;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-statement {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-quote {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-dark);
  max-width: 26ch;
  margin: 0;
}

.footer-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a.btn-gold {
  color: #fff;
}

.site-footer a.btn-outline-light {
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.6);
}

.site-footer a.btn-outline-light:hover {
  background: var(--on-dark);
  color: var(--green-deep);
  border-color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
  gap: 48px;
  padding: 48px 0;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-statement {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--on-dark);
  margin-bottom: 10px;
}

.footer-about {
  max-width: 40ch;
  margin: 0;
}

.footer-h {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list strong {
  color: var(--on-dark);
  text-align: right;
  white-space: nowrap;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact .ico {
  color: var(--orange);
  flex: none;
  margin-top: 3px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.social {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  transition: background 0.2s, color 0.2s;
}

.social a:hover {
  background: var(--orange);
  color: #fff;
}

.social .ico {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media print {

  .site-header,
  .site-footer,
  .topbar,
  .footer-wave,
  .nav-toggle {
    display: none;
  }
}

/* ---------- logo images ---------- */
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

@media (max-width: 1260px) {
  .brand-logo {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 36px;
  }
}

.footer-logo {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  flex: none;
}

.footer-logo img {
  width: 150px;
  height: auto;
  display: block;
}

/* ---------- Gallery ---------- */
.flip { transform: scaleX(-1); }
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 36px; }
.gal-chip { font: inherit; font-weight: 600; font-size: .95rem; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--green-dark); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, border-color .2s, color .2s; }
.gal-chip span { font-size: .78rem; background: var(--mint); color: var(--green-dark); border-radius: 999px; padding: 1px 8px; }
.gal-chip:hover { border-color: var(--green); }
.gal-chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.gal-chip.is-on span { background: rgba(255,255,255,.2); color: #fff; }
.gal-chip:focus-visible, .gal-item a:focus-visible, .lb-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gal-grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 20px; }
.gal-item { break-inside: avoid; margin: 0 0 20px; }
.gal-item[hidden] { display: none; }
.gal-item a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--mint); box-shadow: 0 6px 20px rgba(11,74,34,.08); }
.gal-item img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.gal-item:nth-child(3n+1) img { aspect-ratio: 4/5; object-fit: cover; }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35; background: linear-gradient(to top, rgba(8,48,22,.88), rgba(8,48,22,0)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gal-cap small { display: block; font-size: .75rem; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.gal-item a:hover img, .gal-item a:focus-visible img { transform: scale(1.04); }
.gal-item a:hover .gal-cap, .gal-item a:focus-visible .gal-cap { opacity: 1; transform: none; }
@media (hover: none) { .gal-cap { opacity: 1; transform: none; } }
@media (max-width: 600px) { .gal-grid { column-gap: 14px; } .gal-item { margin-bottom: 14px; } .gal-filters { justify-content: flex-start; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,28,14,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6,28,14,.94); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: min(1200px, 92vw); }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { text-align: center; font-weight: 600; max-width: 60ch; }
.lightbox figcaption small { display: block; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--green); }
.lb-btn .ico { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 24px; margin: 0; font-size: .9rem; color: #fff; opacity: .85; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lightbox img { max-height: 66vh; } }

/* ---------- Header Navigation Dropdowns ---------- */
.ico-xs {
  width: 14px;
  height: 14px;
}

.site-nav ul > li {
  position: relative;
}

.site-nav ul > li > a {
  gap: 4px;
}

.dd-caret {
  opacity: 0.65;
  transition: transform 0.22s var(--ease), opacity 0.2s;
}

.site-nav ul > li.has-dd:hover > a .dd-caret,
.site-nav ul > li.has-dd:focus-within > a .dd-caret,
.site-nav ul > li.has-dd.dd-open > a .dd-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dd {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 310px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.nav-dd::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-nav ul > li.has-dd:hover > .nav-dd,
.site-nav ul > li.has-dd:focus-within > .nav-dd,
.site-nav ul > li.has-dd.dd-open > .nav-dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dd-inner {
  background: #ffffff;
  border: 1px solid #D3E4D8;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 22px 48px -12px rgba(11, 74, 34, 0.26), 0 4px 12px rgba(11, 74, 34, 0.08);
  display: grid;
  gap: 2px;
}

.site-nav .nav-dd-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  text-decoration: none;
  color: var(--ink) !important;
  background: transparent !important;
  white-space: normal !important;
  min-height: 0 !important;
  transition: background 0.18s, transform 0.18s;
}

.site-nav .nav-dd-item:hover,
.site-nav .nav-dd-item:focus-visible {
  background: var(--mint) !important;
  color: var(--green-dark) !important;
}

.nav-dd-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EAF5EE;
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  transition: background 0.18s, color 0.18s;
}

.site-nav .nav-dd-item:hover .nav-dd-ico {
  background: var(--green);
  color: #fff;
}

.nav-dd-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-dd-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
}

.nav-dd-text small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .nav-dd {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    margin: 4px 0 8px 12px;
  }

  .nav-dd::before {
    display: none;
  }

  .nav-dd-inner {
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 2px 0 2px 10px;
    background: transparent;
  }
}

/* ---------- Styled Form Select & Custom Dropdowns ---------- */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231B7F3B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

select:hover {
  border-color: var(--green);
  background-color: #FAFDFB;
}

select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 127, 59, 0.15);
}

/* Custom JS-Enhanced Select Dropdown (.cselect) */
.cselect {
  position: relative;
  width: 100%;
}

.cselect select {
  position: absolute !important;
  inset: 0;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1;
}

.cselect-btn {
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 1.5px solid #B9CDBF;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 6px rgba(11, 74, 34, 0.04);
}

.cselect-btn:hover {
  border-color: var(--green);
  background: #F9FCFA;
}

.cselect.is-open .cselect-btn,
.cselect-btn:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 127, 59, 0.16);
}

.cselect-caret {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.22s var(--ease), background 0.2s, color 0.2s;
}

.cselect-caret svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cselect.is-open .cselect-caret {
  transform: rotate(180deg);
  background: var(--green);
  color: #ffffff;
}

.cselect-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #ffffff;
  border: 1.5px solid #C5DACB;
  border-radius: 16px;
  padding: 6px;
  margin: 0;
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 22px 46px -12px rgba(11, 74, 34, 0.28), 0 4px 12px rgba(11, 74, 34, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.cselect.is-open .cselect-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cselect-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cselect-opt:hover,
.cselect-opt.is-active {
  background: var(--mint);
  color: var(--green-dark);
}

.cselect-opt[aria-selected="true"] {
  background: #E2F3E8;
  color: var(--green-dark);
  font-weight: 700;
}

.cselect-check {
  width: 18px;
  height: 18px;
  color: var(--green);
  opacity: 0;
  flex: none;
}

.cselect-opt[aria-selected="true"] .cselect-check {
  opacity: 1;
}

/* ---------- 6-Tap Clean Water Kiosk Section ---------- */
.water-band {
  background: linear-gradient(135deg, #073518 0%, #0B4A22 55%, #074766 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.water-band h2,
.water-band h3 {
  color: #fff;
}

.water-band p {
  color: rgba(255, 255, 255, 0.88);
}

.water-band .eyebrow {
  color: #7DD3FC;
}

.water-taps-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.water-tap-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.water-tap-pill small {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7DD3FC;
  text-transform: uppercase;
}

.water-tap-pill strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
  margin-top: 3px;
}

.water-tap-pill span {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.3);
  color: #E0F2FE;
  padding: 2px 8px;
  border-radius: 99px;
}

@media (max-width: 760px) {
  .water-taps-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Member Story Cards with Portraits ---------- */
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.story-who {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.story-who img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  flex: none;
}


/* programmes: jump links + activities (2026-11-07) */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jump .gal-chip { text-decoration: none; }
.act-section { background: var(--mint); }
.act-block + .act-block { margin-top: 48px; }
.act-grid { gap: 20px; }
.act h3 { margin: 10px 0 4px; font-size: 1.15rem; }
.act-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.act-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.act-status.is-on { background: #FFF3DC; color: #9A5B00; }
.act-status.is-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.act-status.is-done { background: var(--mint); color: var(--green-dark); border: 1px solid var(--line); }
.act-status .ico, .act-date .ico { width: 15px; height: 15px; }
.act-date { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.act-prog { color: var(--blue); font-weight: 600; font-size: .92rem; margin: 0 0 8px; }
#programmes-list, #ongoing, #completed, #schedule, #support, [id^="programme-"] { scroll-margin-top: 110px; }

/* booking forms + donate page (2026-11-07) */
.book-form { max-width: 980px; }
.fs { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; margin: 0 0 22px; background: #fff; }
.fs legend { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px; font-weight: 700; color: var(--green-dark); font-size: 1.05rem; }
.fs legend span { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; }
.fs .checks { margin-bottom: 16px; }
.agree { display: flex !important; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 500; }
.agree input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--green); }
.pay-grid { gap: 22px; }
.pay-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pay-head h3 { margin: 0; }
.pay-head p { margin: 2px 0 0; font-size: .92rem; }
.pay-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.pay-ico .ico { width: 24px; height: 24px; }
.pay-list { margin: 0; display: grid; gap: 8px; }
.pay-row { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; padding: 8px 12px; background: var(--mint); border-radius: 10px; }
.pay-row dt { color: var(--muted); font-size: .92rem; }
.pay-row dd { margin: 0; }
.pay-row strong { color: var(--green-dark); letter-spacing: .02em; }
.tbc { color: var(--orange-ink); font-size: .9rem; }
.pay-steps { margin: 14px 0 0; padding-left: 20px; font-size: .95rem; }
.pay-steps li { margin: 3px 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .ico { color: var(--green); width: 16px; height: 16px; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--green-dark); }
.faq details p { margin: 10px 0 0; }
@media (max-width: 600px) { .fs { padding: 18px 16px 4px; } .pay-row { grid-template-columns: 1fr; gap: 2px; } }
#ways, #tell-us, #form, #enquiry { scroll-margin-top: 110px; }
.notice.notice-warn { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }
/* theme.css */
/* Omboga theme v2 (2026-11-07): deep green / stone / ochre look from omboga_community_centre_website_admin.html.
   Loaded after site.css and overrides it. Remove this file's <link> in lib.php to go back to the previous look. */
:root {
  --b50: #f0fdf4;
  --b100: #dcfce7;
  --b200: #bbf7d0;
  --b400: #4ade80;
  --b500: #16a34a;
  --b600: #15803d;
  --b700: #166534;
  --b800: #14532d;
  --b900: #052e16;
  --o50: #fffbeb;
  --o100: #fef3c7;
  --o400: #fbbf24;
  --o500: #f59e0b;
  --o600: #d97706;
  --o700: #b45309;
  --s50: #fafaf9;
  --s100: #f5f5f4;
  --s200: #e7e5e4;
  --s300: #d6d3d1;
  --s400: #a8a29e;
  --s500: #78716c;
  --s600: #57534e;
  --s700: #44403c;
  --s800: #292524;
  --s900: #1c1917;
  --s950: #0c0a09;

  --green: var(--b600);
  --green-dark: var(--b700);
  --green-deep: var(--b900);
  --blue: var(--s900);
  --blue-dark: var(--s900);
  --orange: var(--o500);
  --orange-dark: var(--o600);
  --orange-ink: var(--o700);
  --mint: var(--b50);
  --mint-2: var(--b100);
  --paper: var(--s50);
  --card: #fff;
  --line: var(--s200);
  --ink: var(--s800);
  --heading: var(--s900);
  --text: var(--s600);
  --muted: var(--s500);
  --radius: 22px;
  --radius-panel: 28px;
  --radius-btn: 14px;
  --shadow: 0 20px 40px -24px rgba(28, 25, 23, .25);
  --sans: 'Plus Jakarta Sans', system-ui, 'Segoe UI', sans-serif;
  --serif: var(--sans);
  --wrap: 1260px;
}

body {
  background: var(--s50);
  color: var(--s800);
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--b600);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  color: var(--s900);
  letter-spacing: -.02em;
}

h1 {
  font-weight: 800;
  letter-spacing: -.035em;
}

h2 {
  color: var(--s900);
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  color: var(--s900);
  font-weight: 700;
}

p {
  color: var(--s600);
}

a {
  color: var(--b700);
}

section {
  padding: 84px 0;
}

.tight {
  padding-top: 0;
}

/* section labels: plain small caps text, no capsule */
.eyebrow {
  display: block;
  padding: 0;
  margin: 0 0 14px;
  color: var(--b700);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: none;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.center,
.center .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  color: var(--s600);
  font-size: 1.1rem;
}

/* buttons */
.btn {
  border-radius: var(--radius-btn);
  min-height: 46px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: .95rem;
  border-width: 1px;
}

.btn .ico {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--b700);
  border-color: var(--b700);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(22, 101, 52, .7);
}

.btn-primary:hover {
  background: var(--b800);
  border-color: var(--b800);
  color: #fff;
}

.btn-orange,
.btn-gold {
  background: var(--o500);
  border-color: var(--o500);
  color: var(--s900);
  box-shadow: 0 10px 22px -12px rgba(245, 158, 11, .9);
}

.btn-orange:hover,
.btn-gold:hover {
  background: var(--o400);
  border-color: var(--o400);
  color: var(--s900);
}

.btn-outline {
  background: #fff;
  border-color: var(--s300);
  color: var(--s800);
}

.btn-outline:hover {
  border-color: var(--b600);
  color: var(--b700);
  background: var(--b50);
}

.btn-outline-light,
.btn-glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
}

.btn-outline-light:hover,
.btn-glass:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.btn-glass-green {
  background: rgba(22, 163, 74, .18);
  border-color: rgba(74, 222, 128, .35);
}

.btn-soft {
  background: var(--b50);
  border-color: var(--b200);
  color: var(--b800);
}

.btn-soft:hover {
  background: var(--b100);
  color: var(--b800);
}

.btn-ghost {
  background: var(--s50);
  border-color: var(--s300);
  color: var(--s700);
}

.btn-ghost:hover {
  background: var(--s100);
  color: var(--s900);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  min-height: 40px;
  padding: 8px 16px;
  font-size: .85rem;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

/* top bar */
.topbar {
  background: linear-gradient(90deg, var(--b900), var(--b800) 55%, var(--s900));
  color: var(--s200);
  border-bottom: 1px solid rgba(21, 128, 61, .35);
  font-size: .8rem;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--s200);
  max-width: none;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, .18);
  border: 1px solid rgba(245, 158, 11, .35);
  color: var(--o400);
  font-weight: 700;
  font-size: .72rem;
  white-space: nowrap;
}

.notice-badge .ico {
  width: 13px;
  height: 13px;
}

.topbar ul.topbar-info {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--s300);
}

.topbar .ico {
  width: 14px;
  height: 14px;
  color: var(--o400);
}

.topbar a {
  color: var(--s300);
}

.topbar-social {
  display: none !important;
}

@media (max-width: 1100px) {

  .topbar .ti-phone,
  .topbar .ti-loc {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar-info {
    display: none !important;
  }

  .topbar .wrap {
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .notice-text {
    font-size: .74rem;
  }
}

/* header */
.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.site-nav a {
  color: var(--s600);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--b700);
}

.site-nav>ul>li>a[aria-current="page"] {
  background: var(--b50);
  color: var(--b800);
  border-radius: 10px;
}

.header-cta {
  min-height: 40px;
  padding: 8px 14px;
  font-size: .85rem;
}

.nav-dd-inner {
  border-radius: 18px;
  border: 1px solid var(--s200);
  box-shadow: 0 24px 48px -20px rgba(28, 25, 23, .3);
}

.nav-dd-ico {
  background: var(--b50);
  color: var(--b700);
  border-radius: 10px;
}

/* inner-page banners: dark green like the hero */
.banner,
.banner-gold {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 400px at 85% -10%, rgba(74, 222, 128, .16), transparent 60%), radial-gradient(700px 360px at -10% 120%, rgba(217, 119, 6, .22), transparent 60%), linear-gradient(180deg, var(--b900), var(--b800) 60%, var(--s900));
  color: #fff;
  padding: 72px 0 64px;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.banner .wrap {
  position: relative;
  z-index: 1;
}

.banner h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.banner .lead,
.banner p {
  color: rgba(255, 255, 255, .78);
}

.banner .eyebrow {
  color: var(--o400);
}

.banner .gal-chip {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.banner .gal-chip:hover {
  border-color: var(--o400);
}

.banner .btn-outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

/* home hero */
.hero2 {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 0 72px;
  background: radial-gradient(900px 500px at 90% 10%, rgba(74, 222, 128, .14), transparent 60%), radial-gradient(800px 420px at -5% 105%, rgba(217, 119, 6, .28), transparent 60%), linear-gradient(180deg, var(--b900), var(--b800) 55%, var(--s900));
}

.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

.hero2 .wrap {
  position: relative;
}

.hero2-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero2-kicker {
  display: block;
  color: var(--o400);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.hero2 h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.04;
  margin-bottom: 22px;
}

.hero2 .grad {
  background: linear-gradient(90deg, var(--o400), var(--b400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero2-lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.15rem;
  max-width: 56ch;
  margin-bottom: 28px;
}

.hero2-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
}

.hero2-ticks li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero2-ticks .ico {
  width: 16px;
  height: 16px;
  color: var(--b400);
}

.status-card {
  background: rgba(28, 25, 23, .86);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .08), 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(245, 158, 11, .18);
}

.status-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 18px;
}

.status-head>div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.status-head strong {
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .02em;
}

.status-head small {
  grid-column: 2;
  color: var(--s400);
  font-size: .78rem;
}

.status-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--s500);
  grid-row: span 2;
}

.status-head .dot.is-open {
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.status-pill {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.is-open {
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .4);
  color: #4ade80;
}

.status-pill.is-closed {
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .4);
  color: var(--o400);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.status-tile {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-tile small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--s400);
  font-size: .76rem;
}

.status-tile small .ico {
  width: 13px;
  height: 13px;
}

.status-tile strong {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.25;
}

.status-tile strong.sm {
  font-size: .92rem;
}

.status-tile em {
  font-style: normal;
  color: #4ade80;
  font-size: .74rem;
}

.status-join {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(90deg, rgba(22, 101, 52, .55), rgba(28, 25, 23, .3));
  text-decoration: none;
  color: #fff;
}

.status-join strong {
  display: block;
  font-size: .88rem;
  color: #fff;
}

.status-join small {
  color: rgba(255, 255, 255, .7);
  font-size: .76rem;
}

.status-btn {
  background: var(--o500);
  color: var(--s900);
  font-weight: 700;
  font-size: .78rem;
  border-radius: 10px;
  padding: 7px 13px;
  white-space: nowrap;
}

.status-join:hover {
  color: #fff;
}

.status-join:hover .status-btn {
  background: var(--o400);
}

.hero2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hstat {
  text-align: center;
  padding: 20px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}

.hstat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.hstat:last-child strong {
  color: #4ade80;
}

.hstat span {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .hero2-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero2-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .status-grid {
    gap: 10px;
  }

  .status-card {
    padding: 20px;
  }

  .hero2 .btn-row .btn {
    width: 100%;
  }
}

/* patterned band + service cards */
.band-pattern {
  background-color: var(--s100);
  background-image: radial-gradient(rgba(22, 101, 52, .08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  border-top: 1px solid var(--s200);
  border-bottom: 1px solid var(--s200);
  margin-bottom: 84px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1180px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: #fff;
  border: 1px solid var(--s200);
  border-radius: 26px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: box-shadow .25s, transform .25s;
}

.svc-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.svc-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--b50);
  color: var(--b700);
}

.svc-ico.c2,
.svc-ico.c4 {
  background: var(--o50);
  color: var(--o600);
}

.svc-ico.c3 {
  background: #eff6ff;
  color: #2563eb;
}

.svc-ico.c5 {
  background: var(--s100);
  color: var(--s700);
}

.svc-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.svc-card p {
  font-size: .92rem;
}

.svc-ticks {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 18px;
  border-top: 1px solid var(--s100);
  display: grid;
  gap: 6px;
}

.svc-ticks li {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .8rem;
  color: var(--s600);
}

.svc-ticks .ico {
  width: 14px;
  height: 14px;
  color: var(--b600);
  flex: none;
}

.svc-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--s200);
  background: var(--s50);
  color: var(--s800);
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
}

.svc-btn:hover {
  background: var(--b50);
  border-color: var(--b200);
  color: var(--b800);
}

/* cards */
.card {
  border-radius: 24px;
  border-color: var(--s200);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.card:hover {
  box-shadow: var(--shadow);
}

.card h3 .ico {
  color: var(--b600);
}

.card-link {
  color: var(--b700);
  font-weight: 700;
}

.pill,
.prog .pill {
  background: var(--b50);
  color: var(--b800);
  border: 1px solid var(--b100);
}

/* programme cards (new style) */
.prog2 {
  background: var(--s50);
}

.prog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tag-pill {
  padding: 3px 10px;
  border-radius: 8px;
  font-size: .74rem;
  font-weight: 600;
  background: var(--b100);
  color: var(--b800);
  white-space: nowrap;
}

.tag-pill.t1,
.tag-pill.t4 {
  background: var(--o100);
  color: var(--o700);
}

.tag-pill.t2 {
  background: #ede9fe;
  color: #6d28d9;
}

.tag-pill.t3 {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-pill.t5 {
  background: #fce7f3;
  color: #be185d;
}

.prog-aud {
  font-size: .78rem;
  color: var(--s500);
  text-align: right;
}

.prog2 h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.prog2 p {
  font-size: .93rem;
}

.prog-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--s200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--s500);
}

.prog-foot span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.prog-foot .ico {
  width: 14px;
  height: 14px;
  flex: none;
}

.prog-foot strong {
  color: var(--b700);
  white-space: nowrap;
}

.prog2 .card-link {
  margin-top: 12px;
}

/* dark schedule */
.sched {
  background: var(--s900);
  color: #fff;
  border-radius: 28px;
  padding: 30px 32px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}

.sched-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sched-kicker {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .04em;
  margin: 0 0 4px;
}

.sched h3 {
  color: #fff;
  margin: 0;
  font-size: 1.45rem;
}

.sched-scroll {
  overflow-x: auto;
}

.sched-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.sched-table th,
.sched-table td {
  text-align: left;
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .9rem;
  color: var(--s300);
  vertical-align: top;
}

.sched-table thead th {
  color: var(--s400);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.sched-table tbody th {
  color: #fff;
  font-weight: 700;
}

.sched-table tbody tr:last-child>* {
  border-bottom: 0;
}

.sched-table .mono {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .82rem;
  color: var(--s200);
  white-space: nowrap;
}

.st {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
}

.st-on {
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .4);
  color: #4ade80;
}

.st-done {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--s300);
}

@media (max-width: 600px) {
  .sched {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

/* plain tables in dark style too */
.tablewrap {
  border-radius: 24px;
  overflow: auto;
  background: var(--s900);
  border: 0;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}

.table {
  color: var(--s300);
}

.table th,
.table td {
  border-color: rgba(255, 255, 255, .07) !important;
  background: transparent !important;
  color: var(--s300);
}

.table thead th {
  color: var(--s400) !important;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .05em;
}

.table tbody th {
  color: #fff !important;
}

/* activities */
.act-section {
  background-color: var(--s100);
  background-image: radial-gradient(rgba(22, 101, 52, .08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  border-top: 1px solid var(--s200);
  border-bottom: 1px solid var(--s200);
  padding-top: 84px;
  margin-bottom: 84px;
}

.act-status.is-on {
  background: var(--b100);
  color: var(--b800);
}

.act-status.is-on i {
  background: var(--b500);
}

.act-prog {
  color: var(--o700);
}

/* dark bands */
.dark,
.water-band {
  background: linear-gradient(135deg, var(--b900), var(--s900));
}

.cta-band {
  background: var(--b900);
  border-radius: 28px;
  margin: 0 auto 84px;
  max-width: calc(var(--wrap) - 40px);
  padding: 44px 40px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 760px) {
  .cta-band {
    margin: 0 16px 64px;
    padding: 32px 22px;
  }
}

/* stats, steps, levels (tier cards) */
.stat {
  background: #fff;
  border: 1px solid var(--s200);
  border-radius: 22px;
}

.stat-num {
  color: var(--s900);
}

.steps li {
  background: #fff;
  border: 1px solid var(--s200);
  border-radius: 22px;
}

.steps li::before {
  background: var(--o500);
  color: var(--s900);
}

.level {
  background: #fff;
  border: 1px solid var(--s200);
  border-radius: 24px;
}

.level-tag {
  background: var(--b50);
  color: var(--b800);
  border-radius: 8px;
}

.level-amount {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color: var(--s900);
  font-weight: 800;
}

.level.featured {
  background: #fff;
  border: 2px solid var(--b700);
  box-shadow: 0 20px 40px -24px rgba(22, 101, 52, .6);
  position: relative;
}

.level.featured h3,
.level.featured .level-amount {
  color: var(--s900);
}

.level.featured p,
.level.featured li {
  color: var(--s600);
}

.level.featured .level-tag {
  background: var(--b700);
  color: #fff;
}

.level.featured li .ico {
  color: var(--b600);
}

/* forms */
input,
select,
textarea {
  border-radius: 12px !important;
  border-color: var(--s300) !important;
  background: #fff;
  font-family: var(--sans);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--b600) !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .15) !important;
}

.field label,
.field .label {
  color: var(--s800);
}

.fs {
  border-color: var(--s200);
  border-radius: 24px;
}

.fs legend {
  color: var(--s900);
}

.fs legend span {
  background: var(--b700);
}

.checks label {
  border-radius: 12px;
  border-color: var(--s200);
  background: #fff;
}

.notice {
  border-radius: 16px;
  background: var(--b50);
  border-color: var(--b200);
}

/* hall booking: form + live quote */
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: start;
}

.book-layout .book-form {
  max-width: none;
  background: #fff;
  border: 1px solid var(--s200);
  border-radius: 28px;
  padding: 28px;
}

.book-layout .fs {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  background: none;
}

.book-layout .fs legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bquote {
  position: sticky;
  top: 110px;
  background: var(--s900);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.bq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 14px;
}

.bq-head strong {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .06em;
  color: #fff;
}

.bq-head span {
  color: #4ade80;
  font-size: .76rem;
}

.bquote dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.bquote dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: .9rem;
}

.bquote dt {
  color: var(--s300);
}

.bquote dd {
  margin: 0;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .84rem;
  color: #fff;
  text-align: right;
}

.bq-sub {
  margin: 18px 0 8px;
  color: var(--s400);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bq-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .78rem;
  color: var(--s400);
  display: grid;
  gap: 4px;
}

.bq-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.bq-total small {
  color: var(--s400);
  font-size: .78rem;
  display: block;
}

.bq-total strong {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 1.9rem;
  color: #fff;
}

.bq-total em {
  font-style: normal;
  color: #4ade80;
  font-size: .74rem;
  text-align: right;
}

.bq-notes {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  list-style: none;
  color: var(--s400);
  font-size: .78rem;
  display: grid;
  gap: 4px;
}

@media (max-width: 980px) {
  .book-layout {
    grid-template-columns: 1fr;
  }

  .bquote {
    position: static;
  }
}

@media (max-width: 600px) {
  .book-layout .book-form {
    padding: 20px;
  }
}

/* donate */
.pay-ico {
  background: var(--b700);
  border-radius: 14px;
}

.pay-row {
  background: var(--s50);
  border: 1px solid var(--s200);
}

.pay-row strong {
  color: var(--s900);
  font-family: ui-monospace, Consolas, monospace;
}

/* photos */
.photo,
.ph,
.gal-item img {
  border-radius: 20px;
}

.ph {
  background: linear-gradient(160deg, var(--s800), var(--b900));
  border: 0;
}

.ph span {
  color: rgba(255, 255, 255, .7);
}

/* footer: dark stone */
.footer-wave {
  display: none;
}

.site-footer {
  background: var(--s950);
  color: var(--s400);
  border-top: 1px solid var(--s800);
}

.site-footer p,
.site-footer li,
.site-footer span {
  color: var(--s400);
}

.site-footer a {
  color: var(--s300);
}

.site-footer a:hover {
  color: var(--o400);
}

.footer-h {
  color: #fff !important;
  text-transform: uppercase;
  font-size: .8rem !important;
  letter-spacing: .1em;
}

.footer-name {
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.footer-quote {
  color: #fff !important;
}

.footer-logo {
  background: #fff;
  border-radius: 16px;
}

.footer-top,
.footer-bottom {
  border-color: var(--s800) !important;
}

.site-footer .social a {
  background: var(--s900);
  border: 1px solid var(--s800);
  color: var(--s300);
  border-radius: 10px;
}

.hours-list strong {
  color: var(--s200);
}

/* misc */
.together {
  background: var(--o50);
  border: 1px solid var(--o100);
  border-radius: 28px;
}

.about-copy h2 {
  color: var(--s900);
}

.strip {
  border-radius: 26px;
}

/* fixes */
.topbar .wrap {
  flex-wrap: nowrap;
}

.topbar-notice {
  flex: 1 1 auto;
  min-width: 0;
}

.notice-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar ul.topbar-info {
  flex: none;
}

.dark .eyebrow,
.water-band .eyebrow,
.cta-band .eyebrow {
  color: var(--o400);
}

/* ===== UI layer (2026-11-07): toasts, validation, dropdowns, animations ===== */
/* toasts */
.toast-stack {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 300;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 14px 18px 16px;
  border-radius: 18px;
  background: var(--s900);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  transform: translateX(calc(100% + 30px));
  opacity: 0;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s;
}

.toast.show {
  transform: none;
  opacity: 1;
}

.toast.hide {
  transform: translateX(calc(100% + 30px));
  opacity: 0;
}

.toast-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
}

.toast-ico .ico {
  width: 18px;
  height: 18px;
}

.toast-error .toast-ico {
  background: rgba(248, 113, 113, .15);
  color: #f87171;
}

.toast-info .toast-ico {
  background: rgba(251, 191, 36, .15);
  color: var(--o400);
}

.toast-body strong {
  display: block;
  font-size: .92rem;
  color: #fff;
}

.toast-body p {
  margin: 3px 0 0;
  font-size: .82rem;
  color: var(--s300);
}

.toast-x {
  background: none;
  border: 0;
  color: var(--s400);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.toast-x:hover {
  color: #fff;
}

.toast-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  transform-origin: left;
  animation: toastbar linear forwards;
}

.toast-error .toast-bar {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.toast.paused .toast-bar {
  animation-play-state: paused;
}

@keyframes toastbar {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 600px) {
  .toast-stack {
    top: auto;
    bottom: 16px;
    right: 16px;
  }

  .toast,
  .toast.hide {
    transform: translateY(calc(100% + 30px));
  }

  .toast.show {
    transform: none;
  }
}

/* inline notices */
.notice,
.error-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 22px;
  animation: pop .5s cubic-bezier(.16, 1, .3, 1);
}

.notice {
  background: var(--b50);
  border: 1px solid var(--b200);
  color: var(--b800);
}

.notice::before {
  content: "\2713";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--b600);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
}

.error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.error-box::before {
  content: "!";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* validation */
.is-invalid,
.cselect:has(select.is-invalid) .cselect-btn {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important;
  animation: shake .35s;
}

.agree:has(.is-invalid) {
  color: #b91c1c;
}

.field-err {
  display: block;
  margin-top: 5px;
  color: #b91c1c;
  font-size: .78rem;
  font-weight: 600;
  animation: pop .3s;
}

@keyframes shake {

  0%,
  100% {
    transform: none;
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

/* sending state */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: .85;
}

.btn.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* button shine */
.btn-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s;
}

.btn-shine:hover::before {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(1px) scale(.98);
}

/* nav dropdowns */
.nav-dd {
  transform: translateY(10px) scale(.98);
  transform-origin: top left;
}

.nav-dd-inner {
  padding: 10px;
  background: #fff;
}

.nav-dd-inner::before {
  content: "";
  display: block;
  height: 3px;
  margin: -10px -10px 8px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--b600), var(--o500));
}

.site-nav .nav-dd-item {
  border-radius: 12px;
  transition: background .2s, transform .2s;
}

.site-nav .nav-dd-item:hover,
.site-nav .nav-dd-item:focus-visible {
  background: var(--b50);
  transform: translateX(3px);
}

.site-nav .nav-dd-item:hover .nav-dd-ico {
  background: var(--b700);
  color: #fff;
}

.nav-dd-text strong {
  color: var(--s900);
}

.nav-dd-text small {
  color: var(--s500);
}

.site-nav ul>li.has-dd:hover>.nav-dd .nav-dd-item,
.site-nav ul>li.has-dd:focus-within>.nav-dd .nav-dd-item {
  animation: ddin .35s cubic-bezier(.16, 1, .3, 1) both;
}

.nav-dd-item:nth-child(2) {
  animation-delay: 30ms !important;
}

.nav-dd-item:nth-child(3) {
  animation-delay: 60ms !important;
}

.nav-dd-item:nth-child(4) {
  animation-delay: 90ms !important;
}

.nav-dd-item:nth-child(5) {
  animation-delay: 120ms !important;
}

.nav-dd-item:nth-child(6) {
  animation-delay: 150ms !important;
}

.nav-dd-item:nth-child(n+7) {
  animation-delay: 180ms !important;
}

@keyframes ddin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.dd-caret {
  transition: transform .25s;
}

/* custom select dropdowns */
.cselect-btn {
  border-radius: 12px !important;
  border: 1px solid var(--s300) !important;
  background: #fff !important;
  transition: border-color .2s, box-shadow .2s;
}

.cselect-btn:hover {
  border-color: var(--b500) !important;
}

.cselect.is-open .cselect-btn {
  border-color: var(--b600) !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .15) !important;
}

.cselect-menu {
  border-radius: 16px !important;
  border: 1px solid var(--s200) !important;
  box-shadow: 0 24px 48px -20px rgba(28, 25, 23, .35) !important;
  padding: 6px !important;
  transform-origin: top;
  transform: translateY(-6px) scale(.98);
  transition: opacity .2s, transform .25s cubic-bezier(.16, 1, .3, 1), visibility .2s;
}

.cselect.is-open .cselect-menu {
  transform: none;
}

.cselect-opt {
  border-radius: 10px;
  transition: background .15s, padding-left .15s;
}

.cselect-opt:hover {
  background: var(--b50) !important;
  padding-left: 16px;
}

.cselect-opt.is-active {
  background: var(--b700) !important;
  color: #fff !important;
}

.cselect-caret {
  color: var(--b600);
}

/* checkboxes as pills */
.checks label {
  transition: border-color .2s, background .2s, transform .15s;
  cursor: pointer;
}

.checks label:hover {
  border-color: var(--b500);
}

.checks label:has(input:checked) {
  background: var(--b50);
  border-color: var(--b600);
  color: var(--b800);
  font-weight: 600;
}

.checks input,
.agree input {
  accent-color: var(--b700);
}

/* stagger + richer reveal */
.js .reveal {
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.js .reveal.stagger {
  transition: none;
}

.js .reveal.stagger:not(.in) {
  opacity: 0;
}

.js .reveal.stagger.in {
  opacity: 1;
  transform: none;
  animation: rise .7s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--d, 0ms);
}

.js .stagger:not(.reveal) {
  animation: rise .7s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* banner + hero entrance */
.banner .wrap>*,
.hero2-copy>*,
.status-card {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) both;
}

.banner .wrap>*:nth-child(2),
.hero2-copy>*:nth-child(2) {
  animation-delay: .08s;
}

.banner .wrap>*:nth-child(3),
.hero2-copy>*:nth-child(3) {
  animation-delay: .16s;
}

.banner .wrap>*:nth-child(4),
.hero2-copy>*:nth-child(4) {
  animation-delay: .24s;
}

.banner .wrap>*:nth-child(n+5),
.hero2-copy>*:nth-child(n+5) {
  animation-delay: .32s;
}

.status-card {
  animation-delay: .25s;
}

.hero2::after,
.banner::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, .18), transparent 65%);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-40px, 30px);
  }
}

/* breadcrumbs */
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .8rem;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .6);
}

.crumbs a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--o400);
}

.crumbs [aria-current] {
  color: var(--o400);
  font-weight: 600;
}

/* hover lifts */
.card,
.stat,
.steps li,
.level,
.story-card,
.space,
.person {
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
}

.card:hover,
.level:hover,
.story-card:hover,
.space:hover {
  transform: translateY(-4px);
  border-color: var(--b200);
}

.photo,
.gal-item img {
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.service-media,
.gal-item,
.prog-media {
  overflow: hidden;
}

.service-media:hover .photo,
.gal-item:hover img {
  transform: scale(1.04);
}

/* scroll progress + back to top */
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  z-index: 400;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--b500), var(--o500));
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--b800);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(5, 46, 22, .7);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--o500);
  color: var(--s900);
}

.to-top .ico {
  width: 22px;
  height: 22px;
}

@media (max-width: 600px) {
  .to-top {
    right: 14px;
    bottom: 84px;
  }
}

/* copy buttons on donate */
.pay-row dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-btn {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--s200);
  background: #fff;
  color: var(--s500);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s;
}

.copy-btn:hover {
  background: var(--b700);
  border-color: var(--b700);
  color: #fff;
}

.copy-btn .ico {
  width: 15px;
  height: 15px;
}

/* inner-page polish */
.service-row {
  border-bottom: 1px dashed var(--s200);
}

.service-row h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.facts li .ico {
  color: var(--b600);
}

.service-media .photo,
.service-media .ph {
  border-radius: 24px;
  box-shadow: 0 30px 50px -30px rgba(28, 25, 23, .45);
}

.level-amount {
  font-size: 1.15rem !important;
  white-space: nowrap;
  letter-spacing: -.02em;
}

.banner .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3);
}

.tablewrap {
  background: var(--s900) !important;
}

.story-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--s200);
}

.info-list .ico {
  color: var(--b600);
}

.map,
.map iframe {
  border-radius: 22px;
}

.gal-chip.is-on {
  background: var(--b700);
  border-color: var(--b700);
}

.gal-item {
  border-radius: 20px;
}

.faq details {
  transition: border-color .2s, box-shadow .2s;
}

.faq details[open] {
  border-color: var(--b200);
  box-shadow: 0 14px 30px -20px rgba(22, 101, 52, .4);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--b50);
  color: var(--b700);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: transform .3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--b700);
  color: #fff;
}

.faq details[open] p {
  animation: pop .35s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.notice,
.error-box {
  display: block;
  position: relative;
  padding-left: 56px;
}

.notice::before,
.error-box::before {
  position: absolute;
  left: 18px;
  top: 15px;
}

/* ===== Tightened spacing (2026-11-07) ===== */
body {
  font-size: 16px;
  line-height: 1.55;
}

section {
  padding: 60px 0;
}

.tight {
  padding-top: 0;
}

@media (max-width: 760px) {
  section {
    padding: 44px 0;
  }
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2,
h2 {
  margin-bottom: .35em;
}

.section-head .lead,
.lead {
  font-size: 1.02rem;
  margin-bottom: 0;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.eyebrow {
  margin-bottom: 10px;
}

p {
  margin-bottom: .8em;
}

.btn {
  min-height: 42px;
  padding: 9px 18px;
}

.header-cta {
  min-height: 38px;
}

.banner,
.banner-gold {
  padding: 46px 0 42px;
}

.banner h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: .3em;
}

.crumbs {
  margin-bottom: 10px;
}

.hero2 {
  padding: 48px 0 52px;
}

.hero2-grid {
  gap: 40px;
}

.hero2-kicker {
  margin-bottom: 18px;
}

.hero2 h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  margin-bottom: 16px;
}

.hero2-lead {
  margin-bottom: 22px;
  font-size: 1.08rem;
}

.hero2-ticks {
  margin-top: 18px;
}

.hero2-stats {
  margin-top: 38px;
  padding-top: 28px;
  gap: 16px;
}

.hstat {
  padding: 16px 12px;
}

.status-card {
  padding: 22px;
}

.status-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.status-grid {
  gap: 10px;
}

.status-tile {
  padding: 12px 14px;
}

.band-pattern,
.act-section {
  margin-bottom: 60px;
}

.act-section {
  padding-top: 60px;
}

.grid {
  gap: 18px;
}

.svc-grid {
  gap: 16px;
}

.svc-card {
  padding: 20px;
  border-radius: 22px;
}

.svc-ico {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
}

.card {
  padding: 22px;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .card {
    padding: 18px;
  }
}

.prog-top {
  margin-bottom: 10px;
}

.sched {
  padding: 22px 24px;
  border-radius: 22px;
}

.sched-table th,
.sched-table td {
  padding: 11px 12px;
}

.act-block+.act-block {
  margin-top: 34px;
}

.act-grid,
.pay-grid {
  gap: 16px;
}

.service-row {
  padding: 28px 0 !important;
  gap: 36px !important;
}

.steps {
  gap: 14px;
}

.steps li {
  padding: 20px;
}

.level {
  padding: 22px;
}

.levels {
  gap: 16px;
}

.cta-band {
  margin-bottom: 60px;
  padding: 30px 32px;
  border-radius: 22px;
}

.fs {
  padding: 18px 20px 4px;
  margin-bottom: 16px;
  border-radius: 20px;
}

.book-layout {
  gap: 22px;
}

.book-layout .book-form,
.bquote {
  padding: 22px;
  border-radius: 22px;
}

.book-layout .fs {
  margin-bottom: 18px;
}

.field {
  margin-bottom: 14px;
}

.row-2 {
  gap: 0 16px;
}

input,
select,
textarea,
.cselect-btn {
  min-height: 44px;
}

textarea {
  min-height: 100px;
}

.faq {
  gap: 8px;
}

.faq details {
  padding: 13px 18px;
}

.stats {
  gap: 14px;
}

.stat {
  padding: 18px;
}

.site-footer {
  padding-top: 44px;
}

.footer-top {
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.footer-grid {
  gap: 28px;
}

.footer-bottom {
  margin-top: 28px;
  padding: 18px 0;
}

.toast-stack {
  top: 84px;
}

.card-link {
  font-size: .9rem;
}

.jump {
  gap: 8px;
  margin-top: 16px;
}

.jump .gal-chip,
.gal-chip {
  padding: 6px 14px;
  font-size: .85rem;
}

.prog2 h3 {
  font-size: 1.15rem;
}

.prog2 p {
  font-size: .9rem;
}

/* Phone: schedule tables become stacked cards instead of sideways scrolling */
@media (max-width: 640px) {
  .sched-table {
    min-width: 0;
  }

  .sched-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .sched-table,
  .sched-table tbody,
  .sched-table tr,
  .sched-table th,
  .sched-table td {
    display: block;
    width: auto;
  }

  .sched-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .sched-table tbody tr:last-child {
    border-bottom: 0;
  }

  .sched-table th,
  .sched-table td {
    padding: 3px 0;
    border-bottom: 0;
  }

  .sched-table tbody th {
    font-size: 1rem;
  }

  .sched-table td.mono {
    font-size: .8rem;
    color: var(--s400);
  }
}

@media (max-width: 600px) {
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .social a {
    width: 42px;
    height: 42px;
  }
}

/* Never let the page scroll sideways */
html,
body {
  overflow-x: clip;
}

/* Desktop header: keep the full menu on all desktop widths (hamburger only at 1024px and below) */
@media (min-width: 1025px) and (max-width: 1240px) {
  .header-cta {
    padding: 0;
    width: 40px;
    justify-content: center;
  }

  .header-cta .cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 1025px) and (max-width: 1340px) {
  .header-actions {
    gap: 8px;
  }

  .site-nav ul {
    gap: 0;
  }

  .site-nav ul a {
    padding: 6px 8px;
    font-size: .86rem;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .brand-logo {
    height: 34px;
  }

  .site-nav ul a {
    padding: 6px 6px;
    font-size: .8rem;
  }

  .header-bar {
    gap: 10px;
  }
}

/* ===== Clean, Well-Designed UI & Product Mockups (2026-11-08) ===== */
.ui-mockup {
  background: var(--s900);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .55);
}

.ui-mockup-light {
  background: #fff;
  color: var(--s900);
  border: 1px solid var(--s200);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.ui-mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ui-mockup-light .ui-mockup-head {
  border-bottom-color: var(--s200);
}

.ui-mockup-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--o400);
}

.ui-mockup-light .ui-mockup-kicker {
  color: var(--b700);
}

.ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .4);
  color: #4ade80;
  white-space: nowrap;
}

.ui-badge-gold {
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .4);
  color: var(--o400);
}

/* Smart Member Card Mockup */
.mcard-mockup {
  background: linear-gradient(135deg, var(--b900) 0%, var(--b800) 60%, var(--s900) 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  padding: 22px 24px;
  color: #fff;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .6);
  margin-bottom: 16px;
}

.mcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mcard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mcard-brand img {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

.mcard-brand strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
}

.mcard-brand small {
  font-size: .72rem;
  color: var(--b200);
}

.mcard-fields {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 12px;
  margin-bottom: 16px;
}

.mcard-fields small {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .6);
}

.mcard-fields strong {
  font-size: 1rem;
  color: #fff;
}

.mcard-barcode {
  background: #fff;
  border-radius: 12px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mcard-bars {
  flex: 1;
  height: 22px;
  background: repeating-linear-gradient(90deg, #1c1917 0 2px, transparent 2px 5px, #1c1917 5px 8px, transparent 8px 11px, #1c1917 11px 15px, transparent 15px 18px);
}

.mcard-barcode span {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .78rem;
  font-weight: 800;
  color: var(--s900);
}

/* Certificate & Plaque Mockup */
.cert-mockup {
  background: #fff;
  border: 2px solid var(--b700);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
  color: var(--s900);
}

.cert-mockup::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed var(--o500);
  border-radius: 16px;
  pointer-events: none;
}

/* ===== System-Generated Documents Suite (2026-11-08) ===== */
.sysdoc {
  background: #fff;
  color: var(--s900);
  border: 1.5px solid var(--s200);
  border-radius: 22px;
  padding: 28px 30px;
  position: relative;
  box-shadow: 0 24px 52px -22px rgba(28, 25, 23, .14), 0 2px 6px rgba(0, 0, 0, .03);
  overflow: hidden;
}

.sysdoc-cert {
  border: 2px solid var(--b700);
  background: radial-gradient(circle at 50% 0%, rgba(240, 253, 244, .75), #fff 62%);
}

.sysdoc-cert::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed var(--o500);
  border-radius: 16px;
  pointer-events: none;
}

.sysdoc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--s200);
  position: relative;
  z-index: 1;
}

.sysdoc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--b700);
}

.sysdoc-serial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .74rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--b50);
  color: var(--b800);
  border: 1px solid var(--b200);
}

.sysdoc-letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.sysdoc-org {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sysdoc-org img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
}

.sysdoc-org strong {
  display: block;
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--b800);
}

.sysdoc-org small {
  display: block;
  font-size: .76rem;
  color: var(--s500);
}

.sysdoc-seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef3c7 0%, #f59e0b 72%, #b45309 100%);
  border: 2px dashed #78350f;
  box-shadow: 0 6px 16px rgba(217, 119, 6, .28), inset 0 0 0 3px rgba(255, 255, 255, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #451a03;
  font-weight: 800;
  font-size: .54rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.15;
  flex-shrink: 0;
}

.sysdoc-seal strong {
  font-size: .66rem;
  display: block;
  color: #1c1917;
}

.sysdoc-title-block {
  text-align: center;
  margin: 6px 0 16px;
  position: relative;
  z-index: 1;
}

.sysdoc-title-block .sysdoc-sub {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b700);
  margin: 0 0 4px;
}

.sysdoc-title-block h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 0 0 6px;
  color: var(--s950);
  letter-spacing: -.02em;
}

.sysdoc-recipient {
  font-size: .95rem;
  color: var(--s600);
  margin: 0 0 6px;
}

.sysdoc-recipient strong {
  color: var(--s950);
  font-size: 1.08rem;
  border-bottom: 2px solid var(--o400);
  padding-bottom: 1px;
}

.sysdoc-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  background: var(--s50);
  border: 1px solid var(--s200);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0;
  position: relative;
  z-index: 1;
}

.sysdoc-meta-grid div small {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--s500);
}

.sysdoc-meta-grid div strong {
  font-size: .86rem;
  color: var(--s900);
  font-weight: 700;
}

.sysdoc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  margin: 12px 0;
  position: relative;
  z-index: 1;
}

.sysdoc-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--s500);
  padding: 7px 10px;
  background: var(--s100);
  border-bottom: 1px solid var(--s200);
}

.sysdoc-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--s100);
  color: var(--s700);
}

.sysdoc-table tr:last-child td {
  border-bottom: none;
}

.sysdoc-table td strong {
  color: var(--s900);
}

.sysdoc-foot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--s200);
  position: relative;
  z-index: 1;
}

.sysdoc-sig {
  text-align: left;
}

.sysdoc-sig-line {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.15rem;
  color: var(--b800);
  border-bottom: 1px solid var(--s300);
  padding-bottom: 2px;
  margin-bottom: 4px;
  line-height: 1.1;
}

.sysdoc-sig strong {
  display: block;
  font-size: .76rem;
  color: var(--s900);
}

.sysdoc-sig small {
  display: block;
  font-size: .68rem;
  color: var(--s500);
}

.sysdoc-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--s50);
  border: 1px solid var(--s200);
  border-radius: 10px;
  padding: 6px;
}

.sysdoc-qr svg {
  width: 44px;
  height: 44px;
  display: block;
}

.sysdoc-qr span {
  font-family: ui-monospace, monospace;
  font-size: .6rem;
  font-weight: 700;
  color: var(--s600);
}

.sysdoc-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 2px solid var(--b700);
  border-radius: 10px;
  color: var(--b700);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  transform: rotate(-4deg);
  background: rgba(240, 253, 244, .85);
}

.sysdoc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--s200);
  position: relative;
  z-index: 1;
}

.sysdoc-actions small {
  font-size: .74rem;
  color: var(--s500);
}

/* Document Hub Tabs */
.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.doc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  background: #fff;
  color: var(--s700);
  border: 1.5px solid var(--s200);
  text-decoration: none;
  transition: all .18s ease;
}

.doc-tab:hover {
  border-color: var(--b600);
  color: var(--b800);
  text-decoration: none;
}

.doc-tab.active {
  background: var(--b800);
  color: #fff;
  border-color: var(--b800);
  box-shadow: 0 8px 20px -8px rgba(5, 46, 22, .45);
}

@media (max-width: 640px) {
  .sysdoc { padding: 20px 18px; }
  .sysdoc-foot { grid-template-columns: 1fr 1fr; }
  .sysdoc-qr { grid-column: span 2; flex-direction: row; justify-content: center; gap: 10px; }
}

@media print {
  .topbar, .site-header, .site-footer, .footer-wave, .banner, .doc-tabs, .no-print, .sysdoc-actions .btn {
    display: none !important;
  }
  body, main, section {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .sysdoc {
    box-shadow: none !important;
    border: 2px solid #15803d !important;
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

.plaque-ui {
  background: linear-gradient(135deg, var(--b900), var(--s900));
  border: 2px solid var(--o500);
  border-radius: 20px;
  padding: 22px 24px;
  color: #fff;
  margin-top: 18px;
  box-shadow: 0 20px 40px -20px rgba(5, 46, 22, .5);
}

.plaque-ui h4 {
  color: #fff;
  font-size: 1.2rem;
  margin: 6px 0 4px;
}

.plaque-ui p {
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  margin: 0 0 12px;
}

.asset-ui {
  background: var(--s50);
  border: 1.5px solid var(--s300);
  border-radius: 16px;
  padding: 14px 18px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.asset-ui strong {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 1rem;
  color: var(--s900);
  display: block;
}

.asset-ui small {
  color: var(--s500);
  font-size: .78rem;
}
/* ---------- events (2026-11-08) ---------- */
.ev-list { display: grid; gap: 18px; }
.ev-card { display: grid; grid-template-columns: 92px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 6px 22px rgba(11, 74, 34, .05); }
.ev-date { background: var(--green-deep); color: #fff; border-radius: 14px; text-align: center; padding: 12px 6px; align-self: start; display: flex; flex-direction: column; line-height: 1.1; }
.ev-date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); font-weight: 700; }
.ev-date strong { font-size: 2.2rem; font-weight: 800; margin: 4px 0; }
.ev-date small { font-size: .78rem; opacity: .8; }
.ev-body h3 { margin: 2px 0 10px; font-size: 1.25rem; }
.ev-body > p { margin: 10px 0 0; }
.ev-prog { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0; }
.ev-soon { display: inline-block; background: var(--orange); color: #3a2500; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.ev-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.ev-meta li { display: flex; align-items: center; gap: 6px; }
.ev-meta .ico { color: var(--green); flex: none; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ev-actions a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--green-dark); }
.ev-follow { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: #EAF6EE; border-radius: 16px; padding: 16px 20px; }
.ev-follow p { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-deep); }
.ev-follow div { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-follow a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-deep); border: 1px solid var(--line); }
.ev-follow a:hover { background: var(--green-deep); color: #fff; }
.ev-follow a .ico { width: 18px; height: 18px; }
.band-soft { background: #F6FAF7; }
.ev-weekly { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ev-weekly a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: inherit; text-decoration: none; height: 100%; }
.ev-weekly a:hover { border-color: var(--green); }
.ev-weekly strong { display: block; color: var(--ink); margin-bottom: 4px; }
.ev-weekly span { display: flex; gap: 6px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.ev-weekly .ico { color: var(--green); flex: none; margin-top: 2px; }
.ev-past { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ev-past li { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ev-past span, .ev-past small { color: var(--muted); font-size: .88rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-row h2 { margin: 0 0 6px; }
.cta-row p { margin: 0; }
.home-events { margin-top: 30px; }
.home-events-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.home-events-head h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.home-events-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-dark); }
.home-events .ev-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.home-events .ev-card { grid-template-columns: 70px 1fr; padding: 18px; gap: 16px; }
.home-events .ev-date strong { font-size: 1.7rem; }
.home-events .ev-body > p:not(.ev-actions):not(.ev-prog) { display: none; }
@media (max-width: 600px) {
  .ev-card { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .ev-date strong { font-size: 1.6rem; }
  .ev-past li { grid-template-columns: 1fr; gap: 2px; }
  .home-events .ev-list { grid-template-columns: 1fr; }
}
.cf-turnstile { margin: 6px 0 12px; }
main .ev-weekly li a:not(.btn) { background: #fff; padding-bottom: 14px; }
main .ev-follow a:not(.btn) { background: #fff; padding: 0; }
main .ev-follow a:not(.btn):hover { background: var(--green-deep); }
#upcoming { padding-top: 56px; }
@media (max-width: 760px) { #upcoming { padding-top: 36px; } }

/* ---------- Polished Studio Mockup Cards (#merchandise) ---------- */
#merchandise .card.prog {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--s200);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#merchandise .card.prog:hover {
  transform: translateY(-4px);
  border-color: var(--b300);
  box-shadow: 0 26px 50px -22px rgba(5, 46, 22, .16);
}
#merchandise .prog-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--s200);
  background: #f3f6f3;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px -12px rgba(28, 25, 23, .12);
}
#merchandise .prog-media img {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
#merchandise .card.prog:hover .prog-media img {
  transform: scale(1.03);
}

/* ===== click-to-play video (video_player() in lib.php) ===== */
.yt {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #06140c;
  box-shadow: 0 24px 50px -28px rgba(6, 41, 20, .55);
}

.yt > .photo,
.yt > .ph,
.yt > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(180deg, rgba(4, 22, 11, .15), rgba(4, 22, 11, .62));
  transition: background .2s ease;
}

.yt-play:hover {
  background: linear-gradient(180deg, rgba(4, 22, 11, .05), rgba(4, 22, 11, .5));
}

.yt-btn {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--o400, #fbbf24);
  color: #3b2a00;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .6);
  transition: transform .2s ease;
}

.yt-btn svg {
  margin-left: 3px;
}

.yt-play:hover .yt-btn {
  transform: scale(1.07);
}

.yt-play:focus-visible {
  outline: 3px solid var(--o400, #fbbf24);
  outline-offset: -5px;
}

.yt-label {
  font-weight: 700;
  font-size: .98rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

@media (prefers-reduced-motion: reduce) {
  .yt-btn,
  .yt-play {
    transition: none;
  }
}

/* ===== home "Visit us": contact details as tidy tiles (2026-11-24) ===== */
.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 16px;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #E3EAE5;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 74, 34, .04);
  font-size: .95rem;
  line-height: 1.5;
  color: #334155;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.info-list li:hover {
  border-color: #BBDCC7;
  box-shadow: 0 10px 24px -18px rgba(11, 74, 34, .45);
}

.info-list .ico {
  flex: none;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 9px;
  margin: 0;
  border-radius: 12px;
  background: #ECFDF3;
  color: #15803D;
}

.info-list li > div {
  min-width: 0;
}

.info-list strong {
  display: block;
  margin: 1px 0 3px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748B;
}

.info-list a {
  color: #0E5A2A;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-list a:hover,
.info-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .info-list {
    grid-template-columns: 1fr;
  }
}

/* the tiles carry the emphasis: no underline bar until hover (overrides the animated underline in motion.css) */
main .info-list li a:not(.btn) {
  background: none;
  padding-bottom: 0;
}

/* the play caption stays white on dark bands too (dark sections colour their links amber) */
.yt a.yt-play,
.dark .yt a.yt-play {
  color: #fff;
}
/* motion.css */
/* ==========================================================================
   Motion layer: hovers, clicks, focus and page transitions.
   Separate file (loaded after theme.css) so theme rewrites can't remove it.
   Everything here is switched off for people who ask for reduced motion.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Page transitions ---------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
main, .banner, .hero2 { animation: pageIn .55s var(--ease-out) both; }
body.is-leaving main, body.is-leaving .banner, body.is-leaving .hero2, body.is-leaving .site-footer { opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease; }
body.is-leaving { cursor: progress; }

/* Every in-page anchor lands below the sticky header */
[id] { scroll-margin-top: 110px; }

/* ---------- Buttons ---------- */
.btn { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, border-color .2s, color .2s; will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.btn .ico { transition: transform .3s var(--ease-spring); }
.btn:hover .ico { transform: translateX(2px) rotate(-6deg) scale(1.08); }
.btn-primary:hover, .btn-orange:hover, .btn-gold:hover { box-shadow: 0 14px 28px -12px rgba(21, 128, 61, .55); }
.btn-orange:hover, .btn-gold:hover { box-shadow: 0 14px 28px -12px rgba(217, 119, 6, .6); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .ico { display: none; }
.btn .btn-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Click ripple (added by motion.js) */
.has-ripple { position: relative; overflow: hidden; isolation: isolate; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0); animation: ripple .6s var(--ease-out) forwards; z-index: 0; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Header navigation ---------- */
.site-nav > ul > li > a { position: relative; transition: color .2s, background-color .2s; }
.site-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--o500); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease-out); }
.site-nav > ul > li > a:hover::after, .site-nav > ul > li > a:focus-visible::after { transform: scaleX(1); }
.site-nav > ul > li > a[aria-current="page"]::after { display: none; }
.site-logo img, .brand img { transition: transform .4s var(--ease-spring); }
.site-logo:hover img, .brand:hover img { transform: scale(1.03) rotate(-1deg); }

/* ---------- Text links ---------- */
main p a:not(.btn), main li a:not(.btn), .lead a:not(.btn) { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .3s var(--ease-out), color .2s; padding-bottom: 1px; }
main p a:not(.btn):hover, main li a:not(.btn):hover, .lead a:not(.btn):hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Cards ---------- */
.card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -22px rgba(28, 25, 23, .35); border-color: var(--b200); }
  /* Soft light that follows the pointer (position set by motion.js) */
  .card.spot { background-image: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(22, 163, 74, .07), transparent 45%); }
  .card img { transition: transform .7s var(--ease-out); }
  .card:hover img { transform: scale(1.04); }
}
.card:active { transform: translateY(-2px) scale(.995); transition-duration: .1s; }

/* Gallery and photo tiles */
.gal-grid a, .gal-grid button, .gal-item { overflow: hidden; }
.gal-grid img { transition: transform .8s var(--ease-out), filter .4s; }
.gal-grid a:hover img, .gal-grid button:hover img, .gal-item:hover img { transform: scale(1.06); filter: saturate(1.08); }

/* ---------- Form controls ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea { transition: border-color .2s, box-shadow .25s var(--ease-out), background-color .2s; }
input:not([type="checkbox"]):not([type="radio"]):hover, select:hover, textarea:hover { border-color: var(--s300); }
.field:focus-within > label, .field:focus-within > .label { color: var(--b700); transition: color .2s; }
.checks label, .type-opt > span, .join-check { transition: border-color .2s, background-color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.checks label:active, .type-opt:active > span, .join-check:active { transform: scale(.98); }
input[type="checkbox"], input[type="radio"] { transition: transform .2s var(--ease-spring); }
input[type="checkbox"]:checked, input[type="radio"]:checked { animation: tick .35s var(--ease-spring); }
@keyframes tick { 50% { transform: scale(1.18); } }
.is-invalid { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* FAQ / details */
.faq details, .join-rules { transition: border-color .25s, box-shadow .25s, background-color .25s; }
.faq details:hover { border-color: var(--b200); }
.faq details[open] > *:not(summary), .join-rules[open] > *:not(summary) { animation: openDown .35s var(--ease-out); }
@keyframes openDown { from { opacity: 0; transform: translateY(-6px); } }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--b600); }

/* Icons in feature tiles wiggle a little on hover */
@media (hover: hover) {
  .card:hover .ico:not(.ico-sm), .svc-card:hover .ico { animation: wiggle .5s var(--ease-out); }
}
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(5deg) scale(1.04); } }

/* Back-to-top and floating buttons */
.to-top, .back-to-top { transition: transform .3s var(--ease-spring), opacity .3s, box-shadow .3s; }
.to-top:hover, .back-to-top:hover { transform: translateY(-4px); }
.to-top:active, .back-to-top:active { transform: scale(.92); }

/* Consistent keyboard focus ring */
:focus-visible { outline: 3px solid rgba(22, 163, 74, .45); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 3px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  main, .banner, .hero2 { animation: none; }
  .ripple { display: none; }
  .btn:hover, .card:hover, .card:active, .btn:active { transform: none; }
  .btn:hover .ico, .card:hover img, .gal-grid a:hover img { transform: none; }
  input:checked, .is-invalid, .faq details[open] > *, .card:hover .ico { animation: none !important; }
  body.is-leaving main, body.is-leaving .banner, body.is-leaving .hero2, body.is-leaving .site-footer { transition: none; }
}

/* Staggered entrance animations keep `transform` locked (fill-mode: both), which
   blocked hover lifts. motion.js marks each element .settled once its entrance ends. */
.js .reveal.stagger.settled, .js .stagger.settled { animation: none; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s; }
@media (hover: hover) and (pointer: fine) {
  .js .reveal.stagger.in.settled.card:hover, .js .stagger.settled.card:hover,
  .js .reveal.stagger.in.settled.level:hover, .js .reveal.stagger.in.settled.story-card:hover, .js .reveal.stagger.in.settled.space:hover { transform: translateY(-5px); }
  .js .reveal.stagger.in.settled.card:active, .js .stagger.settled.card:active { transform: translateY(-2px) scale(.995); }
}
/* footer.css */
/* Footer balance (own file so theme.css rewrites can't wipe it) */
@media (min-width: 961px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1.1fr 1.45fr;
    gap: 40px;
    align-items: start;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 10px;
  }
}
@media (min-width: 561px) and (max-width: 960px) {
  .footer-links { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
.footer-links a { white-space: nowrap; }
@media (max-width: 380px) { .footer-links a { white-space: normal; } }

/* membership band above the footer + phone "Join free" button (all pages except /join) */
.member-band { padding: clamp(28px, 4vw, 44px) 0; background: linear-gradient(120deg, #0B4A22, #14532D 55%, #1B7F3B); color: #fff; position: relative; overflow: hidden; }
.member-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(245, 160, 26, .18); pointer-events: none; }
.member-band-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.member-band-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #FBC66B; flex: none; }
.member-band-ico svg { width: 26px; height: 26px; }
.member-band-text { flex: 1 1 320px; }
.member-band-text h2 { margin: 0 0 4px; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.member-band-text p { margin: 0; color: #D6EBDD; }
.member-band-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.member-band-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.member-band-link:hover { text-decoration-color: #FBC66B; }
.member-fab { display: none; }
@media (max-width: 1024px) {
  .member-fab { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: #F5A01A; color: #1F1300; font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
  .member-fab:hover { filter: brightness(1.05); }
}
@media (max-width: 560px) { .member-band-actions { width: 100%; } .member-band-actions .btn { flex: 1; justify-content: center; } }
@media print { .member-band, .member-fab { display: none; } }

/* ===== phone safety layer (2026-11-10): nothing may push the page wider than the screen ===== */
img, video, iframe, svg, canvas { max-width: 100%; }
.wrap > *, .panel-grid > *, .grid > *, .row-2 > *, .field { min-width: 0; }
.desk-mockup, .desk-mockup * { min-width: 0; overflow-wrap: anywhere; }
.desk-mockup { max-width: 100%; }
.ev-card > * { min-width: 0; }
.home-events .ev-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
@media (max-width: 600px) {
  .ev-card { grid-template-columns: 64px minmax(0, 1fr); }
  .home-events .ev-card { grid-template-columns: 56px minmax(0, 1fr); }
}
table { max-width: 100%; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ===== footer bottom bar, redesigned ===== */
.footer-bottom.fb2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; padding: 20px 0 24px; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.fb2 p { margin: 0; }
.fb2 .fb-copy { color: rgba(255, 255, 255, .6); }
.fb2 .fb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fb2 .fb-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .8rem; background: rgba(255, 255, 255, .03); transition: background .15s, border-color .15s, color .15s; }
.fb2 .fb-links a:hover { background: rgba(245, 160, 26, .14); border-color: rgba(245, 160, 26, .5); color: #FBC66B; }
.fb2 .fb-credit { justify-self: end; color: rgba(255, 255, 255, .6); }
.fb2 .fb-credit a { color: #FBC66B; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(251, 198, 107, .35); }
.fb2 .fb-credit a:hover { border-bottom-color: #FBC66B; }
@media (max-width: 900px) {
  .footer-bottom.fb2 { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding-bottom: 96px; }
  .fb2 .fb-credit { justify-self: center; }
  .fb2 .fb-copy { order: 2; font-size: .8rem; }
  .fb2 .fb-links { order: 1; }
  .fb2 .fb-credit { order: 3; font-size: .8rem; }
}

/* membership band on phones: full-width button, link underneath; floating button steps aside */
@media (max-width: 560px) {
  .member-band-actions { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
  .member-band-actions .btn { width: 100%; white-space: nowrap; }
}
.member-fab { transition: opacity .25s, transform .25s; }
.member-fab.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ===== system documents (certificate, receipt, invoice, loan slip...) on phones ===== */
@media (max-width: 640px) {
  .sysdoc { padding: 18px 16px; border-radius: 18px; }
  .sysdoc-cert::before { inset: 6px; border-radius: 13px; }
  .sysdoc-top { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; margin-bottom: 14px; }
  .sysdoc-kicker { font-size: .66rem; letter-spacing: .08em; line-height: 1.3; }
  .sysdoc-serial { font-size: .68rem; padding: 3px 10px; white-space: nowrap; }

  /* letterhead: logo + name across, seal tucked into the corner */
  .sysdoc-letterhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; margin-bottom: 14px; }
  .sysdoc-letterhead > *:not(.sysdoc-seal):not(.sysdoc-stamp) { min-width: 0; }
  .sysdoc-org { align-items: flex-start; gap: 10px; min-width: 0; }
  .sysdoc-org img { width: 38px; height: 38px; flex: none; }
  .sysdoc-org strong { font-size: .8rem; line-height: 1.25; letter-spacing: .02em; }
  .sysdoc-org small { font-size: .7rem; line-height: 1.35; display: block; margin-top: 2px; }
  .sysdoc-seal { width: 50px; height: 50px; font-size: .46rem; }
  .sysdoc-seal strong { font-size: .7rem; }
  .sysdoc-letterhead .sysdoc-stamp { font-size: .62rem; padding: 3px 8px; white-space: nowrap; }

  .sysdoc-title-block { margin-bottom: 12px; }
  .sysdoc-title-block .sysdoc-sub { font-size: .64rem; letter-spacing: .06em; }
  .sysdoc-title-block h3 { font-size: 1.12rem; line-height: 1.25; }
  .sysdoc-recipient { font-size: .92rem; line-height: 1.5; }
  .sysdoc-title-block p:not(.sysdoc-sub):not(.sysdoc-recipient) { font-size: .84rem; }

  .sysdoc-meta-grid { grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 12px; }
  .sysdoc-meta-grid div strong { font-size: .84rem; overflow-wrap: anywhere; }

  /* tables become stacked rows: the description on top, the other columns beneath it */
  .sysdoc-table, .sysdoc-table tbody { display: block; width: 100%; }
  .sysdoc-table thead { display: none; }
  .sysdoc-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--s200, #E2E8F0); }
  .sysdoc-table tr:last-child { border-bottom: 0; }
  .sysdoc-table td { display: block; padding: 0 !important; border: 0 !important; font-size: .8rem; }
  .sysdoc-table td:nth-child(2) { grid-column: 1 / -1; order: -1; font-size: .86rem; line-height: 1.4; }
  .sysdoc-table td:first-child { color: var(--s500, #64748B); font-size: .72rem; }
  .sysdoc-table td:last-child { text-align: right; }

  .sysdoc-foot { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sysdoc-sig-line { font-size: .9rem; }
  .sysdoc-sig strong { font-size: .8rem; }
  .sysdoc-sig small { font-size: .68rem; }
  .sysdoc-qr { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 10px; }
  .sysdoc-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .sysdoc-actions .btn { justify-content: center; width: 100%; }
  .doc-tabs { gap: 8px; }
  .doc-tab { font-size: .8rem; padding: 8px 12px; }
}
@media (max-width: 360px) { .sysdoc-foot { grid-template-columns: 1fr; } .sysdoc-qr { grid-column: auto; } }
@media (max-width: 640px) {
  .doc-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 16px 10px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); }
  .doc-tabs::-webkit-scrollbar { display: none; }
  .doc-tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* footer uses the header logo (wide) */
.footer-logo { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 16px; background: #fff; width: auto; height: auto; }
.footer-logo img { width: auto; height: 52px; max-width: 100%; display: block; }
@media (max-width: 560px) { .footer-logo img { height: 42px; } }

/* sample documents shown as PNG images */
.sysdoc-png { margin: 0; background: #fff; border: 1px solid #E3EAE5; border-radius: 22px; padding: 10px; box-shadow: 0 24px 52px -26px rgba(28, 25, 23, .22); }
.sysdoc-png .sp-img { display: block; border-radius: 14px; overflow: hidden; border: 0 !important; background: #EEF2EF; }
.sysdoc-png img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.sysdoc-png .sp-img:hover img { transform: scale(1.015); }
.sysdoc-png figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 8px 4px; font-size: .84rem; color: #475569; }
.sysdoc-png figcaption > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.sp-acts { display: flex; gap: 14px; }
.sp-acts a { font-weight: 700; color: #15803D; text-decoration: none; }
.sp-acts a:hover { text-decoration: underline; }
@media (max-width: 560px) { .sysdoc-png { padding: 6px; border-radius: 16px; } .sysdoc-png figcaption { flex-direction: column; align-items: flex-start; } }
/* samples: no saving, no printing */
.sysdoc-png .sp-img { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sysdoc-png img { pointer-events: none; -webkit-user-drag: none; }
.sp-shield { position: absolute; inset: 0; z-index: 2; background: transparent; }
.sp-note { font-size: .78rem; color: #94A3B8; }
@media print { .sysdoc-png, .sysdoc:not(.is-own) { visibility: hidden !important; } .sysdoc-png::before { content: "Sample documents cannot be printed."; visibility: visible; } }

/* event cards: optional thumbnail + RSVP button (home and events pages) */
.ev-card.has-img { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "img img" "date body"; }
.ev-card.has-img .ev-img { grid-area: img; margin: -22px -22px 4px; border-radius: 18px 18px 0 0; overflow: hidden; aspect-ratio: 16 / 7; background: #E3EFE7; }
.ev-card.has-img .ev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-card.has-img .ev-date { grid-area: date; } .ev-card.has-img .ev-body { grid-area: body; }
.home-events .ev-card.has-img { grid-template-columns: 70px minmax(0, 1fr); }
.home-events .ev-card.has-img .ev-img { margin: -18px -18px 4px; }
.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ev-rsvp small { font-weight: 500; opacity: .85; margin-left: 4px; }
.ev-full { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #FDECEC; color: #B91C1C; font-weight: 700; font-size: .84rem; }
@media (max-width: 600px) { .ev-card.has-img { grid-template-columns: 64px minmax(0, 1fr); } .ev-card.has-img .ev-img { margin: -16px -16px 4px; } }
.ev-actions a.ev-rsvp, .ev-actions a.ev-rsvp:hover { color: #fff !important; border-bottom: 0 !important; text-decoration: none !important; }
@media (min-width: 901px) {
  .ev-list .ev-card.has-img { grid-template-columns: 240px 92px minmax(0, 1fr); grid-template-areas: "img date body"; align-items: start; }
  .ev-list .ev-card.has-img .ev-img { margin: -22px 0 -22px -22px; border-radius: 18px 0 0 18px; aspect-ratio: auto; height: calc(100% + 44px); min-height: 180px; }
  .home-events .ev-list .ev-card.has-img { grid-template-columns: 70px minmax(0, 1fr); grid-template-areas: "img img" "date body"; }
  .home-events .ev-list .ev-card.has-img .ev-img { margin: -18px -18px 4px; border-radius: 18px 18px 0 0; aspect-ratio: 16 / 7; height: auto; min-height: 0; }
}

/* ---------- Menu dropdowns: compact and plain (2026-11-14) ---------- */
.site-nav .nav-dd { min-width: 0; width: max-content; max-width: 300px; }
.site-nav .nav-dd-inner { padding: 8px; gap: 2px; }
.site-nav .nav-dd-inner::before { height: 2px; margin: -8px -8px 6px; }
.site-nav .nav-dd-item { padding: 8px 12px 8px 8px; gap: 12px; align-items: center; }
.site-nav .nav-dd-item:hover, .site-nav .nav-dd-item:focus-visible { transform: none; }
.site-nav .nav-dd-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.site-nav .nav-dd-text strong { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.site-nav .nav-dd-text small { font-size: .78rem; line-height: 1.3; white-space: nowrap; }

/* Footer bottom bar on phones (2026-11-24): text on the left, the right-hand strip is left free for the
   floating WhatsApp and back-to-top buttons, so nothing is covered and there is no empty block underneath. */
html { background: var(--s950, #0c0a09); }   /* pulling past the end of the page shows the footer colour, not a white strip */
@media (max-width: 900px) {
  .site-footer { padding-bottom: 22px; }
  .footer-bottom.fb2 { justify-items: start; text-align: left; gap: 12px; margin-top: 22px; padding: 18px 72px 0 0; }
  .fb2 .fb-links { justify-content: flex-start; gap: 6px 14px; }
  .fb2 .fb-links a { height: auto; padding: 2px 0; border: 0; border-radius: 0; background: none; font-size: .86rem; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 4px; }
  .fb2 .fb-links a:hover { background: none; color: #FBC66B; text-decoration-color: #FBC66B; }
  .fb2 .fb-credit { justify-self: start; }
  .fb2 .fb-copy, .fb2 .fb-credit { font-size: .78rem; line-height: 1.5; }
}
@media (max-width: 600px) {
  /* back-to-top sits centred above the WhatsApp button */
  .to-top { right: 22px; bottom: 82px; width: 44px; height: 44px; border-radius: 50%; }
}

/* Footer bottom bar on phones, tidied (2026-11-25): plain links with a quiet separator, one calm line of small print,
   and the two floating buttons lined up as a pair. Overrides the 2026-11-24 block above. */
@media (max-width: 900px) {
  .footer-bottom.fb2 { display: block; margin-top: 24px; padding: 20px 76px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); text-align: left; }
  .fb2 .fb-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 22px; margin: 0 0 14px; }
  .fb2 .fb-links a { position: relative; height: auto; padding: 5px 0; border: 0; border-radius: 0; background: none; font-size: .86rem; font-weight: 600; letter-spacing: .005em; color: rgba(255, 255, 255, .88); text-decoration: none; transition: color .2s; }
  .fb2 .fb-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px; border-radius: 2px; background: #F5A01A; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
  .fb2 .fb-links a:hover, .fb2 .fb-links a:focus-visible { background: none; color: #FBC66B; text-decoration: none; }
  .fb2 .fb-links a:hover::after, .fb2 .fb-links a:focus-visible::after { transform: scaleX(1); }
  .fb2 .fb-links a + a::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
  .fb2 .fb-copy, .fb2 .fb-credit { display: block; margin: 0; font-size: .76rem; line-height: 1.6; letter-spacing: .01em; color: rgba(255, 255, 255, .5); }
  .fb2 .fb-credit { margin-top: 2px; }
  .fb2 .fb-credit a { color: #FBC66B; font-weight: 700; text-decoration: none; border-bottom: 0; }
  .fb2 .fb-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 600px) {
  /* back-to-top: a quiet round button centred above the WhatsApp button */
  .to-top { right: 24px; bottom: 84px; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 83, 45, .92); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .to-top .ico { width: 18px; height: 18px; }
  .omb-chat-fab { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .75), 0 0 0 4px rgba(21, 128, 61, .16); }
}
@media (max-width: 900px) {
  /* links first, then the small print; no separator dots, so a wrapped link never starts with one */
  .footer-bottom.fb2 { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .fb2 .fb-links { order: 1; gap: 2px 20px; margin: 0 0 12px; }
  .fb2 .fb-links a + a::before { display: none; }
  .fb2 .fb-copy { order: 2; }
  .fb2 .fb-credit { order: 3; }
}

/* Footer bottom bar on phones: centred (2026-11-25). The links and small print sit in the middle; the floating
   buttons keep the bottom-right corner, with room left under the text so nothing is covered. */
@media (max-width: 900px) {
  .footer-bottom.fb2 { align-items: center; text-align: center; padding: 20px 0 0; }
  .fb2 .fb-links { justify-content: center; gap: 2px 20px; }
  .fb2 .fb-copy, .fb2 .fb-credit { max-width: 30ch; }
  .site-footer { padding-bottom: 84px; }
}
@media (min-width: 601px) and (max-width: 900px) { .fb2 .fb-copy, .fb2 .fb-credit { max-width: none; } .site-footer { padding-bottom: 28px; } }
/* menu.css */
/* Phone and tablet menu (1024px and below): a sheet under the header with one row per page,
   sections that open on tap, and an account card (Dashboard when signed in, Staff login otherwise).
   Kept in its own file so rewrites of theme.css cannot wipe it. Behaviour: assets/menu.js */

.dd-toggle, .nav-acct { display: none; }

@media (max-width: 1024px) {
  /* page behind the open menu: dimmed and not scrollable */
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(12, 10, 9, .5); animation: navFade .2s ease-out; }
  .site-header { z-index: 60; }

  /* the menu button */
  .site-header .nav-toggle { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--s200, #e7e5e4); background: #fff; color: var(--b800, #14532d); transition: background .2s, border-color .2s, color .2s; }
  .nav-open .site-header .nav-toggle { background: var(--b800, #14532d); border-color: var(--b800, #14532d); color: #fff; }

  /* the sheet */
  .site-header .site-nav { left: 0; right: 0; top: 100%; margin: 0; padding: 6px 16px 18px; border: 0; border-top: 1px solid var(--s200, #e7e5e4); border-radius: 0 0 22px 22px; background: #fff;
    max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 28px 44px -24px rgba(12, 10, 9, .45); }
  .nav-open .site-header .site-nav { animation: navDrop .22s cubic-bezier(.2, .8, .2, 1); }

  /* one row per page */
  .site-header .site-nav > ul { gap: 0; margin: 0; padding: 0; }
  .site-header .site-nav > ul > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--s100, #f1f0ee); }
  .site-header .site-nav > ul > li > a { display: flex; align-items: center; min-height: 52px; padding: 0 6px; border-radius: 0; background: none; font-size: 1.02rem; font-weight: 600; color: var(--s900, #1c1917); }
  .site-header .site-nav > ul > li > a::after { display: none; }
  .site-header .site-nav > ul > li > a .dd-caret { display: none; }
  .site-header .site-nav > ul > li > a[aria-current="page"] { color: var(--b700, #15803d); background: none; box-shadow: none; }
  .site-header .site-nav > ul > li > a[aria-current="page"]::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--o500, #f59e0b); flex: none; }

  /* the open/close button of a section */
  .dd-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin: 4px 0; padding: 0; border: 0; border-radius: 12px; background: var(--s100, #f5f5f4); color: var(--s700, #44403c); cursor: pointer; transition: background .2s, color .2s; }
  .dd-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
  .is-open > .dd-toggle { background: var(--b50, #ecfdf5); color: var(--b700, #15803d); }
  .is-open > .dd-toggle svg { transform: rotate(180deg); }
  .dd-toggle:focus-visible { outline: 3px solid var(--o500, #f59e0b); outline-offset: 2px; }

  /* the links inside a section: closed until tapped */
  .site-header .site-nav .nav-dd { grid-column: 1 / -1; display: none; position: static; width: auto; max-width: none; min-width: 0; margin: 0 0 10px; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .site-header .site-nav li.is-open > .nav-dd { display: block; animation: navFade .2s ease-out; }
  .site-header .site-nav .nav-dd-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .site-header .site-nav .nav-dd-inner::before { display: none; }
  .site-header .site-nav .nav-dd-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--s50, #fafaf9); opacity: 1; transform: none; animation: none; }
  .site-header .site-nav .nav-dd-ico { width: 32px; height: 32px; border-radius: 9px; flex: none; }
  .site-header .site-nav .nav-dd-text strong { font-size: .9rem; font-weight: 600; line-height: 1.25; color: var(--s900, #1c1917); }
  .site-header .site-nav .nav-dd-text small { display: none; }

  /* account card, join button and contact line */
  .site-header .nav-extra { gap: 10px; margin-top: 14px; padding-top: 0; border-top: 0; }
  .nav-acct { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; border: 1px solid var(--s200, #e7e5e4); background: var(--s50, #fafaf9); color: var(--s900, #1c1917); text-decoration: none; }
  .nav-acct.is-in { border-color: transparent; background: linear-gradient(135deg, #166534, #14532d); color: #fff; }
  .nav-acct-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--b700, #15803d); font-weight: 800; font-size: 1rem; flex: none; border: 1px solid var(--s200, #e7e5e4); }
  .nav-acct.is-in .nav-acct-av { border-color: transparent; background: var(--o500, #f59e0b); color: #1c1917; }
  .nav-acct-t { flex: 1; min-width: 0; display: grid; }
  .nav-acct-t strong { font-size: .98rem; line-height: 1.25; }
  .nav-acct-t small { font-size: .78rem; line-height: 1.3; color: var(--s500, #78716c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-acct.is-in .nav-acct-t small { color: rgba(255, 255, 255, .78); }
  .nav-acct > .ico { flex: none; opacity: .7; }
  .site-header .nav-extra .nav-join { min-height: 48px; border-radius: 14px; }
  .site-header .nav-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 4px 4px 0; font-size: .86rem; }
}

@media (max-width: 380px) {
  .site-header .site-nav .nav-dd-inner { grid-template-columns: 1fr; }
}

@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .nav-open .site-header .site-nav, body.nav-open::after, .site-header .site-nav li.is-open > .nav-dd { animation: none; }
}

/* floating buttons step aside while the menu is open */
body.nav-open .omb-chat, body.nav-open .to-top, body.nav-open .member-fab { display: none !important; }

/* header pinned by script on phones where position: sticky does not hold (site.js) */
.site-header { position: -webkit-sticky; position: sticky; top: 0; }
.site-header.is-pinned { position: fixed; left: 0; right: 0; width: 100%; }
/* xsel.css */
/* Styled dropdowns (pairs with xsel.js). Uses the site's greens; works in the dashboard and on the website. */
.xsel { position: relative; display: block; width: 100%; min-width: 0; }
.xsel > select { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; }
.xsel-btn { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border: 1.5px solid #D5DED8; border-radius: 12px; background: #fff; color: #0F172A; font: inherit; font-size: .93rem; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.xsel-btn:hover { border-color: #8FC5A1; background: #FBFDFC; }
.xsel-btn:focus-visible, .xsel.is-open .xsel-btn { outline: none; border-color: #15803D; box-shadow: 0 0 0 4px rgba(21, 128, 61, .14); }
.xsel-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel.is-empty .xsel-val { color: #94A3B8; }
.xsel-caret { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: #ECFDF3; color: #15803D; transition: transform .2s, background .2s, color .2s; }
.xsel-caret svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.xsel.is-open .xsel-caret { transform: rotate(180deg); background: #15803D; color: #fff; }
.xsel.is-disabled .xsel-btn { opacity: .55; cursor: not-allowed; background: #F8FAF9; }
.xsel.is-invalid .xsel-btn { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
/* compact: toolbars, filters, inline pickers */
.xsel-sm { display: inline-block; width: auto; vertical-align: middle; }
.xsel-sm .xsel-btn { min-height: 32px; padding: 3px 6px 3px 10px; border-radius: 9px; font-size: .8rem; gap: 6px; border-width: 1px; }
.xsel-sm .xsel-caret { width: 20px; height: 20px; border-radius: 6px; }
.xsel-sm .xsel-caret svg { width: 12px; height: 12px; }
.xsel-sm .xsel-val { max-width: 160px; }
/* the menu */
.xsel-pop { position: fixed; z-index: 2147483000; display: flex; flex-direction: column; background: #fff; border: 1px solid #D5E5DA; border-radius: 14px; padding: 6px; box-shadow: 0 22px 48px -18px rgba(5, 46, 22, .38), 0 2px 6px rgba(0, 0, 0, .06); animation: xsel-in .14s ease-out; font-family: inherit; }
.xsel-pop[hidden] { display: none; }
.xsel-pop.up { animation-name: xsel-up; }
@keyframes xsel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes xsel-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.xsel-search { margin: 0 0 6px; height: 36px !important; min-height: 36px !important; padding: 0 10px !important; border: 1px solid #DDE5E0 !important; border-radius: 9px !important; font: inherit; font-size: .86rem !important; width: 100%; box-shadow: none !important; }
.xsel-search:focus { outline: none; border-color: #15803D !important; }
.xsel-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: thin; }
.xsel-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 9px; font-size: .88rem; color: #1E293B; cursor: pointer; line-height: 1.3; }
.xsel-opt[hidden] { display: none; }
.xsel-opt.is-ph { color: #94A3B8; }
.xsel-opt.is-active { background: #F1F8F3; }
.xsel-opt[aria-selected="true"] { background: #E3F3E8; color: #14532D; font-weight: 700; }
.xsel-opt[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.xsel-tick { width: 16px; height: 16px; flex: none; fill: none; stroke: #15803D; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.xsel-opt[aria-selected="true"] .xsel-tick { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .xsel-pop { animation: none; } .xsel-caret { transition: none; } }
@media (max-width: 560px) { .xsel-opt { padding: 11px 10px; font-size: .92rem; } }
/* app.css */
/* The installable app (manifest.json + sw-ticket.js): launch animation, bottom tab bar and the "Get the app" block.
   html.is-app   = running as the installed app (set by the small script in the page head)
   html.app-launch = first screen after the app is opened: play the launch animation */

/* ---------- launch animation ---------- */
.app-splash { display: none; }
html.app-launch .app-splash {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 38%, #0e5a2a 0%, #0b4a22 38%, #052e16 78%); color: #fff;
  animation: app-splash-out .55s cubic-bezier(.4, 0, .2, 1) 1.9s forwards;
}
html.app-launch, html.app-launch body { overflow: hidden; }
.app-splash::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: .7; }
.app-splash-in { position: relative; display: grid; justify-items: center; gap: 0; padding: 24px; text-align: center; }
.app-splash-mark { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 26px; }
.app-splash-mark i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(251, 191, 36, .55); opacity: 0; animation: app-ring 1.5s cubic-bezier(.2, .7, .3, 1) .25s 1 forwards; }
.app-splash-mark i + i { border-color: rgba(255, 255, 255, .35); animation-delay: .5s; }
.app-splash-mark span { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 30px; background: #fff; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .65); transform: scale(.4) rotate(-12deg); opacity: 0; animation: app-pop .7s cubic-bezier(.2, 1.4, .4, 1) .1s forwards; }
.app-splash-mark img { width: 82px; height: 82px; display: block; }
.app-splash .app-splash-name { margin: 0; color: #fff; font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; opacity: 0; transform: translateY(14px); animation: app-rise .55s cubic-bezier(.16, 1, .3, 1) .55s forwards; }
.app-splash .app-splash-sub { margin: 6px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fcd34d; opacity: 0; transform: translateY(10px); animation: app-rise .55s cubic-bezier(.16, 1, .3, 1) .7s forwards; }
.app-splash .app-splash-words { display: flex; gap: 10px; margin: 22px 0 0; font-size: 1.02rem; font-weight: 600; color: #d7eedd; }
.app-splash-words b { font-weight: 600; opacity: 0; transform: translateY(8px); animation: app-rise .45s cubic-bezier(.16, 1, .3, 1) forwards; }
.app-splash-words b:nth-child(1) { animation-delay: .9s; } .app-splash-words b:nth-child(2) { animation-delay: 1.05s; } .app-splash-words b:nth-child(3) { animation-delay: 1.2s; }
.app-splash-bar { position: relative; width: 132px; height: 3px; margin-top: 30px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.app-splash-bar::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: #f5a01a; transform: scaleX(0); transform-origin: left; animation: app-load 1.25s cubic-bezier(.4, 0, .2, 1) .55s forwards; }
@keyframes app-pop { to { transform: none; opacity: 1; } }
@keyframes app-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes app-rise { to { transform: none; opacity: 1; } }
@keyframes app-load { to { transform: scaleX(1); } }
@keyframes app-splash-out { to { opacity: 0; transform: scale(1.06); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  html.app-launch .app-splash { animation: app-splash-out .2s linear 1s forwards; }
  .app-splash-mark i { display: none; }
  .app-splash-mark span, .app-splash-name, .app-splash-sub, .app-splash-words b { animation: none; opacity: 1; transform: none; }
  .app-splash-bar::after { animation: none; transform: none; }
}

/* ---------- bottom tab bar (installed app, phones and small tablets) ---------- */
.app-tabs { display: none; }
@media (max-width: 900px) {
  html.is-app .app-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-top: 1px solid #E3EAE5; box-shadow: 0 -10px 30px -22px rgba(6, 41, 20, .5);
  }
  html.is-app .app-tabs a, html.is-app .app-tabs button {
    position: relative; display: grid; justify-items: center; gap: 3px; min-width: 0; min-height: 52px; padding: 7px 2px 5px; border: 0; border-radius: 14px; background: none;
    font: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .01em; color: #64748B; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s, background .15s, transform .15s;
  }
  html.is-app .app-tabs .ico { width: 22px; height: 22px; transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
  html.is-app .app-tabs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.is-app .app-tabs a:active, html.is-app .app-tabs button:active { transform: scale(.94); background: #F1F7F3; }
  html.is-app .app-tabs .on { color: #0E5A2A; }
  html.is-app .app-tabs .on .ico { transform: translateY(-2px) scale(1.08); }
  html.is-app .app-tabs .on::before { content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 3px; margin-left: -13px; border-radius: 0 0 3px 3px; background: #F5A01A; }
  html.is-app .app-tabs a:focus-visible, html.is-app .app-tabs button:focus-visible { outline: 3px solid rgba(245, 160, 26, .6); outline-offset: -3px; }
  html.is-app body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  /* floating buttons sit above the bar; the "Join free" pill gives way to it */
  html.is-app .omb-chat, html.is-app .to-top { margin-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  html.is-app .member-fab { display: none !important; }
  body.nav-open .app-tabs { display: none !important; }
}
html[data-theme="dark"].is-app .app-tabs { background: rgba(15, 23, 18, .94); border-top-color: #22332A; }

/* the app never needs to be told to install itself */
html.is-app [data-app-get], html.is-app .app-only-web { display: none !important; }

/* ---------- "Get the app" block in the footer ---------- */
.app-get { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin: 8px 0 26px; padding: 18px 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); }
.app-get-ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .7); }
.app-get-ico img { width: 38px; height: 38px; display: block; }
.app-get-text { flex: 1 1 240px; min-width: 0; }
.app-get-text strong { display: block; font-size: 1.08rem; color: #fff; }
.app-get-text span { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.app-get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.app-get-actions .btn .ico { width: 18px; height: 18px; }
.app-get-how { font-size: .88rem; font-weight: 600; color: #fcd34d; }
@media (max-width: 560px) { .app-get { padding: 16px; } .app-get-actions, .app-get-actions .btn { width: 100%; justify-content: center; } .app-get-how { text-align: center; width: 100%; } }

/* small confirmation after installing */
.app-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2100; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 14px; background: #0B4A22; color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s, transform .3s; }
.app-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- the Get the app page (app.php) ---------- */
.appx-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.appx-hero .btn-row { margin-top: 22px; }
.appx-note { margin: 12px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .72); }
.appx-phone { position: relative; justify-self: center; width: min(260px, 70vw); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 38px; background: #0b1410; box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .12); }
.appx-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 38%, #0e5a2a 0%, #0b4a22 38%, #052e16 78%); color: #fff; text-align: center; }
.appx-screen .app-splash-mark { width: 96px; height: 96px; margin-bottom: 16px; }
.appx-screen .app-splash-mark span { width: 80px; height: 80px; border-radius: 22px; animation: none; opacity: 1; transform: none; }
.appx-screen .app-splash-mark img { width: 58px; height: 58px; }
.appx-screen .app-splash-mark i { animation: app-ring 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
.appx-screen .app-splash-mark i + i { animation-delay: 1.2s; }
.appx-screen p { margin: 0; color: #fff; font-weight: 800; font-size: 1.3rem; } .appx-screen small { display: block; margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fcd34d; }
.appx-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 10px; background: rgba(255, 255, 255, .96); color: #64748B; }
.appx-tabs span { display: grid; justify-items: center; gap: 2px; font-size: .5rem; font-weight: 700; } .appx-tabs .ico { width: 15px; height: 15px; } .appx-tabs span:first-child { color: #0E5A2A; }
.appx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.appx-step { padding: 24px; background: #fff; border: 1px solid #E3EAE5; border-radius: 20px; }
.appx-step h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.1rem; }
.appx-step h3 .ico { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: #ECFDF3; color: #15803D; }
.appx-step ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #334155; font-size: .95rem; line-height: 1.55; }
.appx-step.is-you { border-color: #F5A01A; box-shadow: 0 0 0 3px rgba(245, 160, 26, .18); }
.appx-you { display: none; margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #B45309; } .appx-step.is-you .appx-you { display: inline; }
.appx-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.appx-feats li { display: flex; gap: 12px; align-items: flex-start; } .appx-feats .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #15803D; }
.appx-feats strong { display: block; } .appx-feats span { color: #475569; font-size: .92rem; }
.appx-installed { display: none; } html.is-app .appx-installed { display: block; }
@media (max-width: 860px) { .appx-hero { grid-template-columns: 1fr; } .appx-phone { order: -1; width: min(210px, 60vw); } }

/* tips under the install steps */
.appx-tip { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #F6FBF8; border: 1px solid #E3EAE5; font-size: .86rem; line-height: 1.5; color: #475569; }
/* shown on Android after the app file starts downloading */
.app-next { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2100; max-width: 460px; margin: 0 auto; padding: 16px 18px; border-radius: 18px; background: #0B4A22; color: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); transform: translateY(20px); opacity: 0; transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.app-next.on { transform: none; opacity: 1; }
.app-next strong { display: block; font-size: 1rem; margin-bottom: 6px; padding-right: 30px; }
.app-next ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; font-size: .9rem; line-height: 1.45; color: #d7eedd; }
.app-next button { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.app-next a { color: #fcd34d; font-weight: 700; }

/* bar shown inside an older copy of the Android app */
.app-update { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 16px; background: #0B4A22; color: #fff; font-size: .88rem; line-height: 1.4; }
.app-update span { flex: 1 1 200px; color: #d7eedd; } .app-update strong { color: #fff; }
.app-update .btn { flex: none; }
.app-update.is-busy { background: #0E5A2A; } .app-update.is-busy span { color: #fff; font-weight: 600; }
