/* Basant Farms — Khula-inspired design */

:root {
  --brand: #013333;
  --brand-text: #3dd78d;
  --mint: #2ab573;
  --bg: #ffffff;
  --bg-alt: #f5f5f4;
  --text: #000000;
  --muted: #57534e;
  --border: rgba(1, 51, 51, 0.12);
  --border-strong: rgba(1, 51, 51, 0.2);
  --shadow: 0 4px 24px rgba(1, 51, 51, 0.06);
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-pill: 100vw;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-heading: "Libre Baskerville", Georgia, serif;
  --accent-warm: #d97706;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(90rem, 92%);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.lead {
  margin: 0 0 0.875rem;
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.fine-print {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.label {
  font-weight: 600;
}

.link {
  color: inherit;
  transition: color 0.2s;
}
.link:hover {
  color: var(--brand-text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 3.5rem;
  width: auto;
  max-width: min(240px, 48vw);
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-text);
}

.nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--brand-text);
  background: rgba(61, 215, 141, 0.1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--brand);
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 4%;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-text);
  color: var(--brand);
  border-color: var(--brand-text);
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--brand);
  border-color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  background: var(--brand-text);
  color: var(--brand);
  border-color: var(--brand-text);
}

.btn-tertiary {
  background: transparent;
  color: var(--brand-text);
  border-color: rgba(61, 215, 141, 0.4);
}
.btn-tertiary:hover {
  background: rgba(61, 215, 141, 0.12);
  border-color: var(--brand-text);
}

.btn-header {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  color: #ffffff;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(4.5rem, 12vw, 7.5rem);
  overflow: hidden;
  min-height: clamp(420px, 72vh, 720px);
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(1, 51, 51, 0.82) 0%,
    rgba(1, 51, 51, 0.55) 50%,
    rgba(1, 51, 51, 0.72) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 42rem;
}

.hero-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 55ch;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

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

/* Farm summary — Khula-style centered block */
.section-summary {
  text-align: center;
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.summary-block {
  max-width: 52rem;
  margin: 0 auto;
}

.summary-eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-headline {
  margin: 0 auto 2rem;
  max-width: 16em;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.summary-body {
  max-width: 40rem;
  margin: 0 auto;
}

.summary-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.summary-body p:last-child {
  margin-bottom: 0;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Produce cards — Khula-style list cards */
.produce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: start;
}

.produce-card {
  background: var(--bg);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(1, 51, 51, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.produce-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  flex: 1;
}

.produce-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.95rem 1.25rem;
  position: relative;
}

.produce-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  height: 1px;
  background: rgba(1, 51, 51, 0.08);
}

.produce-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: rgba(61, 215, 141, 0.16);
  display: grid;
  place-items: center;
  color: var(--brand);
}

.produce-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.produce-icon--photo {
  padding: 0;
  overflow: hidden;
  background: rgba(61, 215, 141, 0.12);
}

.produce-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produce-item-body {
  min-width: 0;
}

.produce-item-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
}

.produce-item-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.3;
}

.produce-card-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 1rem 1rem;
  padding: 0.35rem;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
}

.produce-foot-note {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.produce-cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8125rem;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.produce-cta:hover {
  background: var(--brand-text);
  color: var(--brand);
}

/* Legacy card grid (practices etc.) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.info-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.info-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1.5px solid rgba(1, 51, 51, 0.15);
  background: rgba(61, 215, 141, 0.08);
  color: var(--brand);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.8125rem;
}

/* Practices */
.stack {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
}

.practice {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.practice h3 {
  color: var(--brand);
}

.practice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Meet the Bosses — Khula-style quote block */
.section-bosses {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.bosses-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
  align-items: center;
}

.bosses-photo {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bosses-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.bosses-quote-card {
  background: #eef8f0;
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bosses-quote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.bosses-quote-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.bosses-name {
  margin: 0;
  font-weight: 700;
  color: var(--brand);
}

.bosses-role {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Carousel */
.carousel {
  position: relative;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 600ms ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Photos carousel — show full image, no cropping */
.carousel-photos .carousel-viewport {
  background: var(--bg-alt);
}

.carousel-photos .carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.carousel-photos .carousel-slide img {
  width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  object-fit: contain;
}

.carousel-residents .carousel-viewport {
  background: var(--bg-alt);
}

.carousel-residents .carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.carousel-residents .carousel-slide img {
  width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(1, 51, 51, 0.65);
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: var(--brand);
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  justify-content: center;
  border-top: 1.5px solid var(--border);
  background: var(--bg-alt);
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(1, 51, 51, 0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.is-active {
  background: var(--brand);
  border-color: var(--brand);
}

/* Contact */
.section-contact {
  background: var(--brand);
  color: #ffffff;
  border-top: none;
}

.section-contact h2 {
  color: #ffffff;
}

.contact-card {
  max-width: 900px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.contact-rows {
  display: grid;
  gap: 0.5rem;
}

.contact-row {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
}

.contact-row .label {
  color: var(--brand-text);
}

.small-note {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.5);
  padding: 1.5rem 0 2rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  text-align: center;
}

.logo-footer {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-text);
  margin: 0 0 0.25rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid,
  .produce-grid {
    grid-template-columns: 1fr;
  }

  .bosses-layout {
    grid-template-columns: 1fr;
  }

  .bosses-quote-card {
    min-height: auto;
  }

  .nav,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand-logo {
    height: 2.75rem;
    max-width: min(180px, 42vw);
  }
}
