:root {
  --indigo-950: #0f2436;
  --indigo-800: #17324a;
  --indigo-700: #1f4260;
  --teal-600: #2f7c6d;
  --terracotta-500: #c97a43;
  --red-700: #9a342a;
  --cream-50: #f6f1e7;
  --cream-100: #efe7d8;
  --ink-900: #241f19;
  --ink-600: #55503f;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-tibetan: 'Noto Serif Tibetan', 'Microsoft Himalaya', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  overflow-x: hidden;
}


img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-100);
  margin: 0 0 1rem;
  font-weight: 600;
}

.eyebrow-dark {
  color: var(--terracotta-500);
}

/* header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.solid {
  background: rgba(15, 36, 54, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(15, 36, 54, 0.25);
}

.site-header.hide {
  transform: translateY(-110%);
}

.header-inner {
  width: min(1140px, 90%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.brand-text em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--cream-100);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
  line-height: 1;
}

.nav-cta {
  background: var(--terracotta-500);
  color: #fff !important;
  padding: 10px 55px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border: none;
  outline: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(200,102,74,0.3);
}

.nav-cta:focus,
.nav-cta:active {
  outline: none;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--indigo-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200,102,74,0.4);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--terracotta-500);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--indigo-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroCrossfade 24s infinite;
}

.img-one {
  background-image: url('images/ladak9.jpg');
  animation-delay: 0s;
}

.img-two {
  background-image: url('images/ladak10.jfif');
  animation-delay: 6s;
}

.img-three {
  background-image: url('images/ladak11.webp');
  animation-delay: 12s;
}

.img-four {
  background-image: url('images/ladak12.jpg');
  animation-delay: 18s;
}
.new{
  color: #17324a;
}
@keyframes heroCrossfade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% -10%, var(--indigo-700) 0%, var(--indigo-800) 45%, var(--indigo-950) 100%);
  opacity: 0.82;
}

.ridge {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  z-index: 2;
}

.ridge-far {
  height: 34vh;
  background: #24486a;
  opacity: 0.55;
  clip-path: polygon(0% 100%, 0% 60%, 8% 45%, 16% 58%, 24% 35%, 33% 55%, 42% 30%, 50% 52%, 58% 38%, 67% 60%, 76% 42%, 85% 58%, 92% 48%, 100% 62%, 100% 100%);
}

.ridge-mid {
  height: 26vh;
  background: #1a3652;
  opacity: 0.75;
  clip-path: polygon(0% 100%, 0% 70%, 10% 50%, 20% 66%, 30% 42%, 40% 62%, 50% 38%, 60% 60%, 70% 44%, 80% 64%, 90% 48%, 100% 66%, 100% 100%);
}

.ridge-near {
  height: 18vh;
  background: var(--indigo-950);
  clip-path: polygon(0% 100%, 0% 65%, 12% 40%, 25% 62%, 38% 30%, 50% 58%, 62% 34%, 75% 60%, 88% 38%, 100% 60%, 100% 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin: 0.3em 0 0.15em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--terracotta-500);
  margin: 0 0 1.4rem;
}

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--cream-100);
  margin: 0 auto 2.2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--terracotta-500);
  color: #fff;
  box-shadow: 0 10px 26px rgba(201, 122, 67, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(201, 122, 67, 0.45);
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--terracotta-500);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* about */

.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  line-height: 1.85;
  color: var(--ink-600);
  margin: 0 0 1.3rem;
  font-size: 1.02rem;
}

.about-text p:first-of-type {
  color: var(--ink-900);
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fact-card {
  background: var(--cream-100);
  border-left: 3px solid var(--terracotta-500);
  padding: 22px 24px;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(36, 32, 24, 0.08);
}

.fact-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--indigo-800);
  margin-bottom: 4px;
}

.fact-label {
  font-size: 0.88rem;
  color: var(--ink-600);
}

/* project */

.project {
  position: relative;
  padding: 140px 0;
  background-image: linear-gradient(180deg, rgba(15,36,54,0.9), rgba(15,36,54,0.68) 45%, rgba(15,36,54,0.94)), url('images/ladak13.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.project .eyebrow {
  text-align: center;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.manuscript-card {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  background: var(--cream-50);
  padding: 64px 52px 56px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.manuscript-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 50px 90px rgba(0,0,0,0.5);
}

.manuscript-card::before,
.manuscript-card::after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 6px;
  background: repeating-linear-gradient(180deg, var(--terracotta-500) 0 10px, var(--red-700) 10px 20px);
  opacity: 0.7;
}

.manuscript-card::before { left: 14px; }
.manuscript-card::after { right: 14px; }

.manuscript-glyph {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--terracotta-500);
  position: relative;
}

.manuscript-glyph::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--teal-600);
}

.manuscript-tag {
  display: inline-block;
  background: var(--teal-600);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.manuscript-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--indigo-800);
  margin: 0 0 20px;
  line-height: 1.4;
}

.manuscript-card p {
  color: var(--ink-600);
  line-height: 1.8;
  margin: 0;
}

.project-cards .manuscript-card {
  max-width: none;
  margin: 0;
  height: 100%;
  padding: 36px 34px 42px;
  display: flex;
  flex-direction: column;
}

.manuscript-card-link {
  cursor: pointer;
}

.manuscript-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left center;
  border-radius: 10px;
  margin: 0 0 22px;
  box-shadow: 0 12px 24px rgba(36, 32, 24, 0.12);
}

.manuscript-tibetan {
  font-family: var(--font-tibetan);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--indigo-800);
  margin: 0 0 10px !important;
}

.project-cards .manuscript-card h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  flex: 1;
}

@media (max-width: 900px) {
  .project {
    background-attachment: scroll;
  }
}

/* team */
.team-card {
  position: relative;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e0d2;
  box-shadow: 0 4px 14px rgba(36,32,24,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(36,32,24,0.16);
}
.hud{
  color: white;
}
.team-avatar {
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--indigo-700), var(--teal-600));
  position: relative;
  overflow: hidden;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 60%);
}

.team-avatar span {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: #fff;
}

.team-info {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-bio {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--indigo-800), var(--indigo-950));
  color: var(--cream-50);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-bio {
  transform: translateY(0);
}

.team-bio-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team {
  position: relative;
  padding: 130px 0;
   background-image: linear-gradient(180deg, rgba(15,13,10,0.7), rgba(10,9,7,0.62) 40%, rgba(15,13,10,0.72)), url('images/ladak9.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  .team {
    background-attachment: scroll;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-bio-role {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-500);
}

.team-bio p {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--cream-100);
}
/* programs */

.programs {
  position: relative;
  background: var(--cream-100);
  padding: 70px 0;
  overflow: hidden;
}

.programs-glow {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(200,102,74,0.14) 0%, rgba(200,102,74,0) 70%);
  pointer-events: none;
}

.programs-heading {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 2.4rem;
  margin: 0 0 50px;
  position: relative;
  display: inline-block;
}

.programs-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  height: 3px;
  width: 70px;
  background: var(--terracotta-500);
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.programs-heading.in-view::after,
.programs-heading.reveal.in-view::after {
  transform: scaleX(1);
}

.event-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  box-shadow: 0 25px 60px rgba(36,32,24,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.event-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  box-shadow: 0 30px 70px rgba(36,32,24,0.16);
}

.event-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover .event-media img {
  transform: scale(1.14);
}

.event-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--terracotta-500);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200,102,74,0.35);
}

.event-body {
  padding: 46px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.event-main h3 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 1.9rem;
  margin: 0 0 16px;
}

.event-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.speaker-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--indigo-800);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-speaker p {
  color: var(--terracotta-500);
  font-weight: 600;
  margin: 0;
}

.event-overview {
  color: var(--ink-600);
  line-height: 1.85;
  margin: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(36,32,24,0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.event-card.in-view .meta-item:nth-child(1) { transition-delay: 0.15s; }
.event-card.in-view .meta-item:nth-child(2) { transition-delay: 0.3s; }
.event-card.in-view .meta-item:nth-child(3) { transition-delay: 0.45s; }

.event-card.in-view .meta-item {
  opacity: 1;
  transform: translateY(0);
}

.meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--terracotta-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-icon svg {
  width: 18px;
  height: 18px;
}

.event-meta span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin-bottom: 3px;
}

.event-meta strong {
  font-weight: 600;
  color: var(--ink-900);
}

@media (max-width: 860px) {
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-media {
    min-height: 220px;
  }
  .event-body {
    padding: 34px 30px;
  }
}

/* contact */

.contact {
  background: var(--indigo-950);
  color: #fff;
  padding: 110px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 0 0 24px;
  font-weight: 500;
}

.contact address {
  font-style: normal;
  line-height: 1.9;
  color: var(--cream-100);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-details span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-500);
  margin-bottom: 6px;
}

.contact-details a {
  display: inline-block;
  margin-right: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.contact-details a:hover {
  border-color: var(--terracotta-500);
}

/* footer */

.site-footer {
  position: relative;
  background: var(--indigo-950);
  color: var(--cream-100);
  padding: 90px 0 0;
  overflow: hidden;
}

.ridge-footer {
  position: absolute;
  top: -1px;
  left: -10%;
  width: 120%;
  height: 60px;
  background: var(--cream-50);
  clip-path: polygon(0% 0%, 0% 100%, 10% 40%, 20% 90%, 32% 30%, 44% 85%, 56% 35%, 68% 90%, 80% 40%, 92% 88%, 100% 100%, 100% 0%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,231,0.12);
}
.fut{
  line-height: 22px;
}
.footer-brand .footer-mark {
  width: 104px;
  height: 104px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(246,241,231,0.75);
  margin: 0 0 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,231,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-100);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.footer-social a:hover {
  background: var(--terracotta-500);
  border-color: var(--terracotta-500);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-100);
  margin: 0 0 22px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  color: rgba(246,241,231,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: var(--terracotta-500);
  padding-left: 4px;
}

.footer-contact ul {
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(246,241,231,0.75);
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--terracotta-500);
}

.footer-bottom {
  padding: 26px 0 34px;
  text-align: center;
}

.footer-copy {
  color: rgba(246,241,231,0.5);
  font-size: 0.78rem;
  margin: 0;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* responsive */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-meta {
    border-left: none;
    border-top: 1px solid rgba(36,32,24,0.12);
    padding-left: 0;
    padding-top: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(225px, 76%);
        background: var(--indigo-950);
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        padding: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        padding-top: 0px;
        align-items: center;
  }
   .main-nav::before {
    content: '';
        position: absolute;
        top: 10px;
        left: 0px;
        width: 150px;
        height: 150px;
        background-image: url(images/society.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
  }

  .main-nav a {
    width: 100%;
  }

  .nav-toggle {
    z-index: 101;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .about,
  .team,
  .programs,
  .contact,
  .project {
    padding: 80px 0;
  }

  .manuscript-card {
    padding: 40px 26px;
  }

  .event-card {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-height: 760px) {
  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
  }
  .hero-desc {
    margin-bottom: 1.2rem;
  }
}

/* <========about us==========> */

/* <========about us==========> */

.about-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,41,0.55) 0%, rgba(11,26,41,0.85) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.about-hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 0 0 26px;
  line-height: 1.1;
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-hero-tags span {
  border: 1px solid rgba(246,241,231,0.35);
  color: var(--cream-100);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.about-hero-ridge {
  position: absolute;
  bottom: -1px;
  left: -10%;
  width: 120%;
  height: 56px;
  background: var(--cream-100);
  clip-path: polygon(0% 100%, 0% 40%, 10% 90%, 22% 25%, 34% 85%, 46% 30%, 58% 88%, 70% 35%, 82% 92%, 92% 40%, 100% 100%);
  z-index: 1;
}

.about-body {
  background: var(--cream-100);
  padding: 120px 0;
}

.about-body-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.about-body-media {
  position: sticky;
  top: 120px;
}

.about-body-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(36,32,24,0.15);
}

.about-body-card {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--indigo-800);
  color: #fff;
  padding: 20px 26px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(36,32,24,0.25);
}

.about-body-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.about-body-card span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,241,231,0.7);
}

.about-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--ink-900);
  font-weight: 500;
  margin: 0 0 22px;
}

.about-body-text p {
  color: var(--ink-600);
  line-height: 1.85;
  margin: 0 0 20px;
}

.about-pillars {
  background: var(--indigo-950);
  padding: 120px 0;
}

.pillars-heading {
  font-family: var(--font-display);
  color: #fff;
  font-size: 2.2rem;
  margin: 0 0 50px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar-card {
  background: rgba(246,241,231,0.05);
  border: 1px solid rgba(246,241,231,0.12);
  border-radius: 14px;
  padding: 38px 28px;
  text-align: center;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  background: rgba(246,241,231,0.08);
  border-color: var(--terracotta-500);
}

.pillar-card:hover .icon-badge {
  transform: scale(1.1) rotate(-6deg);
}

.pillar-card h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
}

.about-project-teaser {
  background: var(--cream-100);
  padding: 100px 0 70px;
}

.teaser-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.teaser-inner {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 30px 70px rgba(36,32,24,0.12);
}

.teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.teaser-text {
  padding: 50px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teaser-text h2 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 1.7rem;
  line-height: 1.35;
  margin: 0 0 28px;
}

.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terracotta-500);
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: gap 0.3s ease, color 0.3s ease;
}

.teaser-link i {
  transition: transform 0.3s ease;
}

.teaser-link:hover {
  gap: 16px;
  color: var(--indigo-800);
}

.teaser-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .about-body-grid {
    grid-template-columns: 1fr;
  }
  .about-body-media {
    position: static;
  }
  .about-body-card {
    right: 16px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teaser-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* <========reusable icon badge - use on every future page instead of inline svg blocks========> */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--terracotta-500);
  transition: transform 0.4s ease;
}

.icon-badge-sm {
  width: 38px;
  height: 38px;
  background: var(--cream-100);
  font-size: 1rem;
}

.icon-badge-lg {
  width: 58px;
  height: 58px;
  background: rgba(200,102,74,0.15);
  font-size: 1.4rem;
  margin: 0 auto 18px;
}

.icon-badge-ghost {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246,241,231,0.25);
  background: transparent;
  color: var(--cream-100);
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.icon-badge-ghost:hover {
  background: var(--terracotta-500);
  border-color: var(--terracotta-500);
  color: #fff;
  transform: translateY(-3px);
}

.icon-badge-inline {
  width: auto;
  height: auto;
  background: none;
  color: var(--terracotta-500);
  font-size: 1rem;
  margin-top: 2px;
}

/* <========project page==========> */

.project-page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: projectHeroZoom 16s ease-in-out infinite alternate;
}

@keyframes projectHeroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.14); }
}

.project-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,41,0.35) 0%, rgba(11,26,41,0.92) 100%);
}

.project-page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
}

.project-page-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-100);
  font-size: 0.85rem;
  margin-bottom: 30px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.project-page-crumb:hover {
  gap: 14px;
  color: var(--terracotta-500);
}

.project-page-tag {
  display: inline-block;
  background: var(--teal-600);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.project-page-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  max-width: 820px;
  margin: 0;
}

.project-page-ridge {
  position: absolute;
  bottom: -1px;
  left: -10%;
  width: 120%;
  height: 56px;
  background: var(--cream-50);
  clip-path: polygon(0% 100%, 0% 40%, 10% 90%, 22% 25%, 34% 85%, 46% 30%, 58% 88%, 70% 35%, 82% 92%, 92% 40%, 100% 100%);
  z-index: 1;
}

.project-page-overview {
  background: var(--cream-50);
  padding: 120px 0;
}

.project-page-overview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.project-page-overview-media {
  position: sticky;
  top: 120px;
}

.project-page-overview-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(36,32,24,0.15);
}

.project-page-overview-card {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--indigo-800);
  color: #fff;
  padding: 20px 26px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(36,32,24,0.25);
}

.project-page-overview-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.project-page-overview-card span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,241,231,0.7);
}

.project-page-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-900);
  font-weight: 500;
  margin: 0 0 22px;
}

.project-page-overview-heading {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 500;
}

.project-page-overview,
.restore-project {
  scroll-margin-top: 96px;
}

.project-page-overview-text p {
  color: var(--ink-600);
  line-height: 1.85;
  margin: 0 0 20px;
}

.project-page-goals {
  background: var(--cream-100);
  padding: 70px 0;
}

.project-page-goals-heading {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 2.2rem;
  margin: 0 0 50px;
}

.project-page-goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-page-goal-card {
  background: #fff;
  border-radius: 14px;
  padding: 38px 26px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(36,32,24,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-page-goal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(36,32,24,0.12);
}

.project-page-goal-card h3 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.project-page-goal-card p {
  color: var(--ink-600);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.project-page-gallery {
  background: var(--indigo-950);
  padding: 120px 0 100px;
}

.project-page-gallery .eyebrow {
  color: var(--terracotta-500);
}

.project-page-gallery-heading {
  font-family: var(--font-display);
  color: #fff;
  font-size: 2.2rem;
  margin: 0 0 50px;
}

.project-page-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1140px, 90%);
  margin: 0 auto;
}

.project-page-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.project-page-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-page-gallery-item:hover img {
  transform: scale(1.1);
}

.project-page-cta {
  background: var(--terracotta-500);
  padding: 90px 0;
}

.project-page-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.project-page-cta .eyebrow {
  color: rgba(255,255,255,0.8);
}

.project-page-cta-inner h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 14px;
  max-width: 480px;
}
.project-page-cta-inner {
  justify-content: center;
}

.project-page-cta-text {
  color: rgba(255,255,255,0.85);
  max-width: 420px;
  line-height: 1.7;
  margin: 0;
}

.project-page-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.project-page-cta-actions .btn-primary {
  background: var(--indigo-950);
}

.btn-ghost-dark {
  display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1.5px solid rgb(0 0 0 / 50%);
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
    background: black;
}

.btn-ghost-dark:hover {
  background: rgba(15,36,54,0.1);
  transform: translateY(-3px);
}

.restore-project {
  background: var(--cream-50);
  padding: 36px 0 100px;
}

.restore-banner {
  background: #fff;
  padding: 10px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 36px 70px rgba(15, 36, 54, 0.18);
  margin: 0 0 48px;
}

.restore-banner img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.restore-copy {
  max-width: 840px;
  margin: 0 auto;
}

.restore-title-bo {
  font-family: var(--font-tibetan);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  line-height: 1.95;
  color: var(--indigo-800);
  font-weight: 600;
  text-align: center;
  margin: 0 0 12px;
}

.restore-title-en {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--indigo-800);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  margin: 0 0 28px;
}

.restore-copy p {
  color: var(--ink-600);
  line-height: 1.85;
  margin: 0 0 20px;
}

.restore-copy .project-page-lead {
  color: var(--ink-900);
}

.restore-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.restore-partners div {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(36, 32, 24, 0.06);
}

.restore-partners span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-500);
  margin-bottom: 6px;
  font-weight: 600;
}

.restore-partners strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--indigo-800);
  font-size: 1.02rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .project-cards {
    grid-template-columns: 1fr;
  }
  .project-page-overview-grid {
    grid-template-columns: 1fr;
  }
  .project-page-overview-media {
    position: static;
  }
  .project-page-overview-card {
    right: 16px;
  }
  .project-page-goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-page-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .restore-partners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .project-page-goals-grid {
    grid-template-columns: 1fr;
  }
  .project-page-gallery-strip {
    grid-template-columns: 1fr;
  }
  .project-page-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* <========team page==========> */

.team-page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.team-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.team-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,41,0.55) 0%, rgba(11,26,41,0.88) 100%);
}

.team-page-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.team-page-hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin: 0 0 20px;
  line-height: 1.15;
}

.team-page-hero-desc {
  color: var(--cream-100);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

.team-page-hero-ridge {
  position: absolute;
  bottom: -1px;
  left: -10%;
  width: 120%;
  height: 56px;
  background: var(--cream-50);
  clip-path: polygon(0% 100%, 0% 40%, 10% 90%, 22% 25%, 34% 85%, 46% 30%, 58% 88%, 70% 35%, 82% 92%, 92% 40%, 100% 100%);
  z-index: 1;
}

.team-page-body {
  background: var(--cream-50);
  padding: 100px 0 0px;
}

.team-page-body .team-group-title {
  scroll-margin-top: 120px;
}

.team-page-body .team-grid {
  margin-bottom: 70px;
}
/* <========programs page==========> */

.programs-page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.programs-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.programs-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.programs-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,26,41,0.55) 0%, rgba(11,26,41,0.88) 100%);
}

.programs-page-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.programs-page-hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin: 0 0 20px;
  line-height: 1.15;
}

.programs-page-hero-desc {
  color: var(--cream-100);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

.programs-page-hero-ridge {
  position: absolute;
  bottom: -1px;
  left: -10%;
  width: 120%;
  height: 56px;
  background: var(--cream-100);
  clip-path: polygon(0% 100%, 0% 40%, 10% 90%, 22% 25%, 34% 85%, 46% 30%, 58% 88%, 70% 35%, 82% 92%, 92% 40%, 100% 100%);
  z-index: 1;
}

.programs-page-body {
  position: relative;
  background: var(--cream-100);
  padding: 70px 0 70px;
  overflow: hidden;
}
/* <========contact page==========> */

/* <========contact page==========> */

.contact-hero {
  position: relative;
  background: var(--indigo-950);
  padding: 150px 0 80px;
  overflow: hidden;
}

.contact-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.orb-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--terracotta-500), transparent 70%);
  top: -100px;
  left: -80px;
  animation: orbFloat1 14s ease-in-out infinite;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--teal-600), transparent 70%);
  top: 60px;
  right: -60px;
  animation: orbFloat2 18s ease-in-out infinite;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--indigo-700), transparent 70%);
  bottom: -80px;
  left: 40%;
  animation: orbFloat3 16s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 50px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
}

.contact-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(246,241,231,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 30px;
}

.contact-hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.15;
  margin: 0 0 24px;
}

.contact-gradient-text {
  background: linear-gradient(90deg, var(--terracotta-500), #e8b26d, var(--teal-600), var(--terracotta-500));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.contact-hero-desc {
  color: var(--cream-100);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.contact-quick-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: translateY(24px);
}

.contact-quick-card {
  background: rgba(246,241,231,0.12);
  border: 1px solid rgba(246,241,231,0.24);
  border-radius: 18px;
  padding: 40px 30px;
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-quick-card:hover {
  transform: translateY(-10px);
  background: rgba(246,241,231,0.1);
  border-color: var(--terracotta-500);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}

.contact-quick-card h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.contact-quick-card p {
  color: rgba(246,241,231,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.contact-reach {
  background: var(--cream-50);
  padding: 80px 0 90px;
}

.contact-reach-card {
  background: #fff;
  border-radius: 28px;
  padding: 56px 56px 48px;
  box-shadow: 0 30px 70px rgba(36,32,24,0.1);
}

.contact-reach-copy {
  max-width: 640px;
  margin-bottom: 40px;
}

.contact-reach-card h2 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 0 0 14px;
}

.contact-reach-lead {
  color: var(--ink-600);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.contact-reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-reach-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--cream-50);
  border: 1px solid rgba(36,32,24,0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-reach-item:hover {
  transform: translateY(-6px);
  border-color: var(--terracotta-500);
  box-shadow: 0 16px 36px rgba(36,32,24,0.08);
}

.contact-reach-item span:not(.icon-badge) {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-500);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-reach-item strong,
.contact-reach-item strong a {
  display: block;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-reach-item strong a:hover {
  color: var(--terracotta-500);
}

.contact-reach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-action-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 200px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.contact-action-btn:hover::before {
  left: 130%;
}

.contact-action-btn:hover {
  transform: translateY(-3px);
}

.contact-action-btn i {
  font-size: 1.15rem;
}

.contact-action-call {
  background: var(--terracotta-500);
  box-shadow: 0 14px 30px rgba(201,122,67,0.35);
}

.contact-action-call:hover {
  box-shadow: 0 18px 36px rgba(201,122,67,0.45);
}

.contact-action-wa {
  background: #1f8a4c;
  box-shadow: 0 14px 30px rgba(31,138,76,0.32);
}

.contact-action-wa:hover {
  box-shadow: 0 18px 36px rgba(31,138,76,0.42);
}

.contact-form-section {
  background: var(--cream-50);
  padding: 70PX 0 70px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-form-panel {
  background: #fff;
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 30px 70px rgba(36,32,24,0.1);
}

.contact-form-panel h2 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 1.9rem;
  margin: 0 0 34px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(36,32,24,0.2);
  padding: 12px 4px 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: transparent;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta-500);
}

.form-field label {
  position: absolute;
  left: 4px;
  top: 12px;
  color: var(--ink-600);
  font-size: 1rem;
  pointer-events: none;
  transition: transform 0.25s ease, font-size 0.25s ease, color 0.25s ease;
  transform-origin: left top;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px);
  font-size: 0.74rem;
  color: var(--terracotta-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-submit-btn {
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--terracotta-500);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(200,102,74,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.contact-submit-btn:hover::before {
  left: 130%;
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(200,102,74,0.45);
}

.contact-side-panel {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-map-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--indigo-700) 0%, var(--indigo-800) 45%, var(--indigo-950) 100%);
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 56px rgba(36,32,24,0.16);
}

.contact-map-stars {
  position: absolute;
  inset: 0;
}

.contact-map-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: starTwinkle 3s ease-in-out infinite;
}

.contact-map-stars span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.contact-map-stars span:nth-child(2) { top: 30%; left: 28%; animation-delay: 0.4s; }
.contact-map-stars span:nth-child(3) { top: 14%; left: 46%; animation-delay: 0.8s; }
.contact-map-stars span:nth-child(4) { top: 26%; left: 64%; animation-delay: 1.2s; }
.contact-map-stars span:nth-child(5) { top: 12%; left: 80%; animation-delay: 1.6s; }
.contact-map-stars span:nth-child(6) { top: 34%; left: 90%; animation-delay: 2s; }
.contact-map-stars span:nth-child(7) { top: 20%; left: 55%; animation-delay: 0.6s; }
.contact-map-stars span:nth-child(8) { top: 10%; left: 35%; animation-delay: 1.4s; }

@keyframes starTwinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.contact-map-peaks {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
}

.map-pin {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  background: var(--terracotta-500);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.map-pin i {
  transform: rotate(45deg);
  color: #fff;
  font-size: 1rem;
}

.map-pin-pulse {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid var(--terracotta-500);
  animation: mapPulse 2.4s ease-out infinite;
}

@keyframes mapPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.contact-map-label {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 22px;
  color: #fff;
}

.contact-map-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.contact-map-label span {
  font-size: 0.76rem;
  color: rgba(246,241,231,0.7);
}

.contact-side-info {
  background: #fff;
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 46px rgba(36,32,24,0.08);
}
.contact-side-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-side-item span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin-bottom: 3px;
}

.contact-side-item a,
.contact-side-item strong {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 10px;
}

.contact-social-row {
  display: flex;
  gap: 12px;
}

.contact-social-row .icon-badge-ghost {
  border-color: rgba(36,32,24,0.15);
  color: var(--ink-900);
}

.contact-social-row .icon-badge-ghost:hover {
  background: var(--terracotta-500);
  border-color: var(--terracotta-500);
  color: #fff;
}

@media (max-width: 900px) {
  .contact-quick-grid {
    grid-template-columns: 1fr;
    transform: translateY(40px);
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 36px 28px;
  }
  .contact-reach-card {
    padding: 36px 24px 32px;
  }
  .contact-reach-grid {
    grid-template-columns: 1fr;
  }
  .contact-action-btn {
    width: 100%;
  }
}

/* <========donate page==========> */

.donate-hero {
  position: relative;
  background: var(--indigo-950);
  padding: 150px 0 0;
  overflow: hidden;
}

.donate-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 30px;
}

.donate-hero-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.15;
  margin: 0 0 24px;
}

.donate-hero-desc {
  color: var(--cream-100);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

.donate-impact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: translateY(24px);
}

.donate-impact-card {
  background: rgba(246,241,231,0.12);
  border: 1px solid rgba(246,241,231,0.24);
  border-radius: 18px;
  padding: 40px 30px;
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.donate-impact-card:hover {
  transform: translateY(-10px);
  background: rgba(246,241,231,0.1);
  border-color: var(--terracotta-500);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}

.donate-impact-card h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.donate-impact-card p {
  color: rgba(246,241,231,0.75);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.donate-form-section {
  background: var(--cream-50);
  padding: 160px 0 130px;
}

.donate-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.donate-form-panel {
  background: #fff;
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 30px 70px rgba(36,32,24,0.1);
}

.donate-form-panel h2 {
  font-family: var(--font-display);
  color: var(--indigo-800);
  font-size: 1.9rem;
  margin: 0 0 30px;
}

.donate-type-toggle {
  display: inline-flex;
  background: var(--cream-100);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 30px;
}

.donate-type-btn {
  border: none;
  background: transparent;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.donate-type-btn.active {
  background: var(--terracotta-500);
  color: #fff;
}

.donate-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.donate-amount-btn {
  border: 1.5px solid rgba(36,32,24,0.14);
  background: var(--cream-50);
  padding: 16px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-900);
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.donate-amount-btn:hover {
  transform: translateY(-3px);
}

.donate-amount-btn.active {
  background: var(--terracotta-500);
  border-color: var(--terracotta-500);
  color: #fff;
  box-shadow: 0 14px 26px rgba(200,102,74,0.3);
}

.donate-custom-field {
  margin-bottom: 34px;
}

.donate-submit-btn {
  width: 100%;
  justify-content: center;
}

.donate-bank-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 46px rgba(36,32,24,0.08);
}

.donate-bank-card .eyebrow {
  margin-bottom: 18px;
}

.donate-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(36,32,24,0.08);
}

.donate-bank-row:last-of-type {
  border-bottom: none;
}

.donate-bank-row span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-600);
}

.donate-bank-row strong {
  font-size: 0.9rem;
  color: var(--ink-900);
  text-align: right;
}

.donate-bank-note {
  margin: 16px 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--ink-600);
}

@media (max-width: 900px) {
  .donate-impact-grid {
    grid-template-columns: 1fr;
    transform: translateY(40px);
  }
  .donate-form-grid {
    grid-template-columns: 1fr;
  }
  .donate-form-panel {
    padding: 36px 26px;
  }
  .donate-amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
