/*
 * Tropical border + Canva export palette (sampled from saved namaskarfoundation.org HTML:
 * grays/greens in rgb(), e.g. page #d9d9d9, card #678d58, footer mix #bbd39a).
 * Reference assets: user-provided "website files" folder on the desktop.
 */
:root {
  --iyd-foliage-img: url("../images/4e31639ed403f2adce7d0b1e6dd18df7.png");
  --iyd-foliage-rail-width: min(132px, 15vw);
  --iyd-foliage-opacity: 0.76;

  --iyd-canva-bg: #d9d9d9;
  --iyd-green-ink: #0c4222;
  --iyd-green-heading: #194c28;
  --iyd-green-body: #2e4a1e;
  --iyd-green-yoga: #31561f;
  --iyd-green-card: #678d58;
  --iyd-green-card-mid: #5a8d3c;
  --iyd-green-footer: #bbd39a;
  --iyd-accent-script: #b92528;
  --iyd-accent-teal: #9bd3d4;

  --font-family-primary: "DM Sans", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-secondary: "DM Sans", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Marquee bar uses main.css background-color: var(--color-brand-leaf) */
  --color-brand-leaf: var(--iyd-green-card);

  /* Hero loop video — visible through mist (reference is jungle field, not a white panel) */
  --iyd-hero-video-opacity: 0.32;

  /* Leaf frame: wider + slower fade so foliage reads like a U-shaped overlap (reference comp) */
  --iyd-site-frame-rail: min(175px, 20vw);
}

body.namaskar-front-page {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Homepage: single leaf frame from hero through footer (original comp)
   -------------------------------------------------------------------------- */
.namaskar-front-page .iyd-site-frame {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.namaskar-front-page .iyd-site-frame > .site-main,
.namaskar-front-page .iyd-site-frame > .site-footer {
  position: relative;
  z-index: 1;
}

/* Marquee: first paint layer above side rails so the strip stays fully readable */
.namaskar-front-page .iyd-site-frame > .marquee-section {
  position: relative;
  z-index: 15;
}

.iyd-site-frame__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--iyd-site-frame-rail);
  z-index: 12;
  pointer-events: none;
  background-image: var(--iyd-foliage-img);
  background-repeat: repeat-y;
  background-size: 128% auto;
  background-position: 24% 0;
  opacity: 0.97;
  filter: saturate(1.12) contrast(1.06);
}

.iyd-site-frame__rail--left {
  left: 0;
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
}

.iyd-site-frame__rail--right {
  right: 0;
  transform: scaleX(-1);
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
}

/* Bottom foliage in front of sage footer strip (reference: leaves overlap footer) */
.iyd-site-frame__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(150px, 28vw, 260px);
  z-index: 18;
  pointer-events: none;
  background: var(--iyd-foliage-img) center bottom / 122% auto no-repeat;
  opacity: 0.96;
  filter: saturate(1.06);
  /* Strong transparent band so footer copy stays readable */
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 82%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 82%,
    #000 100%
  );
}

/* Per-section side rails removed on homepage — global frame handles gutters */
.namaskar-front-page .journey-section::before,
.namaskar-front-page .journey-section::after,
.namaskar-front-page .pillars-section::before,
.namaskar-front-page .pillars-section::after,
.namaskar-front-page .cta-row-section::before,
.namaskar-front-page .cta-row-section::after,
.namaskar-front-page .promo-section::before,
.namaskar-front-page .promo-section::after,
.namaskar-front-page .site-footer::before,
.namaskar-front-page .site-footer::after {
  display: none !important;
  content: none !important;
}

/* Marquee: keep orange CTAs elsewhere; use Canva teal for scroll separators only */
.marquee-content::after {
  color: var(--iyd-accent-teal);
}

.hero-section {
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
  background: #e6e8e5;
  color: #111;
}

/* High-key outer field (reference: airy gray-green, not a dark slab) */
.hero-section__brand-frame {
  position: relative;
  min-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 clamp(0.5rem, 2vw, 1.25rem) clamp(1.25rem, 3vh, 2rem);
  background: #e6e8e5;
  isolation: isolate;
}

/* Misty jungle center: soft, high-key, slight green (not flat 100% gray) */
.hero-section__bg-tonal {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: var(--iyd-foliage-img) center center / cover no-repeat;
  filter: grayscale(55%) brightness(1.32) contrast(0.88) saturate(0.65);
  opacity: 0.52;
  transform: scale(1.08);
  pointer-events: none;
}

.hero-section__brand-frame--has-video {
  background: #e6e8e5;
}

.hero-section__video-bg {
  position: absolute;
  inset: -5%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--iyd-hero-video-opacity);
}

.hero-section__video-el {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Light haze over video — keep jungle visible (reference has no white “card”) */
.hero-section__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 247, 0.22) 0%,
    rgba(236, 238, 234, 0.28) 50%,
    rgba(228, 230, 226, 0.32) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .hero-section__video-bg {
    display: none !important;
  }
}

/* Reference: logo + tagline sit on the misty jungle — no frosted white panel */
.hero-section__brand-content {
  position: relative;
  z-index: 6;
  text-align: center;
  width: min(92%, 840px);
  min-height: min(44vh, 520px);
  margin-top: calc(clamp(10rem, 27vh, 16rem) + clamp(0.35rem, 1.2vw, 0.75rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-section__brand-content {
    background: transparent;
  }
}

.hero-section__brand-logo {
  width: min(228px, 48vw);
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 2px 16px rgba(255, 255, 255, 0.85)) drop-shadow(0 4px 24px rgba(230, 232, 228, 0.9));
}

.hero-section__brand-tagline {
  margin: 0 auto;
  max-width: min(42rem, 96vw);
  color: #0a0a0a;
  font-family: var(--font-family-primary);
  font-size: clamp(0.82rem, 1.55vw + 0.42rem, 1.2rem);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: clamp(0.08em, 0.22vw + 0.06em, 0.18em);
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 1px rgba(255, 255, 255, 1);
}

/* One line on wide desktop; wrap naturally on smaller / mobile */
@media (min-width: 960px) {
  .hero-section__brand-tagline {
    white-space: nowrap;
    max-width: none;
    line-height: 1.35;
  }
}

@media (max-width: 959px) {
  .hero-section__brand-tagline {
    white-space: normal;
    max-width: min(42rem, 92vw);
    text-align: center;
    hyphens: none;
  }
}

@media (max-width: 480px) {
  .hero-section__brand-tagline {
    letter-spacing: 0.07em;
    line-height: 1.4;
    font-size: clamp(0.68rem, 2.9vw + 0.38rem, 0.88rem);
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

.hero-section__leaf {
  position: absolute;
  background-image: var(--iyd-foliage-img);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 4;
  filter: saturate(1.12) contrast(1.05);
}

/* U-frame top: denser canopy, overlaps into field like reference (still under logo z6) */
.hero-section__leaf--top {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(12.5rem, 34vh, 20rem);
  transform: none;
  background-size: 148% auto;
  background-position: center top;
  opacity: 1;
  z-index: 4;
  mix-blend-mode: normal;
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}

.hero-section__event-panel {
  display: none;
}

.hero-section__event-panel .hero-section__subtitle {
  color: var(--iyd-green-heading);
}

.hero-section__dates {
  background: var(--iyd-green-card);
}

.hero-section__title {
  color: var(--iyd-green-ink);
  font-weight: 800;
}

.hero-section__ctas .cta-button--outline-light {
  border-color: var(--iyd-green-heading);
  color: var(--iyd-green-heading);
}

.hero-section__ctas .cta-button--outline-light:hover {
  background: var(--iyd-green-heading);
  color: #fff;
}

.cta-button--green {
  background: var(--iyd-green-heading);
  color: #fff;
  border: none;
}

.cta-button--green:hover {
  background: var(--iyd-green-ink);
}

/* Live-style identity strip: blurred jungle + light wash behind logo + stats */
.iyd-identity-block {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.iyd-identity-block::before {
  content: "";
  position: absolute;
  inset: -42px;
  z-index: -1;
  background: url("../images/4e31639ed403f2adce7d0b1e6dd18df7.png") center center / cover no-repeat;
  /* Reference: soft desaturated “live event” field, not a flat white panel */
  filter: grayscale(72%) blur(14px) brightness(1.08) contrast(0.92) saturate(0.85);
  opacity: 0.78;
  transform: scale(1.06);
  pointer-events: none;
}

.iyd-identity-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(248, 249, 246, 0.62) 45%,
    rgba(242, 244, 240, 0.7) 100%
  );
  pointer-events: none;
}

.iyd-identity-block > .features-section,
.iyd-identity-block > .stats-section {
  position: relative;
  z-index: auto;
  background: transparent !important;
}

.features-section,
.stats-section {
  position: relative;
  color: #1f2f29;
}

.journey-section,
.pillars-section,
.cta-row-section,
.promo-section {
  background: var(--iyd-canva-bg);
  color: #1f2f29;
  position: relative;
}

.journey-section::before,
.pillars-section::before,
.cta-row-section::before,
.promo-section::before,
.journey-section::after,
.pillars-section::after,
.cta-row-section::after,
.promo-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--iyd-foliage-rail-width);
  height: 100%;
  background-image: var(--iyd-foliage-img);
  background-repeat: repeat-y;
  background-size: 108% auto;
  background-position: 34% 0;
  opacity: var(--iyd-foliage-opacity);
  pointer-events: none;
}

.journey-section::before,
.pillars-section::before,
.cta-row-section::before,
.promo-section::before {
  left: 0;
}

.journey-section::after,
.pillars-section::after,
.cta-row-section::after,
.promo-section::after {
  right: 0;
  transform: scaleX(-1);
}

.features-section__inner,
.journey-section__inner,
.pillars-section__inner,
.cta-row-section__inner,
.promo-section__inner {
  max-width: 1000px;
}

.features-section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

/* Real transparent PNG (optional): magic bytes 89 50 4E 47 — see section-features.php */
.features-section__logo-wrap {
  text-align: center;
  margin: 0 auto 0.85rem;
  max-width: min(400px, 90vw);
  padding: 0;
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.features-section__logo--png {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: normal;
  filter: none;
}

/*
 * JPEG matte: blend must see the real identity wash behind it. Pseudos on .iyd-identity-block use z-index: -1
 * so content isn’t isolated above an empty transparent layer (which made lighten/screen fail → black stayed black).
 */
.features-section__logo-wrap--jpeg {
  position: relative;
  mix-blend-mode: screen;
  padding: clamp(0.5rem, 1.6vw, 0.95rem);
  border-radius: 22px;
  /* Feather the matte so it doesn’t read as a sharp tile on the wash */
  -webkit-mask-image: radial-gradient(
    ellipse 94% 90% at 50% 50%,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.45) 88%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 94% 90% at 50% 50%,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.45) 88%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Soft glow matched to .iyd-identity-block::after wash — hides the last bit of “patch” edge */
.features-section__logo-wrap--jpeg::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 52% 48% at 50% 46%,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(248, 249, 246, 0.28) 42%,
    transparent 68%
  );
}

.features-section__logo--jpeg-matte {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: normal;
  filter: none;
  border-radius: 14px;
}

/* Vector IYD white lockup — no raster black matte; shadows keep white type readable on light wash */
.features-section__iyd-lockup {
  text-align: center;
  margin: 0 auto 0.85rem;
  max-width: min(26rem, 92vw);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.features-section__iyd-lockup-intl {
  margin: 0;
  font-family: var(--font-family-primary);
  font-size: clamp(0.58rem, 1.1vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.97);
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.75),
    0 1px 4px rgba(28, 42, 32, 0.45);
}

.features-section__iyd-lockup-yoga {
  margin: 0.28rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.03em;
  font-family: var(--font-family-primary);
  font-size: clamp(1.48rem, 4.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.7),
    0 2px 5px rgba(24, 40, 30, 0.42);
}

.features-section__iyd-lockup-y {
  line-height: 1;
}

.features-section__iyd-lockup-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82em;
  height: 0.82em;
  margin: 0 0.01em;
  flex-shrink: 0;
}

.features-section__iyd-lockup-o svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(24, 40, 30, 0.35));
}

.features-section__iyd-lockup-yoga-rest {
  line-height: 1;
}

.features-section__iyd-lockup-miami {
  margin: 0.08rem 0 0;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
  font-size: clamp(1.78rem, 5.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    3px 4px 0 rgba(236, 158, 172, 0.9),
    0 0 14px rgba(255, 255, 255, 0.65),
    0 2px 5px rgba(24, 40, 30, 0.35);
}

.features-section__headline {
  text-align: center;
  margin: 0 auto 1.35rem;
  max-width: 44rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  font-family: var(--font-family-primary);
  color: #141814;
  font-size: clamp(0.95rem, 2vw, 1.75rem);
  font-weight: 800;
}

.features-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.features-section__guide-link {
  color: var(--iyd-green-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.features-section__guide-inline {
  margin-top: 0.5rem;
  text-align: right;
}

.stats-section {
  padding-top: 0.25rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.stats-section__inner {
  max-width: 1000px;
}

.stats-section__layout {
  display: block;
}

/* One continuous band: stats + program guide, zero horizontal gap */
.stats-section__unified {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 3px solid rgba(140, 145, 132, 0.65);
  box-shadow: 0 12px 32px rgba(55, 65, 42, 0.35);
  background: linear-gradient(168deg, #7a8f5e 0%, #6a7f52 48%, #5d7148 100%);
  overflow: visible;
}

.stats-section__unified--solo {
  max-width: 760px;
}

.stats-section__unified--solo .stats-section__card-wrap {
  border-radius: 13px;
}

.stats-section__unified--with-guide .stats-section__card-wrap {
  border-radius: 13px 0 0 13px;
}

.stats-section__unified--with-guide .stats-section__guide {
  border-radius: 0 13px 13px 0;
}

/*
 * Foliage sits BEHIND the stats + program guide so leaves never cover copy or the magazine thumb.
 * (When z-index was above the card, the right leaf sat on top of the guide column.)
 */
.stats-section__unified .stats-section__card-leaf {
  position: absolute;
  inset: -28px clamp(-44px, -6vw, -32px);
  z-index: 0;
  pointer-events: none;
  background-image: var(--iyd-foliage-img), var(--iyd-foliage-img);
  background-repeat: no-repeat, no-repeat;
  background-size: 48% 120%, 48% 120%;
  background-position: left -4% center, right -4% center;
  filter: saturate(1.12) contrast(1.03);
  opacity: 0.55;
  border-radius: 0;
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 12%,
    transparent 22%,
    transparent 78%,
    #000 88%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 12%,
    transparent 22%,
    transparent 78%,
    #000 88%,
    #000 100%
  );
}

.stats-section__card-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  /* Opaque so back-layer foliage never shows through the stat grid */
  background: linear-gradient(168deg, #7a8f5e 0%, #6a7f52 48%, #5d7148 100%);
  border: none;
  box-shadow: none;
  max-width: none;
}

.stats-section__card {
  position: relative;
  z-index: 2;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(1.5rem, 3.2vw, 2rem) clamp(0.85rem, 2vw, 1.35rem);
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stats-section__unified--solo .stats-section__card {
  border-radius: 0;
}

.stats-section__unified--with-guide .stats-section__guide {
  position: relative;
  z-index: 2;
  flex: 0 0 clamp(128px, 22vw, 168px);
  margin: 0;
  padding: 0.75rem 0.7rem 0.75rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(168deg, #7a8f5e 0%, #6a7f52 52%, #5d7148 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  isolation: isolate;
}

.stats-section__guide {
  text-align: center;
}

.stats-section__guide-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.stats-section__guide-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.2rem;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.stats-section__guide-link:hover,
.stats-section__guide-link:focus-visible {
  opacity: 0.92;
}

.stats-section__guide-link:hover .stats-section__guide-title,
.stats-section__guide-link:focus-visible .stats-section__guide-title {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stats-section__guide img {
  width: 120px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.stats-section__visual {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.45rem;
}

.stats-section__svg {
  width: clamp(52px, 11vw, 68px);
  height: auto;
}

.stats-section__svg--ticket {
  width: clamp(72px, 16vw, 96px);
}

.stats-section__item {
  text-align: center;
  padding: 0.35rem 0.5rem;
  position: relative;
}

.stats-section__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stats-section__stat-num {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.02em;
}

.stats-section__item--stat .stats-section__value--accent {
  margin-top: 0.4rem;
}

/* Clean white stats copy (reference card columns) */
.stats-section__value--accent {
  font-weight: 800;
  font-size: clamp(0.78rem, 1.35vw, 1.05rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: none;
}

.stats-section__cta {
  margin-top: 1.35rem;
  text-align: center;
}

.cta-button--round {
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.journey-section {
  color: var(--iyd-green-heading);
  padding-top: 3rem;
}

.journey-section__two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
}

.journey-section__copy {
  color: #1f2f29;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(0.92rem, 1.4vw, 1.15rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.journey-section__copy p {
  margin: 0 0 1.15rem;
}

.journey-section__copy p:last-child {
  margin-bottom: 0;
}

.journey-section__image-wrap {
  border: 6px solid var(--iyd-green-heading);
  padding: 0;
}

.journey-section__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.pillars-section {
  padding-top: 1.5rem;
}

.pillars-section__title {
  text-align: center;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--iyd-green-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.pillars-section__title--main {
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  margin-bottom: 0.75rem;
}

.pillars-section__intro {
  margin: 0 auto 0.65rem;
  max-width: 900px;
  text-align: center;
  color: var(--iyd-green-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(0.82rem, 1.2vw, 1.05rem);
  line-height: 1.42;
}

.pillars-section__intro--small {
  margin-bottom: 1.65rem;
}

.pillars-section__text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillars-section__text-block {
  color: #20342c;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.pillars-section__text-block p {
  margin: 0;
}

.pillars-section__heart {
  margin-top: 2rem;
  text-align: center;
}

.pillars-section__heart h3 {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.3rem;
  color: var(--iyd-green-heading);
}

.pillars-section__heart p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--iyd-green-heading);
  font-weight: 600;
}

.cta-row-section__title {
  text-align: center;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: var(--iyd-green-heading);
  font-size: clamp(2rem, 5vw, 4.3rem);
  margin-bottom: 1.25rem;
}

.cta-row-section__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem 1rem;
}

.cta-row-section__logo-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 64px;
}

.cta-row-section__logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(30, 80, 59, 0.16);
  display: grid;
  place-items: center;
}

.cta-row-section__logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.cta-row-section__logo-copy strong {
  display: block;
  color: var(--iyd-green-ink);
  font-size: 0.92rem;
  line-height: 1.12;
  font-weight: 800;
}

.cta-row-section__logo-copy span {
  display: block;
  color: var(--iyd-green-heading);
  font-size: 0.82rem;
  line-height: 1.15;
}

.promo-section {
  text-align: center;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.promo-section__partner-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
  text-decoration: none;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-section__partner-link:hover,
.promo-section__partner-link:focus-visible {
  opacity: 0.94;
  transform: translateY(-2px);
}

.promo-section__partner-art {
  display: block;
  width: min(280px, 72vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  /* High-DPI PNG: display slightly under intrinsic width when asset is 2× for sharper edges */
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.site-footer {
  background: var(--iyd-green-footer);
  color: var(--iyd-green-ink);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Match identity block: vertical rails on both sides of entire footer */
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--iyd-foliage-rail-width);
  z-index: 1;
  pointer-events: none;
  background-image: var(--iyd-foliage-img);
  background-repeat: repeat-y;
  background-size: 108% auto;
  background-position: 34% 0;
  opacity: var(--iyd-foliage-opacity);
}

.site-footer::before {
  left: 0;
}

.site-footer::after {
  right: 0;
  transform: scaleX(-1);
}

.site-footer__foliage--top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(68px, 12vw, 108px);
  z-index: 1;
  pointer-events: none;
  background: var(--iyd-foliage-img) center top / 102% auto no-repeat;
  opacity: calc(var(--iyd-foliage-opacity) * 0.9);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}

.site-footer__top {
  position: relative;
  z-index: 2;
  background: var(--iyd-green-footer);
  padding: 1.35rem 0 0.95rem;
}

.site-footer__top-inner {
  position: relative;
  z-index: 2;
}

.footer-final {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-final__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-final__logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.footer-final__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-final__contact p {
  margin: 0.05rem 0;
  font-size: 0.92rem;
  color: var(--iyd-green-ink);
  line-height: 1.2;
}

.footer-final__contact a {
  color: var(--iyd-green-ink);
  text-decoration: none;
}

.footer-final__right {
  text-align: right;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--iyd-green-ink);
  font-size: 1rem;
  line-height: 1.24;
}

.site-footer__leaf-base {
  position: relative;
  z-index: 2;
  height: clamp(104px, 16vw, 148px);
  background-color: var(--iyd-green-footer);
  background-image: var(--iyd-foliage-img);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 110% auto;
  opacity: 1;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
}

/* Homepage: global bottom frame carries the heavy foliage; soften inner strip */
.namaskar-front-page .site-footer__leaf-base {
  opacity: 0.4;
  height: clamp(72px, 11vw, 104px);
}

.site-footer .footer-logo img {
  filter: none;
}

.site-footer .footer-tagline,
.site-footer .footer-org,
.site-footer .footer-menu a {
  color: var(--iyd-green-ink);
}

@media (max-width: 768px) {
  :root {
    --iyd-foliage-rail-width: min(58px, 12vw);
    --iyd-foliage-opacity: 0.72;
    --iyd-site-frame-rail: min(56px, 11vw);
  }

  .hero-section__brand-frame {
    min-height: 72vh;
    padding: 0 0.35rem 1.75rem;
  }

  .hero-section__brand-content {
    width: min(94%, 1080px);
    min-height: min(54vh, 520px);
    margin-top: calc(clamp(5.5rem, 18vh, 9rem) + 0.5rem);
    padding: 2.5rem 1.15rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-section__leaf--top {
    height: clamp(5.5rem, 18vh, 9rem);
  }

  .journey-section::before,
  .pillars-section::before,
  .cta-row-section::before,
  .promo-section::before,
  .journey-section::after,
  .pillars-section::after,
  .cta-row-section::after,
  .promo-section::after {
    width: var(--iyd-foliage-rail-width);
  }

  .stats-section__card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.35rem 1rem;
  }

  .stats-section__item:not(:first-child)::before {
    left: 8%;
    right: 8%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .stats-section__unified .stats-section__card-leaf {
    inset: -18px -26px;
    opacity: 0.78;
    background-size: 46% 118%, 46% 118%;
  }

  .stats-section__unified--with-guide {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-section__unified--with-guide .stats-section__card-wrap {
    border-radius: 13px 13px 0 0;
  }

  .stats-section__unified--with-guide .stats-section__guide {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding: 1rem 0.85rem;
    border-radius: 0 0 13px 13px;
  }

  .journey-section__two-col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .journey-section__image-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .features-section__guide-inline {
    text-align: center;
  }

  .pillars-section__text-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-row-section__logo-item {
    grid-template-columns: 46px 1fr;
  }

  .cta-row-section__logo-wrap {
    width: 42px;
    height: 42px;
  }

  .promo-section__partner-art {
    width: min(248px, 78vw);
  }

  .footer-final {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .footer-final__left {
    justify-content: center;
  }

  .footer-final__right {
    text-align: center;
    font-size: 0.9rem;
  }

  .site-footer__leaf-base {
    height: 76px;
  }
}

/*
 * Foliage / green leaf borders removed (homepage frame, section side rails, hero top leaf,
 * stats card corners, footer decorations). Matches request: no leaf frame on main + IYD pages.
 */
.namaskar-front-page .iyd-site-frame__rail,
.namaskar-front-page .iyd-site-frame__rail--left,
.namaskar-front-page .iyd-site-frame__rail--right,
.namaskar-front-page .iyd-site-frame__bottom {
  display: none !important;
}

.namaskar-front-page .hero-section__leaf,
.namaskar-front-page .hero-section__leaf--top {
  display: none !important;
}

.journey-section::before,
.journey-section::after,
.pillars-section::before,
.pillars-section::after,
.cta-row-section::before,
.cta-row-section::after,
.promo-section::before,
.promo-section::after {
  content: none !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
}

.site-footer__foliage--top,
.site-footer__leaf-base {
  display: none !important;
}

.stats-section__unified .stats-section__card-leaf {
  display: none !important;
}
