:root {
  --ink: #241817;
  --deep: #472132;
  --plum: #6f2443;
  --rose: #b95061;
  --saffron: #d99028;
  --leaf: #315846;
  --mist: #f4f0e9;
  --paper: #fffaf1;
  --line: rgba(36, 24, 23, 0.16);
  --shadow: 0 24px 70px rgba(36, 24, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(36, 24, 23, 0.42);
  color: #fffaf1;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(36, 24, 23, 0.94);
  box-shadow: 0 12px 40px rgba(36, 24, 23, 0.22);
  padding-block: 12px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--saffron);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.84;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffd38f;
  opacity: 1;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: #fffaf1;
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  min-height: 88svh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 28% center;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(36, 24, 23, 0.82) 0%, rgba(71, 33, 50, 0.68) 39%, rgba(36, 24, 23, 0.1) 78%),
    linear-gradient(0deg, rgba(36, 24, 23, 0.45), rgba(36, 24, 23, 0.08));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fffaf1;
  max-width: 780px;
  padding: clamp(140px, 20vh, 210px) clamp(22px, 6vw, 82px) 72px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 700;
}

h2 {
  color: var(--deep);
  font-size: clamp(2.35rem, 5.6vw, 5rem);
  font-weight: 700;
}

h3 {
  color: var(--deep);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

p {
  margin: 0;
}

.hero-copy {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--saffron);
  color: #201311;
}

.button.secondary {
  border-color: rgba(255, 250, 241, 0.58);
  color: #fffaf1;
}

.intro-band {
  background: var(--deep);
  color: #fffaf1;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
}

.metric {
  background: rgba(255, 250, 241, 0.06);
  min-height: 145px;
  padding: clamp(24px, 4vw, 42px);
}

.metric strong {
  color: #ffd38f;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.metric span {
  display: block;
  font-weight: 700;
  margin-top: 14px;
  max-width: 190px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 6vw, 82px);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
}

.section-copy {
  max-width: 820px;
}

.section-copy p:not(.eyebrow) {
  font-size: 1.04rem;
  margin-top: 22px;
  max-width: 720px;
}

.portrait-panel {
  margin: 0;
  position: relative;
}

.portrait-panel img {
  aspect-ratio: 4 / 5;
  border: 12px solid #fff5e0;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.portrait-panel figcaption {
  background: var(--leaf);
  color: #fffaf1;
  font-size: 0.9rem;
  font-weight: 800;
  margin: -42px 24px 0;
  padding: 16px 18px;
  position: relative;
}

.pillars {
  background: #f3e4d1;
}

.section-heading {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading.narrow {
  display: block;
  max-width: 820px;
}

.section-heading.narrow p:not(.eyebrow) {
  font-size: 1.08rem;
  margin-top: 20px;
}

.pillar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.pillar-grid article,
.mantra-card,
.research-notes article,
.quote-grid blockquote {
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(71, 33, 50, 0.12);
  box-shadow: 0 16px 38px rgba(71, 33, 50, 0.08);
}

.pillar-grid article {
  min-height: 270px;
  padding: 28px;
}

.pillar-grid span {
  color: var(--rose);
  display: block;
  font-weight: 900;
  margin-bottom: 42px;
}

.pillar-grid p,
.mantra-card p,
.research-notes p,
.program-card p,
.timeline p,
.quote-grid p {
  color: rgba(36, 24, 23, 0.74);
  margin-top: 14px;
}

.mantra-section {
  background:
    linear-gradient(90deg, rgba(49, 88, 70, 0.08), rgba(185, 80, 97, 0.1)),
    var(--paper);
}

.safto {
  background: var(--paper);
}

.safto-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.safto-grid article,
.recognition-grid article,
.vision-grid article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(36, 24, 23, 0.08);
  padding: 30px;
}

.safto-grid p,
.recognition-grid p,
.vision-grid p {
  color: rgba(36, 24, 23, 0.74);
  margin-top: 14px;
}

.chant-panel {
  background: var(--deep);
  color: #fffaf1;
  margin-top: 22px;
  padding: clamp(26px, 4vw, 42px);
}

.chant-panel p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.12;
  max-width: 1100px;
}

.library-shell {
  margin-top: 40px;
}

.library-toolbar {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 1fr) auto;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: var(--plum);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-field input {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 0 18px;
  width: 100%;
}

.search-field input:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px rgba(111, 36, 67, 0.12);
}

.language-switch,
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-switch {
  justify-content: flex-end;
}

.language-switch button,
.category-filters button {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
}

.language-switch button.is-active,
.category-filters button.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fffaf1;
}

.category-filters {
  margin-top: 16px;
}

.library-grid {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  margin-top: 22px;
}

.mantra-results {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mantra-card {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(36, 24, 23, 0.08);
  cursor: pointer;
  min-height: 210px;
  padding: 24px;
  text-align: left;
}

.mantra-card.is-active {
  background: var(--deep);
  color: #fffaf1;
}

.mantra-card.is-active p,
.mantra-card.is-active span,
.mantra-card.is-active small {
  color: rgba(255, 250, 241, 0.82);
}

.mantra-card:hover {
  transform: translateY(-2px);
}

.mantra-card .sanskrit,
.mantra-detail .sanskrit {
  color: var(--saffron);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.mantra-card h3,
.mantra-detail h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.mantra-card p,
.mantra-detail p,
.mantra-detail li {
  color: rgba(36, 24, 23, 0.74);
}

.mantra-card small {
  color: var(--plum);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mantra-detail {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 42px);
  position: sticky;
  top: 96px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.detail-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.detail-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span {
  background: rgba(49, 88, 70, 0.1);
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 9px;
}

.empty-state {
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
  color: rgba(36, 24, 23, 0.72);
  grid-column: 1 / -1;
  padding: 28px;
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.image-band img {
  aspect-ratio: 1 / 0.72;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.research {
  background: var(--leaf);
  color: #fffaf1;
  display: grid;
  gap: clamp(28px, 6vw, 74px);
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
}

.research h2,
.research h3 {
  color: #fffaf1;
}

.research .section-copy p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.82);
}

.research-notes {
  display: grid;
  gap: 16px;
}

.research-notes article {
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.16);
  box-shadow: none;
  padding: 26px;
}

.research-notes p {
  color: rgba(255, 250, 241, 0.76);
}

.programs {
  background: #fffaf1;
}

.program-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.program-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(36, 24, 23, 0.1);
}

.program-card img {
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  width: 100%;
}

.program-card div {
  padding: 26px;
}

.program-list {
  background: var(--mist);
  border-left: 5px solid var(--saffron);
  margin-top: 24px;
  padding: 26px;
}

.program-list span {
  color: var(--plum);
  display: block;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.program-list p {
  color: rgba(36, 24, 23, 0.76);
  max-width: 980px;
}

.journey {
  background: var(--mist);
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
}

.timeline-copy p:not(.eyebrow) {
  font-size: 1.05rem;
  margin-top: 22px;
}

.timeline {
  border-left: 2px solid rgba(111, 36, 67, 0.2);
  display: grid;
  gap: 24px;
  padding-left: clamp(24px, 4vw, 46px);
}

.timeline article {
  position: relative;
}

.timeline article::before {
  background: var(--rose);
  border: 5px solid var(--mist);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: calc(clamp(24px, 4vw, 46px) * -1 - 10px);
  position: absolute;
  top: 4px;
  width: 18px;
}

.timeline span {
  color: var(--plum);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.testimonials {
  background: #2b1b1d;
  color: #fffaf1;
}

.testimonials h2 {
  color: #fffaf1;
}

.quote-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.quote-grid blockquote {
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.14);
  box-shadow: none;
  margin: 0;
  padding: 30px;
}

.quote-grid p {
  color: #fffaf1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.12;
  margin: 0;
}

.quote-grid cite {
  color: #ffd38f;
  display: block;
  font-style: normal;
  font-weight: 800;
  margin-top: 22px;
}

.connect {
  align-items: center;
  background: var(--saffron);
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.recognition {
  background: var(--paper);
}

.recognition-grid,
.vision-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.vision {
  background: #f3e4d1;
  display: grid;
  gap: clamp(30px, 6vw, 74px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.vision-grid {
  grid-template-columns: repeat(2, 1fr);
}

.marathi {
  background: var(--leaf);
  color: #fffaf1;
}

.marathi h2 {
  color: #fffaf1;
}

.marathi .section-heading.narrow p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.82);
}

.connect p:not(.eyebrow) {
  font-weight: 800;
  margin-top: 18px;
}

.connect h2 {
  color: #241817;
  max-width: 980px;
}

.connect .eyebrow {
  color: #5b1f24;
}

.connect .button.primary {
  background: #241817;
  color: #fffaf1;
  flex: 0 0 auto;
}

.site-footer {
  align-items: center;
  background: #1c1112;
  color: rgba(255, 250, 241, 0.74);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 28px clamp(22px, 6vw, 82px);
}

@media (max-width: 980px) {
  .site-nav {
    background: rgba(36, 24, 23, 0.98);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 22px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-top: 1px solid rgba(255, 250, 241, 0.14);
    padding: 16px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .intro-band,
  .pillar-grid,
  .safto-grid,
  .program-grid,
  .quote-grid,
  .recognition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .research,
  .journey,
  .vision,
  .section-heading,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .mantra-detail {
    position: static;
  }

  .image-band {
    grid-template-columns: 1fr 1fr;
  }

  .connect {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 42% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(36, 24, 23, 0.84), rgba(36, 24, 23, 0.2));
  }

  .hero-content {
    padding: 126px 20px 48px;
  }

  h1 {
    font-size: clamp(4rem, 24vw, 6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .pillar-grid,
  .safto-grid,
  .program-grid,
  .quote-grid,
  .recognition-grid,
  .vision-grid,
  .image-band {
    grid-template-columns: 1fr;
  }

  .section {
    padding-inline: 18px;
  }

  .metric {
    min-height: auto;
  }

  .pillar-grid article,
  .mantra-card,
  .program-card div,
  .quote-grid blockquote {
    padding: 24px;
  }

  .library-toolbar,
  .mantra-results {
    grid-template-columns: 1fr;
  }

  .language-switch {
    justify-content: stretch;
  }

  .language-switch button {
    flex: 1 1 0;
  }

  .portrait-panel figcaption {
    margin-inline: 12px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
