/* ==========================================================================
   Nav Vasundhara Green Energies — core stylesheet
   Structure: tokens → base → utilities → components → sections
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --forest: #063C2E;
  --forest-deep: #04291F;
  --emerald: #07583F;
  --green: #16834A;
  --leaf: #69B83F;
  --lime: #A7D957;
  --lime-soft: #CFE3A3;
  --gold: #C9A85C;
  --gold-ink: #8A6D2F;            /* gold darkened for text on ivory (AA) */
  --ivory: #F7F5ED;
  --ivory-2: #EFECE1;
  --paper: #FBFAF5;
  --charcoal: #17231E;
  --muted: #4C5A53;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --section-y: clamp(96px, 11vw, 176px);
  --header-h: 84px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);

  --shadow-soft: 0 24px 60px -28px rgba(6, 40, 30, .35);
  --shadow-deep: 0 50px 100px -40px rgba(6, 40, 30, .55);
  --hairline-dark: rgba(23, 35, 30, .12);
  --hairline-light: rgba(247, 245, 237, .14);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
::selection { background: var(--lime); color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 18px; border-radius: 999px;
  background: var(--gold); color: var(--forest); font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section-y); }
.section--dark { background: var(--forest); color: var(--ivory); }

/* ---------- 3. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.012em;
  color: inherit;
}
.display em { font-style: italic; font-weight: 300; color: var(--emerald); }
.section--dark .display em, .hero .display em, .sustain .display em, .showcase .display em { color: var(--lime-soft); }
.showcase .display em { color: var(--emerald); }
.display--lg { font-size: clamp(44px, 5.2vw, 82px); }
.display--xl { font-size: clamp(52px, 6.8vw, 112px); }

/* line-mask used for reveal animations */
.line { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.line__inner { display: inline-block; will-change: transform; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 28px;
}
.eyebrow i { font-style: normal; color: var(--gold); }
.eyebrow__rule { width: 34px; height: 1px; background: var(--gold); flex: none; }
.eyebrow__num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 17px; letter-spacing: 0; color: var(--gold-ink); text-transform: none;
}
.eyebrow--light { color: rgba(247, 245, 237, .86); }
.eyebrow--light .eyebrow__num { color: var(--gold); }

.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--charcoal); }
.lead--light { color: rgba(247, 245, 237, .82); }

.tagline-hi { font-family: "Manrope", "Noto Sans Devanagari", sans-serif; letter-spacing: .02em; color: var(--lime-soft); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--btn-h); padding: 0 28px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .03em;
  border-radius: 999px;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
  isolation: isolate;
  overflow: hidden;
}
.btn .icon { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { --btn-h: 46px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: var(--forest); box-shadow: 0 14px 34px -14px rgba(201, 168, 92, .7); }
.btn--gold:hover { background: var(--ivory); color: var(--forest); }

.btn--ghost-light, .btn--outline-light {
  color: var(--ivory);
  border: 1px solid rgba(247, 245, 237, .38);
  background: rgba(6, 60, 46, .12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost-light:hover, .btn--outline-light:hover { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }

.btn--forest { background: var(--forest); color: var(--ivory); }
.btn--forest:hover { background: var(--emerald); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--emerald);
  padding-bottom: 6px;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 40% 1px; }
.link-arrow .icon { transition: transform .5s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- 5. Custom cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-leader] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%;
  opacity: 0; transition: opacity .3s;
}
.cursor.is-visible .cursor__dot, .cursor.is-visible .cursor__ring { opacity: 1; }
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(6, 60, 46, .25);
}
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(201, 168, 92, .65);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out),
              background-color .45s, border-color .45s, opacity .3s, backdrop-filter .45s;
}
.cursor__label {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(201, 168, 92, .12); border-color: rgba(201, 168, 92, .9);
}
.cursor.is-hover .cursor__dot { transform: scale(.5); }
.cursor.is-lens .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-color: rgba(247, 245, 237, .7);
  background: rgba(247, 245, 237, .1);
  backdrop-filter: saturate(1.35) contrast(1.06) blur(.5px);
  -webkit-backdrop-filter: saturate(1.35) contrast(1.06) blur(.5px);
}
.cursor.is-lens .cursor__label { opacity: 1; transform: none; }
.cursor.is-lens .cursor__dot { opacity: 0; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .6s var(--ease-out), backdrop-filter .6s, box-shadow .6s, padding .6s var(--ease-out);
  padding-block: 22px;
}
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(6, 60, 46, .88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(201, 168, 92, .22), 0 20px 50px -30px rgba(0, 0, 0, .5);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); flex: none; }
.brand__mark { width: 50px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); transition: width .6s var(--ease-out); }
.is-scrolled .brand__mark { width: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: .01em; }
.brand__sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 245, 237, .7); margin-top: 3px; }

.primary-nav { position: relative; margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.primary-nav__list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: rgba(247, 245, 237, .74);
  transition: color .35s;
}
.primary-nav__list a:hover, .primary-nav__list a.is-active { color: var(--ivory); }
.primary-nav__indicator {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 10px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 168, 92, .8);
  transform-origin: left;
  transition: transform .7s var(--ease-out), width .7s var(--ease-out), opacity .4s;
  opacity: 0;
}
.primary-nav__indicator.is-ready { opacity: 1; }
.header-cta { --btn-h: 44px; padding: 0 20px; font-size: 12.5px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247, 245, 237, .3); place-items: center; margin-left: auto; color: var(--ivory); }
.menu-toggle__bars { position: relative; width: 18px; height: 8px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 3.25px; transform: rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) 36px;
  color: var(--ivory);
  visibility: hidden;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(105, 184, 63, .18), transparent 60%),
    linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-inout);
}
.mobile-menu.is-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mobile-menu__nav li { overflow: hidden; border-bottom: 1px solid var(--hairline-light); }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 12px 0;
  font-family: var(--font-display); font-size: clamp(30px, 8.4vw, 44px); font-weight: 300; line-height: 1.1;
  transform: translateY(105%);
  transition: transform .8s var(--ease-out), color .3s;
}
.mobile-menu__nav a span { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.mobile-menu__nav a:hover, .mobile-menu__nav a:focus-visible { color: var(--lime-soft); }
.mobile-menu.is-open .mobile-menu__nav a { transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .18s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .22s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .26s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .30s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .34s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .38s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .42s; }
.mobile-menu.is-open li:nth-child(8) a { transition-delay: .46s; }
.mobile-menu__foot { display: grid; gap: 6px; font-size: 14px; color: rgba(247, 245, 237, .75); opacity: 0; transition: opacity .6s .5s; }
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot .tagline-hi { margin-bottom: 8px; font-size: 15px; }

/* ---------- 7. Floating leaves & particles ---------- */
.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.leaf { position: absolute; top: 0; left: 0; width: var(--s, 40px); height: calc(var(--s, 40px) * 1.875); will-change: transform; }
.leaf svg { width: 100%; height: 100%; }
.leaf--far { opacity: .32; filter: blur(2.2px); }
.leaf--mid { opacity: .7; }
.leaf--near { opacity: .92; filter: blur(1.4px) drop-shadow(0 18px 20px rgba(0, 0, 0, .25)); }

.particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.particle {
  position: absolute; width: var(--p, 3px); height: var(--p, 3px); border-radius: 50%;
  background: rgba(240, 222, 170, .9);
  box-shadow: 0 0 10px 2px rgba(240, 222, 170, .45);
  opacity: 0;
}

.float-leaf { position: absolute; pointer-events: none; z-index: 4; filter: drop-shadow(0 18px 24px rgba(6, 60, 46, .3)); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 700px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  background: var(--forest);
}
.hero__media { position: absolute; inset: -3% -2% -6%; z-index: -3; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 41, 31, .92) 0%, rgba(6, 60, 46, .72) 32%, rgba(6, 60, 46, .18) 62%, rgba(6, 60, 46, 0) 80%),
    linear-gradient(0deg, rgba(4, 41, 31, .92) 0%, rgba(4, 41, 31, .35) 30%, rgba(4, 41, 31, 0) 52%),
    linear-gradient(180deg, rgba(4, 41, 31, .55) 0%, rgba(4, 41, 31, 0) 22%);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(232, 196, 120, .28) 0%, rgba(232, 196, 120, 0) 60%);
  mix-blend-mode: screen;
  animation: ambient-drift 18s ease-in-out infinite alternate;
}
@keyframes ambient-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
}

.hero__content { position: relative; z-index: 5; padding-bottom: clamp(150px, 19vh, 220px); padding-top: calc(var(--header-h) + 40px); }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title { font-size: clamp(54px, 8.2vw, 132px); line-height: .94; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.hero__lede { max-width: 540px; margin-top: 30px; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.7; color: rgba(247, 245, 237, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.story-trigger {
  position: absolute; z-index: 6;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: clamp(170px, 22vh, 240px);
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--ivory); text-align: left;
}
.story-trigger__ring {
  position: relative; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 245, 237, .55);
  background: rgba(6, 60, 46, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .5s var(--ease-out), border-color .5s, transform .6s var(--ease-out);
}
.story-trigger__ring::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(201, 168, 92, .45);
  animation: pulse-ring 2.8s var(--ease-out) infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.story-trigger__ring .icon { width: 22px; height: 22px; margin-left: 3px; }
.story-trigger:hover .story-trigger__ring { background: var(--gold); border-color: var(--gold); color: var(--forest); transform: scale(1.06); }
.story-trigger__text { display: grid; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.story-trigger__text small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.hero__aside {
  position: absolute; z-index: 5; right: calc(var(--gutter) * .6); top: 50%;
  display: flex; align-items: center; gap: 16px;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(247, 245, 237, .6);
}
.hero__aside-rule { width: 1px; height: 54px; background: rgba(201, 168, 92, .6); }

.scroll-cue {
  position: absolute; z-index: 5; left: 50%; bottom: clamp(120px, 15vh, 160px); transform: translateX(-50%);
  display: none;
}

/* ---------- 9. Metrics ---------- */
.metrics { position: relative; z-index: 20; margin-top: -88px; }
.metrics__panel {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, rgba(7, 88, 63, .82), rgba(6, 60, 46, .9));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(247, 245, 237, .14);
  border-radius: 22px;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--ivory);
  overflow: hidden;
}
.metric { position: relative; padding: 32px clamp(20px, 2.4vw, 38px) 30px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.metric + .metric::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(transparent, rgba(201, 168, 92, .45), transparent); }
.metric__icon {
  grid-row: span 2; width: 46px; height: 46px; padding: 11px;
  border-radius: 50%; border: 1px solid rgba(201, 168, 92, .45);
  color: var(--lime-soft);
}
.metric__value { font-family: var(--font-display); font-size: clamp(34px, 3.2vw, 50px); font-weight: 400; line-height: 1; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.metric__value small { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.metric__value small.pre { font-family: var(--font-display); font-size: .7em; letter-spacing: 0; color: var(--ivory); font-weight: 400; margin-right: -4px; }
.metric__label { margin-top: 8px; font-size: 12.5px; color: rgba(247, 245, 237, .72); letter-spacing: .02em; line-height: 1.4; }

/* ---------- 10. Section heads ---------- */
.section-head { margin-bottom: clamp(56px, 6vw, 96px); }
.section-head--split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.section-head__aside { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 440px; justify-self: end; }
.section--dark .section-head__aside { color: rgba(247, 245, 237, .72); }
.section-head--center { text-align: center; display: grid; justify-items: center; }
.section-head--center .section-head__aside { justify-self: center; margin-top: 26px; max-width: 560px; }

/* ---------- 11. About ---------- */
.about { padding-top: calc(var(--section-y) + 24px); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.about__copy h2 { margin-bottom: 34px; }
.about__copy > p + p { margin-top: 18px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0 38px; border-top: 1px solid var(--hairline-dark); }
.facts__item { padding: 18px 0 16px; border-bottom: 1px solid var(--hairline-dark); }
.facts__item:nth-child(odd) { padding-right: 24px; }
.facts__item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--hairline-dark); }
.facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { font-family: var(--font-display); font-size: 22px; line-height: 1.25; margin-top: 4px; color: var(--forest); }

.about__visual { position: relative; }
.frame { position: relative; aspect-ratio: 1 / 1.04; }
.frame__clip {
  position: relative; z-index: 2; height: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--emerald);
}
.frame__clip picture { display: block; height: 100%; }
.frame__img { display: block; width: 100%; height: 110%; max-width: none; object-fit: cover; object-position: 50% 40%; image-rendering: auto; transform-origin: 50% 40%; transition: transform 1.4s var(--ease-out); }
.frame:hover .frame__img { transform: scale(1.06); }
.frame__border {
  position: absolute; z-index: 1; inset: 0;
  border: 1px solid rgba(201, 168, 92, .75);
  border-radius: calc(var(--radius-lg) + 6px);
  transform: translate(22px, 22px);
}
.float-leaf--about { width: 96px; top: -46px; right: -26px; transform: rotate(32deg); }
.badge-card {
  position: absolute; z-index: 5; left: -38px; bottom: 44px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 26px 18px 18px;
  background: rgba(251, 250, 245, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 92, .4);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display); font-size: 21px; line-height: 1.15; color: var(--forest);
}
.badge-card em { color: var(--green); }
.badge-card__icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--forest); color: var(--lime); }

/* ---------- 12. Technology ---------- */
.tech { overflow: hidden; }
.tech__ambient, .why__ambient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(22, 131, 74, .35), transparent 70%),
    radial-gradient(35% 45% at 90% 85%, rgba(201, 168, 92, .12), transparent 70%);
  animation: ambient-shift 22s ease-in-out infinite alternate;
}
@keyframes ambient-shift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(4%, -3%, 0); }
}
.tech .container { position: relative; }

.flow { position: relative; aspect-ratio: 1200 / 520; margin-inline: auto; max-width: 1200px; }
.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__path { fill: none; stroke: url(#flowGrad); stroke-width: 1.4; stroke-linecap: round; }
.flow__pulse { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); opacity: 0; }

.flow__k { display: block; font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.flow__inputs .flow__node {
  position: absolute; left: 0; width: 20.8%;
  transform: translateY(-50%);
  padding: 14px 20px;
  border: 1px solid var(--hairline-light); border-radius: 14px;
  background: rgba(247, 245, 237, .03);
  font-family: var(--font-display); font-size: 21px; line-height: 1.15;
  transition: border-color .4s, background-color .4s;
}
.flow__inputs .flow__node:hover { border-color: rgba(167, 217, 87, .5); background: rgba(167, 217, 87, .06); }
.flow__inputs li:nth-child(1) { top: 17.3%; }
.flow__inputs li:nth-child(2) { top: 40.4%; }
.flow__inputs li:nth-child(3) { top: 59.6%; }
.flow__inputs li:nth-child(4) { top: 82.7%; }

.flow__core {
  position: absolute; left: 50%; top: 50%; width: 16.7%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center;
}
.flow__core-ring { position: absolute; inset: -12%; }
.flow__core-ring svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.flow__core-ring circle { fill: none; stroke: rgba(201, 168, 92, .5); stroke-width: .8; }
.flow__core-ring circle + circle { stroke: rgba(167, 217, 87, .35); stroke-dasharray: 2 6; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow__core-body {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-content: center; padding: 14px;
  background: radial-gradient(circle at 35% 30%, rgba(105, 184, 63, .45), rgba(7, 88, 63, .9) 60%, var(--forest-deep));
  box-shadow: 0 0 0 1px rgba(167, 217, 87, .3), 0 0 60px rgba(105, 184, 63, .35), inset 0 0 40px rgba(0, 0, 0, .35);
}
.flow__core-body strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(18px, 1.9vw, 27px); line-height: 1.05; }
.flow__core-sub { display: block; margin-top: 6px; font-size: 9px; line-height: 1.4; letter-spacing: .04em; color: rgba(247, 245, 237, .66); }

.flow__outputs .flow__out { position: absolute; left: 75%; width: 25%; transform: translateY(-50%); padding-left: 22px; border-left: 1px solid rgba(201, 168, 92, .5); }
.flow__outputs .flow__out:nth-child(1) { top: 28.8%; }
.flow__outputs .flow__out:nth-child(2) { top: 73%; }
.flow__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.flow__chain i { width: 16px; height: 1px; background: var(--gold); display: inline-block; }
.flow__chain strong { font-weight: 500; color: var(--lime-soft); }
.flow__note { margin-top: 8px; font-size: 13px; line-height: 1.6; color: rgba(247, 245, 237, .62); }

.tech__steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--hairline-light); }
.tech__steps li { padding: 30px 28px 0 0; }
.tech__steps li + li { padding-left: 28px; border-left: 1px solid var(--hairline-light); }
.tech__num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold); }
.tech__steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 6px 0 10px; }
.tech__steps p { font-size: 14px; line-height: 1.7; color: rgba(247, 245, 237, .68); }

/* ---------- 13. Waste-to-Wealth process ---------- */
.w2w { background: var(--ivory-2); overflow: hidden; }
.w2w::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 100%, rgba(167, 217, 87, .14), transparent 70%);
}
.process { position: relative; }
.process__line { position: absolute; left: 10%; right: 10%; top: 86px; width: 80%; height: 4px; overflow: visible; }
.process__line--v { display: none; }
.process__track { stroke: rgba(7, 88, 63, .18); stroke-width: 1; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.process__draw { stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(105, 184, 63, .8)); }

.process__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 32px); }
.stage {
  position: relative; text-align: center;
  padding: 0 6px 10px;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease-out);
}
.stage.is-tilting { transition: transform .15s ease-out; }
.stage__node {
  position: relative; width: 172px; max-width: 100%; aspect-ratio: 1; margin: 0 auto 26px;
  padding: 9px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(201, 168, 92, .55);
  box-shadow: 0 22px 44px -22px rgba(6, 60, 46, .45);
  transform: translateZ(40px);
  transition: box-shadow .6s var(--ease-out), border-color .6s;
}
.stage__node::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(105, 184, 63, 0);
  transition: border-color .6s, inset .6s var(--ease-out);
}
.stage:hover .stage__node { box-shadow: 0 30px 60px -24px rgba(6, 60, 46, .6), 0 0 0 4px rgba(167, 217, 87, .18); border-color: var(--gold); }
.stage:hover .stage__node::after { border-color: rgba(105, 184, 63, .45); inset: -14px; }
.stage__node img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform 1s var(--ease-out); }
.stage:hover .stage__node img { transform: scale(1.08); }
.stage__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-ink); transform: translateZ(20px); }
.stage__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.12; color: var(--forest); margin: 4px 0 10px; transform: translateZ(26px); }
.stage__text { font-size: 13.5px; line-height: 1.65; color: var(--muted); max-width: 230px; margin-inline: auto; transform: translateZ(12px); }

/* ---------- 14. Project showcase ---------- */
.showcase { position: relative; background: var(--ivory); padding-top: var(--section-y); padding-bottom: calc(var(--section-y) * .9); overflow: hidden; }
.showcase__content { position: relative; z-index: 4; margin-bottom: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 48px; align-items: end; }
.showcase__content .eyebrow { grid-column: 1 / -1; justify-self: start; color: var(--emerald); }
.showcase__content .eyebrow .eyebrow__num { color: var(--gold-ink); }
.showcase__content h2 { color: var(--forest); }
.showcase__lede { justify-self: end; max-width: 420px; font-size: 16.5px; color: var(--muted); }

.showcase__media {
  position: relative; z-index: 2;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: var(--forest);
}
.showcase__media picture { position: absolute; inset: 0; display: block; }
.showcase__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; image-rendering: auto; }  /* 3:1 image in a 3:1 frame: shown complete */
.showcase__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 60, 46, 0) 55%, rgba(6, 60, 46, .45)); pointer-events: none; }
.showcase__sweep {
  position: absolute; inset: -20% auto -20% -40%; width: 30%;
  background: linear-gradient(100deg, transparent 0%, rgba(167, 217, 87, .0) 20%, rgba(167, 217, 87, .22) 50%, rgba(255, 244, 210, .12) 60%, transparent 80%);
  mix-blend-mode: screen; transform: skewX(-14deg);
  animation: sweep 9s var(--ease-inout) infinite;
  pointer-events: none;
}
@keyframes sweep { 0%, 15% { left: -40%; } 70%, 100% { left: 130%; } }
.leaves--showcase { z-index: 5; }

.project-card {
  position: relative; z-index: 6;
  width: min(420px, calc(100% - var(--gutter) * 2));
  margin: -120px max(var(--gutter), calc((100vw - var(--container)) / 2)) 0 auto;
  padding: 34px 34px 30px;
  background: rgba(6, 60, 46, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: var(--ivory);
  border: 1px solid rgba(201, 168, 92, .35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
}
.project-card__k { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.project-card__list { margin-bottom: 26px; }
.project-card__list div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hairline-light); font-size: 13.5px; line-height: 1.5; }
.project-card__list dt { color: rgba(247, 245, 237, .55); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.project-card__list dd { color: var(--ivory); }

/* ---------- 15. Why Vasundhara — 3D cards ---------- */
.why { overflow: hidden; background: linear-gradient(180deg, var(--forest) 0%, #052F24 100%); }
.why .container { position: relative; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.card3d { perspective: 1200px; }
.card3d__inner {
  --mx: 50%; --my: 50%;
  position: relative; height: 100%; min-height: 380px;
  padding: 38px 30px 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 245, 237, .12);
  background: linear-gradient(165deg, rgba(247, 245, 237, .07), rgba(247, 245, 237, .015) 60%);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out), border-color .6s, box-shadow .8s var(--ease-out);
  overflow: hidden;
}
.card3d.is-tilting .card3d__inner { transition: transform .12s ease-out, border-color .6s, box-shadow .6s; }
.card3d:hover .card3d__inner { border-color: rgba(201, 168, 92, .45); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(201, 168, 92, .1); }
.card3d__light {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(167, 217, 87, .16), rgba(201, 168, 92, .06) 35%, transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.card3d:hover .card3d__light { opacity: 1; }
.card3d__inner::after {
  content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out);
}
.card3d:hover .card3d__inner::after { transform: scaleX(1); }
.card3d__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-style: italic; font-size: 58px; line-height: 1; color: rgba(201, 168, 92, .22); transform: translateZ(20px); }
.card3d__icon { width: 52px; height: 52px; padding: 13px; border-radius: 50%; border: 1px solid rgba(167, 217, 87, .35); color: var(--lime); margin-bottom: 64px; transform: translateZ(50px); }
.card3d h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 14px; transform: translateZ(40px); }
.card3d p { font-size: 14.5px; line-height: 1.7; color: rgba(247, 245, 237, .7); transform: translateZ(24px); }

/* ---------- 16. Leadership ---------- */
.leaders { background: var(--ivory); }
.leaders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); }
.leaders__grid > li { display: flex; }
.leader {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  padding: 12px 12px 22px;
  background: var(--paper);
  border: 1px solid var(--hairline-dark);
  border-radius: 22px;
  box-shadow: 0 10px 30px -24px rgba(6, 60, 46, .4);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s;
  outline-offset: 6px;
}
.leader:hover, .leader:focus-visible, .leader.is-open {
  transform: translateY(-10px);
  border-color: rgba(201, 168, 92, .5);
  box-shadow: 0 50px 80px -40px rgba(6, 60, 46, .5), 0 0 60px -20px rgba(105, 184, 63, .35);
}
.leader__portrait { position: relative; aspect-ratio: 4 / 3.3; border-radius: 15px; overflow: hidden; background: var(--forest); }
.leader__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.leader__monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    repeating-radial-gradient(circle at 70% 120%, rgba(247, 245, 237, .05) 0 1px, transparent 1px 14px),
    radial-gradient(120% 90% at 20% 0%, rgba(105, 184, 63, .45), transparent 60%),
    linear-gradient(160deg, var(--emerald), var(--forest-deep));
  transition: transform 1.2s var(--ease-out);
}
.leader__monogram span {
  display: grid; place-items: center;
  width: 128px; height: 128px; border-radius: 50%;
  border: 1px solid rgba(201, 168, 92, .6);
  box-shadow: 0 0 0 10px rgba(201, 168, 92, .08);
  font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 56px; letter-spacing: .02em;
  color: var(--ivory);
}
.leader:hover .leader__monogram, .leader:hover .leader__portrait img,
.leader:focus-visible .leader__monogram, .leader.is-open .leader__monogram { transform: scale(1.07); }
.leader__body { padding: 24px 14px 0; flex: 1; display: flex; flex-direction: column; }
.leader__role { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.leader__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(23px, 1.9vw, 28px); line-height: 1.12; color: var(--forest); margin: 10px 0 16px; padding-right: 40px; }
.leader__name span { display: block; font-size: .72em; font-style: italic; font-weight: 400; color: var(--green); }
.leader__equity { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.leader__bar { position: relative; flex: 1; height: 2px; background: rgba(23, 35, 30, .1); border-radius: 2px; overflow: hidden; }
.leader__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--gold), var(--leaf)); }
.leader__pct { font-size: 12.5px; font-weight: 600; color: var(--forest); white-space: nowrap; }
.leader__summary { font-size: 14px; line-height: 1.65; color: var(--muted); }
.leader__more {
  max-height: 0; overflow: hidden; opacity: 0;
  font-size: 13px; line-height: 1.65; color: var(--muted);
  transition: max-height .7s var(--ease-out), opacity .5s, margin .7s var(--ease-out), padding .7s var(--ease-out);
}
.leader__more p + p { margin-top: 8px; }
.leader__more strong { color: var(--forest); font-weight: 600; }
.leader:hover .leader__more, .leader:focus-visible .leader__more, .leader:focus-within .leader__more, .leader.is-open .leader__more { max-height: 260px; opacity: 1; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline-dark); }
.leader__arrow {
  position: absolute; right: 22px; bottom: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--hairline-dark); color: var(--forest);
  transition: transform .7s var(--ease-out), background-color .5s, color .5s, border-color .5s;
}
.leader:hover .leader__arrow, .leader:focus-visible .leader__arrow, .leader.is-open .leader__arrow { transform: rotate(-45deg); background: var(--forest); color: var(--gold); border-color: var(--forest); }
.leader__gold {
  position: absolute; left: 26px; right: 26px; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .9s var(--ease-out);
}
.leader:hover .leader__gold, .leader:focus-visible .leader__gold, .leader.is-open .leader__gold { transform: scaleX(1); }
.leader__summary { padding-right: 52px; }

/* ---------- 17. Vision ---------- */
.vision { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); overflow: hidden; }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.vision__copy h2 { margin-bottom: 44px; }
.vision__quote { max-width: 480px; padding-left: 26px; border-left: 1px solid var(--gold); }
.vision__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; color: var(--forest); }
.vision__quote footer { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.globe { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin-inline: auto; perspective: 1000px; }
.globe__sphere {
  position: absolute; inset: 8%; border-radius: 50%; overflow: hidden;
  box-shadow:
    0 60px 100px -40px rgba(6, 60, 46, .55),
    0 0 0 1px rgba(255, 255, 255, .6),
    0 0 0 12px rgba(255, 255, 255, .25),
    0 0 0 13px rgba(201, 168, 92, .35);
  will-change: transform;
}
.globe__sphere picture { display: block; width: 100%; height: 100%; }
.globe__sphere img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; image-rendering: auto; }
.globe__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(50% 36% at 30% 18%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 60%),
    radial-gradient(80% 80% at 70% 85%, rgba(6, 60, 46, 0) 60%, rgba(6, 60, 46, .3) 100%);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, .22), inset -16px -24px 56px rgba(6, 60, 46, .22);
}
.globe__orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 168, 92, .45); transform: rotateX(72deg); animation: orbit 30s linear infinite; }
.globe__orbit--2 { inset: -6%; border-color: rgba(22, 131, 74, .28); transform: rotateX(72deg) rotateY(18deg); animation-duration: 46s; animation-direction: reverse; }
.globe__orbit--2 i { position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }
.globe__orbit--2 { animation-name: orbit2; }
@keyframes orbit2 { from { transform: rotateX(72deg) rotateY(18deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(18deg) rotateZ(-360deg); } }
.float-leaf--globe { width: 80px; right: 2%; bottom: 10%; transform: rotate(-38deg); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--hairline-dark); }
.pillar { padding: 34px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--hairline-dark); }
.pillar__icon { width: 50px; height: 50px; padding: 13px; border-radius: 50%; border: 1px solid rgba(201, 168, 92, .6); color: var(--green); margin-bottom: 22px; transition: background-color .5s, color .5s, transform .6s var(--ease-out); }
.pillar:hover .pillar__icon { background: var(--forest); color: var(--lime); transform: rotate(-12deg); }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; color: var(--forest); margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- 18. Sustainability ---------- */
.sustain {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(620px, 86vh, 880px);
  display: flex; align-items: center;
  color: var(--ivory); background: var(--forest-deep);
}
.sustain__media { position: absolute; inset: -10% 0; z-index: -3; }
.sustain__media picture { display: block; width: 100%; height: 100%; }
.sustain__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; image-rendering: auto; will-change: transform; }
.sustain::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 41, 31, .86) 0%, rgba(4, 41, 31, .68) 36%, rgba(4, 41, 31, .34) 58%, rgba(4, 41, 31, .04) 76%),
    linear-gradient(180deg, rgba(4, 41, 31, .38) 0%, transparent 30%),
    linear-gradient(0deg, rgba(4, 41, 31, .78) 0%, rgba(4, 41, 31, .45) 30%, transparent 52%);
}
.sustain__light {
  position: absolute; z-index: -1; top: -30%; right: -10%; width: 60vw; height: 60vw; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 220, 150, .3), transparent 60%);
  mix-blend-mode: screen;
  animation: ambient-drift 16s ease-in-out infinite alternate-reverse;
}
.grain {
  position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 2%); } 100% { transform: translate(0, 0); }
}
.sustain__content { position: relative; z-index: 4; padding-block: 120px; }
.sustain__content h2 { text-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.sustain__points { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 28px; margin-top: 56px; }
.sustain__points li { padding-top: 18px; border-top: 1px solid rgba(201, 168, 92, .55); font-size: 14.5px; line-height: 1.6; color: rgba(247, 245, 237, .85); }
.sustain__points span { display: block; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold); margin-bottom: 6px; }

/* ---------- 19. CTA + Contact ---------- */
.cta { overflow: hidden; isolation: isolate; background: var(--forest); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.7); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, var(--forest) 30%, rgba(6, 60, 46, .7) 70%, rgba(6, 60, 46, .5)); }
.cta__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.cta__copy h2 { margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 52px; }
.contact-list { display: grid; gap: 16px; font-size: 15px; color: rgba(247, 245, 237, .82); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: 4px; }
.contact-list a { background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.contact-list a:hover { background-size: 100% 1px; color: var(--ivory); }

.enquiry {
  padding: clamp(28px, 3.4vw, 46px);
  background: rgba(247, 245, 237, .04);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline-light);
  border-radius: 24px;
  box-shadow: var(--shadow-deep);
}
.enquiry__title { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.enquiry__hint { font-size: 13px; color: rgba(247, 245, 237, .55); margin: 6px 0 22px; }
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 0 10px;
  font: inherit; font-size: 15px; color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid rgba(247, 245, 237, .25);
  border-radius: 0; outline: none; resize: vertical;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; padding-right: 24px; }
.field select option { color: var(--charcoal); }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 18px; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
.field label {
  position: absolute; left: 0; top: 24px;
  font-size: 15px; color: rgba(247, 245, 237, .6);
  transform-origin: left top; pointer-events: none;
  transition: transform .4s var(--ease-out), color .4s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; box-shadow: 0 2px 0 -1px var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-18px) scale(.74); color: var(--gold); letter-spacing: .06em; }
.field.is-invalid input { border-color: #E59A7A; }
.enquiry__status { min-height: 22px; font-size: 13px; color: var(--lime-soft); margin: 6px 0 14px; }
.enquiry__status.is-error { color: #F0B49B; }

/* ---------- 20. Footer ---------- */
.site-footer { position: relative; background: var(--forest-deep); color: rgba(247, 245, 237, .78); padding-top: clamp(72px, 8vw, 112px); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 168, 92, .6), transparent); }
.site-footer__top { display: grid; grid-template-columns: 1.15fr 2fr; gap: clamp(40px, 6vw, 96px); padding-bottom: 56px; }
.brand--footer .brand__mark { width: 58px; }
.site-footer .tagline-hi { margin: 22px 0 12px; font-size: 16px; }
.site-footer__note { font-size: 14px; line-height: 1.7; max-width: 320px; color: rgba(247, 245, 237, .58); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 28px; }
.site-footer h3 { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__cols li + li { margin-top: 10px; }
.site-footer__cols a, .site-footer address { font-size: 14px; line-height: 1.6; }
.site-footer address { margin-bottom: 10px; color: rgba(247, 245, 237, .7); }
.site-footer__cols a { color: rgba(247, 245, 237, .74); transition: color .3s; }
.site-footer__cols a:hover { color: var(--lime-soft); }
.site-footer__word {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(76px, 17vw, 270px); line-height: .8; letter-spacing: -.02em;
  text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 168, 92, .28);
  margin: 0 0 -.06em;
  user-select: none;
}
.site-footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding: 26px 0 30px; border-top: 1px solid var(--hairline-light);
  font-size: 12.5px; color: rgba(247, 245, 237, .5);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(247, 245, 237, .75); }
.to-top .icon { width: 14px; height: 14px; transform: rotate(-90deg); transition: transform .5s var(--ease-out); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(4px); }

/* ---------- 21. Story film dialog ----------
   Each image sits in a frame that matches its own shape and is never shown
   larger than its native pixel size on standard screens: no crop, no blur. */
.story {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--forest-deep); color: var(--ivory); overflow: hidden;
  opacity: 0; transition: opacity .6s var(--ease-out), display .6s allow-discrete, overlay .6s allow-discrete;
}
.story[open] { opacity: 1; }
@starting-style { .story[open] { opacity: 0; } }
.story::backdrop { background: rgba(4, 41, 31, .92); }
.story__ambient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(22, 131, 74, .28), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(201, 168, 92, .12), transparent 70%),
    linear-gradient(180deg, #052F24 0%, var(--forest-deep) 100%);
}

.story__ui { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; gap: 28px; padding: 24px var(--gutter); }
.story__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; white-space: nowrap; }
.story__progress { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.story__progress button { padding: 10px 0; }
.story__progress i { position: relative; display: block; height: 2px; background: rgba(247, 245, 237, .22); overflow: hidden; border-radius: 2px; transition: background-color .3s; }
.story__progress button:hover i { background: rgba(247, 245, 237, .45); }
.story__progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.story__progress .is-done i::after { transform: scaleX(1); }
.story__progress .is-active i::after { animation: progress var(--story-dur, 6.5s) linear forwards; }
.story.is-paused .story__progress .is-active i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.story__count { font-size: 12px; letter-spacing: .18em; color: rgba(247, 245, 237, .6); white-space: nowrap; }
.story__count span { color: var(--gold); }
.story__close { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247, 245, 237, .4); display: grid; place-items: center; transition: background-color .4s, color .4s; }
.story__close:hover { background: var(--ivory); color: var(--forest); }

.story__stage { position: absolute; inset: 96px var(--gutter) 104px; z-index: 2; }
.story__scene {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-content: center; gap: 28px;
  opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease-inout), visibility 0s 1s;
}
.story__scene.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease-inout), visibility 0s; }

.story__frame {
  position: relative; overflow: hidden;
  background: var(--forest);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 168, 92, .35);
  transform: translateY(18px); transition: transform 1.2s var(--ease-out);
}
.story__scene.is-active .story__frame { transform: none; }
.story__frame picture { display: block; width: 100%; height: 100%; }
.story__frame img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;            /* frame already matches the image ratio: nothing is cut */
  image-rendering: auto;
  transform: scale(1.025); transform-origin: 50% 50%;
}
/* gentle settle: ends at exactly 1:1, never zooms past native size */
.story__scene.is-active .story__frame img { animation: story-settle 6.5s var(--ease-out) forwards; }
.story.is-paused .story__scene.is-active .story__frame img { animation-play-state: paused; }
@keyframes story-settle { from { transform: scale(1.025); } to { transform: scale(1); } }

/* Wide photographs (3:1 and 2:1): framed at their own aspect ratio */
.story__scene--wide .story__frame {
  aspect-ratio: var(--ar);
  width: min(88vw, 1280px, calc((100dvh - 200px - 150px) * var(--ar)));
  border-radius: 18px;
}
/* Circular photographs: shown as circles, capped below native resolution */
.story__scene--circle { grid-template-columns: minmax(0, 440px) auto; align-items: center; column-gap: clamp(40px, 6vw, 96px); }
.story__scene--circle figcaption { order: -1; }
.story__scene--circle .story__frame {
  width: min(560px, calc(100dvh - 240px), 80vw); aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 168, 92, .6), 0 0 0 14px rgba(247, 245, 237, .04), 0 0 0 15px rgba(201, 168, 92, .22);
}

.story__scene figcaption { max-width: 760px; opacity: 0; transform: translateY(16px); transition: opacity 1s .35s, transform 1.2s .35s var(--ease-out); }
.story__scene.is-active figcaption { opacity: 1; transform: none; }
.story__chapter { display: block; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.story__scene figcaption p { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.12; }

.story__controls { position: absolute; inset: auto 0 0; z-index: 3; display: flex; justify-content: center; gap: 14px; padding: 0 var(--gutter) 30px; }
.story__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(247, 245, 237, .35); color: var(--ivory);
  transition: background-color .4s, color .4s, border-color .4s;
}
.story__btn:hover { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.story__btn--play { border-color: var(--gold); }
.story__btn .icon { width: 18px; height: 18px; }
.icon--flip { transform: scaleX(-1); }
.story__ico-play { display: none; margin-left: 2px; }
.story.is-paused .story__ico-play { display: block; }
.story.is-paused .story__ico-pause { display: none; }

/* ---------- 22. Motion-ready initial states (only when GSAP is running) ---------- */
.js:not(.no-motion) [data-reveal],
.js:not(.no-motion) [data-reveal-group] > *,
.js:not(.no-motion) [data-hero-fade],
.js:not(.no-motion) [data-hero-btn],
.js:not(.no-motion) [data-footer-item],
.js:not(.no-motion) .metric { opacity: 0; }
.js:not(.no-motion) [data-lines] .line__inner,
.js:not(.no-motion) [data-hero-lines] .line__inner { transform: translateY(110%); }
.js:not(.no-motion) .site-header { opacity: 0; }
