/* ==========================================================
   SHIKHAR GROUP — Industrial Corporate Design System
   Typography: IBM Plex Sans (headings) / Source Sans 3 (body)
   ========================================================== */

:root {
  --primary:      #1F5A37;
  --primary-dark: #174A2C;
  --secondary:    #1B1B1B;
  --secondary-2:  #212121;
  --accent:       #C9A14A;
  --bg:           #F8F7F3;
  --bg-alt:       #EFECE4;
  --ink:          #1B1B1B;
  --ink-muted:    #5C5C5C;
  --line:         rgba(27, 27, 27, 0.13);
  --line-inv:     rgba(255, 255, 255, 0.1);
  --max:          1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--secondary);
  color: var(--ink);
  font-family: 'Source Sans 3', 'Source Sans Pro', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* IBM Plex Sans on all headings + key labels */
h1, h2, h3,
.g-logo-name,
.split-title,
.panel-title,
.g-h2,
.g-eyebrow,
.g-eyebrow-green,
.g-eyebrow-wheat,
.g-eyebrow-light,
.g-stat strong,
.g-biz-num,
.g-flow-label,
.g-flow-num,
.panel-tag,
.g-nav a,
.g-biz-cta,
.panel-cta {
  font-family: 'IBM Plex Sans', ui-sans-serif, sans-serif;
}

/* ==========================================================
   HEADER — full-width, solid dark, no blur
   ========================================================== */
.g-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 clamp(20px, 4vw, 60px);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease;
}

.g-header.scrolled {
  background: var(--secondary);
  border-bottom-color: var(--line-inv);
}

.g-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.g-logo-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.g-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.g-logo-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.g-logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Source Sans 3', sans-serif;
}

/* Nav — plain links with accent underline on hover */
.g-nav {
  display: flex;
  align-items: center;
}

.g-nav a {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 150ms, border-color 150ms;
}

.g-nav a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* Hamburger — minimal, sharp */
.g-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
}

.g-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 200ms, opacity 200ms;
}

.g-header.menu-open .g-menu-btn span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.g-header.menu-open .g-menu-btn span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ==========================================================
   SPLIT HERO
   ========================================================== */
.split-hero {
  display: flex;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

/* Group brand — centred over the dividing rule */
.split-brand {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

.split-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-family: 'IBM Plex Sans', sans-serif;
}

.split-title {
  display: block;
  margin: 0 0 14px;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(36px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.split-tagline {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(8px, 0.8vw, 11px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
}

/* Single vertical rule — no gradient fade */
.split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  z-index: 25;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.14);
}

/* ---- Panels ---- */
.panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.split-hero:has(.panel-agro:hover)   .panel-agro   { flex: 1.52; }
.split-hero:has(.panel-agro:hover)   .panel-energy  { flex: 0.48; }
.split-hero:has(.panel-energy:hover) .panel-energy  { flex: 1.52; }
.split-hero:has(.panel-energy:hover) .panel-agro    { flex: 0.48; }

.panel-bg {
  position: absolute;
  inset: 0;
  transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover .panel-bg { transform: scale(1.04); }

.panel-bg-agro {
  background-image: url('assets/shikhar-hero.png');
  background-size: cover;
  background-position: center;
}

.panel-bg-energy {
  background-image: url('assets/energy-hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-color: #0B1926;
}

/* Flat linear darkening — no complex multi-stop gradients */
.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.panel-agro .panel-overlay {
  background: linear-gradient(180deg, rgba(8, 18, 12, 0.3) 0%, rgba(8, 18, 12, 0.85) 100%);
}

.panel-energy .panel-overlay {
  background: linear-gradient(180deg, transparent 15%, rgba(5, 12, 20, 0.5) 100%);
}

/* Panel content — anchored to bottom-left */
.panel-content {
  position: absolute;
  bottom: 56px;
  left: 56px;
  right: 56px;
  z-index: 5;
  color: #fff;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover .panel-content { transform: translateY(-3px); }

.panel-tag {
  display: block;
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.panel-agro  .panel-tag { color: var(--accent); }
.panel-energy .panel-tag { color: rgba(110, 185, 155, 0.75); }

.panel-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(24px, 2.7vw, 42px);
  font-weight: 700;
  line-height: 1.06;
}

.panel-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.panel-list li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 400;
  font-family: 'Source Sans 3', sans-serif;
}

/* Em-dash bullet — more editorial than a dot */
.panel-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  line-height: 1.6;
}

.panel-agro  .panel-list li::before { color: rgba(201, 161, 74, 0.55); }
.panel-energy .panel-list li::before { color: rgba(110, 185, 155, 0.5); }

/* Sharp rectangular CTA — no pill, no gradient */
.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 220ms, border-color 220ms, color 220ms;
}

.panel-agro:hover  .panel-cta {
  background: rgba(31, 90, 55, 0.5);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.panel-energy:hover .panel-cta {
  background: rgba(10, 28, 48, 0.6);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ==========================================================
   SHARED UTILITIES
   ========================================================== */
.g-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.g-section { padding: 96px 0; }

.g-eyebrow,
.g-eyebrow-green,
.g-eyebrow-wheat,
.g-eyebrow-light {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.g-eyebrow-green { color: var(--primary); }
.g-eyebrow-wheat { color: var(--accent); }
.g-eyebrow-light { color: rgba(255, 255, 255, 0.35); }

.g-h2 {
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

/* ==========================================================
   ABOUT — warm white, structured grid stats
   ========================================================== */
.g-about {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.g-about .g-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.g-about-left { display: grid; gap: 24px; }

.g-about-lead {
  max-width: 520px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.72;
}

/* Stats — ruled grid, no rounded corners */
.g-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.g-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.g-stat:nth-child(2n)    { border-right: none; }
.g-stat:nth-child(n+3)   { border-bottom: none; }

.g-stat strong {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.g-stat span {
  display: block;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
}

/* ==========================================================
   OUR BUSINESSES — dark, sharp panels, ruled list items
   ========================================================== */
.g-businesses { background: var(--secondary); }

.g-businesses .g-h2 {
  color: #fff;
  margin-bottom: 56px;
}

/* Two panels separated by a 1px rule — no rounded cards */
.g-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-inv);
}

.g-biz-card {
  background: var(--secondary);
  border-right: 1px solid var(--line-inv);
  transition: background 200ms;
}

.g-biz-card:last-child { border-right: none; }
.g-biz-card:hover { background: var(--secondary-2); }

.g-biz-inner { padding: 40px 40px 48px; }

/* Square icon container — sharp, no border-radius */
.g-biz-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--line-inv);
}

.g-biz-agro  .g-biz-icon { color: var(--accent); border-color: rgba(201, 161, 74, 0.22); }
.g-biz-energy .g-biz-icon { color: rgba(110, 185, 155, 0.85); border-color: rgba(110, 185, 155, 0.18); }

.g-biz-num {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.g-biz-agro  .g-biz-num { color: rgba(201, 161, 74, 0.6); }
.g-biz-energy .g-biz-num { color: rgba(110, 185, 155, 0.55); }

.g-biz-card h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.1;
}

.g-biz-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 28px;
  max-width: 380px;
}

/* Ruled list — each item separated by a hairline */
.g-biz-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--line-inv);
}

.g-biz-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-inv);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
}

.g-biz-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.4;
}

.g-biz-agro  .g-biz-list li::before { background: var(--accent); opacity: 0.6; }
.g-biz-energy .g-biz-list li::before { background: rgba(110, 185, 155, 0.7); opacity: 1; }

/* Solid rectangular button — no pill, no gradient */
.g-biz-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms;
}

.g-biz-agro  .g-biz-cta {
  background: var(--primary);
  color: #fff;
}
.g-biz-agro  .g-biz-cta:hover { background: var(--primary-dark); }

.g-biz-energy .g-biz-cta {
  background: transparent;
  color: rgba(110, 185, 155, 0.85);
  border: 1px solid rgba(110, 185, 155, 0.25);
}
.g-biz-energy .g-biz-cta:hover { border-color: rgba(110, 185, 155, 0.5); }

/* ==========================================================
   SUSTAINABILITY — primary green, structured flow grid
   ========================================================== */
.g-sustain { background: var(--primary); }

.g-sustain-intro {
  max-width: 600px;
  margin-bottom: 72px;
}

.g-sustain-intro .g-h2 { color: #fff; margin-bottom: 18px; }

.g-sustain-intro p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

/* Flow — structured bordered grid, step numbers via counter */
.g-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: none;
  counter-reset: flow-step;
}

.g-flow-step {
  padding: 28px 24px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  align-content: start;
  gap: 12px;
  transition: background 180ms;
  counter-increment: flow-step;
}

.g-flow-step:hover { background: rgba(255, 255, 255, 0.05); }

/* Auto-generated step number */
.g-flow-step::before {
  content: "0" counter(flow-step);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.3);
}

/* Square icon — no border-radius */
.g-flow-node {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
}

.g-flow-label {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.g-flow-sub {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.45;
  font-family: 'Source Sans 3', sans-serif;
}

/* ==========================================================
   CONTACT — compact strip
   ========================================================== */
.g-contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0;
}

.g-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.g-contact-left { display: grid; gap: 14px; }

.g-contact-left .g-h2 { font-size: clamp(22px, 2.4vw, 34px); }

.g-contact-desc {
  max-width: 420px;
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}

.g-contact-right {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
}

.g-contact-email {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  transition: color 150ms;
}

.g-contact-email:hover { color: var(--primary-dark); }

.g-contact-co {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.g-detail dt {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: 'IBM Plex Sans', sans-serif;
}

.g-detail dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.g-footer {
  background: var(--secondary);
  border-top: 1px solid var(--line-inv);
  padding: 24px 0;
}

.g-footer .g-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.g-footer-brand {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'IBM Plex Sans', sans-serif;
}

.g-footer-links {
  display: flex;
  gap: 28px;
}

.g-footer-links a {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 150ms;
}

.g-footer-links a:hover { color: rgba(255, 255, 255, 0.62); }

/* ==========================================================
   RESPONSIVE — 960px (tablet)
   ========================================================== */
@media (max-width: 960px) {
  .g-menu-btn { display: flex; }

  .g-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--secondary);
    border-bottom: 1px solid var(--line-inv);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 200ms, transform 200ms, visibility 200ms;
  }

  .g-header.menu-open .g-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .g-nav a {
    height: 52px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line-inv);
    border-left: none;
  }

  .g-nav a:hover { border-bottom-color: var(--line-inv); }

  .g-about .g-wrap { grid-template-columns: 1fr; }
  .g-contact-inner  { flex-direction: column; align-items: flex-start; }

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

  .g-biz-card { border-right: none; border-bottom: 1px solid var(--line-inv); }
  .g-biz-card:last-child { border-bottom: none; }

  .g-flow { grid-template-columns: repeat(3, 1fr); }

  .split-brand { white-space: normal; width: min(500px, 80vw); }
}

/* ==========================================================
   RESPONSIVE — 640px (mobile)
   ========================================================== */
@media (max-width: 640px) {
  .g-header { padding: 0 20px; }

  .split-hero { flex-direction: column; height: auto; }
  .panel { flex: none; min-height: 52svh; }

  /* Disable flex expansion on touch screens */
  .split-hero:has(.panel-agro:hover)   .panel-agro,
  .split-hero:has(.panel-energy:hover) .panel-energy { flex: none; }
  .split-hero:has(.panel-agro:hover)   .panel-energy,
  .split-hero:has(.panel-energy:hover) .panel-agro   { flex: none; }

  .split-brand {
    position: relative;
    top: auto; left: auto; transform: none;
    display: block;
    padding: 80px 24px 36px;
    background: var(--secondary);
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .split-divider { display: none; }
  .panel-content { bottom: 30px; left: 24px; right: 24px; }

  .g-section { padding: 64px 0; }
  .g-biz-inner { padding: 28px 24px 36px; }
  .g-stats { grid-template-columns: 1fr 1fr; }
  .g-flow { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}
