/* LCWA India — home */

:root {
  --ink: #10241f;
  --ink-soft: #3a524b;
  --paper: #f3f6f4;
  --paper-deep: #e4ebe7;
  --teal: #0d4f45;
  --teal-deep: #083830;
  --teal-mid: #176b5c;
  --gold: #c9a24a;
  --gold-soft: #e8d5a3;
  --mist: rgba(243, 246, 244, 0.88);
  --line: rgba(16, 36, 31, 0.12);
  --shadow: 0 24px 60px rgba(8, 56, 48, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(23, 107, 92, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(201, 162, 74, 0.1), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-mid);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

.section-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 246, 244, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .site-nav a {
  color: var(--ink);
}

.site-header.is-scrolled .brand-tag {
  color: var(--ink-soft);
}

.site-header.is-scrolled .brand-mark {
  background: linear-gradient(145deg, var(--teal-mid), var(--gold));
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, #1f8a76, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 28% auto auto;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--gold-soft);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--teal);
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: #d4b05a;
  color: var(--teal-deep);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(243, 246, 244, 0.4);
}

.btn-secondary:hover {
  background: rgba(243, 246, 244, 0.1);
  color: var(--paper);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 56, 48, 0.35), transparent 45%),
    url("https://images.unsplash.com/photo-1509062522246-3755977927db?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat,
    linear-gradient(145deg, #062e28, #0d4f45 45%, #1a6b4f);
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 56, 48, 0.45) 0%, rgba(8, 56, 48, 0.55) 40%, rgba(8, 56, 48, 0.88) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(201, 162, 74, 0.25), transparent 50%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
  max-width: 40rem;
  justify-self: start;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

/* About */
.about {
  padding: 6.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.about h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.about-aside {
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.about-aside blockquote {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
}

.about-aside blockquote p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--teal);
  margin: 0;
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.focus-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Programs */
.programs {
  padding: 0 0 6.5rem;
}

.section-intro {
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  max-width: 16ch;
}

.program-rows {
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.program-row:hover {
  padding-left: 0.5rem;
}

.program-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 650;
}

.program-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.program-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* Impact */
.impact {
  padding: 5.5rem 0;
  background:
    linear-gradient(180deg, rgba(13, 79, 69, 0.06), transparent 40%),
    var(--paper-deep);
}

.impact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.impact h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  max-width: 16ch;
}

.impact-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.impact-panel {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-left: 2px solid var(--teal);
  padding-left: 2rem;
}

.impact-item {
  display: grid;
  gap: 0.2rem;
}

.impact-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.impact-value::after {
  content: "+";
  font-size: 0.55em;
  margin-left: 0.1em;
  color: var(--gold);
}

.impact-label {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Involve */
.involve {
  padding: 5rem 0 6.5rem;
}

.involve-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(201, 162, 74, 0.28), transparent 55%),
    linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.involve-panel .eyebrow {
  color: var(--gold-soft);
}

.involve-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 10ch;
}

.involve-copy p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.85);
}

.involve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(243, 246, 244, 0.85);
  padding: 4rem 0 1.5rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-desc {
  max-width: 28rem;
  color: rgba(243, 246, 244, 0.7);
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-contact a,
.footer-links a {
  text-decoration: none;
  color: rgba(243, 246, 244, 0.85);
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 246, 244, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-bottom a {
  text-decoration: none;
  color: var(--gold-soft);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .impact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .impact-panel {
    border-left: 0;
    border-top: 2px solid var(--teal);
    padding-left: 0;
    padding-top: 1.75rem;
  }

  .program-row {
    grid-template-columns: 3.5rem 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 0;
    right: 0;
    width: min(18rem, 86vw);
    height: 100vh;
    height: 100dvh;
    background: var(--teal-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.1rem;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    color: #fff;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-content {
    padding-bottom: 4rem;
    margin-left: 1.25rem;
  }

  .about,
  .programs,
  .impact,
  .involve {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .involve {
    padding-top: 3rem;
  }

  .involve-panel {
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}
