/* ==========================================================================
   Tirupati Ventures — Shared Stylesheet
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400&family=Commissioner:wght@300;400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --white: #FFFFFF;
  /* Warm neutrals rather than blue-grey: the group's world is cotton, soil
     and brass, and a cool grey palette fought the gold in the logo. */
  --bg: #F7F4ED;
  --dark: #14120D;
  --text: #14120D;
  --body: #55504A;
  --muted: #9A938A;
  --crimson: #8A6A22;
  --purple: #B8920C;
  --border: #E3DDD1;

  --font-heading: 'Bodoni Moda', 'Georgia', serif;
  --font-body: 'Commissioner', 'Helvetica Neue', sans-serif;

  --nav-height: 76px;
  /* Fluid: fills a laptop, still uses a 27" monitor, never runs text to an
     unreadable measure. The old flat 1100px stranded the whole site in a
     narrow column on anything above about 1400px wide. */
  --max-width: min(1360px, 100%);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 7vw, 9rem);
  --radius: 6px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.55vw + 0.85rem, 1.15rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-brand img {
  height: 32px;
  width: auto;
}

.nav-brand span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
  color: var(--body);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO (Home Page)
   ========================================================================== */

.hero {
  background: linear-gradient(rgba(20,18,13,0.62), rgba(20,18,13,0.88)),
              url('../images/cotton-field.jpg') center / cover no-repeat;
  background-color: var(--dark);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  min-height: min(82svh, 860px);
  display: flex;
  align-items: center;
}

/* Business section with side image */
.biz-with-img {
  display: grid;
  /* Was a flat 280px, which shrank to a thumbnail beside the text column on
     anything wider than a laptop. */
  grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 520px);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.biz-img {
  width: 100%;
  height: clamp(240px, 22vw, 400px);
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Full-width image banner between sections */
.img-break {
  width: 100%;
  height: clamp(220px, 24vw, 440px);
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6.2vw, 8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.75rem;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.3rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.hero-cta:hover {
  opacity: 0.75;
}

.hero-cta + .hero-cta {
  margin-left: 2rem;
}

/* ==========================================================================
   PAGE HEADER (Inner Pages)
   ========================================================================== */

.page-header {
  background: var(--bg);
  padding: clamp(3rem, 5vw, 5.5rem) var(--gutter);
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--crimson);
}

.breadcrumb .sep {
  font-size: 0.65rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 4.75rem);
  letter-spacing: -0.012em;
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: var(--section-pad) var(--gutter);
}

.section-alt {
  background: var(--bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-variant: small-caps;
  color: var(--crimson);
  margin-bottom: 0.75rem;
}

.heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
}

.body-text + .body-text {
  margin-top: 1rem;
}

/* ==========================================================================
   BUSINESS CARDS (Home Page)
   ========================================================================== */

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.biz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--crimson);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}

.biz-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.biz-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
  color: var(--crimson);
  margin-bottom: 0.6rem;
}

.biz-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.biz-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 1.25rem;
}

.biz-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.biz-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   BUSINESS SECTIONS (Businesses Page)
   ========================================================================== */

.biz-section {
  border-top: 3px solid var(--purple);
  padding-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.biz-section:last-child {
  margin-bottom: 0;
}

.biz-sector {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.biz-company-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.biz-company-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.biz-sub-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.biz-sub-companies span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.3rem 0.75rem;
  color: var(--text);
}

.biz-location {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   INVESTMENT / HIGHLIGHT CARDS
   ========================================================================== */

.hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.hl-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hl-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hl-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--body);
}

/* ==========================================================================
   LEADER CARDS
   ========================================================================== */

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.leader {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.leader-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #C9A84C;
  letter-spacing: 0.02em;
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.leader-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   FACT ROWS
   ========================================================================== */

.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.fact:last-child {
  border-bottom: 1px solid var(--border);
}

.fact-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-variant: small-caps;
  color: var(--muted);
}

.fact-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  background: transparent;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-group select:focus {
  border-bottom-color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  background: transparent;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 2.2rem;
  border: 1.5px solid var(--text);
  border-radius: 3px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-submit:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-submit.sent {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
  pointer-events: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--dark);
  border-top: 3px solid var(--purple);
  padding: 4rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .biz-grid,
  .hl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ---- 768px ---- */
@media (max-width: 768px) {
  .biz-with-img {
    grid-template-columns: 1fr;
  }
  .biz-img {
    height: 200px;
    order: -1;
  }
  .img-break {
    height: 180px;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .biz-grid,
  .hl-grid {
    grid-template-columns: 1fr;
  }

  .leader-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-cta + .hero-cta {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-headline {
    max-width: 100%;
  }
}

/* ---- 600px ---- */
@media (max-width: 600px) {
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-header {
    padding: 3rem 1rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .fact {
    flex-direction: column;
    gap: 0.25rem;
  }

  .biz-card,
  .hl-card,
  .leader {
    padding: 1.5rem;
  }

  .leader {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   STATS STRIP
   ========================================================================== */

.stats {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: clamp(2.5rem, 4vw, 4.5rem) var(--gutter);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
}

.stat {
  text-align: center;
  padding: 0 clamp(0.5rem, 2vw, 2rem);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat:first-child { border-left: 0; }

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 4.25rem);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.66rem, 0.75vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat:nth-child(3) { border-left: 0; }
}

/* Very large screens: keep growing the rhythm rather than capping early. */
@media (min-width: 1800px) {
  body { font-size: 1.08rem; }
  .biz-img { height: 320px; }
  .img-break { height: 380px; }
}

/* ==========================================================================
   CONTACT FORM STATUS
   ========================================================================== */

/* Honeypot: off-screen rather than display:none, because some bots skip
   hidden inputs but happily fill a field that is merely positioned away. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--body);
  min-height: 1.2em;
}

.form-status.bad { color: #A33A2B; }
