/* Auri Group — aurigroup.in
   Base, header, footer and the group's own pages. Venture styles live in ventures.css.
   One family (Anek Latin, variable width + weight): leaf green on a pale field,
   with the marigold of the Auri flower as the only bright colour. */

@font-face {
  font-family: "Anek Latin";
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/anek-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anek Latin";
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/anek-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anek Telugu";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/anek-telugu-polam.woff2") format("woff2");
  unicode-range: U+0C00-0C7F;
}

:root {
  --leaf: #0e3b2a;
  --leaf-2: #2d5a47;
  --field: #f3f7ee;
  --marigold: #f6b414;
  --ember: #e8502a;
  --white: #ffffff;

  --font: "Anek Latin", "Anek Telugu", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  font-stretch: 100%;
  color: var(--leaf);
  background: var(--field);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 20;
  background: var(--leaf); color: var(--white); padding: 0.6rem 1rem; border-radius: 0 0 6px 6px;
}
.skip:focus { top: 0; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent, var(--leaf));
  color: var(--on-accent, var(--white));
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--field); color: var(--leaf); }
.link { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding: 0.7rem var(--gutter);
  background: color-mix(in srgb, var(--field) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--leaf) 12%, transparent);
}
.top__mark, .foot__mark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-stretch: 112%; font-size: 1.2rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
.top__nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.2vw, 2rem); font-size: 1rem; font-weight: 500; }
.top__nav a { text-decoration: none; padding-block: 0.3rem; white-space: nowrap; }
.top__nav a:hover { text-decoration: underline; }
.top__nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--marigold);
  text-decoration-thickness: 0.16em; text-underline-offset: 0.3em;
}
.top__nav .top__contact {
  padding: 0.4rem 1rem; border-radius: 999px; background: var(--leaf); color: var(--field);
}
.top__nav .top__contact:hover,
.top__nav .top__contact[aria-current="page"] { text-decoration: none; background: var(--leaf-2); }

@media (max-width: 50rem) {
  .top { flex-wrap: wrap; }
  .top__nav {
    width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    overflow-x: auto; scrollbar-width: none; font-size: 0.95rem; gap: 1.25rem;
  }
  .top__nav::-webkit-scrollbar { display: none; }
}

/* ---------- home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 13vh, 9rem) var(--gutter) clamp(4rem, 12vh, 8rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}
.hero__text { position: relative; max-width: var(--max); width: 100%; margin-inline: auto; }

.hero h1, .page-head h1 {
  font-weight: 600;
  font-stretch: 82%;
  line-height: 0.96;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(3.25rem, 10.5vw, 9.5rem); }

.hero__lede, .page-head__lede {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 32em;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.35;
  color: var(--leaf-2);
  text-wrap: pretty;
}

.hero__flower {
  position: absolute;
  top: clamp(-9rem, -8vw, -4rem);
  right: clamp(-8rem, -6vw, -3rem);
  width: clamp(14rem, 24vw, 24rem);
  height: auto;
  pointer-events: none;
}

/* The one orchestrated moment: the flower opens, petal by petal, on load. */
.petal {
  transform-origin: 0 0;
  animation: petal-open 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
  animation-delay: calc(0.15s + var(--i) * 0.085s);
}
.petal-eye { animation: eye-in 0.4s ease-out 0.1s both; }
@keyframes petal-open { from { transform: scale(0.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes eye-in { from { transform: scale(0); } to { transform: scale(1); } }

@media (max-width: 46rem) {
  .hero { min-height: 0; padding-top: 10rem; }
  .hero__flower { top: -5rem; right: -5rem; width: 16rem; }
}

/* ---------- inner page head ---------- */

.page-head { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 6rem); }
.page-head h1 { font-size: clamp(3rem, 8.5vw, 7.5rem); }
.page-head .wrap { position: relative; }
.page-head__flower {
  position: absolute; top: -4rem; right: -4rem;
  width: clamp(13rem, 26vw, 24rem); height: auto; pointer-events: none;
}

/* ---------- bands ---------- */

.band { padding-block: clamp(4rem, 8vw, 7.5rem); }
.band--white { background: var(--white); }
.band--leaf { background: var(--leaf); color: #eef4ea; }

.band h2, .band__title {
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; font-stretch: 84%;
  line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance;
}
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.band__head p { max-width: 36em; color: var(--leaf-2); }

/* heading on the left, text on the right */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: start; }

.prose { max-width: 38rem; }
.prose > * + * { margin-top: 1.15em; }
.prose p { text-wrap: pretty; }
.prose a { text-decoration-color: var(--marigold); text-decoration-thickness: 0.12em; }
.prose a:hover { text-decoration-color: var(--ember); }
.prose__lead { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.32; font-weight: 500; }
.prose__strong { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; font-weight: 600; font-stretch: 90%; }
.band--leaf .prose p:not(.prose__lead) { color: #c9d8cb; }

@media (max-width: 50rem) {
  .band__head, .cols { grid-template-columns: 1fr; }
}

/* ---------- home: venture tiles ---------- */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.4vw, 1.25rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.tile {
  --tint: var(--leaf);
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 10px;
  background: var(--tint); color: #fff; text-decoration: none;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--tint) 96%, transparent) 0%, color-mix(in srgb, var(--tint) 55%, transparent) 38%, transparent 68%);
}
.tile__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(1.1rem, 2.4vw, 2rem); display: grid; gap: 0.35rem; }
.tile__name { font-size: 1rem; font-weight: 600; opacity: 0.9; }
.tile__line { font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 500; font-stretch: 86%; line-height: 1.08; letter-spacing: -0.012em; max-width: 16em; }
.tile:hover .tile__line { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.16em; }
.tile:focus-visible { outline-offset: 4px; }

.tile--organics { --tint: #0a3a22; }
.tile--tranqville { --tint: #132730; }
.tile--yello { --tint: #09243c; }
.tile--polam { --tint: #2c2118; }

@media (max-width: 46rem) {
  .tiles { grid-template-columns: 1fr; }
}

/* ---------- home: flower story ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__flower { width: clamp(9rem, 22vw, 18rem); height: auto; justify-self: center; }
@media (max-width: 50rem) {
  .split { grid-template-columns: 1fr; }
  .split__flower { justify-self: start; width: 8rem; }
}

/* ---------- beliefs ---------- */

.beliefs li {
  font-size: clamp(2.2rem, 6.4vw, 5.6rem); font-weight: 600; font-stretch: 82%;
  line-height: 1.02; letter-spacing: -0.02em;
  padding-block: 0.22em;
  border-top: 2px solid var(--leaf);
}
.beliefs li:last-child { border-bottom: 2px solid var(--leaf); }
.band__title + .beliefs { margin-top: clamp(2rem, 4vw, 3rem); }
.beliefs__by { margin-top: 1.75rem; max-width: 38em; color: var(--leaf-2); }
.beliefs__by .link { color: var(--leaf); white-space: nowrap; }

/* ---------- mission pillars ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid #5f8571; }
.pillar { padding: 1.75rem clamp(1rem, 2.5vw, 2.25rem) 2rem 0; }
.pillar + .pillar { padding-left: clamp(1rem, 2.5vw, 2.25rem); border-left: 1px solid #5f8571; }
.pillar h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; font-stretch: 86%; line-height: 1.08; color: var(--marigold); }
.pillar p { margin-top: 0.75rem; color: #c9d8cb; }
.pillars__after { margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid #5f8571; max-width: 30em; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.3; font-weight: 500; }

@media (max-width: 50rem) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid #5f8571; }
}

/* ---------- people ---------- */

.person__name { margin-top: 1.25rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; font-stretch: 90%; line-height: 1.15; }
.person__role { color: var(--leaf-2); }

/* ---------- impact ---------- */

.measures { border-top: 2px solid var(--leaf); }
.measures li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.25rem 2rem; align-items: baseline;
  padding-block: 1.2rem; border-bottom: 1px solid color-mix(in srgb, var(--leaf) 25%, transparent);
}
.measures h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; font-stretch: 88%; line-height: 1.15; }
.measures p { color: var(--leaf-2); }
@media (max-width: 36rem) { .measures li { grid-template-columns: 1fr; } }

/* ---------- closing statement ---------- */

.closing { background: var(--leaf); color: var(--field); padding-block: clamp(4rem, 9vw, 8rem); }
.closing p {
  max-width: 15em; margin-bottom: 2rem;
  font-size: clamp(2.2rem, 5.6vw, 5rem); font-weight: 600; font-stretch: 82%;
  line-height: 1; letter-spacing: -0.02em; text-wrap: balance;
}
.closing--field { background: var(--field); color: var(--leaf); border-top: 1px solid color-mix(in srgb, var(--leaf) 14%, transparent); }

/* ---------- contact directory ---------- */

.dir { border-top: 2px solid var(--leaf); }
.dir__row {
  display: grid;
  grid-template-columns: clamp(5rem, 9vw, 8rem) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-areas: "pic name place links" "pic kind place links";
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: 1.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--leaf) 25%, transparent);
}
.dir__row h3 { grid-area: name; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; font-stretch: 88%; line-height: 1.15; }
.dir__row h3 a { text-decoration: none; }
.dir__row h3 a:hover { text-decoration: underline; }
.dir__kind { grid-area: kind; color: var(--leaf-2); }
.dir__pic { grid-area: pic; align-self: start; aspect-ratio: 1; }
.dir__row address { grid-area: place; }
.dir__note { display: inline-block; margin-top: 0.4rem; font-size: 0.95rem; color: var(--leaf-2); }
.dir__links { grid-area: links; }
.dir__links li + li { margin-top: 0.2rem; }
.dir__links a, .dir__note a { text-decoration-color: color-mix(in srgb, var(--leaf) 40%, transparent); }
.dir__links a:hover, .dir__note a:hover { text-decoration-color: var(--ember); }

@media (max-width: 54rem) {
  .dir__row { grid-template-columns: 1fr; grid-template-areas: "pic" "name" "kind" "place" "links"; grid-template-rows: none; row-gap: 0.5rem; }
  .dir__pic { width: 6rem; margin-bottom: 0.5rem; }
  .dir__row address { margin-top: 0.4rem; }
}

/* ---------- footer ---------- */

.foot { background: var(--leaf); color: #cfdccf; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1rem; border-top: 1px solid #2d5a47; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem 2rem; }
.foot__mark { color: var(--white); font-size: 1.35rem; }
.foot__line { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 500; font-stretch: 90%; color: var(--marigold); }
.foot__nav { display: grid; gap: 0.35rem; align-content: start; }
.foot__nav h2 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; color: var(--white); }
.foot__legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #2d5a47; font-size: 0.9rem; }

@media (max-width: 46rem) {
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal, .petal-eye { animation: none; }
  .btn, .tile img { transition: none; }
  .tile:hover img { transform: none; }
}


/* numbers: label first in the markup, number first on screen */
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
