/* ============================================================
   KRISHI JANANI — style8.css
   ------------------------------------------------------------
   TWO FONTS:
   1. Playfair Display — titles & headings
   2. Lato             — body, UI, labels

   ALTERNATING SECTION RHYTHM:
   LIGHT (ivory bg, dark text): Hero, Why & How, Platform, Team
   DARK  (soil bg, cream text): Work on Ground, Partnerships, Contact

   COLOUR TOKENS:
   --soil      #2c2416  dark brown  → dark section bg, strong text
   --bark      #3a2a1a  deeper brown → body text on light sections
   --clay      #8b6b4a  warm tan    → labels, muted accents
   --straw     #c9a96e  gold        → dividers, dark-section accents
   --mist      #e8e0d4  pale tan    → borders, subtle rules
   --cream     #f5f1eb  off-white   → light section bg
   --leaf      #3d5c3a  dark green  → primary CTA on light sections
   --leaf-mid  #4a6741  mid green   → heading em on light sections
   --white     #faf8f5  warm white  → alternating section bg
   ============================================================ */


/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --soil:      #2c2416;
  --bark:      #3a2a1a;
  --clay:      #8b6b4a;
  --straw:     #c9a96e;
  --mist:      #e8e0d4;
  --cream:     #f5f1eb;
  --leaf:      #3d5c3a;
  --leaf-mid:  #4a6741;
  --white:     #faf8f5;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', sans-serif;

  --text-xs:   0.75rem;    /* 12px — labels & caps */
  --text-sm:   0.9375rem;  /* 15px */
  --text-base: 1.125rem;   /* 18px — body minimum */
  --text-lg:   1.25rem;    /* 20px */

  --section-pad: clamp(72px, 9vw, 130px);
  --gutter:      clamp(24px, 5vw, 80px);
  --max-w:       1160px;

  --polaroid-bg:     #fdfaf6;
  --polaroid-border: rgba(0,0,0,0.08);
}


/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--bark);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }


/* ─── UTILITIES ───────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}
.divider {
  width: 48px; height: 2px;
  background: var(--straw);
  margin-block: 20px;
}


/* ─── IMAGE SLOT ──────────────────────────────────────────── */
.img-slot {
  position: relative;
  overflow: hidden;
  background: var(--mist);
  width: 100%; height: 100%;
}
.img-slot img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.img-slot:hover img { transform: scale(1.04); }

/* Plain variant — no hover zoom (used for infographics) */
.img-slot-plain img { transition: none; }
.img-slot-plain:hover img { transform: none; }

/* Empty placeholder */
.img-slot-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(201,169,110,0.3);
}
.img-slot-empty span {
  font-size: var(--text-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--straw); opacity: 0.5;
}


/* ─── POLAROID FRAME ──────────────────────────────────────── */
.polaroid {
  background: var(--polaroid-bg);
  padding: 10px 10px 18px;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.12),
    0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--polaroid-border);
  position: relative;
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.polaroid:nth-child(even) { transform: rotate(1.2deg); }
.polaroid:nth-child(3n)   { transform: rotate(-0.5deg); }
.polaroid:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 2;
}
.polaroid .img-slot { width: 100%; }
.polaroid-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--bark);
  text-align: center;
  padding: 6px 6px 0;
  line-height: 1.4;
}

/* Dark-bg sections */
.polaroid-dark { background: #f0ece4; }
.polaroid-dark .polaroid-caption { color: var(--soil); }


/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(201,169,110,0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(44,36,22,0.35);
  transition: box-shadow 0.3s;
}
nav.nav-scrolled {
  background: #f5f1eb;
  box-shadow: 0 2px 16px rgba(44,36,22,0.25), 0 1px 0 rgba(44,36,22,0.12);
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-wordmark strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--soil); line-height: 1.2;
}
.nav-wordmark span {
  display: block;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay);
}

/* Nav links — centred between brand and CTA */
.nav-links {
  display: flex; align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px; list-style: none;
}
.nav-links a {
  font-size: var(--text-xs); font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--soil); transition: color 0.2s;
}
.nav-links a:hover { color: var(--leaf); }

/* CTA — standalone button, right side */
.nav-cta {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  background: var(--leaf);
  border: 1.5px solid var(--leaf);
  padding: 10px 22px; border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--soil); border-color: var(--soil); }
.nav-cta-item { display: none; }

/* Hamburger — hidden on desktop and tablet */
.nav-hamburger {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; color: var(--soil);
  cursor: pointer; padding: 4px;
}


/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--leaf); color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px; border: none;
  cursor: pointer; align-self: flex-start;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--soil); transform: translateY(-1px); }
.btn-straw { background: var(--straw); color: var(--soil); border-color: var(--straw); }
.btn-straw:hover { background: var(--cream); color: var(--soil); }
.btn-soil { background: var(--soil); }
.btn-soil:hover { background: var(--bark); }


/* ─────────────────────────────────────────────────────────────
   SECTION 1 · HERO  (LIGHT)
───────────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream);
  padding-top: 80px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--section-pad);
  padding-right: clamp(24px, 4vw, 60px);
}
.hero-eyebrow {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--leaf-mid); margin-bottom: 18px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  font-weight: 800; line-height: 1.1;
  color: var(--soil); margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.hero-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700; font-style: italic;
  color: var(--leaf-mid); margin-bottom: 28px;
  line-height: 1.3;
}
.hero-sub {
  font-size: var(--text-base); font-weight: 400;
  color: var(--bark);
  max-width: 420px; line-height: 1.8; margin-bottom: 40px;
}
.hero-right { position: relative; overflow: hidden; }
.hero-right .img-slot { position: absolute; inset: 0; height: 100%; }
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, rgba(245,241,235,0.2) 28%, transparent 50%);
  z-index: 1; pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   SECTION 2 · WHY & HOW  (LIGHT)
───────────────────────────────────────────────────────────── */
#why {
  padding-block: var(--section-pad);
  background: var(--white);
  position: relative; overflow: hidden;
}
#why::before {
  content: 'உயிர் சூழல்';
  position: absolute; top: -10px; right: -10px;
  font-family: var(--font-body);
  font-size: clamp(60px, 11vw, 150px);
  font-weight: 700; color: rgba(139,107,74,0.05);
  white-space: nowrap; pointer-events: none; user-select: none; line-height: 1;
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
  color: var(--soil);
}
.why-text h2 em { font-style: italic; color: var(--leaf-mid); }
.why-text p {
  font-size: var(--text-base); color: var(--bark);
  margin-bottom: 18px; line-height: 1.8; max-width: 460px;
}
.why-pillars { margin-top: 32px; border-top: 1px solid var(--mist); }
.pillar {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--mist);
}
.pillar-icon {
  font-size: 1.3rem; color: var(--leaf-mid);
  min-width: 32px; padding-top: 2px; flex-shrink: 0;
}
.pillar-text { font-size: var(--text-base); color: var(--bark); line-height: 1.7; }
.pillar-text strong { display: block; font-weight: 700; color: var(--soil); margin-bottom: 4px; }
.why-visual {
  display: flex; flex-direction: column;
  gap: 20px; padding-top: 8px;
}
.why-visual .polaroid .img-slot { height: 260px; }


/* ─────────────────────────────────────────────────────────────
   SECTION 3 · WORK ON THE GROUND  (DARK)
───────────────────────────────────────────────────────────── */
#work {
  padding-block: var(--section-pad);
  background: var(--soil); color: var(--cream);
}
.work-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 56px; align-items: start;
}
.work-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800; line-height: 1.15; color: var(--cream);
}
.work-header h2 em { font-style: italic; color: var(--straw); }
.work-header p {
  font-size: var(--text-base); line-height: 1.8;
  color: rgba(232,224,212,0.78);
}
.work-header strong { color: var(--cream); }
.work-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px; margin-bottom: 56px;
  align-items: start;
}
.work-mosaic .polaroid { background: #f0ece4; }
.work-mosaic .polaroid-large { grid-row: 1 / 3; }
.work-mosaic .polaroid-large .img-slot { height: 480px; }
.work-mosaic .polaroid:not(.polaroid-large) .img-slot { height: 220px; }
.work-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: 4px; overflow: hidden;
}
.fact { background: rgba(255,255,255,0.04); padding: 36px 32px; text-align: center; }
.fact-icon { font-size: 1.8rem; color: var(--straw); margin-bottom: 12px; display: block; }
.fact-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800; color: var(--straw);
  line-height: 1; margin-bottom: 10px;
}
.fact-desc { font-size: var(--text-base); color: rgba(232,224,212,0.65); line-height: 1.65; }


/* ─────────────────────────────────────────────────────────────
   SECTION 4 · PLATFORM  (LIGHT)
───────────────────────────────────────────────────────────── */
#platform {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.platform-grid {
  display: grid; grid-template-columns: minmax(500px, 1fr) 1fr;
  gap: 72px; align-items: center;
}
.platform-title {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 24px;
}
.jcap-abbr {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800; line-height: 1;
  color: var(--soil); flex-shrink: 0;
}
.platform-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700; line-height: 1.25; color: var(--soil);
}
.platform-text h2 em { font-style: italic; color: var(--leaf-mid); }
.platform-text p {
  font-size: var(--text-base); color: var(--bark);
  margin-bottom: 20px; line-height: 1.8;
}
.platform-pillars {
  margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.platform-pillar {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: var(--text-base); color: var(--bark); line-height: 1.65;
}
.platform-pillar i { color: var(--leaf-mid); font-size: 1.3rem; margin-top: 3px; flex-shrink: 0; }
.platform-visual .img-slot { border-radius: 4px; max-height: 520px; overflow: hidden; }
.platform-visual .img-slot img { object-fit: contain; background: white; }

/* Lightbox */
.polaroid-lightbox { cursor: zoom-in; }
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(44,36,22,0.92);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}


/* ─────────────────────────────────────────────────────────────
   SECTION 5 · PARTNERSHIPS  (DARK)
───────────────────────────────────────────────────────────── */
#partnerships {
  padding-block: var(--section-pad);
  background: var(--soil); color: var(--cream);
}
.partner-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
  margin-bottom: 56px;
}
.partner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 24px; color: var(--cream);
}
.partner-text h2 em { font-style: italic; color: var(--straw); }
.partner-text p {
  font-size: var(--text-base); color: rgba(232,224,212,0.82);
  margin-bottom: 18px; line-height: 1.8;
}
.partner-text strong { color: var(--cream); }
.partner-enables {
  margin: 24px 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.enable-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: var(--text-base); color: rgba(232,224,212,0.82); line-height: 1.7;
}
.enable-icon { color: var(--straw); font-size: 1.3rem; margin-top: 4px; flex-shrink: 0; }
.partner-images {
  display: flex; flex-direction: column; gap: 24px; padding-top: 8px;
}
.partner-images .polaroid .img-slot { height: 260px; }
.pull-quote {
  position: relative;
  padding: 36px 48px 36px 72px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--straw);
  border-radius: 0 4px 4px 0;
}
.pull-quote-icon {
  position: absolute; left: 24px; top: 28px;
  font-size: 1.5rem; color: var(--straw); opacity: 0.6;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700; font-style: italic;
  color: rgba(232,224,212,0.9); line-height: 1.6; margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   SECTION 6 · TEAM  (LIGHT)
───────────────────────────────────────────────────────────── */
#team {
  padding-block: var(--section-pad);
  background: var(--white);
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800; line-height: 1.15; color: var(--soil);
}
.section-header h2 em { font-style: italic; color: var(--leaf-mid); }
.section-subhead { margin-top: 12px; font-size: var(--text-base); color: var(--clay); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px 20px;
}
.team-card {
  text-align: center; position: relative;
  background: var(--cream); border-radius: 6px;
  padding: 28px 16px 20px; border: 1px solid var(--mist);
  transition: box-shadow 0.25s;
}
.team-card:hover { box-shadow: 0 4px 20px rgba(44,36,22,0.1); }
.team-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 4px 4px;
  white-space: nowrap;
}
.badge-lead    { background: var(--leaf); color: var(--white); }
.badge-board   { background: var(--soil); color: var(--straw); }
.badge-advisor { background: var(--mist); color: var(--clay); }
.team-photo {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 14px; overflow: hidden;
  border: 2px solid var(--mist); background: var(--mist);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.team-name {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--soil); margin-bottom: 4px; line-height: 1.3;
}
.team-role { font-size: var(--text-sm); color: var(--clay); line-height: 1.45; font-weight: 400; margin-bottom: 12px; }
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--clay); font-size: 1.1rem; transition: color 0.2s;
}
.team-linkedin:hover { color: #0A66C2; }

/* ─────────────────────────────────────────────────────────────
   SECTION 7 · FOUNDER QUOTE  (LIGHT)
───────────────────────────────────────────────────────────── */
#founder-quote {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.founder-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 72px; align-items: center;
}
.founder-image .polaroid { max-width: 100%; }
.founder-image .polaroid .img-slot { height: 260px; }
.founder-quote-icon {
  font-size: 2rem; color: var(--straw);
  margin-bottom: 20px; display: block;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400; font-style: italic;
  color: var(--soil); line-height: 1.65;
  margin-bottom: 32px;
}
.founder-attribution { margin-top: 8px; }
.founder-attribution strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--soil);
}
.founder-attribution span {
  font-size: var(--text-sm); color: var(--clay);
}


/* ─────────────────────────────────────────────────────────────
   SECTION 8 · CONTACT  (DARK)
───────────────────────────────────────────────────────────── */
#contact {
  padding-block: var(--section-pad);
  background: var(--soil); color: var(--cream);
}
.contact-intro { margin-bottom: 52px; }
.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800; line-height: 1.15; color: var(--cream);
}
.contact-intro h2 em { font-style: italic; color: var(--straw); }
.contact-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.contact-featured {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 6px; padding: 40px 36px;
}
.contact-icon { font-size: 2.2rem; color: var(--straw); margin-bottom: 16px; display: block; }
.contact-featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800; color: var(--cream); margin-bottom: 16px;
}
.contact-featured p { font-size: var(--text-lg); color: rgba(232,224,212,0.8); line-height: 1.8; }
.contact-quiet h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--straw); opacity: 0.7; margin-bottom: 10px;
}
.contact-quiet h3 i { margin-right: 6px; font-size: 0.85em; }
.contact-quiet address {
  font-style: normal; font-size: var(--text-sm);
  color: rgba(232,224,212,0.5); line-height: 1.9;
}
.contact-quiet a {
  color: rgba(232,224,212,0.65);
  text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s;
}
.contact-quiet a:hover { color: var(--straw); }
.contact-meta { font-size: 0.78rem; opacity: 0.6; }


/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
footer { background: var(--soil); padding: 56px var(--gutter) 0; }
.footer-top {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-wordmark strong {
  display: block; font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--cream); line-height: 1.2;
}
.footer-wordmark span {
  display: block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--clay);
}
.footer-brand-desc {
  font-size: var(--text-sm); color: rgba(232,224,212,0.45);
  line-height: 1.75; max-width: 300px;
}
.footer-col h4 {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--straw); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: var(--text-sm); color: rgba(232,224,212,0.55);
  display: flex; align-items: center; gap: 10px; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--straw); }
.footer-col ul li a i { font-size: 0.85em; opacity: 0.7; }
.footer-bottom {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 28px 0 28px;
}
.footer-copy { font-size: var(--text-xs); color: rgba(201,169,110,0.6); }
.footer-tamil { font-size: var(--text-sm); font-style: italic; color: rgba(232,224,212,0.28); }


/* ─────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.20s; }
.fade-up:nth-child(4) { transition-delay: 0.30s; }


/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 960px)
───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; position: relative; padding-top: 80px; }
  .hero-right { position: absolute; inset: 0; opacity: 0.12; z-index: 0; }
  .hero-right::after { display: none; }
  .hero-left {
    position: relative; z-index: 1;
    min-height: calc(100svh - 80px);
    justify-content: center;
  }
  .hero-sub { max-width: 100%; }

  /* Hide CTA and show hamburger */
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }

  /* Nav links become dropdown */

  .nav-links {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; align-items: stretch;
  background: rgba(245,241,235,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(44,36,22,0.12);
  padding: 16px var(--gutter) 24px;
  gap: 0; flex: none;
}
.nav-links.open { display: flex; }
.nav-links li { border-bottom: 1px solid var(--mist); }
.nav-links a { display: block; padding: 14px 0; font-size: var(--text-sm); }

/* CTA as last item in dropdown */
.nav-links .nav-cta-item { display: block; border-bottom: none; margin-top: 8px; }
.nav-links .nav-cta-item a {
  display: block; text-align: center; padding: 14px 24px;
  background: var(--leaf); color: var(--white); border-radius: 2px;
}

  .why-grid,
  .platform-grid,
  .partner-grid { grid-template-columns: 1fr; gap: 44px; }

  .why-visual { flex-direction: row; flex-wrap: wrap; }
  .why-visual .polaroid { flex: 1 1 calc(50% - 10px); }
  .why-visual .polaroid .img-slot { height: 220px; }

  .work-header { grid-template-columns: 1fr; gap: 28px; }
  .work-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .work-mosaic .polaroid-large { grid-row: 1; grid-column: 1 / 3; }
  .work-mosaic .polaroid-large .img-slot { height: 260px; }
  .work-mosaic .polaroid:not(.polaroid-large) .img-slot { height: 160px; }
  .work-facts { grid-template-columns: 1fr; }

  .partner-images { flex-direction: row; }
  .partner-images .polaroid { flex: 1; }
  .partner-images .polaroid .img-slot { height: 200px; }

  .founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .founder-image .polaroid { max-width: 100%; }
  .founder-image .polaroid .img-slot { height: 260px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
}


/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 600px)
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  .why-visual { flex-direction: column; }
  .why-visual .polaroid .img-slot { height: 200px; }

  .work-mosaic { grid-template-columns: 1fr; }
  .work-mosaic .polaroid-large { grid-column: 1; grid-row: 1; }
  .work-mosaic .polaroid-large .img-slot { height: 220px; }
  .work-mosaic .polaroid:not(.polaroid-large) .img-slot { height: 160px; }

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

  .partner-images { flex-direction: column; }
  .partner-images .polaroid .img-slot { height: 200px; }

  .pull-quote { padding: 28px 24px 28px 48px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────────────────────────────────────────
   PRINT / PDF
───────────────────────────────────────────────────────────── */
@media print {
  nav {
    position: static;
    box-shadow: none;
    background: #f5f1eb;
  }
  body { padding-top: 0; }
  #hero { padding-top: 0; }
  .fade-up { opacity: 1; transform: none; }
}