/* ============================================================
   The Americas Chamber of Commerce  -  v2 visual system
   Atlantic teal / Aurum gold / Mist white
   Fraunces (display) + Archivo (body)
   Signature: the arch (gateway of opportunity) + golden meridian
   ============================================================ */

:root {
  --ink:        #0E2A27;
  --ink-soft:   #46605C;
  --teal:       #0E5A52;
  --teal-deep:  #0A342F;
  --teal-tint:  #ECF4F2;
  --teal-line:  #D3E4E0;
  --gold:       #C79A3B;
  --gold-soft:  #E8C56A;
  --gold-tint:  #FBF3DF;
  --paper:      #FCFBF8;
  --white:      #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --radius: 16px;
  --radius-lg: 26px;
  --arch: 300px 300px 26px 26px;
  --shadow-sm: 0 2px 12px rgba(10, 52, 47, 0.07);
  --shadow-md: 0 16px 40px rgba(10, 52, 47, 0.12);
  --shadow-lg: 0 30px 70px rgba(10, 52, 47, 0.18);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography: pushed contrast ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.36rem; line-height: 1.25; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }
p  { color: var(--ink-soft); }
em { font-style: italic; }
.accent-i { font-style: italic; font-weight: 500; color: var(--gold); }

.lead { font-size: 1.16rem; line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--teal);
  background: var(--white); border: 1px solid var(--teal-line);
  padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.eyebrow-onlight { background: var(--white); }
.eyebrow-ondeep { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--gold-soft); }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head h2 { margin: 20px 0 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal-deep); color: #fff; padding: 10px 18px; z-index: 300; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons: sheen + sliding arrow ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.96rem;
  padding: 16px 32px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateX(120%); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }
.btn .btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--teal-deep); box-shadow: 0 8px 22px rgba(199, 154, 59, 0.4); }
.btn-gold:hover { box-shadow: 0 16px 34px rgba(199, 154, 59, 0.5); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(14, 90, 82, 0.3); }
.btn-teal:hover { background: var(--teal-deep); box-shadow: 0 14px 30px rgba(14, 90, 82, 0.4); }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--teal); border-color: var(--teal-line); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--teal); background: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 248, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(211, 228, 224, 0.55);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 52, 47, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { flex-shrink: 0; transition: transform 0.4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; color: var(--teal-deep); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.26em; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.94rem; position: relative; padding: 6px 0; transition: color 0.25s; }
.site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width 0.35s var(--ease); }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn).active { color: var(--teal-deep); }
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn).active::after { width: 100%; }
.nav-donate { margin-left: 6px; padding: 12px 26px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-deep); margin: 5px 0; border-radius: 2px; transition: 0.3s var(--ease); }

/* ---------- HERO: immersive photographic centerpiece ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  padding: 0;
  color: #fff;
  background: var(--teal-deep);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,52,47,0.55) 0%, rgba(10,52,47,0.18) 34%, rgba(10,52,47,0.72) 82%, rgba(10,52,47,0.92) 100%),
    linear-gradient(100deg, rgba(10,52,47,0.78) 0%, rgba(10,52,47,0.30) 46%, transparent 70%);
}
/* faint meridian field woven into the hero */
.hero-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4; }
.hero-field .meridian-arc { stroke: rgba(232,197,106,0.75); }

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: end;
  padding-bottom: 74px; padding-top: 120px;
}

.hero-copy > * { opacity: 0; transform: translateY(26px); animation: riseIn 0.95s var(--ease) forwards; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.42s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.56s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.hero .eyebrow {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22);
  color: #fff; backdrop-filter: blur(6px);
}
.hero .eyebrow::before { background: var(--gold-soft); }

.hero h1 { color: #fff; margin: 24px 0 22px; max-width: 15ch; text-shadow: 0 2px 30px rgba(10,52,47,0.35); }
.hero h1 .accent-i { position: relative; color: var(--gold-soft); white-space: nowrap; font-weight: 500; }
.hero h1 .accent-i::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.09em;
  background: var(--gold-soft); border-radius: 4px;
  transform: scaleX(0); transform-origin: left; animation: sweepIn 0.9s 1.1s var(--ease) forwards;
}
@keyframes sweepIn { to { transform: scaleX(1); } }

.hero-sub { font-size: 1.2rem; line-height: 1.6; max-width: 560px; margin-bottom: 36px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero .btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

/* Right-side glass proof panel replaces the arch */
.hero-panel {
  opacity: 0; transform: translateY(30px); animation: riseIn 1.1s 0.5s var(--ease) forwards;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-radius: var(--radius-lg); padding: 30px 32px;
  box-shadow: 0 24px 60px rgba(10,52,47,0.35);
}
.hero-panel-lead { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.16); margin-bottom: 22px; }
.hero-panel-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); display: flex; align-items: center; justify-content: center; }
.hero-panel-lead strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.hero-panel-lead span { font-size: 0.84rem; color: rgba(255,255,255,0.75); }
.hero-panel-row { display: flex; align-items: center; gap: 16px; }
.proof-avatars { display: flex; flex-shrink: 0; }
.proof-avatars img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85); margin-left: -12px;
}
.proof-avatars img:first-child { margin-left: 0; }
.hero-panel-row p { font-size: 0.86rem; line-height: 1.45; color: rgba(255,255,255,0.85); }
.hero-panel-row strong { color: #fff; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); text-decoration: none;
}
.hero-scroll span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--gold-soft), transparent); animation: dropLine 1.8s var(--ease) infinite; }
@keyframes dropLine { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 61% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* meridian arc shared keyframes (used by hero field) */
.meridian-arc { fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; opacity: 0.9;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawArc 2.8s 0.7s var(--ease) forwards; }
.meridian-arc.arc2 { stroke-width: 1.2; opacity: 0.5; animation-delay: 1.1s; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }


/* ---------- Section shells & curved transitions ---------- */
.section { position: relative; padding: 110px 0; }
.section-tint { background: var(--teal-tint); }
.section-deep { background: var(--teal-deep); }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep p { color: rgba(255, 255, 255, 0.75); }
.section-gold { background: linear-gradient(180deg, var(--paper), var(--gold-tint) 140%); }
.section-intro {
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(199,154,59,0.06), transparent 60%),
    linear-gradient(180deg, #F6FAF8 0%, var(--paper) 40%);
}

.curve { display: block; width: 100%; height: 90px; margin-bottom: -1px; }
.curve svg { display: block; width: 100%; height: 100%; }

/* faint arc texture for deep sections */
.arc-texture { position: absolute; inset: 0; pointer-events: none; opacity: 0.12; }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.mission-points { list-style: none; margin-top: 30px; }
.mission-points li {
  display: flex; gap: 15px; align-items: flex-start; margin-bottom: 14px;
  color: var(--ink-soft); background: var(--white); border: 1px solid var(--teal-line);
  border-radius: 14px; padding: 15px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.mission-points li:hover { transform: translateX(6px); border-color: var(--gold); }
.mission-points svg { flex-shrink: 0; margin-top: 3px; }
.mission-media { position: relative; }
.mission-media img { border-radius: 26px 300px 26px 26px; box-shadow: var(--shadow-md); height: 500px; width: 100%; object-fit: cover; }
.mission-badge {
  position: absolute; left: -26px; bottom: -26px; background: var(--teal);
  color: #fff; border-radius: 50%; width: 150px; height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); box-shadow: var(--shadow-md); text-align: center;
  border: 6px solid var(--paper);
}
.mission-badge strong { font-size: 2rem; }
.mission-badge span { font-family: var(--font-body); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.85; padding: 0 16px; }
.mission-badge::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px dashed rgba(199, 154, 59, 0.6); animation: spinSlow 26s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-cell { text-align: center; padding: 30px 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); transition: background 0.35s, transform 0.35s var(--ease); }
.stat-cell:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.stat-value {
  font-family: var(--font-display); font-size: clamp(2.7rem, 4.4vw, 4rem); font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, #F3DA9A, var(--gold-soft) 45%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 14px; font-size: 0.92rem; }
.stat-rule { width: 34px; height: 2px; background: rgba(232,197,106,0.5); margin: 16px auto 0; border-radius: 2px; }

/* ---------- Causes: spotlight + grid ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  margin-bottom: 34px; border: 1px solid var(--teal-line);
}
.spotlight-media { position: relative; min-height: 420px; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(255,255,255,0.28)); }
.spotlight-body { padding: 52px 54px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.spotlight-tag::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.spotlight-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.spotlight-body h3 a { color: inherit; text-decoration: none; }
.spotlight-body h3 a:hover { color: var(--teal); }
.spotlight-body > p { font-size: 1.02rem; }

.causes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.causes-grid-3 { grid-template-columns: repeat(3, 1fr); }

.cause-card {
  position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--teal-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.cause-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.cause-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.cause-card:hover::before { transform: scaleX(1); }
.cause-media { position: relative; overflow: hidden; }
.cause-media img { height: 230px; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cause-card:hover .cause-media img { transform: scale(1.06); }
.cause-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,52,47,0.35)); }
.cause-cat {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(252, 251, 248, 0.9); backdrop-filter: blur(6px);
  color: var(--teal-deep); font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; padding: 7px 14px; border-radius: 999px;
}
.cause-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.cause-body h3 { margin-bottom: 10px; }
.cause-body h3 a { color: inherit; text-decoration: none; transition: color 0.25s; }
.cause-body h3 a:hover { color: var(--teal); }
.cause-body p { font-size: 0.95rem; flex: 1; }

.cause-progress { margin: 22px 0 6px; }
.progress-track { height: 8px; background: var(--teal-tint); border-radius: 999px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--gold)); width: 0; transition: width 1.6s var(--ease); position: relative; }
.progress-fill::after { content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); box-shadow: var(--shadow-sm); }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.8rem; margin-top: 11px; color: var(--ink-soft); }
.progress-meta strong { color: var(--teal-deep); }
.cause-actions { display: flex; gap: 12px; margin-top: 22px; }

/* ---------- Why: numbered ledger rows ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-card {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 34px 36px; box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--teal-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px;
  border-radius: 50%; border: 1.5px solid rgba(199,154,59,0.35);
  transition: transform 0.5s var(--ease);
}
.why-card:hover::after { transform: scale(1.25); }
.why-icon {
  width: 60px; height: 60px; border-radius: 50% 50% 16px 16px;
  background: linear-gradient(160deg, var(--teal-tint), #DDEDE9);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  transition: transform 0.4s var(--ease);
}
.why-card:hover .why-icon { transform: translateY(-4px) rotate(-4deg); }
.why-card h3 { margin-bottom: 12px; font-size: 1.22rem; }
.why-card p { font-size: 0.95rem; }

/* ---------- Testimonials: elevated center ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 38px 32px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--teal-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-card.featured {
  background: linear-gradient(170deg, var(--teal), var(--teal-deep)); border: none;
  box-shadow: var(--shadow-md); transform: translateY(-14px);
}
.testi-card.featured:hover { transform: translateY(-20px); }
.testi-card.featured .testi-quote { color: #fff; }
.testi-card.featured .testi-person strong { color: var(--gold-soft); }
.testi-card.featured .testi-person span { color: rgba(255,255,255,0.65); }
.testi-quote { font-family: var(--font-display); font-size: 1.08rem; font-style: italic; color: var(--ink); line-height: 1.58; flex: 1; }
.testi-quote::before { content: '\201C'; display: block; font-size: 3.6rem; line-height: 0.55; color: var(--gold); margin-bottom: 16px; font-style: normal; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); }
.testi-person strong { display: block; font-size: 0.96rem; color: var(--teal-deep); }
.testi-person span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--teal-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-media { position: relative; overflow: hidden; }
.news-card img { height: 210px; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover img { transform: scale(1.05); }
.news-body { padding: 26px 28px 30px; }
.news-meta { display: flex; gap: 12px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 13px; }
.news-meta time { color: var(--ink-soft); }
.news-body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body h3 a:hover { color: var(--teal); }
.news-body p { font-size: 0.92rem; }
.news-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 0.87rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.news-more svg { transition: transform 0.3s var(--ease); }
.news-more:hover { color: var(--teal-deep); }
.news-more:hover svg { transform: translateX(4px); }

/* ---------- CTA: photographic band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 96px 60px; text-align: center; isolation: isolate;
}
.cta-band .cta-photo { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10,52,47,0.93), rgba(14,90,82,0.82)); }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 580px; margin: 0 auto 36px; font-size: 1.06rem; }
.cta-band .arc-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.22; }

/* ---------- Interior pages ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(14, 90, 82, 0.1), transparent 60%),
    linear-gradient(178deg, #F3F8F6, var(--paper));
  padding: 88px 0 68px; border-bottom: 1px solid var(--teal-line);
}
.page-hero h1 { margin: 22px 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero p { max-width: 660px; font-size: 1.1rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--teal-line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.value-card p { font-size: 0.9rem; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--teal-line)); }
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item::before { content: ''; position: absolute; left: -35px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--gold); }
.timeline-item h3 { font-size: 1.14rem; }
.timeline-item .timeline-year { font-weight: 700; color: var(--teal); font-size: 0.8rem; letter-spacing: 0.14em; }
.timeline-item p { font-size: 0.95rem; margin-top: 6px; }

.cause-hero { position: relative; }
.cause-hero img { width: 100%; height: 460px; object-fit: cover; }
.cause-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 52, 47, 0.15), rgba(10, 52, 47, 0.76)); display: flex; align-items: flex-end; }
.cause-hero-overlay .container { padding-bottom: 50px; }
.cause-hero-overlay h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.cause-hero-overlay .cause-cat { position: static; display: inline-block; margin-bottom: 16px; }
.cause-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.cause-content p { margin-bottom: 20px; font-size: 1.04rem; }
.cause-side { position: sticky; top: 116px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 34px; border-top: 4px solid var(--gold); }
.cause-side h3 { margin-bottom: 6px; }
.cause-side .cause-stat { font-size: 0.88rem; color: var(--teal); font-weight: 600; margin-bottom: 20px; }
.cause-side .btn { width: 100%; margin-top: 10px; }

.article-hero img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-body { max-width: 740px; margin: 0 auto; }
.article-body p { margin-bottom: 22px; font-size: 1.07rem; }
.article-head { max-width: 740px; margin: 0 auto 38px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: 16px 0; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--teal-line); transition: border-color 0.3s; }
.faq-item.open { border-color: var(--gold); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 1.03rem; color: var(--ink); padding: 23px 60px 23px 28px; position: relative; }
.faq-q::after { content: '+'; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 28px 26px; font-size: 0.96rem; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info-card { background: linear-gradient(170deg, var(--teal), var(--teal-deep)); color: #fff; border-radius: var(--radius-lg); padding: 42px 38px; box-shadow: var(--shadow-md); }
.contact-info-card h3 { color: #fff; margin-bottom: 22px; }
.contact-info-card ul { list-style: none; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.contact-info-card li svg { flex-shrink: 0; margin-top: 3px; }
.contact-info-card a { color: var(--gold-soft); text-decoration: none; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 44px 42px; border: 1px solid var(--teal-line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 8px; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 17px; border: 1.5px solid var(--teal-line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 90, 82, 0.1); }
.form-alert { border-radius: 12px; padding: 16px 19px; margin-bottom: 22px; font-size: 0.93rem; font-weight: 500; }
.form-alert.success { background: var(--teal-tint); color: var(--teal-deep); border: 1px solid var(--teal-line); }
.form-alert.error { background: #FBEAE7; color: #8A2E1F; border: 1px solid #EFC7BE; }

.donate-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 50px 46px; text-align: center; border-top: 4px solid var(--gold); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.amount-btn { padding: 19px 10px; border: 2px solid var(--teal-line); border-radius: 14px; background: var(--paper); font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--teal-deep); cursor: pointer; transition: 0.25s; }
.amount-btn:hover, .amount-btn.selected { border-color: var(--gold); background: var(--gold-tint); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 50px; }
.footer-arc svg { display: block; width: 100%; height: 76px; }
.footer-body { background: var(--teal-deep); color: rgba(255, 255, 255, 0.75); padding: 24px 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding: 42px 28px 54px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: #fff; margin-bottom: 18px; }
.footer-about p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); }
.footer-founded { margin-top: 14px; color: var(--gold-soft) !important; font-size: 0.85rem !important; }
.footer-col h4 { color: var(--gold-soft); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 0.92rem; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 28px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.52); }
.footer-bottom p { color: inherit; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero-copy > *, .hero-panel { opacity: 1; transform: none; }
  .hero-bg img { animation: none; transform: none; }
  .meridian-arc { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { min-height: 620px; align-items: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; padding-bottom: 90px; align-items: start; }
  .hero-panel { max-width: 460px; }
  .mission-grid, .cause-layout, .contact-layout, .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 320px; }
  .causes-grid, .causes-grid-3, .why-grid, .testi-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card.featured { transform: none; }
  .testi-card.featured:hover { transform: translateY(-6px); }
  .stats-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cause-side { position: static; }
  .hero-scroll { display: none; }
}

@media (max-width: 700px) {
  .section { padding: 76px 0; }
  .causes-grid, .causes-grid-3, .why-grid, .testi-grid, .news-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 64px 28px; }
  .spotlight-body { padding: 36px 28px; }
  .mission-badge { width: 116px; height: 116px; left: 10px; bottom: -18px; }
  .mission-media img { height: 380px; border-radius: 22px 180px 22px 22px; }
  .hero { min-height: 560px; }
  .hero-inner { padding-top: 116px; padding-bottom: 70px; }
  .hero h1 { max-width: none; }
  .hero-panel { padding: 24px 24px; }
  .hero-panel-lead strong { font-size: 1.3rem; }
  .contact-form { padding: 32px 24px; }
  .curve { height: 54px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 88px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--teal-line); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--teal-tint); }
  .nav-donate { margin: 18px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
