/* ===================================
   JP2JPC – Main Stylesheet
   =================================== */

:root {
  --primary:   #e07b39;   /* orange – buttons, CTAs */
  --secondary: #899c89;   /* sage green – accents, tags */
  --accent:    #a31621;   /* crimson */
  --dark:      #1e3d1a;   /* dark green – footer, headers, hover */
  --light:     #f5f8f4;   /* very light sage tint */
  --gold:      #c8a200;   /* gold – decorative underlines */
  --gray:       #6c757d;
  --white:      #ffffff;

  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:  'Merriweather', Georgia, serif;
  --radius:     0.5rem;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --transition: .3s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: #2d2d2d;
  background: var(--white);
  line-height: 1.7;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.3;
}

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--secondary); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ---------- Navbar ---------- */
.navbar-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 25px;
}

.navbar-main {
  background: #ffffff !important;
  box-shadow: 0 2px 16px rgba(30,61,26,.12);
  padding: .6rem 0;
}

.navbar-main .navbar-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--dark) !important;
  font-weight: 700;
  letter-spacing: .02em;
}

.navbar-main .nav-link {
  color: #333333 !important;
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .8rem !important;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--primary) !important;
  background: rgba(224,123,57,.08);
}

.navbar-main .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 200px;
}
.navbar-main .dropdown-item {
  color: #333333;
  font-size: .9rem;
}
.navbar-main .dropdown-item:hover {
  background: rgba(224,123,57,.10);
  color: var(--primary);
}

.btn-nav-donate {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 700;
  border-radius: 2rem !important;
  padding: .4rem 1.2rem !important;
  border: none;
}

.btn-nav-donate:hover {
  background: var(--dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #4a6b4a 0%, #899c89 60%, #6f8f6f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.6);
  color: var(--white);
  padding: .3rem 1rem;
  border-radius: 2rem;
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 800;
}

.hero h1 span { color: var(--white); }

.hero .lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ---------- Section Utilities ---------- */
.section-py     { padding: 5rem 0; width: 100%; margin-left: 0; margin-right: 0; }
.section-py-sm  { padding: 3rem 0; width: 100%; margin-left: 0; margin-right: 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .8rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--secondary);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

/* ---------- Cards ---------- */
.card-jp2 {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-jp2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}

.card-jp2 .card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-jp2 .card-body { padding: 1.4rem; }

.card-jp2 .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

/* ---------- Focus Area Cards ---------- */
.focus-card {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.13);
}

.focus-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--light);
}

/* ---------- Impact Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, #899c89, #4a6b4a);
  color: var(--white);
  padding: 4rem 0;
}

.stat-item { text-align: center; padding: 1.5rem; }

.stat-value {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- News Cards ---------- */
.news-date {
  font-size: .8rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-category-badge {
  font-size: .75rem;
  padding: .2rem .7rem;
  border-radius: 2rem;
  background: var(--light);
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Events ---------- */
.event-date-box {
  min-width: 70px;
  text-align: center;
  padding: .7rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
}

.event-date-box .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-box .month {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .15rem;
}

.event-card-row {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.event-card-row:hover { transform: translateX(4px); }

/* ---------- Donation Tiers ---------- */
.tier-card {
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}

.tier-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(135deg, #f5f8f4, #e8f0e6);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(200,162,0,.25);
}

.tier-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tier-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-head);
}

.tier-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .8rem;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: .9rem;
  margin: 1rem 0;
}

.tier-card ul li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 800;
  margin-right: .5rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--secondary);
  opacity: .3;
  position: absolute;
  top: -.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Partners ---------- */
.partners-section { background: var(--light); }

/* Legacy strip (kept for compatibility) */
.partners-strip { background: var(--light); padding: 3rem 0; }
.partner-logo {
  max-height: 55px;
  filter: grayscale(80%);
  opacity: .7;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* New partner cards */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #e5e9e5;
  border-radius: var(--radius);
  padding: 1.4rem 1rem 1rem;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  height: 100%;
  text-align: center;
}
.partner-card:hover {
  box-shadow: 0 8px 28px rgba(30,61,26,.12);
  transform: translateY(-4px);
  border-color: var(--secondary);
  text-decoration: none;
}
.partner-logo-img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: .8;
  transition: filter .3s ease, opacity .3s ease;
}
.partner-card:hover .partner-logo-img {
  filter: grayscale(0);
  opacity: 1;
}
.partner-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
  margin: .7rem 0 0;
  line-height: 1.3;
}

/* ---------- Buttons ---------- */
.btn-primary-jp2 {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 2rem;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-primary-jp2:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,61,26,.35);
}

.btn-secondary-jp2 {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 2rem;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-secondary-jp2:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-donate {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 2rem;
  padding: .75rem 2.2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
}

.btn-donate:hover {
  background: #7a1018;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163,22,33,.35);
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, #4a6b4a 0%, #899c89 100%);
  padding: 5rem 0 3.5rem;
  color: var(--white);
}

.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }

.breadcrumb-item { color: rgba(255,255,255,.65); }
.breadcrumb-item.active { color: var(--secondary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-item a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--white); }

/* ---------- Team ---------- */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-6px); }

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light);
  margin: 0 auto 1rem;
  display: block;
}

.team-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: var(--font-head);
}

/* ---------- Contact ---------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--light);
  margin-bottom: 1rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer-main {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}

.footer-main h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}

.footer-main h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--transition);
  font-size: .9rem;
}
.footer-links a:hover { color: var(--primary); }

/* ---------- Impact Cards (About page) ---------- */
.impact-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,61,26,.10);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(30,61,26,.18);
}
.impact-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.impact-card-img--icon {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.impact-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,61,26,.55) 0%, transparent 60%);
}
.impact-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
}
.impact-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .25rem;
}
.impact-label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.impact-desc {
  font-size: .88rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 991px) {
  .impact-card-img { height: 140px; }
  /* History full-bleed split stacks on mobile */
  .history-img-col { min-height: 260px !important; }
}

/* ---------- Why the Name section (full-width, image right) ---------- */
.why-name-section {
  width: 100%;
  overflow: hidden;
}
.why-name-text-col {
  background: linear-gradient(135deg, #f5f8f4 0%, #eef3ee 100%);
}
.why-name-inner {
  padding: 5rem 4rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.why-name-img-col {
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.why-name-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(245,248,244,.18) 0%, transparent 40%);
}
.why-name-icon {
  width: 72px;
  height: 72px;
  background: rgba(224,123,57,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-name-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #3a3a3a;
  margin-top: 1.2rem;
}
@media (max-width: 991px) {
  .why-name-inner { padding: 3rem 1.5rem; max-width: 100%; margin: 0; }
  .why-name-img-col { min-height: 320px; }
}

/* ---------- PDF Download Box ---------- */
.pdf-download-box {
  background: #fff8f4;
  border: 1px solid rgba(224,123,57,.3);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.pdf-icon {
  width: 52px;
  height: 52px;
  background: rgba(224,123,57,.12);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: all var(--transition);
  margin-right: .5rem;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: .85rem;
  text-align: center;
  color: rgba(255,255,255,.45);
}

/* ---------- Utilities ---------- */
.bg-light-jp2 { background: var(--light); }
.text-primary-jp2 { color: var(--primary) !important; }
.text-secondary-jp2 { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }

.divider-primary {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  width: 60px;
  margin: 1rem 0 1.5rem;
}

.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Pagination ---------- */
.page-link { color: var(--primary); border-radius: var(--radius); margin: 0 2px; }
.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- Alerts / Messages ---------- */
.alert-success-jp2 {
  background: #eafaf1;
  border-left: 4px solid var(--secondary);
  color: #1e8449;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

/* ---------- Back to Top ---------- */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  cursor: pointer;
  z-index: 999;
  transition: all var(--transition);
}

#backToTop.show { display: flex; }
#backToTop:hover { background: var(--dark); transform: translateY(-3px); }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark), #2d5c2a);
  padding: 4rem 0;
  color: var(--white);
}

.newsletter-section h2,
.newsletter-section p,
.newsletter-section label { color: var(--white); }

/* ---------- Hero Slider (Ken Burns outzoom) ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
}

/* Each slide: absolutely stacked, crossfade via opacity */
.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  /* outzoom: start slightly zoomed in, animate out */
  transform: scale(1.12);
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}

.hs-slide.active {
  opacity: 1;
  animation: hsOutzoom 7s ease-out forwards;
}

@keyframes hsOutzoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

/* Dark overlay for text legibility */
.hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,40,20,.38) 0%,
    rgba(20,40,20,.55) 60%,
    rgba(10,20,10,.72) 100%
  );
  z-index: 1;
}

/* Hero text on top of slides */
.hs-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hs-content,
.hs-content h1,
.hs-content h1 span,
.hs-content .hero-badge,
.hs-content .lead {
  color: var(--white) !important;
}
.hs-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .55rem;
}

.hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  display: block;
}

.hs-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Scroll indicator sits inside slider */
.hero-slider .hero-scroll-indicator {
  z-index: 3;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider { height: 75vh; min-height: 420px; }
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
  .hero { min-height: 75vh; }
  .stat-value { font-size: 2.2rem; }
  .tier-card.featured { transform: none; }
  .event-card-row { flex-direction: column; }
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS & WARM MOTION FEEL
   ══════════════════════════════════════════ */

/* ── Page-load transition ── */
body { opacity: 0; transition: opacity .5s ease; }
body.page-loaded { opacity: 1; }

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes warmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,123,57,.22); }
  50%       { box-shadow: 0 0 0 10px rgba(224,123,57,0); }
}

/* ── Reveal base (elements start hidden) ── */
.reveal-ready {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1),
              transform .65s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Per-element directional hints ── */
.focus-card.reveal-ready,
.tier-card.reveal-ready    { transform: translateY(28px) scale(.97); }
.team-card.reveal-ready    { transform: translateY(20px) scale(.96); }
.stat-item.reveal-ready    { transform: scale(.85); }
.section-title.reveal-ready { transform: translateY(18px); }

/* ── Cards: warm hover lift ── */
.focus-card,
.card-jp2,
.event-card-row,
.tier-card,
.team-card,
.testimonial-card {
  transition:
    transform .35s cubic-bezier(.25,.8,.25,1),
    box-shadow .35s cubic-bezier(.25,.8,.25,1),
    border-color .35s ease;
  border-bottom: 3px solid transparent;
}
.focus-card:hover,
.card-jp2:hover,
.event-card-row:hover,
.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(30,61,26,.14), 0 4px 12px rgba(224,123,57,.12);
  border-bottom-color: var(--secondary);
}
.tier-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 54px rgba(30,61,26,.18);
}
.focus-card:hover .focus-icon,
.card-jp2:hover .card-icon {
  animation: warmPulse 1s ease-in-out infinite;
}

/* ── Stat items: golden accent appear ── */
.stat-item.revealed {
  animation: zoomIn .6s cubic-bezier(.22,.61,.36,1) both;
}
.stat-item:hover {
  transform: scale(1.04);
  transition: transform .3s ease;
}

/* ── Navbar scrolled warm shadow ── */
.navbar-main.scrolled {
  box-shadow: 0 4px 20px rgba(30,61,26,.25);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

/* ── Hero text warm glow ── */
.hero-title {
  text-shadow: 0 2px 18px rgba(224,123,57,.25);
  animation: fadeUp .9s cubic-bezier(.22,.61,.36,1) both;
}
.hero-subtitle {
  animation: fadeUp .9s .18s cubic-bezier(.22,.61,.36,1) both;
}
.hero-cta {
  animation: fadeUp .9s .34s cubic-bezier(.22,.61,.36,1) both;
}

/* ── Section headings ── */
.section-tag.revealed {
  animation: fadeUp .5s cubic-bezier(.22,.61,.36,1) both;
}
.section-title.revealed {
  animation: fadeUp .6s .06s cubic-bezier(.22,.61,.36,1) both;
}

/* ── Buttons: smooth spring press ── */
.btn {
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    transform .18s cubic-bezier(.34,1.56,.64,1),
    box-shadow .22s ease;
}
.btn:active { transform: scale(.96); }
.btn-primary:hover  { box-shadow: 0 6px 20px rgba(224,123,57,.35); }
.btn-secondary:hover { box-shadow: 0 6px 20px rgba(137,156,137,.35); }

/* ── Links: smooth underline ── */
a {
  transition: color .22s ease, opacity .22s ease;
}

/* ── Warm cursor glow ── */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,57,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transition: transform .05s linear;
  will-change: transform;
}

/* ── Section transitions: warm dividers ── */
section + section {
  border-top: 1px solid rgba(30,61,26,.07);
}

/* ── Image warm hover tint ── */
.team-photo:hover,
.partner-logo:hover {
  filter: brightness(1.08) saturate(1.1);
  transition: filter .35s ease;
}

/* ── Footer links warm hover ── */
.footer-link:hover {
  color: var(--primary) !important;
  padding-left: 6px;
  transition: color .25s ease, padding-left .25s ease;
}

/* ── Responsive: disable cursor glow on touch ── */
@media (hover: none) {
  #cursor-glow { display: none; }
}

