/* ============================================
   Gotabgaa Australia ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Modern Theme
   Deep Brown Palette inspired by chapter logo
   ============================================ */

:root {
  --brown-900: #2A1F17;
  --brown-800: #3D2B1F;
  --brown-700: #4E3828;
  --brown-600: #6B4F3A;
  --brown-500: #8B6914;
  --tan: #B8864B;
  --tan-light: #D4A574;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --red-accent: #8B0000;
  --green-accent: #006400;
  --text: #2A1F17;
  --text-muted: #6B5B4F;
  --shadow: 0 4px 24px rgba(42, 31, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(42, 31, 23, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --header-height: 112px;
  --tribal-height: 36px;
  --tribal-tile: 285px;
  --hero-height: min(94svh, 920px);
  --hero-band-top: calc(var(--header-height) + var(--tribal-height) - 6px);
  --hero-band-bottom: calc(var(--tribal-height) + 4px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

img:not(.hero__slide__photo) {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brown-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--tan);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
  box-sizing: border-box;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--brown-800);
  color: var(--white);
  border-color: var(--brown-800);
}

.btn--primary:hover {
  background: var(--brown-700);
  border-color: var(--brown-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn--outline:hover {
  background: var(--brown-800);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--brown-800);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--brown-800);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--brown-800);
  box-shadow: 0 2px 16px rgba(42, 31, 23, 0.25);
  transition: all var(--transition);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.header .container {
  max-width: 100%;
  overflow-x: hidden;
}

.header.scrolled {
  background: rgba(42, 31, 23, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-width: 0;
  position: relative;
  width: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  position: relative;
  z-index: 2;
  grid-column: 1;
  justify-self: start;
}

.nav__logo {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

.nav__logo.logo-circle {
  object-fit: contain;
}

/* Circular logo ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ clips white square background */
.logo-circle {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
}

.nav__title {
  display: none;
}

.nav__title strong {
  color: var(--tan);
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: center;
  position: relative;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  grid-column: 3;
  justify-self: end;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.nav__drawer {
  display: contents;
}

.nav__menu li {
  flex-shrink: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--tan);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

@media (min-width: 1101px) {
  .nav__link:hover::after,
  .nav__link.active::after {
    width: calc(100% - 24px);
    left: 12px;
  }
}

.nav__cta {
  margin-left: 0;
  padding: 10px 22px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header .nav__cta.btn--primary {
  background: var(--tan);
  border-color: var(--tan);
  color: var(--brown-900);
}

.header .nav__cta.btn--primary:hover {
  background: var(--tan-light);
  border-color: var(--tan-light);
  color: var(--brown-900);
}

.header .nav__cta.nav__cta--member {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--cream);
  background: transparent;
}

.header .nav__cta.nav__cta--member:hover,
.header .nav__cta.nav__cta--member.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--tan-light);
  color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex: 0 0 auto;
  grid-column: 3;
  justify-self: end;
  z-index: 3;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--transition);
}

/* Tribal pattern borders */
.tribal-border {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--tribal-height);
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(42, 31, 23, 0.12);
}

.tribal-border--top {
  top: var(--header-height);
}

.tribal-border--bottom {
  bottom: 0;
  transform: scaleY(-1);
  box-shadow: 0 -2px 10px rgba(42, 31, 23, 0.12);
}

.tribal-border--edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.tribal-border__track {
  width: 100%;
  height: 100%;
  background: url('../assets/tribal-border.png') repeat-x center;
  background-size: var(--tribal-tile) var(--tribal-height);
  animation: tribal-scroll 32s linear infinite;
}

.tribal-border__track--reverse {
  animation-direction: reverse;
  animation-duration: 28s;
}

.tribal-border::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.12) 55%,
    transparent 100%
  );
  animation: tribal-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tribal-scroll {
  from { background-position: 0 center; }
  to { background-position: var(--tribal-tile) center; }
}

@keyframes tribal-shimmer {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateX(100%); opacity: 1; }
  85% { opacity: 0; }
}

/* Hero */
.hero {
  position: relative;
  height: var(--hero-height);
  max-height: var(--hero-height);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  padding-top: var(--hero-band-top);
  padding-bottom: var(--hero-band-bottom);
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  background: rgba(42, 31, 23, 0.42);
  overflow: hidden;
  box-sizing: border-box;
}

.hero__slideshow {
  position: absolute;
  top: var(--hero-band-top);
  left: 0;
  right: 0;
  bottom: var(--hero-band-bottom);
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation-duration: 70s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background: rgba(61, 43, 31, 0.35);
}

.hero__slide:nth-child(1) { animation-name: hero-show-1; }
.hero__slide:nth-child(2) { animation-name: hero-show-2; }
.hero__slide:nth-child(3) { animation-name: hero-show-3; }
.hero__slide:nth-child(4) { animation-name: hero-show-4; }
.hero__slide:nth-child(5) { animation-name: hero-show-5; }
.hero__slide:nth-child(6) { animation-name: hero-show-6; }
.hero__slide:nth-child(7) { animation-name: hero-show-7; }
.hero__slide:nth-child(8) { animation-name: hero-show-8; }
.hero__slide:nth-child(9) { animation-name: hero-show-9; }
.hero__slide:nth-child(10) { animation-name: hero-show-10; }

.hero__slide__media {
  position: absolute;
  inset: 0;
}

/* Full image always visible ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ sized to the visible hero band (not behind header) */
.hero__slide__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.94);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes hero-show-1 {
  0%, 10%, 100% { opacity: 0; }
  1.2%, 8.8% { opacity: 1; }
}

@keyframes hero-show-2 {
  0%, 10%, 20%, 100% { opacity: 0; }
  11.2%, 18.8% { opacity: 1; }
}

@keyframes hero-show-3 {
  0%, 20%, 30%, 100% { opacity: 0; }
  21.2%, 28.8% { opacity: 1; }
}

@keyframes hero-show-4 {
  0%, 30%, 40%, 100% { opacity: 0; }
  31.2%, 38.8% { opacity: 1; }
}

@keyframes hero-show-5 {
  0%, 40%, 50%, 100% { opacity: 0; }
  41.2%, 48.8% { opacity: 1; }
}

@keyframes hero-show-6 {
  0%, 50%, 60%, 100% { opacity: 0; }
  51.2%, 58.8% { opacity: 1; }
}

@keyframes hero-show-7 {
  0%, 60%, 70%, 100% { opacity: 0; }
  61.2%, 68.8% { opacity: 1; }
}

@keyframes hero-show-8 {
  0%, 70%, 80%, 100% { opacity: 0; }
  71.2%, 78.8% { opacity: 1; }
}

@keyframes hero-show-9 {
  0%, 80%, 90%, 100% { opacity: 0; }
  81.2%, 88.8% { opacity: 1; }
}

@keyframes hero-show-10 {
  0%, 90%, 100% { opacity: 0; }
  91.2%, 98.8% { opacity: 1; }
}

.hero__overlay {
  position: absolute;
  top: var(--hero-band-top);
  left: 0;
  right: 0;
  bottom: var(--hero-band-bottom);
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(42, 31, 23, 0.62) 0%, rgba(42, 31, 23, 0.38) 32%, rgba(42, 31, 23, 0.14) 55%, rgba(42, 31, 23, 0.05) 72%, transparent 88%),
    linear-gradient(to bottom, rgba(42, 31, 23, 0.22) 0%, transparent 22%, transparent 75%, rgba(42, 31, 23, 0.28) 100%),
    rgba(42, 31, 23, 0.06);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--brown-800) 0, var(--brown-800) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--brown-800) 0, var(--brown-800) 1px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}

.hero__content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  display: block;
  width: 100%;
  max-width: min(520px, 100%);
  min-width: 0;
  margin: 0;
  padding: 8px 0 4px;
  text-align: left;
  align-self: center;
  box-sizing: border-box;
}

.hero__text {
  max-width: 100%;
  min-width: 0;
}

.hero__badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-light);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw + 0.45rem, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.hero__title em {
  font-style: italic;
  color: var(--tan-light);
}

.hero__subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--tan-light);
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 440px;
  margin-bottom: 18px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero .btn--outline:hover {
  background: var(--white);
  color: var(--brown-800);
  border-color: var(--white);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero__visual {
  position: relative;
  grid-column: 2;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  flex-shrink: 0;
}

.hero__visual.animate-on-load {
  animation: hero-reveal-visual 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__visual.animate-on-load--delay-2 {
  animation-delay: 0.3s;
}

@keyframes hero-reveal-visual {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo-ring {
  pointer-events: auto;
  position: relative;
  width: min(148px, 22vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dotted orbits around the logo */
.hero__orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border-style: dotted;
  border-color: var(--tan-light);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.35);
}

.hero__orbit--inner {
  width: 82%;
  height: 82%;
  border-width: 3px;
  opacity: 0.95;
  animation: orbit-spin 14s linear infinite;
}

.hero__orbit--outer {
  width: 100%;
  height: 100%;
  border-width: 3px;
  border-color: var(--tan);
  opacity: 1;
  animation: orbit-spin 20s linear infinite reverse;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Steady flat 360ÃÂÃÂÃÂÃÂ° logo spin */
.logo-spinner {
  width: 58%;
  height: 58%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-spinner__img {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: logo-spin 12s linear infinite;
  will-change: transform;
  filter: drop-shadow(0 12px 28px rgba(42, 31, 23, 0.25));
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-spinner__img {
    animation: none;
  }

  .hero__orbit--inner,
  .hero__orbit--outer {
    animation: none;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__scroll-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, var(--tan), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sub-page banner */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--tribal-height) + 32px) 0 calc(48px + var(--tribal-height));
  background: var(--brown-900);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.page-hero__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(42, 31, 23, 0.88) 0%, rgba(42, 31, 23, 0.76) 42%, rgba(31, 22, 16, 0.9) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--cream) 0, var(--cream) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--cream) 0, var(--cream) 1px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero__logo {
  position: absolute;
  top: 54%;
  z-index: 2;
  pointer-events: none;
  transform: translateY(-50%);
  opacity: 0.92;
}

.page-hero__logo--left {
  left: clamp(16px, 5vw, 72px);
}

.page-hero__logo--right {
  right: clamp(16px, 5vw, 72px);
}

.hero__logo-ring--page {
  width: min(128px, 16vw);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.page-hero__logo--right .hero__orbit--inner {
  animation-direction: reverse;
}

.page-hero__logo--right .hero__orbit--outer {
  animation-direction: normal;
}

.page-hero .tribal-border--top {
  top: var(--header-height);
  z-index: 3;
}

.page-hero .tribal-border--bottom {
  bottom: 0;
  z-index: 3;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--cream);
}

.page-hero__desc {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.page-sub .section {
  padding-top: 72px;
  padding-bottom: 100px;
}

/* Impact Stats */
.impact {
  background: var(--brown-800);
  padding: 48px 0;
  margin-top: -1px;
}

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

.impact__card {
  text-align: center;
  color: var(--white);
  padding: 16px;
  opacity: 1;
  transform: none;
}

.impact__number {
  display: block;
  opacity: 1;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--tan-light);
}

.impact__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Programs */
.programs {
  background: var(--white);
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 75, 0.2);
}

.program-card__icon {
  width: 52px;
  height: 52px;
  background: var(--brown-800);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--tan-light);
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-900);
  margin-bottom: 12px;
}

.program-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.program-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-700);
}

.program-card__link:hover {
  color: var(--tan);
}

/* Home ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ About preview */
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.about-preview__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-preview__visual {
  position: relative;
}

.about-preview__slideshow {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--brown-800);
}

.about-preview__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity, transform;
}

.about-preview__photo--1 {
  object-position: center 35%;
  animation: about-preview-show-1 12s ease-in-out infinite;
}

.about-preview__photo--2 {
  object-position: center 40%;
  animation: about-preview-show-2 12s ease-in-out infinite;
}

@keyframes about-preview-show-1 {
  0%, 45% {
    opacity: 1;
    transform: scale(1);
  }
  52%, 93% {
    opacity: 0;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes about-preview-show-2 {
  0%, 45% {
    opacity: 0;
    transform: scale(1.03);
  }
  52%, 93% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

.about-preview__caption {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about__lead a {
  color: var(--brown-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about__cards {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.about__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 4px solid var(--tan);
  box-shadow: var(--shadow);
}

.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-900);
  margin-bottom: 8px;
}

.about__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about__regions h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--brown-900);
}

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

.about__tags span {
  padding: 8px 18px;
  background: var(--brown-800);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.about__visual {
  position: relative;
}

.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--brown-800) 0%, var(--brown-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.about__logo-watermark {
  width: 65%;
  opacity: 0.9;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  border-radius: 50%;
  object-fit: cover;
}

.about__visual .about__quote {
  position: absolute;
  bottom: -30px;
  left: -20px;
  right: 20px;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__content .about__quote,
.about--split .about__quote {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin-top: 0;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__quote blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brown-800);
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.cta-banner__text {
  max-width: 720px;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Leadership */
.leadership {
  background: var(--cream-dark);
}

.leadership__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.leader-card:hover {
  box-shadow: var(--shadow-lg);
}

.leader-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown-700), var(--tan));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.leader-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}

.leader-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.leader-card__role {
  font-size: 0.85rem;
  color: var(--tan);
  font-weight: 500;
}

/* Gallery */
.gallery {
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-group {
  margin-bottom: 56px;
}

.gallery-group--past {
  padding-top: 12px;
  border-top: 1px solid rgba(61, 43, 31, 0.1);
}

.gallery-group__header {
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: center;
}

.gallery-group__header .section__tag::after {
  margin-left: auto;
  margin-right: auto;
}

.gallery-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--brown-900);
  margin: 8px 0 10px;
}

.gallery-group__desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.gallery-group__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 16px;
}

.gallery-album {
  margin-bottom: 36px;
}

.gallery-album__header {
  margin-bottom: 16px;
}

.gallery-album__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.gallery-album__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brown-800), var(--brown-600));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}

.gallery__placeholder span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

.gallery__placeholder:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.gallery__photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.gallery__item:hover .gallery__photo {
  transform: scale(1.04);
}

.gallery__download {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: rgba(42, 31, 23, 0.82);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.gallery__download svg {
  width: 16px;
  height: 16px;
}

.gallery__item:hover .gallery__download,
.gallery__download:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery__download:hover {
  background: var(--brown-800);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(30, 18, 10, 0.82));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Programs preview (home) */
.programs-preview {
  background: var(--cream);
  overflow-x: clip;
  width: 100%;
}

.programs-preview .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: clip;
}

.programs-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.programs-preview .program-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .programs-preview__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    gap: 24px;
  }

  .programs-preview .program-card {
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .programs-preview__grid {
    max-width: 100%;
  }

  .programs-preview .program-card {
    padding: 28px 24px;
  }
}

.about__community-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* About page ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ city reach slider */
.city-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--brown-800);
  overflow: hidden;
}

.city-slider__viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.city-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
  transform: scale(1.04);
}

.city-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.city-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.city-slider__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 56px 20px 36px;
  background: linear-gradient(to top, rgba(26, 18, 12, 0.9) 0%, rgba(26, 18, 12, 0.5) 55%, transparent 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.city-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.city-slider__btn svg {
  width: 20px;
  height: 20px;
}

.city-slider__btn:hover {
  background: var(--tan);
  color: var(--brown-900);
  opacity: 1;
}

.city-slider__btn:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 2px;
}

.city-slider__btn--prev {
  left: 12px;
}

.city-slider__btn--next {
  right: 12px;
}

.city-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.city-slider__dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.city-slider__dot.is-active {
  background: var(--tan);
  transform: scale(1.25);
}

.city-slider__dot:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .city-slider {
    aspect-ratio: 16 / 11;
  }

  .city-slider__btn {
    width: 34px;
    height: 34px;
  }

  .city-slider__label {
    padding: 40px 16px 32px;
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-slider__slide {
    transition: none;
  }
}

.legal-content__body {
  max-width: 720px;
}

.legal-content__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown-900);
  margin: 32px 0 12px;
}

.legal-content__body p,
.legal-content__body li {
  color: var(--brown-700);
  line-height: 1.75;
  margin-bottom: 12px;
}

.form__success {
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-weight: 500;
}

/* Events */
.events-featured {
  background: var(--cream);
  padding-top: 80px;
  padding-bottom: 80px;
}

.events-featured__card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(184, 134, 75, 0.15);
}

.events-featured__media {
  position: relative;
  min-height: 320px;
}

.events-featured__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.events-featured__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--tan);
  color: var(--brown-900);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

.events-featured__content {
  padding: 40px 40px 40px 0;
}

.events-featured__status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 12px;
}

.events-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--brown-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.events-featured__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.events-featured__meta {
  list-style: none;
  margin-bottom: 28px;
}

.events-featured__meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--brown-800);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.events-featured__meta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--tan);
  margin-top: 2px;
}

.events-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.events-types {
  background: var(--white);
}

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

.events-type-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.events-type-card:hover {
  border-color: rgba(184, 134, 75, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.events-type-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.events-type-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.events-type-card__icon--cultural {
  background: linear-gradient(135deg, #dc2743, #bc1888);
}

.events-type-card__icon--sports {
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
}

.events-type-card__icon--community {
  background: linear-gradient(135deg, var(--tan), var(--brown-600));
}

.events-type-card__icon--agm {
  background: linear-gradient(135deg, #1877f2, #0d5bbf);
}

.events-type-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown-900);
  margin-bottom: 8px;
}

.events-type-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.events {
  background: var(--cream);
}

.events__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.events__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.events__filter {
  padding: 10px 18px;
  border: 1px solid rgba(61, 43, 31, 0.15);
  border-radius: 50px;
  background: var(--white);
  color: var(--brown-800);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.events__filter:hover {
  border-color: var(--tan);
  color: var(--brown-900);
}

.events__filter.is-active {
  background: var(--brown-800);
  border-color: var(--brown-800);
  color: var(--white);
}

.events__search-wrap {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.events__search-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 6px;
}

.events__search {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(61, 43, 31, 0.15);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--brown-900);
  transition: border-color var(--transition);
}

.events__search:focus {
  outline: none;
  border-color: var(--tan);
}

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

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 75, 0.2);
}

.event-card.is-hidden {
  display: none;
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover .event-card__media img {
  transform: scale(1.05);
}

.event-card__date-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(42, 31, 23, 0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.event-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.event-card__tag {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-card__tag--cultural {
  background: rgba(220, 39, 67, 0.12);
  color: #c41e3a;
}

.event-card__tag--sports {
  background: rgba(61, 43, 31, 0.1);
  color: var(--brown-800);
}

.event-card__tag--community {
  background: rgba(184, 134, 75, 0.15);
  color: var(--brown-700);
}

.event-card__tag--agm {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
}

.event-card__tag--upcoming {
  background: rgba(37, 211, 102, 0.12);
  color: #1a9d4f;
}

.event-card__tag--past {
  background: rgba(107, 79, 58, 0.12);
  color: var(--brown-600);
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-900);
  margin-bottom: 6px;
  line-height: 1.3;
}

.event-card__meta {
  font-size: 0.85rem;
  color: var(--tan);
  font-weight: 500;
  margin-bottom: 10px;
}

.event-card__summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.event-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.event-card__details-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-card__details-btn:hover {
  color: var(--tan);
}

.event-card__register {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-800);
  text-decoration: none;
}

.event-card__register:hover {
  color: var(--tan);
}

.events__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 24px;
  font-size: 1.05rem;
}

.events-group {
  margin-bottom: 56px;
}

.events-group--past {
  padding-top: 8px;
  border-top: 1px solid rgba(61, 43, 31, 0.1);
}

.events-group__header {
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.events-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--brown-900);
  margin: 8px 0 10px;
}

.events-group__desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.events-group__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 16px;
  font-size: 0.95rem;
}

.event-card__book {
  font-weight: 700;
  color: var(--brown-800);
}

.event-card__book:hover {
  color: var(--tan);
}

.event-card__price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}

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

.booking-portal {
  background: var(--cream);
}

.booking-portal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.booking-portal__summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.booking-portal__media > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.booking-portal__media .city-slider--compact {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.booking-portal__media .city-slider--compact .city-slider__label {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  padding: 40px 16px 32px;
}

.booking-portal__media .city-slider--compact .city-slider__btn {
  width: 34px;
  height: 34px;
}

.booking-portal__body {
  padding: 28px;
}

.booking-portal__body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--brown-900);
}

.booking-portal__meta {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.booking-portal__meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.booking-portal__meta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--tan);
}

.booking-portal__note {
  background: #fff8e6;
  border: 1px solid rgba(184, 134, 75, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--brown-800);
  line-height: 1.5;
}

.booking-portal__fee {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-800);
  margin: 16px 0 8px;
}

.booking-portal__payment-placeholder {
  margin-top: 12px;
}

.membership-pay-placeholder {
  margin-top: 12px;
  width: 100%;
  opacity: 0.65;
  cursor: not-allowed;
}

/* AILCD application form */
.container--narrow { max-width: 820px; }

.ailcd-apply__intro {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.ailcd-apply__intro p { margin: 0 0 8px; color: var(--text-muted); }
.ailcd-apply__intro p:last-child { margin-bottom: 0; }

.ailcd-apply__form-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown-900);
  margin-bottom: 12px !important;
}

.ailcd-checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 16px;
  margin-top: 8px;
}

.ailcd-checkgrid--stack {
  grid-template-columns: 1fr;
}

.ailcd-checkgrid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
}

.ailcd-checkgrid input[type="radio"],
.ailcd-checkgrid input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
}

.ailcd-apply__progress {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.ailcd-apply__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--tan), var(--brown-700));
  transition: width 0.3s ease;
}

.ailcd-apply__step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-700);
  margin-bottom: 20px;
}

.ailcd-apply__form {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ailcd-apply__form legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown-800);
  margin-bottom: 20px;
  padding: 0;
}

.ailcd-apply__form .form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ailcd-apply__form .form__group--full { grid-column: 1 / -1; }

.ailcd-apply__form .form__group > label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.ailcd-apply__form .ailcd-checkgrid label,
.ailcd-apply__form .ailcd-yn label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
}

.ailcd-apply__form .ailcd-checkgrid--stack label {
  width: 100%;
  padding: 4px 0;
}

.ailcd-apply__form input:not([type="radio"]):not([type="checkbox"]),
.ailcd-apply__form select,
.ailcd-apply__form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font: inherit;
}

.ailcd-apply__form input[type="radio"],
.ailcd-apply__form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
}

.ailcd-repeat__item {
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--cream);
}

.ailcd-repeat__item h4 {
  font-size: 0.95rem;
  margin: 0 0 12px;
  color: var(--brown-800);
}

.ailcd-yn {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.ailcd-yn label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

.ailcd-yn input[type="radio"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
}

.ailcd-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

.ailcd-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
}

.signature-pad {
  border: 2px dashed var(--cream-dark);
  border-radius: 12px;
  background: var(--cream);
  padding: 12px;
}

.signature-pad__canvas {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 180px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  touch-action: none;
  cursor: crosshair;
  -webkit-user-select: none;
  user-select: none;
}

.signature-pad__clear {
  margin-top: 10px;
}

/* Standalone form pages ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ no site navigation */
body.page-form-only {
  --header-height: 132px;
}

.page-form-only .header--form-only {
  height: auto;
  min-height: var(--header-height);
}

.page-form-only .header--form-only .nav {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px 16px 8px;
}

.page-form-only .nav__brand--static {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  cursor: default;
  text-decoration: none;
  color: var(--cream);
  max-width: none;
  text-align: center;
}

.page-form-only .nav__brand--static .nav__logo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto;
}

.page-form-only .nav__brand--static .nav__title,
.page-form-only .nav__brand--stacked .nav__title {
  display: block;
  width: 100%;
  color: var(--cream);
  font-size: 1.35rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.page-form-only .nav__brand--static .nav__title strong {
  color: var(--tan);
}

.page-form-only .nav__form-notice {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

@media (min-width: 769px) {
  body.page-form-only {
    --header-height: 144px;
  }

  .page-form-only .nav__brand--static .nav__logo {
    width: 84px;
    height: 84px;
  }

  .page-form-only .nav__brand--static .nav__title {
    font-size: 1.55rem;
  }

  .page-form-only .nav__form-notice {
    font-size: 0.88rem;
  }
}

.admin-signature-preview {
  max-width: 280px;
  margin-top: 8px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--white);
}

.ailcd-apply__nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: flex-end;
}

.ailcd-apply__nav .btn {
  min-height: 44px;
}

.ailcd-apply__nav .btn[hidden] {
  display: none !important;
}

.ailcd-apply .section__tag {
  display: inline-block;
}

.ailcd-apply .card {
  padding: 20px;
}

.ailcd-apply__form textarea {
  min-height: 120px;
  resize: vertical;
}

.ailcd-apply__form .form-hint {
  margin-bottom: 8px;
  line-height: 1.5;
}

.ailcd-checkgrid label,
.ailcd-yn label,
.ailcd-check {
  min-height: 44px;
}

.ailcd-checkgrid--stack label {
  padding: 8px 0;
}

@media (max-width: 768px) {
  body.page-form-only .page-hero {
    padding-top: calc(var(--header-height) + var(--tribal-height) + 16px);
    padding-bottom: calc(32px + var(--tribal-height));
  }

  body.page-form-only .page-hero__title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    padding: 0 8px;
  }

  body.page-form-only .page-hero__desc {
    font-size: 0.95rem;
    padding: 0 12px;
  }

  body.page-sub.page-form-only .section.ailcd-apply {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .ailcd-apply .container--narrow {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ailcd-apply .card,
  .ailcd-apply__intro {
    padding: 16px;
  }

  .ailcd-apply__form {
    padding: 16px 14px;
  }

  .ailcd-apply__form legend {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .ailcd-apply__form .form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ailcd-apply__step-label {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .ailcd-apply__form input:not([type="radio"]):not([type="checkbox"]),
  .ailcd-apply__form select,
  .ailcd-apply__form textarea {
    font-size: 16px;
    padding: 12px;
  }

  .ailcd-checkgrid:not(.ailcd-checkgrid--stack) {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ailcd-yn {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ailcd-apply__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ailcd-apply__nav .btn {
    width: 100%;
    flex: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .ailcd-status-check__form .form__grid {
    grid-template-columns: 1fr;
  }

  .ailcd-status-check__title,
  .ailcd-status-portal__title {
    font-size: 1.2rem;
  }

  .ailcd-status-portal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ailcd-status-portal__actions .btn {
    width: 100%;
  }

  .signature-pad__canvas {
    height: 160px;
    min-height: 160px;
  }
}

@media (max-width: 480px) {
  body.page-form-only {
    --header-height: 120px;
  }

  .page-form-only .nav__brand--static .nav__logo {
    width: 64px;
    height: 64px;
  }

  .page-form-only .nav__brand--static .nav__title,
  .page-form-only .nav__brand--stacked .nav__title {
    font-size: 1.15rem;
  }

  .page-form-only .nav__form-notice {
    font-size: 0.75rem;
    padding: 0 8px;
  }
}

.ailcd-status-check__hint {
  margin-top: -4px;
}

.ailcd-deadline-banner {
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--tan);
}

.ailcd-deadline-banner p {
  margin: 0 0 0.35rem;
}

.ailcd-deadline-banner p:last-child {
  margin-bottom: 0;
}

.ailcd-deadline-banner__countdown {
  font-weight: 600;
  color: var(--brown-800);
}

.ailcd-closed-notice {
  margin-bottom: 1.25rem;
  border-left: 4px solid #c0392b;
  background: #fdf5f4;
}

.ailcd-closed-notice__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--brown-900);
}

.ailcd-closed-notice p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.ailcd-closed-notice p:last-child {
  margin-bottom: 0;
}

.ailcd-apply__new-applicant-note {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(139, 94, 60, 0.08);
  color: var(--brown-800);
}

.ailcd-status-check__title,
.ailcd-status-portal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--brown-900);
}

.ailcd-status-check__form {
  margin-top: 16px;
}

.ailcd-status-check__form .form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ailcd-status-portal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.eoi-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eoi-status-badge--pending {
  background: #fff4e5;
  color: #9a6700;
}

.eoi-status-badge--approved {
  background: #e8f5e9;
  color: #2e7d32;
}

.eoi-status-badge--rejected {
  background: #fdecea;
  color: #c62828;
}

.eoi-status-result__name,
.eoi-status-result__ref,
.eoi-status-result__badge-wrap,
.eoi-status-result__message,
.eoi-status-result__note {
  margin: 0 0 12px;
}

.eoi-status-result__note {
  padding: 12px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
}

@media (max-width: 768px) {
  .booking-portal__form-wrap { padding: 20px 16px; }
}

.booking-portal__form-wrap {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.booking-portal__form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.booking-portal__form-intro {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.booking-portal__success,
.booking-portal__error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.booking-portal__success {
  background: #eef8ee;
  border: 1px solid rgba(0, 100, 0, 0.25);
  color: #006400;
}

.booking-portal__error {
  background: #fff3f3;
  border: 1px solid rgba(139, 0, 0, 0.25);
  color: #8b0000;
}

.booking-portal__missing {
  text-align: center;
  padding: 64px 24px;
}

@media (max-width: 900px) {
  .booking-portal__grid {
    grid-template-columns: 1fr;
  }
}

.events-timeline {
  background: var(--white);
  overflow-x: clip;
  width: 100%;
}

.events-timeline .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.events-timeline__list {
  list-style: none;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.events-timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 16px;
  border-bottom: 1px solid rgba(61, 43, 31, 0.1);
}

.events-timeline__item.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.events-timeline__item:last-child {
  border-bottom: none;
}

.events-timeline__month {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tan);
  line-height: 1;
}

.events-timeline__content {
  max-width: 100%;
}

.events-timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.events-timeline__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.events-impact {
  background: var(--brown-900);
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.event-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.event-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.75);
  backdrop-filter: blur(4px);
}

.event-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.event-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.event-modal__close:hover {
  transform: scale(1.08);
}

.event-modal__close svg {
  width: 20px;
  height: 20px;
}

.event-modal__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.event-modal__body {
  padding: 28px 32px 32px;
}

.event-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.event-modal__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brown-900);
  margin-bottom: 16px;
  line-height: 1.25;
}

.event-modal__meta {
  list-style: none;
  margin-bottom: 20px;
}

.event-modal__meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--brown-800);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.event-modal__meta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--tan);
  margin-top: 2px;
}

.event-modal__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.event-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.modal-open {
  overflow: hidden;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__details {
  list-style: none;
}

.contact__details li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact__details svg {
  width: 24px;
  height: 24px;
  color: var(--tan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__details strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.contact__details span,
.contact__details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact__form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form__group {
  margin-bottom: 20px;
}

.form__group > label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-900);
  margin-bottom: 8px;
}

.form__group label:has(> input[type="radio"]),
.form__group label:has(> input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin-bottom: 0;
  font-weight: 500;
  cursor: pointer;
}

.form__group input:not([type="radio"]):not([type="checkbox"]),
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  transition: all var(--transition);
}

.form__group input[type="radio"],
.form__group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
  background: transparent;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--tan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 134, 75, 0.15);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  position: relative;
  background: var(--brown-900);
  color: rgba(255, 255, 255, 0.7);
  padding: calc(var(--header-height) + 48px + var(--tribal-height)) 0 max(32px, env(safe-area-inset-bottom, 0px) + 16px);
  overflow-x: hidden;
  max-width: 100%;
}

.footer .tribal-border--edge {
  top: 0;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: hidden;
  max-width: 100%;
}

.footer__brand {
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 0;
}

.footer__nav {
  flex: 2 1 480px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(228px, 1.35fr);
  gap: 32px 40px;
  align-items: start;
}

.footer__links {
  min-width: 0;
}

.footer__links--connect {
  overflow: visible;
}

.footer__links--connect .footer__social {
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: visible;
}

.footer__social-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0;
}

.footer__social-links,
.footer__social-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.footer__social-list li {
  display: flex;
  justify-content: center;
}

.footer__logo {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer__affiliation {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__affiliation a {
  color: var(--tan-light);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}

.footer__social-link:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.08);
  color: #fff;
}

.footer__social-link.is-disabled,
.footer__social-link:not([href]) {
  pointer-events: none;
  cursor: default;
  opacity: 0.92;
}

.footer__social-link.is-disabled:hover,
.footer__social-link:not([href]):hover {
  transform: none;
  filter: none;
}

.footer__social-link[aria-label="Facebook"] {
  background: #1877f2;
  box-shadow: 0 2px 10px rgba(24, 119, 242, 0.4);
}

.footer__social-link[aria-label="Facebook"]:hover {
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.55);
}

.footer__social-link[aria-label="TikTok"] {
  background: #010101;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.footer__social-link[aria-label="TikTok"]:hover {
  filter: brightness(1.2);
}

.footer__social-link[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 2px 10px rgba(220, 39, 67, 0.4);
}

.footer__social-link[aria-label="Instagram"]:hover {
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.55);
}

.footer__social-link[aria-label="WhatsApp"] {
  background: #25d366;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.footer__social-link[aria-label="WhatsApp"]:hover {
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.55);
}

.footer__social-link[aria-label="YouTube"] {
  background: #ff0000;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.4);
}

.footer__social-link[aria-label="YouTube"]:hover {
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.5);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.footer__links h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 16px;
  line-height: 1.2;
}

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

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--tan-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px max(20px, env(safe-area-inset-bottom, 0px) + 12px);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--tan-light);
}

/* Responsive */
@media (max-width: 1100px) {
  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__links--connect {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1280px) {
  .nav__logo {
    width: 96px;
    height: 96px;
  }

  .nav__title {
    font-size: 1.05rem;
  }

  .nav__brand {
    max-width: 38%;
  }

  .nav__link {
    padding: 8px 8px;
    font-size: 0.8rem;
  }

  .nav__cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .leadership__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .events-featured__card {
    grid-template-columns: 1fr;
  }

  .events-featured__content {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 96px;
    --tribal-height: 30px;
    --tribal-tile: 240px;
    --hero-height: min(88svh, 760px);
  }

  .section {
    padding: 72px 0;
  }

  .container {
    padding: 0 18px;
  }

  .nav__logo {
    width: 84px;
    height: 84px;
  }

  .nav__title {
    font-size: 1.15rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav__brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    overflow: hidden;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .nav__brand {
    flex: 1 1 auto;
    grid-column: unset;
  }

  .nav__toggle {
    display: flex;
    z-index: 10;
    grid-column: unset;
  }

  .nav__drawer {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    z-index: 1001;
    background: var(--brown-800);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav__drawer.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav__menu {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    z-index: auto;
    background: transparent;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    justify-self: stretch;
    grid-column: unset;
    width: auto;
    max-width: none;
    padding: 0;
    gap: 4px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__menu.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__actions {
    position: static;
    grid-column: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    text-align: center;
  }

  .hero {
    display: block;
    position: relative;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 0;
    padding-bottom: var(--hero-band-bottom);
    background: transparent;
    align-items: stretch;
  }

  .hero__overlay {
    /* Soft bottom fade only ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ no mid-page brown ÃÂÃÂ¢ÃÂÃÂÃÂÃÂcardÃÂÃÂ¢ÃÂÃÂÃÂÃÂ */
    background: linear-gradient(
      to top,
      rgba(18, 12, 8, 0.72) 0%,
      rgba(18, 12, 8, 0.35) 28%,
      rgba(18, 12, 8, 0.08) 55%,
      transparent 78%
    );
  }

  .hero__content {
    position: absolute !important;
    top: auto !important;
    left: 18px !important;
    right: 18px !important;
    bottom: calc(var(--hero-band-bottom) + 18px) !important;
    height: auto !important;
    z-index: 3;
    grid-column: unset;
    grid-row: unset;
    max-width: none;
    width: auto;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    box-sizing: border-box;
    align-self: auto !important;
    transform: none !important;
    pointer-events: none;
  }

  .hero__text {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    pointer-events: auto;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 8px;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  }

  .hero__title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    margin-bottom: 4px;
    line-height: 1.1;
    color: var(--white);
    text-shadow:
      0 2px 12px rgba(0, 0, 0, 0.9),
      0 1px 3px rgba(0, 0, 0, 0.8);
  }

  .hero__title em {
    color: #f2d4a8;
    text-shadow:
      0 2px 12px rgba(0, 0, 0, 0.95),
      0 1px 3px rgba(0, 0, 0, 0.85);
  }

  .hero__subtitle {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
      0 1px 10px rgba(0, 0, 0, 0.9),
      0 1px 3px rgba(0, 0, 0, 0.75);
  }

  .hero__desc {
    display: none;
  }

  .hero__actions {
    flex: 0 0 auto;
    margin-top: 12px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .hero__actions .btn {
    width: auto;
    flex: 1 1 calc(50% - 8px);
    max-width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.82rem;
    box-sizing: border-box;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }

  .hero .btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--white);
  }

  .hero__visual {
    display: none;
  }

  .page-hero__logo {
    display: none;
  }

  .hero__visual.animate-on-load {
    animation: none;
  }

  .hero__logo-ring {
    width: min(148px, 46vw);
  }

  /* All 10 slides cycle ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ fade only on mobile */
  .hero__slide {
    animation-duration: 56s;
  }

  .logo-spinner__img {
    animation-duration: 14s;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__slide__photo {
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
  }

  .hero__slideshow,
  .hero__slide,
  .hero__slide__media {
    overflow: hidden;
    max-width: 100%;
  }

  .hero__slide,
  .program-card,
  .leader-card,
  .event-card {
    will-change: auto;
  }

  .hero__scroll {
    display: none;
  }

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

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .programs-preview__grid {
    grid-template-columns: 1fr;
  }

  .events-featured__card {
    grid-template-columns: 1fr;
  }

  .events-featured__content {
    padding: 32px 28px;
  }

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

  .events__grid {
    grid-template-columns: 1fr;
  }

  .events__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .events__search-wrap {
    max-width: none;
    min-width: 0;
  }

  .events__search {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about-preview__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-preview__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-preview__content .btn {
    display: inline-flex;
    margin-top: 4px;
  }

  .about-preview__visual {
    order: -1;
  }

  .about__quote {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
  }

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

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item {
    min-height: 180px;
  }

  .gallery__download {
    opacity: 1;
    transform: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .footer__brand {
    flex: none;
    width: 100%;
    max-width: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__brand p,
  .footer__affiliation {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  .footer__nav {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer__links {
    text-align: center;
  }

  .footer__links ul {
    padding-left: 0;
  }

  .footer__links--connect {
    display: flex;
    flex-direction: column;
  }

  .footer__links--connect .footer__social {
    order: -1;
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
    padding-bottom: 20px;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__social {
    align-items: center;
    text-align: center;
  }

  .footer__social-links,
  .footer__social-list {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 92px;
    --hero-height: min(86svh, 700px);
  }

  .footer__social-links,
  .footer__social-list {
    gap: 6px;
    padding-right: 8px;
  }

  .footer__social-link {
    width: 32px;
    height: 32px;
  }

  .footer__social-icon {
    width: 15px;
    height: 15px;
  }

  .nav__logo {
    width: 78px;
    height: 78px;
  }

  .nav__brand {
    gap: 10px;
  }

  .nav__title {
    font-size: 1rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    margin-bottom: 4px;
  }

  .hero__subtitle {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .hero__actions .btn {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .hero__logo-ring {
    width: min(140px, 52vw);
  }

  .section {
    padding: 56px 0;
  }

  .impact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .leadership__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .contact__form {
    padding: 28px 20px;
  }
}

/* ============================================
   Animations
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--tan), var(--tan-light), var(--tan));
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(184, 134, 75, 0.5);
}

/* Hero load-in sequence */
.animate-on-load {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-load--delay-1 { animation-delay: 0.15s; }
.animate-on-load--delay-2 { animation-delay: 0.3s; }
.animate-on-load--delay-3 { animation-delay: 0.45s; }
.animate-on-load--delay-4 { animation-delay: 0.6s; }

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating orbs in hero ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ hidden when photo slideshow is active */
.hero__orbs {
  display: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.hero__orb--1 {
  width: 320px;
  height: 320px;
  background: var(--tan);
  top: 10%;
  right: 5%;
  animation: orb-float-1 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 240px;
  height: 240px;
  background: var(--brown-600);
  bottom: 20%;
  left: 10%;
  animation: orb-float-2 15s ease-in-out infinite;
}

.hero__orb--3 {
  width: 180px;
  height: 180px;
  background: var(--tan-light);
  top: 50%;
  left: 40%;
  animation: orb-float-3 10s ease-in-out infinite;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 25px) scale(1.15); }
}

.hero__pattern {
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero__visual {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Scroll-triggered reveals */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll[data-animate="fade-up"] {
  transform: translateY(40px);
}

.animate-on-scroll[data-animate="fade-left"] {
  transform: translateX(50px);
}

.animate-on-scroll[data-animate="fade-right"] {
  transform: translateX(-50px);
}

.animate-on-scroll[data-animate="scale-up"] {
  transform: scale(0.85);
}

.animate-on-scroll[data-animate="flip-up"] {
  transform: perspective(600px) rotateX(25deg) translateY(30px);
}

.animate-on-scroll[data-animate="zoom-in"] {
  transform: scale(0.7);
}

.animate-on-scroll[data-animate="pop"] {
  transform: scale(0.5);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.animate-on-scroll.is-visible .impact__number {
  animation: number-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes number-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Button shine sweep */
.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 80%, 100% { left: -100%; }
  40% { left: 150%; }
}

.btn--pulse {
  animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.btn--loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn--success {
  background: var(--green-accent) !important;
  border-color: var(--green-accent) !important;
}

/* Nav hamburger ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ X */
.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Section tag line draw */
.section__tag {
  position: relative;
}

.section__tag::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--tan);
  margin: 8px auto 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.section__header.is-visible .section__tag::after,
.animate-on-scroll.is-visible > .section__tag::after {
  width: 40px;
}

/* CTA animated gradient */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    var(--brown-900) 0%,
    var(--brown-700) 30%,
    var(--brown-800) 50%,
    var(--brown-600) 70%,
    var(--brown-900) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  z-index: 0;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Program cards ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ enhanced hover (tilt applied via JS on desktop) */
.program-card {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.program-card:hover {
  border-color: rgba(184, 134, 75, 0.25);
}

.program-card__icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-card:hover .program-card__icon {
  transform: scale(1.12) rotate(-5deg);
  animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1.12) rotate(-5deg); }
  50% { transform: scale(1.2) rotate(5deg); }
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.program-card:hover .program-card__link {
  gap: 10px;
}

/* Leader card avatar ring pulse */
.leader-card {
  transition: box-shadow 0.4s ease;
  will-change: transform;
}

.leader-card:hover {
  box-shadow: var(--shadow-lg);
}

.leader-card__avatar {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.leader-card:hover .leader-card__avatar {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(184, 134, 75, 0.3);
  animation: avatar-glow 1.5s ease-in-out infinite;
}

@keyframes avatar-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 134, 75, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(184, 134, 75, 0.1); }
}

/* Gallery zoom + overlay */
.gallery__placeholder {
  position: relative;
  overflow: hidden;
}

.gallery__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, 0);
  transition: background 0.4s ease;
  z-index: 1;
}

.gallery__item:hover .gallery__placeholder::before {
  background: rgba(42, 31, 23, 0.25);
}

.gallery__placeholder span {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.gallery__item:hover .gallery__placeholder span {
  transform: scale(1.05);
  letter-spacing: 0.05em;
}

.gallery__placeholder {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.gallery__item:hover .gallery__placeholder {
  transform: scale(1.06);
  filter: brightness(1.15);
}

/* About section logo gentle spin */
.about__logo-watermark {
  animation: about-logo-spin 20s linear infinite;
}

@keyframes about-logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about__tags .city-tag,
.about__tags span {
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: default;
}

.about__tags .city-tag:hover,
.about__tags span:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--brown-700);
}

/* About quote slide */
.about__quote {
  animation: quote-slide 0.8s ease 1s both;
}

@keyframes quote-slide {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Contact form focus glow */
.form__group input,
.form__group select,
.form__group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  transform: translateY(-2px);
}

/* Admin portal page */
.portal__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.portal__badge-wrap {
  margin-bottom: 20px;
}

.portal__logo {
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.portal__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 56px;
}

.portal__action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  max-width: 380px;
  width: 100%;
}

.portal__action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.portal__action--primary {
  background: var(--brown-800);
  color: var(--cream);
}

.portal__action--secondary {
  background: var(--white);
  color: var(--brown-900);
  border-color: var(--brown-800);
}

.portal__action-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.portal__action--secondary .portal__action-icon {
  background: var(--cream-dark);
  color: var(--brown-800);
}

.portal__action-icon svg {
  width: 24px;
  height: 24px;
}

.portal__action-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.portal__action-text small {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

.portal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.portal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tan-light);
  color: var(--brown-900);
}

.portal-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brown-800);
  background: var(--cream-dark);
}

.portal-card__icon svg {
  width: 24px;
  height: 24px;
}

.portal-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--brown-900);
}

.portal-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.portal__notice {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.portal__notice h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.portal__notice a {
  color: var(--brown-700);
  font-weight: 600;
}

.portal__notice-small {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portal__notice code {
  background: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.nav__link--portal {
  color: var(--tan-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .portal__actions {
    padding: 0 8px;
  }

  .portal__action {
    max-width: 340px;
  }
}

/* Footer logo hover */
.footer__logo {
  transition: transform 0.5s ease;
}

.footer__brand:hover .footer__logo {
  transform: rotate(360deg) scale(1.05);
}

/* Nav logo subtle wiggle on hover */
.nav__brand:hover .nav__logo {
  animation: nav-wiggle 0.5s ease;
}

@keyframes nav-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

/* Impact section shimmer line */
.impact {
  position: relative;
  overflow: hidden;
}

.impact::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: impact-shimmer 4s ease-in-out infinite;
}

@keyframes impact-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.impact__card {
  transition: transform 0.3s ease;
}

.impact__card:hover {
  transform: translateY(-4px);
}

.impact__number {
  display: inline-block;
}

@media (min-width: 769px) {
  .nav__toggle {
    display: none !important;
  }

  .nav__drawer {
    display: contents;
  }

  .nav__menu {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: 2 !important;
    justify-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav__actions {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    grid-column: 3 !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Mobile menu ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ phones and small tablets only (max-width: 768px) */

@media (prefers-reduced-motion: reduce) {
  .animate-on-load,
  .hero__orb,
  .hero__slide,
  .hero__orbit--inner,
  .hero__orbit--outer,
  .tribal-border__track,
  .tribal-border::after,
  .btn--shine::after,
  .btn--pulse,
  .cta-banner::before,
  .about__logo-watermark,
  .about-preview__photo,
  .impact::after,
  .logo-spinner__img {
    animation: none !important;
  }

  .animate-on-load,
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__visual,
  .hero__pattern {
    transform: none !important;
  }

  .hero__slide {
    animation: none !important;
    opacity: 0 !important;
  }

  .hero__slide:first-child {
    opacity: 1 !important;
  }

  .about-preview__photo--1 {
    opacity: 1 !important;
    transform: none !important;
  }

  .about-preview__photo--2 {
    opacity: 0 !important;
    transform: none !important;
  }
}

/* Members dashboard */
.page-hero--compact {
  padding-top: calc(var(--header-height) + var(--tribal-height) + 20px);
  padding-bottom: calc(32px + var(--tribal-height));
  min-height: calc(var(--header-height) + var(--tribal-height) + 220px);
}

.page-hero--compact .page-hero__title {
  margin: 8px 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
}

.page-hero--compact .page-hero__desc {
  font-size: 0.98rem;
}

.page-hero--compact .page-hero__logo {
  top: 58%;
}

.members-gate__card {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface-elevated, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.06));
}

.members-gate__card h2 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
}

.members-gate__hint,
.members-gate__footer {
  color: var(--text-muted);
  font-size: .95rem;
}

.members-gate__form { margin-top: 1.25rem; }

.members-login-error,
.members-gate__form .form__error {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #b42318;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.members-gate__footer { margin-top: 1.25rem; margin-bottom: 0; }

/* Unified sign-in / auth page */
.page-signin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-signin .site-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.page-signin .nav__cta--member.is-active {
  border-color: var(--tan-light);
  color: var(--white);
}

.auth-page {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 16px 48px;
  overflow: hidden;
}

.auth-page__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(184, 134, 75, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(61, 43, 31, 0.08), transparent 50%),
    linear-gradient(165deg, var(--cream) 0%, #f3ebe1 48%, var(--cream-dark) 100%);
  pointer-events: none;
}

.auth-page__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: var(--white);
  border: 1px solid rgba(61, 43, 31, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(42, 31, 23, 0.1);
  overflow: hidden;
}

.auth-card__brand {
  text-align: center;
  padding: 32px 28px 20px;
}

.auth-card__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  object-fit: cover;
}

.auth-card__org {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown-900);
  letter-spacing: 0.01em;
}

.auth-card__org::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin: 10px auto 0;
  background: var(--tan);
  border-radius: 2px;
}

.auth-card__title {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--brown-900);
  line-height: 1.15;
}

.auth-card__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-card__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 20px;
  padding: 4px;
  background: var(--cream-dark);
  border-radius: 12px;
}

.auth-card__tab {
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card__tab:hover {
  color: var(--brown-800);
}

.auth-card__tab.is-active {
  background: var(--white);
  color: var(--brown-900);
  box-shadow: 0 2px 8px rgba(42, 31, 23, 0.08);
}

.auth-card__tab:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 2px;
}

.auth-card__body {
  padding: 24px 28px 28px;
}

.auth-card__panel[hidden] {
  display: none !important;
}

.auth-card__panel-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown-900);
}

.auth-card__hint {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-card__footer {
  margin: 1.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.auth-card__footer a {
  font-weight: 600;
  color: var(--brown-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-card__footer--cta {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--cream, #f8f4ee);
  border: 1px solid var(--border, #ddd5c8);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brown-800, #3d2e22);
}

.auth-card__footer--cta a {
  display: inline-block;
  margin-left: 0.15rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--brown-800, #3d2e22);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0;
}

.auth-card__footer--cta a:hover {
  background: var(--tan, #b8864e);
  color: #fff;
}

.auth-role-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.auth-role-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border, #ddd5c8);
  background: var(--cream, #f8f4ee);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--brown-900, #2a1f17);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-role-card:hover:not(:disabled) {
  border-color: var(--tan, #b8864e);
  box-shadow: 0 8px 20px rgba(42, 31, 23, 0.08);
  transform: translateY(-1px);
}

.auth-role-card:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-role-card__label {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brown-800, #3d2e22);
}

.auth-role-card__desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted, #5c4332);
}

@media (min-width: 560px) {
  .auth-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-form__help {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 0;
}

.auth-form__row--end {
  justify-content: flex-end;
}

.auth-help {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: var(--cream, #f8f4ee);
  border: 1px solid var(--border, #ddd5c8);
}

.auth-help__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-800, #3d2e22);
}

.auth-help p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted, #5c4332);
}

.auth-help__list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--brown-900, #2a1f17);
}

.auth-help__list li {
  margin-bottom: 0.35rem;
}

.auth-help code {
  font-size: 0.84em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(61, 46, 34, 0.08);
}

.auth-help__note {
  margin-bottom: 0 !important;
}

.auth-form__remember {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-form__link-btn {
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brown-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form__link-btn:hover {
  color: var(--tan);
}

.auth-form__success {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #edf7ed;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  font-size: 0.92rem;
  font-weight: 500;
}

.auth-form__remember input {
  margin-top: 3px;
  accent-color: var(--brown-700);
}

.auth-form__error {
  margin: 0.85rem 0 0;
}

.auth-form__submit {
  margin-top: 1.1rem;
}

.auth-form__password {
  position: relative;
}

.auth-form__password input {
  padding-right: 4.5rem;
}

.auth-form__toggle-pass {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--brown-700);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}

.auth-form__toggle-pass:hover {
  color: var(--tan);
  background: rgba(184, 134, 75, 0.08);
}

.auth-form__toggle-pass:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 1px;
}

.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.footer--auth {
  margin-top: auto;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  padding: 0 0 max(20px, env(safe-area-inset-bottom, 0px) + 8px);
}

.page-signin .footer--auth::before {
  display: none;
}

.footer--auth .footer__bottom {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(61, 43, 31, 0.08);
  padding-top: 18px;
  padding-bottom: 8px;
  justify-content: space-between;
  gap: 12px;
}

.footer--auth .footer__bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer--auth .footer__legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer--auth .footer__legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer--auth .footer__legal a:hover {
  color: var(--brown-800);
}

@media (max-width: 640px) {
  .auth-page {
    padding: calc(var(--header-height) + 24px) 12px 32px;
    align-items: flex-start;
  }

  .auth-card__brand {
    padding: 24px 20px 16px;
  }

  .auth-card__tabs {
    margin: 0 14px;
  }

  .auth-card__body {
    padding: 20px 20px 24px;
  }

  .footer--auth .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Members page footer ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ center brand + link columns */
.page-members .footer__grid {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-members .footer__brand {
  flex: none;
  max-width: none;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-members .footer__nav--members {
  flex: none;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px 72px;
  grid-template-columns: unset;
}

.page-members .footer__links {
  text-align: center;
}

.page-members .footer__links h4 {
  text-align: center;
}

.page-members .footer__links ul {
  padding-left: 0;
  display: inline-block;
  text-align: center;
}

.page-members .footer__bottom {
  justify-content: center;
  text-align: center;
}

.page-members .members-portal {
  padding-block: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(184, 134, 75, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(62, 43, 31, 0.04), transparent 45%),
    var(--cream);
}

.members-dashboard {
  max-width: 960px;
  margin: 0 auto;
}

.members-hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(125deg, var(--brown-800) 0%, var(--brown-900) 55%, #1f1610 100%);
  color: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.members-hero__glow {
  position: absolute;
  top: -50%;
  right: -5%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 75, 0.35), transparent 70%);
  pointer-events: none;
}

.members-hero__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  flex: 1 1 280px;
}

.members-hero__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--brown-900);
  background: linear-gradient(135deg, var(--tan-light), var(--tan));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(212, 165, 116, 0.35);
  flex-shrink: 0;
}

.members-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-light);
  margin-bottom: 0.25rem;
}

.members-hero__text h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.members-hero__text p {
  margin: 0;
  color: rgba(250, 247, 242, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 32rem;
}

.members-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.members-hero__signout {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: var(--cream) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.members-hero__signout:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.members-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(184, 134, 75, 0.25);
  border: 1px solid rgba(212, 165, 116, 0.45);
  color: var(--tan-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: ui-monospace, monospace;
}

.members-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.members-stat {
  position: relative;
  padding: 1rem 1rem 0.9rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.members-stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stat-color, var(--tan));
}

.members-stat__icon {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  background: var(--stat-bg, rgba(184, 134, 75, 0.15));
  position: relative;
}

.members-stat__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  background: var(--stat-color, var(--tan));
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.members-stat--events { --stat-color: #B8864B; --stat-bg: rgba(184, 134, 75, 0.18); }
.members-stat--events .members-stat__icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v1h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm13 8H4v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V10z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v1h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm13 8H4v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V10z'/%3E%3C/svg%3E");
}

.members-stat--status { --stat-color: #2E7D4A; --stat-bg: rgba(46, 125, 74, 0.14); }
.members-stat--status .members-stat__icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.members-stat--payment { --stat-color: #5C4A7A; --stat-bg: rgba(92, 74, 122, 0.14); }
.members-stat--payment .members-stat__icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}

.members-stat--welfare { --stat-color: #C45C5C; --stat-bg: rgba(196, 92, 92, 0.14); }
.members-stat--welfare .members-stat__icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.members-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown-800);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  text-transform: capitalize;
}

.members-stat span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.members-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

.members-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.members-tabs__btn:hover {
  color: var(--brown-800);
  background: var(--cream);
}

.members-tabs__btn.is-active {
  background: linear-gradient(135deg, var(--brown-800), var(--brown-700));
  border-color: var(--brown-800);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(61, 43, 31, 0.25);
}

.members-tabs__btn.is-active .members-tab-icon {
  background: rgba(255, 255, 255, 0.2);
}

.members-tabs__btn.is-active .members-tab-icon::before {
  background: var(--white);
}

.members-tab-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(184, 134, 75, 0.12);
  position: relative;
  flex-shrink: 0;
}

.members-tab-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  background: var(--tan);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.members-tab-icon--feeds::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 6h16v2H4V6zm0 5h16v2H4v-2zm0 5h16v2H4v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 6h16v2H4V6zm0 5h16v2H4v-2zm0 5h16v2H4v-2z'/%3E%3C/svg%3E");
}

.members-tab-icon--membership::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.members-tab-icon--events::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v1h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm13 8H4v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V10z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v1h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm13 8H4v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V10z'/%3E%3C/svg%3E");
}

.members-tab-icon--photos::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
}

.members-tab-icon--governance::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}

.members-tab-icon--welfare::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.members-tab-icon--explore::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93z'/%3E%3C/svg%3E");
}

.members-panel {
  animation: membersPanelIn 0.25s ease;
}

@keyframes membersPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.members-panel__intro {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--tan);
  line-height: 1.55;
}

.members-feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.members-feed-filters__btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.members-feed-filters__btn:hover {
  border-color: var(--tan-light);
  transform: translateY(-1px);
}

.members-feed-filters__btn.is-active {
  border-color: var(--tan);
  background: linear-gradient(135deg, rgba(184, 134, 75, 0.15), rgba(184, 134, 75, 0.08));
  color: var(--brown-800);
  font-weight: 600;
}

.members-feed-list {
  display: grid;
  gap: 1rem;
}

.members-feed-item {
  position: relative;
  display: flex;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.members-feed-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.members-feed-item__accent {
  width: 5px;
  flex-shrink: 0;
  background: var(--feed-accent, var(--tan));
}

.members-feed-item--news { --feed-accent: #B8864B; }
.members-feed-item--sports { --feed-accent: #2E7D4A; }
.members-feed-item--business { --feed-accent: #3D6B8E; }
.members-feed-item--social { --feed-accent: #5C4A7A; }

.members-feed-item__body {
  padding: 1.25rem 1.35rem;
  flex: 1;
  min-width: 0;
}

.members-feed-item__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.members-feed-item__cat {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(184, 134, 75, 0.12);
  color: var(--brown-700);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.members-feed-item--sports .members-feed-item__cat { background: rgba(46, 125, 74, 0.12); color: #2E7D4A; }
.members-feed-item--business .members-feed-item__cat { background: rgba(61, 107, 142, 0.12); color: #3D6B8E; }
.members-feed-item--social .members-feed-item__cat { background: rgba(92, 74, 122, 0.12); color: #5C4A7A; }

.members-feed-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown-800);
}

.members-feed-item p { margin: 0; color: var(--text-muted); line-height: 1.65; }

.members-feed-item__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--tan);
}

.members-feed-item__link:hover { color: var(--brown-800); }

.members-grid {
  display: grid;
  gap: 1.25rem;
}

.members-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.members-card {
  padding: 1.35rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.members-card:hover {
  box-shadow: var(--shadow-lg);
}

.members-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown-800);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--cream-dark);
}

.members-card--highlight {
  border-color: rgba(184, 134, 75, 0.35);
  background: linear-gradient(135deg, #fffdf8 0%, var(--white) 100%);
  box-shadow: 0 8px 32px rgba(184, 134, 75, 0.12);
}

.members-card--muted { opacity: 0.88; }

.members-card__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(46, 125, 74, 0.12);
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.members-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--cream-dark);
}

.members-profile__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brown-900);
  background: linear-gradient(135deg, var(--tan-light), var(--tan));
  box-shadow: 0 4px 12px rgba(184, 134, 75, 0.3);
  flex-shrink: 0;
}

.members-profile__info {
  flex: 1 1 160px;
}

.members-profile__info h3 {
  margin: 0 0 0.2rem;
  border: none;
  padding: 0;
  font-size: 1.35rem;
}

.members-profile__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.members-profile__status {
  margin-left: auto;
}

.members-dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.members-dl--grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.members-dl div {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
}

.members-dl dt {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.members-dl dd {
  margin: 0;
  font-weight: 500;
  color: var(--brown-800);
}

.members-dl code {
  font-size: 0.88rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(184, 134, 75, 0.1);
}

.members-status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: capitalize;
}

.members-status.is-active { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.members-status.is-pending { background: rgba(234, 179, 8, 0.15); color: #a16207; }

.members-event-item,
.members-booking-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.members-event-item:last-child,
.members-booking-item:last-child { border-bottom: 0; }

.members-event-item__date {
  flex-shrink: 0;
  min-width: 72px;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brown-800), var(--brown-700));
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  align-self: flex-start;
}

.members-event-item__content h4,
.members-booking-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--brown-800);
}

.members-event-item__meta {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.members-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px dashed var(--cream-dark);
}

.members-album {
  margin-bottom: 1.25rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.members-album__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--brown-800);
}

.members-album__summary::-webkit-details-marker { display: none; }

.members-album__count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.members-album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.members-photo {
  margin: 0;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.members-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.members-photo figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem;
  font-size: 0.85rem;
}

.members-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.members-quicklink {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}

.members-quicklink:hover {
  transform: translateY(-2px);
  border-color: var(--tan-light);
  box-shadow: var(--shadow-lg);
}

.members-quicklink__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(184, 134, 75, 0.15);
  flex-shrink: 0;
  position: relative;
}

.members-quicklink__icon::before {
  content: 'ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--tan);
}

.members-quicklink__text strong {
  display: block;
  color: var(--brown-800);
  margin-bottom: 0.15rem;
}

.members-quicklink__text span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

  .members-tabs__btn {
    flex: 1 1 calc(50% - 0.35rem);
    justify-content: center;
    font-size: 0.82rem;
    padding-inline: 0.65rem;
  }

  .members-tabs__btn span:last-child {
    display: none;
  }

  .members-tab-icon {
    width: 26px;
    height: 26px;
  }

  .members-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .members-hero__actions {
    justify-content: flex-start;
  }

  .members-profile__status {
    margin-left: 0;
  }
}

.members-governance-period {
  margin: 0 0 .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary, #b45309);
}

.members-governance-positions {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius-sm, 8px);
  background: rgba(180, 83, 9, 0.06);
  border: 1px solid rgba(180, 83, 9, 0.12);
}

.members-governance-positions h4 {
  margin: 0 0 .65rem;
  font-size: .95rem;
}

.members-governance-positions__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.members-governance-positions__list li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .5rem .65rem;
  border-radius: 6px;
  background: var(--surface-elevated, #fff);
}

.members-governance-positions__list li span {
  font-size: .88rem;
  color: var(--text-muted);
}

.members-preview-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 134, 75, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184, 134, 75, 0.1), rgba(184, 134, 75, 0.04));
  color: var(--brown-800);
  font-size: 0.92rem;
  line-height: 1.5;
}

.members-preview-banner a {
  margin-left: .35rem;
  font-weight: 600;
}

.members-gate__form .btn--outline {
  margin-top: .65rem;
}

/* ============================================
   KCV-inspired community layout
   (Kenya Community Victoria pattern)
   ============================================ */

.section--white {
  background: var(--white);
}

.story-section {
  background: var(--white);
  text-align: center;
}

.story-section--compact {
  padding-bottom: 0;
}

.story-section--compact + .leadership {
  padding-top: 48px;
}

.story-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--brown-900);
  margin-bottom: 28px;
  line-height: 1.2;
  text-align: center;
}

.story-section__intro {
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: center;
}

.story-section__prose {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.story-section__prose p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25em;
}

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

.story-section__cta {
  margin-top: 36px;
  text-align: center;
}

.btn--lg {
  padding: 14px 36px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.mv-panels {
  background: var(--cream-dark);
  padding-top: 72px;
  padding-bottom: 72px;
}

.mv-panels__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mv-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  text-align: center;
  border: none;
  border-left: none;
  box-shadow: var(--shadow);
}

.mv-panel__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 20px;
  line-height: 1.1;
}

.mv-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto;
}

.about--split {
  background: var(--white);
}

.about--split .about__grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.about--split .about__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.home-about {
  background: var(--white);
}

.home-about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.home-about__heading {
  display: block;
  margin-bottom: 8px;
}

.home-about__org {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  text-align: left;
}

.home-about__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.home-about__content .btn {
  margin-top: 8px;
}

.home-events {
  background: var(--cream-dark);
  text-align: center;
}

.home-events .container {
  text-align: center;
}

.home-events .story-section__title,
.home-events .story-section__intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.home-events__footer {
  text-align: center;
}

.home-events__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.home-event-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.home-event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.home-event-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-event-card:hover .home-event-card__media img {
  transform: scale(1.04);
}

.home-event-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.home-event-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tan);
}

.home-event-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown-900);
  line-height: 1.25;
}

.home-event-card__location {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.home-event-card__summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 8px;
}

.home-event-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

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

.leader-card {
  padding: 28px 16px 24px;
  border-radius: var(--radius);
}

.leader-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leader-card__role {
  font-size: 0.8rem;
  line-height: 1.4;
}

.page-hero {
  text-align: center;
}

.page-sub .story-section + .mv-panels {
  padding-top: 0;
}

@media (max-width: 900px) {
  .mv-panels__grid,
  .home-about__layout,
  .home-events__grid {
    grid-template-columns: 1fr;
  }

  .about--split .about__grid {
    grid-template-columns: 1fr;
  }

  .about--split .about__visual {
    order: -1;
  }

  .home-about__org {
    text-align: center;
  }

  .home-about__content {
    text-align: center;
  }

  .home-about__content .btn {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .leadership__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .leader-card {
    padding: 20px 12px;
  }

  .leader-card__avatar {
    width: 60px;
    height: 60px;
    font-size: 0.95rem;
  }
}

/* Mobile: no horizontal scroll, tighter layout, instant content */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }

  body {
    position: relative;
  }

  .header,
  .header .container,
  .hero,
  .impact,
  .section,
  .footer,
  .page-hero,
  .cta-banner,
  .story-section,
  .mv-panels,
  .home-about,
  .home-events,
  .programs-preview,
  .scroll-progress {
    max-width: 100%;
    overflow-x: hidden;
  }

  .header {
    width: 100%;
  }

  .header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav {
    min-width: 0;
    gap: 8px;
    width: 100%;
  }

  .nav__brand {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .nav__logo {
    flex-shrink: 0;
  }

  .hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero__content {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(var(--hero-band-bottom) + 14px) !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-preview__photo--1,
  .about-preview__photo--2 {
    animation: none;
    transform: none;
  }

  .about-preview__photo--2 {
    opacity: 0;
  }

  .about__visual .about__quote {
    left: 0;
    right: 0;
  }

  .home-about__layout,
  .home-about__content,
  .about-preview__visual,
  .about-preview__slideshow,
  .home-events__grid,
  .programs-preview__grid,
  .story-section__prose,
  .mv-panels__grid,
  .about__grid,
  .about__image-frame,
  .footer__grid,
  .footer__nav,
  .footer__bottom,
  .cta-banner__inner,
  .impact__grid {
    min-width: 0;
    max-width: 100%;
  }

  .about-preview__photo,
  .about__community-photo,
  .home-event-card__media img {
    max-width: 100%;
    width: 100%;
  }

  .about-preview__slideshow {
    width: 100%;
    max-width: 100%;
  }

  .footer__legal {
    justify-content: center;
    gap: 10px 14px;
  }

  .footer__bottom {
    padding-left: 16px;
    padding-right: 16px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .footer__legal a {
    white-space: normal;
  }

  .cta-banner__actions {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .section,
  .story-section.section,
  .home-about.section,
  .home-events.section,
  .mv-panels.section,
  .programs-preview.section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home-about__layout {
    gap: 28px;
  }

  .home-events__grid {
    gap: 20px;
  }

  .program-card,
  .home-event-card,
  .event-card,
  .mv-panel,
  .story-section__prose p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .btn,
  .nav__cta {
    max-width: 100%;
  }

  .floating-social {
    left: max(12px, env(safe-area-inset-left, 0px) + 8px);
  }

  .events__search {
    min-width: 0;
    max-width: 100%;
  }
}

/* ============================================
   MOBILE VIEWPORT LOCK (must stay last)
   ============================================ */
.site-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden !important;
    max-width: 100%;
  }

  body {
    overflow-x: hidden !important;
    max-width: 100%;
    width: 100%;
  }

  .site-shell {
    overflow-x: hidden !important;
  }

  .site-shell > * {
    max-width: 100%;
  }

  .impact::after,
  .btn--shine::after,
  .tribal-border::after {
    display: none !important;
  }

  .page-hero__logo,
  .hero__visual,
  .hero__orbs,
  .hero__scroll {
    display: none !important;
  }

  .nav__logo {
    width: 84px;
    height: 84px;
  }

  .nav__title {
    font-size: 0.95rem;
  }

  .header {
    overflow: hidden;
  }

  .hero,
  .page-hero,
  .impact,
  .footer,
  .section,
  .cta-banner {
    overflow-x: hidden !important;
  }

  img,
  video,
  svg,
  iframe {
    max-width: 100%;
  }

  .hero__slide__photo {
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  .home-events .story-section__title {
    width: 100%;
    padding: 0 4px;
  }

  .home-events .story-section__intro {
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .nav__title {
    display: none;
  }

  .nav__brand {
    gap: 0;
  }
}

/* PayID / bank transfer instructions */
.payment-instructions-wrap {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.payment-instructions {
  background: var(--color-surface-alt, #f8f6f2);
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.payment-instructions h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.payment-instructions__intro,
.payment-instructions__gst,
.payment-instructions__footer {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}

.payment-instructions__grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.payment-instructions__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.payment-instructions__row:last-child {
  border-bottom: none;
}

.payment-instructions__label {
  flex: 0 0 7rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-muted, #666);
}

.payment-instructions__value {
  flex: 1 1 auto;
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  word-break: break-all;
}

.payment-instructions__copy {
  flex-shrink: 0;
}

.payment-instructions--muted {
  opacity: 0.95;
}

.booking-portal__form,
.membership-portal__form {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .payment-instructions {
    padding: 1rem;
  }

  .payment-instructions__label {
    flex: 0 0 100%;
  }

  .payment-instructions__value {
    flex: 1 1 100%;
  }
}

/* ============================================
   Site-wide visual polish (all public pages)
   ============================================ */

body.page-sub {
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(184, 134, 75, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(62, 43, 31, 0.04), transparent 45%),
    var(--cream);
}

body.page-sub .section {
  position: relative;
}

/* Page heroes ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ richer depth on every sub-page */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(184, 134, 75, 0.18), transparent 55%),
    linear-gradient(165deg, #3a2a1f 0%, var(--brown-900) 45%, #1a120c 100%);
}

.page-hero .section__tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(184, 134, 75, 0.2);
  border: 1px solid rgba(212, 165, 116, 0.35);
  color: var(--tan-light);
  letter-spacing: 0.14em;
}

.page-hero__title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-hero__desc {
  color: rgba(250, 247, 242, 0.82);
}

/* Section headings ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ gold accent underline */
.story-section__title,
.section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.story-section__title::after,
.section__header .section__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tan), rgba(184, 134, 75, 0.25));
}

.section__header .section__title::after {
  left: 0;
  transform: none;
}

body.page-sub .section__tag:not(.page-hero .section__tag) {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(184, 134, 75, 0.1);
  border: 1px solid rgba(184, 134, 75, 0.2);
}

/* Buttons ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ warmer gradient primary */
.btn--primary {
  background: linear-gradient(135deg, var(--brown-800) 0%, var(--brown-700) 100%);
  box-shadow: 0 4px 16px rgba(61, 43, 31, 0.22);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--brown-700) 0%, var(--tan) 100%);
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.28);
}

/* Program cards */
.program-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(0);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tan), var(--brown-700));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 75, 0.3);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card__icon {
  background: linear-gradient(135deg, var(--brown-800), var(--brown-700));
  box-shadow: 0 6px 16px rgba(61, 43, 31, 0.25);
}

/* Event cards */
.event-card {
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-card__date-pill {
  background: linear-gradient(135deg, rgba(42, 31, 23, 0.92), rgba(61, 43, 31, 0.85));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 165, 116, 0.25);
}

/* Leadership cards */
.leader-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.leader-card__avatar {
  background: linear-gradient(135deg, var(--tan-light), var(--tan));
  box-shadow: 0 4px 14px rgba(184, 134, 75, 0.35);
  border: 3px solid var(--white);
}

/* Mission / vision panels */
.mv-panel {
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mv-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tan), transparent);
}

.mv-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* City tags on About */
.city-tag {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.city-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 134, 75, 0.2);
}

.about__quote {
  border-left: 4px solid var(--tan);
  background: linear-gradient(135deg, #fffdf8, var(--white));
  box-shadow: var(--shadow);
}

.about__image-frame {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* CTA banners */
.cta-banner {
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(184, 134, 75, 0.15), transparent 50%),
    linear-gradient(135deg, var(--brown-900) 0%, var(--brown-800) 50%, #2a1f17 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

/* Events timeline */
.events-timeline {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.events-timeline__item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.events-timeline__item:last-child {
  margin-bottom: 0;
}

.events-timeline__month {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(184, 134, 75, 0.12);
  color: var(--brown-800);
}

/* Gallery */
.gallery-album,
.gallery-group {
  border-radius: var(--radius-lg);
}

.gallery-album__header,
.gallery-group__header {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.gallery-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

/* Contact page */
.contact__info {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact__form input,
.contact__form textarea,
.form__group input,
.form__group textarea,
.form__group select {
  background: linear-gradient(180deg, #fdfbf8, var(--cream));
  border: 1px solid var(--cream-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact__form input:focus,
.contact__form textarea:focus,
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--tan);
  box-shadow: 0 0 0 3px rgba(184, 134, 75, 0.18);
}

/* Join / book portals */
.membership-portal,
.booking-portal {
  background: transparent;
}

.membership-portal__layout,
.booking-portal__grid {
  gap: 2rem;
}

.membership-portal__sidebar,
.booking-portal__summary {
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-lg);
}

.membership-portal__form-wrap,
.booking-portal__form-wrap {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
}

.membership-portal__benefits li {
  transition: transform 0.15s ease;
}

.membership-portal__benefits li:hover {
  transform: translateX(4px);
}

/* Login hub (legacy) */
.signin-hub__card {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
}

/* Legal pages */
.legal-content__body {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.legal-content__body h2 {
  font-family: var(--font-display);
  color: var(--brown-800);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cream-dark);
  margin-top: 1.75rem;
}

/* AILCD apply */
.ailcd-apply .card {
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

/* Footer subtle top glow on sub pages */
.page-sub .footer {
  position: relative;
}

.page-sub .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.35), transparent);
}

@media (max-width: 768px) {
  .program-card:hover,
  .event-card:hover,
  .leader-card:hover {
    transform: none;
  }
}

/* ============================================
   Community hub pages ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ welfare, sports, business
   ============================================ */

.hub-intro {
  padding-top: 0;
}

.hub-intro__text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--brown-700);
  text-align: center;
}

.hub-section--alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hub-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--brown-600);
  padding: 2rem;
  background: var(--white);
  border: 1px dashed var(--cream-dark);
  border-radius: var(--radius-lg);
}

.hub-vlog__grid,
.hub-news__grid,
.hub-events__grid,
.hub-adverts__grid,
.hub-investments__grid {
  display: grid;
  gap: 1.5rem;
}

.hub-vlog__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.hub-news__grid,
.hub-adverts__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.hub-events__grid,
.hub-investments__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.hub-vlog-card,
.hub-news-card,
.hub-event-card,
.hub-advert-card,
.hub-investment-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-vlog-card:hover,
.hub-news-card:hover,
.hub-event-card:hover,
.hub-advert-card:hover,
.hub-investment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hub-vlog-card__embed {
  position: relative;
  padding-top: 56.25%;
  background: var(--brown-900);
}

.hub-vlog-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hub-vlog-card__thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hub-vlog-card__thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-vlog-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  background: rgba(42, 31, 23, 0.45);
}

.hub-vlog-card__body,
.hub-news-card__body,
.hub-event-card__body,
.hub-advert-card__body,
.hub-investment-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.hub-vlog-card__date,
.hub-news-card__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.5rem;
}

.hub-vlog-card h3,
.hub-news-card h3,
.hub-event-card h3,
.hub-advert-card h3,
.hub-investment-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-800);
  margin-bottom: 0.5rem;
}

.hub-vlog-card p,
.hub-news-card p,
.hub-event-card p,
.hub-advert-card p,
.hub-investment-card p {
  color: var(--brown-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hub-vlog-card__link,
.hub-news-card__link,
.hub-advert-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brown-800);
}

.hub-news-card__media,
.hub-event-card__media,
.hub-advert-card__media,
.hub-investment-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hub-news-card__media img,
.hub-event-card__media img,
.hub-advert-card__media img,
.hub-investment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-event-card__pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(42, 31, 23, 0.88);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
}

.hub-event-card__status,
.hub-investment-card__status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.hub-event-card__status--upcoming,
.hub-investment-card__status--open {
  background: rgba(123, 201, 154, 0.2);
  color: #2d6a4f;
}

.hub-event-card__status--past,
.hub-investment-card__status--closed {
  background: rgba(184, 134, 75, 0.15);
  color: var(--brown-700);
}

.hub-event-card__location {
  font-size: 0.875rem;
  color: var(--tan);
  margin-bottom: 0.35rem;
}

.hub-advert-card__category {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown-800);
  font-size: 0.75rem;
  font-weight: 600;
}

.hub-advert-card__email {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--brown-700);
}

.hub-investment-card__meta {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--brown-700);
}

.hub-investment-card__meta li + li {
  margin-top: 0.25rem;
}

.page-hub--welfare .page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(232, 140, 140, 0.15), transparent 55%),
    linear-gradient(165deg, #3a2a1f 0%, var(--brown-900) 45%, #1a120c 100%);
}

.page-hub--sports .page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(123, 201, 154, 0.18), transparent 55%),
    linear-gradient(165deg, #3a2a1f 0%, var(--brown-900) 45%, #1a120c 100%);
}

.page-hub--business .page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(212, 165, 116, 0.22), transparent 55%),
    linear-gradient(165deg, #3a2a1f 0%, var(--brown-900) 45%, #1a120c 100%);
}

@media (max-width: 768px) {
  .hub-vlog-card:hover,
  .hub-news-card:hover,
  .hub-event-card:hover,
  .hub-advert-card:hover,
  .hub-investment-card:hover {
    transform: none;
  }
}

/* Welfare membership ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ packages, portal, dashboard */
.welfare-packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.welfare-package-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.welfare-package-card--highlight {
  border-color: rgba(184, 134, 75, 0.45);
  box-shadow: var(--shadow-lg);
}

.welfare-package-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--tan);
  color: var(--brown-900);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.welfare-package-card h3 {
  font-family: var(--font-display);
  color: var(--brown-800);
  margin-bottom: 0.35rem;
}

.welfare-package-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-800);
  margin-bottom: 0.75rem;
}

.welfare-package-card__desc {
  color: var(--brown-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.welfare-package-card__benefits {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.welfare-package-card__benefits li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--brown-700);
}

.welfare-package-card__benefits li::before {
  content: 'ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ';
  position: absolute;
  left: 0;
  color: var(--tan);
  font-weight: 700;
}

.welfare-portal__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.welfare-portal__card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.welfare-portal__card--signin {
  background: linear-gradient(165deg, var(--brown-900), #2a1f17);
  color: var(--cream);
  border-color: rgba(212, 165, 116, 0.25);
}

.welfare-portal__card--signin h2,
.welfare-portal__card--signin p,
.welfare-portal__card--signin .form-hint {
  color: rgba(250, 247, 242, 0.92);
}

.welfare-portal__card--signin .form-hint {
  opacity: 0.75;
}

.welfare-portal__signin-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(212, 165, 116, 0.2);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center / 28px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center / 28px no-repeat;
  background-color: var(--tan-light);
}

.welfare-portal__signin-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.welfare-portal__signin-features li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.welfare-portal__signin-features li::before {
  content: 'ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ¢';
  position: absolute;
  left: 0;
  color: var(--tan-light);
}

.welfare-portal__fee {
  font-weight: 700;
  color: var(--brown-800);
  margin: 1rem 0 0.25rem;
}

.welfare-portal__success {
  color: #2d6a4f;
  margin-top: 1rem;
}

.welfare-portal__error {
  color: #b42318;
  margin-top: 1rem;
}

.welfare-form .form-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.welfare-form .form__group--full {
  grid-column: 1 / -1;
}

.members-card--alert {
  border-left: 4px solid var(--tan);
  background: linear-gradient(135deg, #fffdf8, var(--white));
}

.members-welfare-alert {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.members-welfare-alert:last-of-type {
  border-bottom: 0;
}

.members-welfare-alert__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 140, 140, 0.15);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 20px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 20px no-repeat;
  background-color: #e88c8c;
}

.members-welfare-alert__time {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.members-welfare-request {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.members-welfare-request:last-child {
  border-bottom: 0;
}

.members-welfare-request__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.members-welfare-request__date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.members-welfare-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.members-welfare-progress li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--brown-600);
  border: 1px solid var(--cream-dark);
}

.members-welfare-progress li.is-done {
  background: rgba(123, 201, 154, 0.15);
  color: #2d6a4f;
  border-color: rgba(123, 201, 154, 0.35);
}

.members-welfare-progress li.is-active {
  background: rgba(184, 134, 75, 0.15);
  color: var(--brown-800);
  border-color: var(--tan);
}

.members-welfare-progress--declined {
  color: #b42318;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .welfare-portal__layout {
    grid-template-columns: 1fr;
  }

  .welfare-form .form-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ========== Taunet-style glass auth ========== */
.page-auth-glass {
  margin: 0;
  min-height: 100svh;
  font-family: 'Outfit', system-ui, sans-serif;
  background: #1a120c;
  color: #fff;
}

.auth-glass {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 72px;
  overflow: hidden;
}

.auth-glass__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px);
  transform: scale(1.04);
}

.auth-glass__veil {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.42);
}

.auth-glass__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 22px 24px 28px;
  border-radius: 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.auth-glass__logo-link {
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
}

.auth-glass__logo-link img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  border: 2px solid rgba(255,255,255,0.45);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.auth-glass__title,
.auth-glass__lead,
.auth-glass__field label,
.auth-glass__footer {
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

.auth-glass__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
}

.auth-glass__tab {
  flex: 1;
  padding: 9px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.auth-glass__tab.is-active {
  background: linear-gradient(90deg, #d4822a, #a85a18);
  color: #fff;
  box-shadow: 0 6px 16px rgba(168,90,24,0.4);
}

.auth-glass__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-glass__lead {
  margin: 0 0 22px;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-glass__field {
  margin-bottom: 14px;
}

.auth-glass__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

.auth-glass__field input {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #2a1f17;
  font: inherit;
}

.auth-glass__password {
  position: relative;
}

.auth-glass__password input {
  padding-right: 48px;
}

.auth-glass__eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #6b5b4f;
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-glass__forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.auth-glass__link {
  border: 0;
  background: none;
  color: #f0b15a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.auth-glass__link:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-glass__inline {
  border: 0;
  background: none;
  color: #f0b15a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-glass__link:hover,
.auth-glass__footer a:hover {
  text-decoration: underline;
}

.auth-glass__submit {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #e08a2f, #b45d16);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(180,93,22,0.35);
}

.auth-glass__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-glass__submit--secondary {
  background: rgba(255,255,255,0.12);
  box-shadow: none;
  border: 1px solid rgba(240,177,90,0.45);
  margin-top: 8px;
}

.auth-glass__error,
.auth-glass__success {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.auth-glass__error {
  background: rgba(180,40,40,0.25);
  border: 1px solid rgba(255,160,160,0.35);
  color: #ffe0e0;
}

.auth-glass__success {
  background: rgba(40,120,70,0.28);
  border: 1px solid rgba(140,220,170,0.35);
  color: #e6ffe0;
}

.auth-glass__footer {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.auth-glass__footer a {
  color: #f0b15a;
  font-weight: 600;
  text-decoration: none;
}

.auth-glass__panel[hidden] { display: none !important; }

.auth-glass__join-fee {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.auth-glass__join-fee-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 650;
}

.auth-glass__join-period {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.85;
}

.auth-glass__join-fee p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}

.auth-glass__roles {
  display: grid;
  gap: 10px;
}

.auth-glass__role {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.auth-glass__role:hover {
  background: rgba(255,255,255,0.18);
}

.auth-glass__role-label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.auth-glass__role-desc {
  display: block;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
}

.auth-glass__details {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.9);
}

.auth-glass__details summary {
  cursor: pointer;
  font-weight: 600;
  color: #f0b15a;
}

.auth-glass__details[open] summary {
  margin-bottom: 10px;
}

.auth-glass__help-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #3d2b1f;
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
}

.auth-glass__help-fab:hover {
  background: #523828;
}


/* ========== Members app shell (Taunet-like) ========== */
.page-members-app {
  margin: 0;
  min-height: 100svh;
  background: #f4efe8;
  font-family: 'Outfit', system-ui, sans-serif;
  color: #2a1f17;
}

.members-app {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100svh;
}

.members-app__sidebar {
  background: linear-gradient(180deg, #3d2b1f 0%, #2a1f17 100%);
  color: #fff;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.members-app__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 12px;
  text-decoration: none;
  color: #fff;
}

.members-app__brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.members-app__brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.members-app__brand span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.members-app__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.members-app__nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.86);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.members-app__nav-btn:hover {
  background: rgba(255,255,255,0.08);
}

.members-app__nav-btn.is-active {
  background: rgba(212,165,116,0.22);
  color: #fff;
  box-shadow: inset 3px 0 0 #e08a2f;
}

.members-app__nav-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  opacity: 0.9;
}

.members-app__nav-ico--dash {
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 5px 0 0 currentColor;
}

.members-app__nav-ico--events::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.members-app__nav-ico--events::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  top: 3px;
  height: 1.5px;
  background: currentColor;
}

.members-app__nav-ico--member {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.members-app__nav-ico--vote {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.members-app__nav-ico--vote::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(40deg);
}

.members-app__nav-ico--feed {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.members-app__nav-ico--feed::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
}

.members-app__nav-ico--photos {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.members-app__nav-ico--photos::after {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.members-app__nav-ico--res {
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 0 0;
  height: 0.85rem;
  margin-top: 0.2rem;
}

.members-app__nav-ico--welfare {
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  width: 0.85rem;
  height: 0.85rem;
  margin: 0.1rem 0.1rem 0 0;
}

.members-app__topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.members-app__badge--active {
  background: #e8f6ee;
  color: #1f7a45;
}

.members-app__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7a6c;
}

.members-welcome-card h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.members-welcome-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #5c4c40;
}

.members-welcome-meta p {
  margin: 0;
}

.members-welcome-meta span:first-child {
  color: #8a7a6c;
}

.members-welcome-meta__welfare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.members-welcome-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(192, 120, 48, 0.12);
  color: #3d2b1f;
}

.members-welcome-note p {
  margin: 0 0 8px;
}

.members-home-block {
  margin-top: 14px;
}

.members-home-block__text {
  margin: 0 0 12px;
  color: #6b5b4f;
  font-size: 0.92rem;
}

.members-text-link {
  border: 0;
  background: none;
  color: #8f4e16;
  font: inherit;
  font-weight: 650;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

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

.members-announcements {
  display: grid;
  gap: 12px;
}

.members-announcement {
  padding: 12px 0;
  border-bottom: 1px solid rgba(42,31,23,0.08);
}

.members-announcement:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.members-announcement h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.members-announcement p {
  margin: 0;
  color: #6b5b4f;
  font-size: 0.9rem;
}

.members-announcement__meta {
  font-size: 0.78rem;
  color: #8a7a6c;
  margin-bottom: 4px;
}

.members-booking-note {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(180, 120, 90, 0.12);
  color: #5c4c40;
  font-size: 0.9rem;
}

.members-event-cards--scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.members-event-cards--scroll .members-event-card {
  flex: 0 0 min(320px, 82vw);
  scroll-snap-align: start;
}

.members-event-tabs__btn.is-active {
  background: linear-gradient(135deg, #c9792b, #8f4e16);
  border-color: transparent;
  color: #fff;
}

.members-app__side-foot {
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.members-app__signout {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.members-app__main {
  padding: 22px 24px 40px;
  min-width: 0;
}

.members-app__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.members-app__topbar h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.members-app__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.members-app__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f6ee;
  color: #1f7a45;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.members-app__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3d2b1f;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.members-app__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 14px;
  margin-bottom: 14px;
}

.members-app__card {
  background: #fff;
  border: 1px solid rgba(42,31,23,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(42,31,23,0.05);
}

.members-app__card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.members-app__quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.members-app__quick a,
.members-app__quick button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.members-app__quick-primary {
  background: linear-gradient(135deg, #c9792b, #8f4e16);
  color: #fff;
  border: 0;
}

.members-app__quick-outline {
  background: #fff;
  color: #3d2b1f;
  border: 1px solid rgba(61,43,31,0.18);
}

.members-app__menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .members-app {
    grid-template-columns: 1fr;
  }
  .members-app__sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }
  .members-app.is-nav-open .members-app__sidebar {
    transform: translateX(0);
  }
  .members-app__menu-toggle {
    display: inline-flex;
    border: 1px solid rgba(61,43,31,0.2);
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .members-app__grid {
    grid-template-columns: 1fr;
  }
}

/* Members event RSVP cards */
.members-event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.members-event-tabs__btn {
  border: 1px solid rgba(61,43,31,0.15);
  background: #fff;
  color: #6b5b4f;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

.members-event-tabs__btn.is-active {
  background: #3d2b1f;
  border-color: #3d2b1f;
  color: #fff;
}

.members-event-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.members-event-card {
  border: 1px solid rgba(42,31,23,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42,31,23,0.05);
}

.members-event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #efe7dc;
}

.members-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.members-event-card__pill {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(42,31,23,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.members-event-card__body {
  padding: 14px;
}

.members-event-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.members-event-card__meta,
.members-event-card__summary {
  margin: 0 0 8px;
  color: #6b5b4f;
  font-size: 0.88rem;
}

.members-event-card__actions {
  display: grid;
  gap: 10px;
}

.members-event-card__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c9792b, #8f4e16);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.members-event-card__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.members-event-card__share a,
.members-event-card__copy {
  border: 1px solid rgba(61,43,31,0.15);
  background: #faf7f2;
  color: #3d2b1f;
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.members-panel__footer-link {
  margin: 14px 0 0;
}

.members-panel__footer-link a {
  color: #8f4e16;
  font-weight: 650;
}

@media (max-width: 800px) {
  .members-event-cards { grid-template-columns: 1fr; }
}

/* Meet & Greet feedback ÃÂÃÂ plain tick boxes only */
.feedback-flyer {
  margin: 0 0 24px;
  padding: 0;
}

.feedback-flyer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1.5px solid var(--cream-dark);
  box-shadow: 0 12px 32px rgba(42, 31, 23, 0.12);
}

.feedback-form {
  padding: 28px 24px;
}

.feedback-welcome {
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.feedback-welcome p {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
}

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

.feedback-q {
  border: none;
  margin: 0 0 28px;
  padding: 0;
}

.feedback-q legend {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-900);
  margin-bottom: 12px;
  padding: 0;
}

.feedback-req {
  color: var(--red-accent);
}

.feedback-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.feedback-form .form-hint {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feedback-tick {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.feedback-tick:hover {
  border-color: var(--tan);
  background: var(--white);
}

.feedback-tick:has(input:checked) {
  border-color: var(--tan);
  background: rgba(184, 134, 75, 0.12);
}

.feedback-tick input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brown-700);
  cursor: pointer;
}

.feedback-form .form__error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(139, 0, 0, 0.08);
  color: var(--red-accent);
  font-size: 0.9rem;
}
