/* ==========================================================================
   Fundacja Stosz Group — Editorial Cycling & Community Design System
   Domain: https://stoszgroup.com
   ========================================================================== */

:root {
  --bg: #f7f6f2;
  --bg-tinted: #eeece4;
  --surface: #ffffff;
  --ink: #13251e;
  --ink-muted: #4b5c54;
  --ink-light: #e9eee9;
  --dark-bg: #101e18;
  --dark-surface: #182c24;
  --accent: #d9481e;
  --accent-hover: #be3b15;
  --accent-soft: #fdece6;
  --forest: #1f4637;
  --border: rgba(19, 37, 30, 0.11);
  --border-dark: rgba(247, 246, 242, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 24px rgba(19, 37, 30, 0.06);
  --shadow-md: 0 18px 48px rgba(19, 37, 30, 0.11);
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: min(100% - 2.2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(217, 72, 30, 0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--bg-tinted);
  border-color: rgba(19, 37, 30, 0.28);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
}

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

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-text span {
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.16s ease;
}
.main-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-tinted);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0 9px;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.35rem;
  gap: 0.65rem;
}

.mobile-nav-inner a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.35rem 0;
}

.mobile-email {
  margin-top: 0.5rem;
  padding-top: 0.75rem !important;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono) !important;
  font-size: 0.9rem !important;
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(580px, 84vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16, 30, 24, 0.92) 0%, rgba(16, 30, 24, 0.72) 52%, rgba(16, 30, 24, 0.38) 100%),
    linear-gradient(0deg, rgba(16, 30, 24, 0.92) 0%, rgba(16, 30, 24, 0.15) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #f3f1ea;
  margin-bottom: 1.35rem;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 72, 30, 0.3);
}

.hero h1 {
  color: #fff;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  color: rgba(247, 246, 242, 0.86);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 62ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.84rem;
  color: rgba(247, 246, 242, 0.72);
}

/* Sections */
.section {
  padding: clamp(4rem, 7vw, 6.25rem) 0;
}

.section-tinted {
  background: var(--bg-tinted);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--ink-light);
}

.section-dark h2,
.section-dark h3,
.section-dark strong {
  color: #fff;
}

.section-dark p {
  color: rgba(233, 238, 233, 0.82);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.editorial-photo {
  margin: 0;
  background: var(--surface);
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.editorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.editorial-photo figcaption {
  padding: 0.85rem 0.4rem 0.2rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.registry-card {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.registry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e4f3ea;
  color: #155c39;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.reg-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.reg-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* Leadership */
.leadership-block {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.rep-note {
  max-width: 460px;
  font-size: 0.85rem;
  background: var(--bg-tinted);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--forest);
  margin: 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.person-card {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 18px rgba(19, 37, 30, 0.14);
}

.person-avatar.accent {
  background: var(--accent);
}

.person-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.person-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.person-card p {
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.person-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.person-meta a {
  color: var(--forest);
  font-weight: 500;
}
.person-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Statute Drawer */
.statute-drawer {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.statute-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.35rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.statute-toggle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.statute-toggle small {
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.statute-toggle .chevron {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tinted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.statute-toggle[aria-expanded="true"] .chevron {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.statute-list {
  margin: 0;
  padding: 0 1.65rem 1.75rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2.25rem;
  padding-top: 1.4rem;
}

.statute-list[hidden] {
  display: none;
}

.statute-list li {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Flagship Event */
.event-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.event-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffb199;
  background: rgba(217, 72, 30, 0.22);
  border: 1px solid rgba(217, 72, 30, 0.45);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.event-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-highlights li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  font-size: 0.93rem;
  color: rgba(233, 238, 233, 0.88);
}

.event-highlights strong {
  color: #fff;
  margin-right: 0.35rem;
}

.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.event-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-visual > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.event-venue-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
}

.event-venue-strip img {
  width: 108px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.event-venue-strip span {
  display: block;
  font-size: 0.72rem;
  color: #ffb199;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.event-venue-strip strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
  display: block;
}

/* Support / Donations */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.donate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.donate-card.featured {
  background: linear-gradient(155deg, #13251e 0%, #1c3a2d 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.donate-card.featured h3,
.donate-card.featured strong {
  color: #fff;
}

.donate-card.featured p {
  color: rgba(247, 246, 242, 0.82);
}

.donate-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  margin-bottom: 1.15rem;
}

.donate-badge.secondary {
  background: var(--bg-tinted);
  color: var(--ink);
}

.bank-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.bank-meta strong {
  display: block;
  font-size: 0.9rem;
}

.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}

.donate-card.featured .copy-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.copy-label {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.donate-card.featured .copy-label {
  color: rgba(247, 246, 242, 0.7);
}

.copy-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.donate-card.featured .copy-value {
  color: #fff;
  font-size: 1.12rem;
}

.copy-btn {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

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

.donate-footnote {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.83rem;
  margin-bottom: 0;
}

.donate-footnote a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.65rem 0 1.35rem;
}

.c-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.c-card:last-child {
  grid-column: 1 / -1;
}

.c-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.c-primary {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.c-link {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.c-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.c-text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink);
}

.map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

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

.map-ext {
  display: inline-block;
  padding: 0.65rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--forest);
}
.map-ext:hover {
  color: var(--accent);
}

/* Form Card */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  box-shadow: var(--shadow-md);
}

.form-desc {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 72, 30, 0.14);
  background: #fff;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin: 1rem 0 1.35rem;
  cursor: pointer;
}

.checkbox-field input {
  margin-top: 0.22rem;
  accent-color: var(--accent);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.3em;
  color: var(--forest);
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: rgba(247, 246, 242, 0.78);
  padding: 3.75rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(247, 246, 242, 0.68);
  font-size: 0.87rem;
  max-width: 52ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-cols h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
}

.footer-cols a:hover,
.link-btn:hover {
  color: #ffb199;
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.83rem;
  color: rgba(247, 246, 242, 0.56);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(16, 30, 24, 0.68);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(100%, 620px);
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.65rem;
  border-bottom: 1px solid var(--border);
}

.modal-head h3 {
  margin: 0;
}

.modal-close {
  border: 0;
  background: var(--bg-tinted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}

.modal-body {
  padding: 1.5rem 1.65rem 1.75rem;
  font-size: 0.93rem;
}

.modal-body a {
  color: var(--accent);
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 400;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border-left: 4px solid var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .about-grid,
  .event-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }
  .header-inner {
    gap: 0.6rem;
    min-height: 66px;
  }
  .brand {
    gap: 0.55rem;
    min-width: 0;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .brand-text strong {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .brand-text span {
    font-size: 0.68rem;
  }
  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .lang-btn {
    padding: 0.25rem 0.48rem;
    font-size: 0.7rem;
  }
  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 0 8px;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars-grid,
  .statute-list,
  .contact-cards,
  .bank-meta,
  .form-actions,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .person-card {
    flex-direction: column;
  }
  .donate-card,
  .contact-form-card {
    padding: 1.45rem;
  }
}
