/* ==========================================================================
   MECA — Multicultural Educational Centre of Australia
   Emerald & gold Islamic aesthetic · bilingual EN/AR · RTL-aware
   ========================================================================== */

:root {
  --emerald-950: #06231b;
  --emerald-900: #0a3227;
  --emerald-800: #0f4433;
  --emerald-700: #155e45;
  --emerald-100: #dcebe3;
  --emerald-50:  #eef5f0;

  --gold-600: #b08a34;
  --gold-500: #c8a24b;
  --gold-300: #e6c87e;
  --gold-100: #f6ecd4;

  --ivory: #f8f5ec;
  --paper: #fffdf7;
  --ink: #20261f;
  --ink-soft: #4b544c;
  --line: #e4ddcb;

  --font-head: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23c8a24b' stroke-opacity='0.13'%3E%3Crect x='25' y='25' width='34' height='34'/%3E%3Crect x='25' y='25' width='34' height='34' transform='rotate(45 42 42)'/%3E%3Ccircle cx='42' cy='42' r='5'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-emerald: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%230f4433' stroke-opacity='0.055'%3E%3Crect x='25' y='25' width='34' height='34'/%3E%3Crect x='25' y='25' width='34' height='34' transform='rotate(45 42 42)'/%3E%3Ccircle cx='42' cy='42' r='5'/%3E%3C/g%3E%3C/svg%3E");

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(6, 35, 27, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(6, 35, 27, 0.22);
  --shadow-lg: 0 30px 70px -20px rgba(6, 35, 27, 0.35);
  --header-h: 76px;
}

html[lang="ar"] {
  --font-head: "Amiri", "Cormorant Garamond", serif;
  --font-body: "Noto Naskh Arabic", "Amiri", serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

html[lang="ar"] body { font-size: 1.125rem; line-height: 1.95; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--emerald-900);
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 { line-height: 1.5; }

img, svg { display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section-tinted { background: var(--emerald-50); background-image: var(--pattern-emerald); }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: var(--emerald-900); color: #fff; padding: .6rem 1.1rem;
  border-radius: 0 0 10px 10px; z-index: 200; text-decoration: none;
  transition: top .25s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Shared decorative elements ---------- */
.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .9rem;
}
.kicker::before { content: "✦ "; letter-spacing: 0; }
.kicker-light { color: var(--gold-300); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; text-transform: none; }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section-intro { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.08rem; }
.section-head-side { text-align: start; margin: 0; }

.ornament { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.2rem; }
.section-head-side .ornament { justify-content: flex-start; }
.ornament span { display: block; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold-500), transparent); }
.ornament i {
  width: 9px; height: 9px; background: var(--gold-500);
  transform: rotate(45deg); flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 2.1rem;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
html[lang="ar"] .btn { letter-spacing: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--emerald-950);
  box-shadow: 0 10px 26px -8px rgba(200, 162, 75, .65);
}
.btn-gold:hover { box-shadow: 0 16px 34px -8px rgba(200, 162, 75, .8); }

.btn-outline-light {
  border: 1.5px solid rgba(248, 245, 236, .55);
  color: var(--ivory);
}
.btn-outline-light:hover { background: rgba(248, 245, 236, .12); border-color: var(--ivory); }

.btn-emerald {
  background: var(--emerald-800); color: var(--ivory);
  box-shadow: 0 10px 26px -10px rgba(15, 68, 51, .7);
}
.btn-emerald:hover { background: var(--emerald-700); }

.text-link {
  display: inline-block; margin-top: 1.6rem;
  color: var(--emerald-700); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: .15rem;
  transition: color .2s ease, border-color .2s ease;
}
.text-link:hover { color: var(--gold-600); border-color: var(--gold-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(6, 35, 27, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 162, 75, .18);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(6, 35, 27, .92); box-shadow: 0 8px 30px rgba(0,0,0,.25); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ivory); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.mark-bg { fill: rgba(200, 162, 75, .14); }
.mark-star { stroke: var(--gold-500); stroke-width: 2.4; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .12em; color: var(--ivory);
}
.brand-text small { font-size: .68rem; color: var(--gold-300); letter-spacing: .06em; }
html[lang="ar"] .brand-text strong,
html[lang="ar"] .brand-text small { letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.6rem); }
.nav-link {
  position: relative;
  color: rgba(248, 245, 236, .82);
  text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding-block: .4rem;
  transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: center;
  transition: transform .28s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-300); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-donate {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--emerald-950) !important;
  padding: .45rem 1.2rem; border-radius: 999px; font-weight: 600;
}
.nav-donate::after { display: none; }
.nav-donate:hover { color: var(--emerald-950) !important; filter: brightness(1.06); }

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

.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1.5px solid rgba(200, 162, 75, .55);
  color: var(--gold-300);
  border-radius: 999px;
  padding: .42rem 1rem;
  font-size: .92rem; font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}
.lang-toggle:hover { background: rgba(200, 162, 75, .16); border-color: var(--gold-300); }
.icon-globe { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ivory); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(21, 94, 69, .85), transparent 65%),
    linear-gradient(160deg, var(--emerald-950) 0%, var(--emerald-900) 55%, #0d3a2c 100%);
  color: var(--ivory);
  overflow: hidden;
  text-align: center;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: var(--pattern-gold);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-block: 4rem 2.5rem; }

.medallion {
  width: clamp(96px, 14vw, 140px);
  color: var(--gold-500);
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 22px rgba(200, 162, 75, .35));
}
.medallion g { stroke: currentColor; stroke-width: 2; }
.medallion-ring { transform-origin: 100px 100px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-kicker {
  font-size: clamp(.78rem, 1.6vw, .95rem);
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 600;
  margin-bottom: 1rem;
}
html[lang="ar"] .hero-kicker { letter-spacing: .05em; text-transform: none; font-size: 1.05rem; }

.hero-title {
  font-size: clamp(3.1rem, 9vw, 6.4rem);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.05;
  text-wrap: balance;
}
.hero-alt {
  font-family: "Amiri", serif;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  color: var(--gold-300);
  margin-top: .9rem;
  direction: rtl;
}
html[lang="ar"] .hero-alt { font-family: "Inter", system-ui, sans-serif; direction: ltr; font-size: clamp(.95rem, 2vw, 1.15rem); letter-spacing: .04em; }

.hero-subtitle {
  max-width: 620px;
  margin-top: 1.4rem;
  color: rgba(248, 245, 236, .78);
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-wrap: balance;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.4rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 162, 75, .28);
}
.stat { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stat dt { order: 2; font-size: .82rem; color: rgba(248, 245, 236, .6); margin-top: .35rem; }
.stat dd {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700; color: var(--gold-300);
}

.scroll-cue {
  position: relative; z-index: 1;
  align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding-bottom: 1.6rem;
  color: rgba(248, 245, 236, .55);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
html[lang="ar"] .scroll-cue { letter-spacing: 0; text-transform: none; }
.scroll-cue:hover { color: var(--gold-300); }
.scroll-cue svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Director's message ---------- */
.message-section { background: var(--paper); background-image: var(--pattern-emerald); }
.message-grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.message-body { position: relative; }
.message-body::before {
  content: "“";
  position: absolute;
  top: -3.2rem; inset-inline-start: -1.2rem;
  font-family: var(--font-head);
  font-size: 7rem; line-height: 1;
  color: var(--gold-500); opacity: .35;
  pointer-events: none;
}
.message-body blockquote p { font-size: 1.13rem; color: var(--ink-soft); }
.message-body blockquote p + p { margin-top: 1.1rem; }
.message-body blockquote p:first-child::first-letter {
  font-family: var(--font-head);
  font-size: 3.4em; line-height: .85;
  float: inline-start;
  padding-inline-end: .5rem;
  color: var(--emerald-700);
}
html[lang="ar"] .message-body blockquote p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }

.message-body figcaption { margin-top: 1.8rem; padding-inline-start: 1.2rem; border-inline-start: 3px solid var(--gold-500); }
.signature { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--emerald-900); }
.credentials { display: block; margin-top: .25rem; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Vision cards ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.vision-grid { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-700));
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card:hover::after { opacity: 1; }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--emerald-800), var(--emerald-950));
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(200, 162, 75, .35);
}
.card-icon svg { width: 30px; height: 30px; stroke: var(--gold-300); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.32rem; margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--ink-soft); }

/* ---------- Plans / stages ---------- */
.stages { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.stage {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stage:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stage-feature { background: linear-gradient(170deg, var(--emerald-900), var(--emerald-950)); border-color: rgba(200,162,75,.35); }
.stage.stage-feature p, .stage.stage-feature li { color: rgba(248,245,236,.82); }

.stage-head { margin-bottom: 1.1rem; }
.stage-num {
  display: inline-block;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  padding: .28rem .85rem;
  margin-bottom: .9rem;
}
html[lang="ar"] .stage-num { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.stage-feature .stage-num { color: var(--gold-300); }
.stage-head h3 { font-size: 1.55rem; }
.stage-feature h3 { color: var(--ivory); }
.stage-cost {
  display: block; margin-top: .4rem;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: var(--emerald-700);
}
.stage-feature .stage-cost { color: var(--gold-300); }
.stage p { color: var(--ink-soft); font-size: .99rem; }

.floors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.3rem; }
.floor h4 {
  font-size: 1.02rem; color: var(--gold-300);
  padding-bottom: .45rem; margin-bottom: .7rem;
  border-bottom: 1px solid rgba(200, 162, 75, .35);
}
.floor ul { display: grid; gap: .55rem; }
.floor li { position: relative; padding-inline-start: 1.25rem; font-size: .92rem; }
.floor li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .52em;
  width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg);
}

/* ---------- Status (dark) ---------- */
.section-dark {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(21, 94, 69, .7), transparent 60%),
    linear-gradient(150deg, var(--emerald-950), var(--emerald-900));
  color: var(--ivory);
  overflow: hidden;
}
.section-dark .hero-pattern { -webkit-mask-image: none; mask-image: none; opacity: .55; }
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--ivory); }
.section-dark .section-intro { color: rgba(248,245,236,.75); }

.status-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.status-text { font-size: 1.1rem; color: rgba(248,245,236,.82); }

.progress-card {
  background: rgba(248, 245, 236, .05);
  border: 1px solid rgba(200, 162, 75, .3);
  border-radius: var(--radius);
  padding: 2.2rem;
  backdrop-filter: blur(6px);
}
.progress-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.pfig-label { display: block; font-size: .78rem; color: rgba(248,245,236,.6); margin-bottom: .3rem; min-height: 2.2em; }
.pfig-num { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ivory); }
.pfig-raised { color: var(--gold-300); }

.progress-track {
  height: 14px; border-radius: 999px;
  background: rgba(248, 245, 236, .12);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.progress-fill {
  height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  box-shadow: 0 0 14px rgba(200, 162, 75, .6);
  transition: width 1.8s cubic-bezier(.22,.8,.3,1);
}
.progress-pct { margin: .7rem 0 1.5rem; font-weight: 600; color: var(--gold-300); }

/* ---------- Portfolio ---------- */
.track-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .9rem 2.2rem;
  max-width: 1020px; margin-inline: auto;
}
.track-list li {
  display: flex; align-items: flex-start; gap: .85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .95rem 1.15rem;
  font-size: .97rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.track-list li:hover { transform: translateY(-3px); border-color: var(--gold-300); }
.tick { position: relative; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--emerald-800); }
.tick::after {
  content: ""; position: absolute; left: 6px; top: 4.5px;
  width: 5px; height: 9px;
  border: solid var(--gold-300); border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ---------- Donate ---------- */
.donate-section .section-intro { max-width: 640px; margin-inline: auto; }

.quote-cards { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.4rem; margin-bottom: 1.6rem; }
.quote-card {
  position: relative;
  background: rgba(248, 245, 236, .05);
  border: 1px solid rgba(200, 162, 75, .3);
  border-radius: var(--radius);
  padding: 2.3rem 2.1rem 1.8rem;
  overflow: hidden;
}
.quote-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.quote-text {
  font-family: var(--font-head);
  font-size: 1.28rem; line-height: 1.6;
  color: var(--gold-100);
}
html[lang="ar"] .quote-text { font-size: 1.45rem; line-height: 2; }
.quote-card cite {
  display: block; margin-top: 1.1rem;
  font-style: normal; font-size: .88rem; font-weight: 600;
  color: var(--gold-300); letter-spacing: .05em;
}
html[lang="ar"] .quote-card cite { letter-spacing: 0; }

.bank-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
}
.bank-card h3 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.bank-rows { display: grid; }
.bank-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem .2rem;
  border-bottom: 1px dashed var(--line);
}
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { font-size: .9rem; color: var(--ink-soft); }
.bank-row dd { font-weight: 600; color: var(--emerald-900); display: inline-flex; align-items: center; gap: .6rem; }
.copy-btn {
  font-size: .74rem; font-weight: 600;
  color: var(--emerald-700);
  border: 1px solid var(--emerald-700);
  border-radius: 999px;
  padding: .22rem .75rem;
  transition: background .2s ease, color .2s ease;
}
.copy-btn:hover { background: var(--emerald-800); color: var(--ivory); border-color: var(--emerald-800); }
.copy-btn.copied { background: var(--gold-500); border-color: var(--gold-500); color: var(--emerald-950); }
.bank-note { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
.bank-note:first-of-type { color: var(--emerald-700); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
  display: grid; gap: .25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.contact-card svg { width: 30px; height: 30px; stroke: var(--emerald-700); stroke-width: 1.7; margin-bottom: .6rem; }
.contact-label { font-size: .85rem; color: var(--ink-soft); }
.contact-card strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--emerald-900); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem;
}
.contact-form > * { min-width: 0; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.field > * { min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: var(--emerald-900); }
.field input, .field textarea {
  font: inherit;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(200, 162, 75, .18);
}
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--emerald-950), #04170f);
  color: rgba(248,245,236,.75);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.site-footer .hero-pattern { opacity: .35; -webkit-mask-image: none; mask-image: none; }
.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.brand-footer { margin-bottom: 1.1rem; }
.footer-about p { font-size: .95rem; max-width: 380px; }
.site-footer h4 {
  color: var(--gold-300); font-size: 1.05rem; margin-bottom: 1rem;
}
.footer-links, .footer-orgs { display: grid; gap: .55rem; align-content: start; }
.footer-links a, .footer-orgs a {
  color: rgba(248,245,236,.7); text-decoration: none; font-size: .95rem;
  transition: color .2s ease;
  width: fit-content;
}
.footer-links a:hover, .footer-orgs a:hover { color: var(--gold-300); }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(200, 162, 75, .18);
  padding-block: 1.4rem;
  font-size: .85rem;
  text-align: center;
  color: rgba(248,245,236,.5);
}

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.8,.3,1); }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .medallion-ring, .scroll-cue svg { animation: none; }
  .progress-fill { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .stages { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .quote-cards { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .message-grid { grid-template-columns: 1fr; }
  .section-head-side { text-align: center; margin-inline: auto; }
  .section-head-side .ornament { justify-content: center; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset-inline: 0; top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 35, 27, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 162, 75, .25);
    padding: .6rem 4vw 1.2rem;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { padding: .8rem .4rem; border-bottom: 1px solid rgba(248,245,236,.08); font-size: 1.02rem; }
  .nav-link::after { display: none; }
  .nav-donate { text-align: center; margin-top: .8rem; padding: .8rem; border-bottom: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid > * { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-text small { display: none; }
  .track-list { grid-template-columns: 1fr; }
  .floors { grid-template-columns: 1fr; }
  .progress-figures { grid-template-columns: 1fr; gap: .6rem; }
  .pfig-label { min-height: 0; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bank-row { flex-direction: column; align-items: flex-start; gap: .35rem; }
}
