/* =========================================================
   GHAR GHAR GURUKUL — Landing Page
   Brand tokens sourced from the official Brand Guidelines:
   Emerald Green #014C51 · Salmon #F08E75 · Golden Sand #D99202
   Azure Teal #006C80 · Charcoal #1B1B1B · Pure White #FFFFFF
   Type: Instrument Serif (headlines) · Red Hat Display (body)
   ========================================================= */

:root {
  --emerald: #014C51;
  --emerald-deep: #013A3E;
  --salmon: #F08E75;
  --salmon-soft: #F7B7A6;
  --sand: #D99202;
  --azure: #006C80;
  --charcoal: #1B1B1B;
  --white: #FFFFFF;
  --cream: #FBF0E8;          /* poster background tint */
  --cream-deep: #F6E4D6;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Red Hat Display", "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 12px 40px rgba(1, 76, 81, 0.10);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

h1 em, h2 em { color: var(--salmon); font-style: italic; }

a { color: var(--azure); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }

.btn--salmon {
  background: var(--salmon);
  color: var(--emerald-deep);
  box-shadow: 0 8px 24px rgba(240, 142, 117, .35);
}
.btn--salmon:hover { background: #f39c85; }

.btn--emerald {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(1, 76, 81, .30);
}
.btn--emerald:hover { background: var(--azure); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 14px;
}
.eyebrow--salmon { color: var(--azure); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand__mark { display: grid; place-items: center; color: var(--white); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--salmon);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .02em;
  margin: 2px 0;
}
.brand__tag {
  font-size: .5rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 2px;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--salmon); }
.nav__links a:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.nav__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--salmon);
  color: var(--salmon);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--emerald);
  color: var(--white);
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(110px, 14vw, 170px);
}
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  margin-bottom: 22px;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--salmon);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.88);
  margin: 22px 0 34px;
  max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__arches {
  position: absolute;
  right: 0; bottom: 0;
  width: min(38vw, 340px);
  opacity: .9;
  pointer-events: none;
}
.hero__leaf {
  position: absolute;
  top: 40px; right: min(8vw, 120px);
  animation: sway 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg) translateY(6px); }
}
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 1;
}
.hero__wave svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section__lead {
  max-width: 640px;
  margin: 18px 0 46px;
  font-size: 1.1rem;
  color: #3c3c3c;
}

.section--emerald {
  background: var(--emerald);
  color: var(--white);
}
.section--emerald .eyebrow { color: var(--salmon); }

/* ---------- Cards (Who this is for) ---------- */
.cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); border-top-color: var(--salmon); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(1, 76, 81, .08);
  color: var(--emerald);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--emerald);
  margin-bottom: 8px;
}
.card p { font-size: .95rem; color: #444; }

/* ---------- Philosophy ---------- */
.philosophy {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.philosophy__text p { margin: 16px 0; color: rgba(255,255,255,.88); max-width: 540px; }
.philosophy__highlight { font-size: 1.15rem; }
.philosophy__highlight strong { color: var(--salmon); }
.philosophy__list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.philosophy__list li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: .95rem;
}
.philosophy__list strong { color: var(--salmon-soft); font-weight: 700; }

.philosophy__figure {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(240, 142, 117, .35);
}
.ring--1 { inset: 0; animation: pulse 5s ease-in-out infinite; }
.ring--2 { inset: 12%; border-color: rgba(255,255,255,.22); animation: pulse 5s ease-in-out 1s infinite; }
.ring--3 { inset: 24%; border-color: rgba(217,146,2,.4); animation: pulse 5s ease-in-out 2s infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: .7; }
}
.ring__core {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  width: 58%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.ring__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--salmon);
}
.ring__label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* ---------- Kit ---------- */
.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.kit__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.kit__item::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,142,117,.16), transparent 70%);
}
.kit__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sand);
  display: block;
  margin-bottom: 10px;
}
.kit__item h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--emerald);
  margin-bottom: 8px;
}
.kit__item p { font-size: .95rem; color: #444; }

.kit__cta {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.kit__note {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--azure);
}

.kit__subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--emerald);
  margin: 10px 0 26px;
}
.kit__more {
  margin-top: 20px;
  font-style: italic;
  color: var(--azure);
  font-size: .98rem;
}
.kit__benefits { margin-top: 56px; }
.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.benefits li {
  background: var(--white);
  border-left: 4px solid var(--salmon);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--emerald);
  position: relative;
  padding-left: 48px;
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    linear-gradient(var(--sand), var(--sand)) center / 6px 6px no-repeat,
    rgba(217,146,2,.18);
}

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.founder__quote {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 50px);
  text-align: center;
}
.founder__mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: .5;
  color: var(--salmon);
  display: block;
  margin-bottom: 14px;
}
.founder__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--white);
  line-height: 1.35;
}
.founder__text h2 em {
  display: block;
  font-size: .55em;
  color: var(--salmon);
  margin-top: 8px;
  letter-spacing: .04em;
}
.founder__text p { margin: 16px 0; color: rgba(255,255,255,.88); max-width: 560px; }
.founder__text strong { color: var(--salmon-soft); }

/* ---------- FAQ ---------- */
.container--narrow { max-width: 820px; }
.faq { margin-top: 38px; }
.faq__item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  color: var(--emerald);
  position: relative;
  min-height: 44px;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--salmon);
  transition: transform .25s ease;
}
.faq__item[open] summary { color: var(--azure); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--azure); }
.faq__item summary:focus-visible { outline: 3px solid var(--sand); outline-offset: -3px; border-radius: 14px; }
.faq__item p {
  padding: 0 24px 22px;
  color: #444;
  font-size: .97rem;
}

/* ---------- Band ---------- */
.band {
  background: linear-gradient(120deg, var(--azure), var(--emerald));
  color: var(--white);
  padding: clamp(60px, 8vw, 90px) 0;
}
.band__soon {
  text-align: center;
  max-width: 720px;
}
.band__label {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--salmon-soft);
  margin-bottom: 14px;
}
.band__sub {
  margin-top: 18px;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--emerald-deep);
  color: rgba(255,255,255,.85);
  padding: clamp(60px, 8vw, 90px) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 50px;
  align-items: center;
}
.footer__col--soon { text-align: right; }
.footer__soon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--salmon);
}
.footer__brand .brand__mark--footer { color: var(--white); }
.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 12px;
}
.footer__name span { color: var(--salmon); }
.footer__tagline {
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 4px 0 16px;
}
.footer__about { font-size: .92rem; max-width: 320px; }
.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 14px;
}
.footer__col p { margin-bottom: 10px; font-size: .95rem; }
.footer__col a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
}
.footer__col a:hover { color: var(--salmon); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__leaf, .ring--1, .ring--2, .ring--3 { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .philosophy { grid-template-columns: 1fr; }
  .philosophy__figure { max-width: 300px; }
  .founder { grid-template-columns: 1fr; }
  .founder__quote { order: 2; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--emerald-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 4px;
    display: none;
    box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__badge { margin-top: 14px; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--soon { text-align: left; }
  .hero__leaf { display: none; }
}
