:root {
  color-scheme: light;
  --blue-950: #061a40;
  --blue-850: #0a2d68;
  --blue-700: #0f4aa8;
  --blue-500: #2563eb;
  --blue-100: #dbeafe;
  --green-600: #2e7d32;
  --gold-500: #d6a028;
  --ink: #102033;
  --muted: #5c6a7d;
  --surface: #ffffff;
  --soft: #f4f8fd;
  --line: #d9e4f2;
  --shadow: 0 20px 50px rgba(6, 26, 64, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--blue-850);
  border-radius: 8px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--blue-100);
}

.icon-link,
.story-social-link,
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-link img,
.story-social-link img,
.footer-social img {
  width: 20px;
  height: 20px;
}

.icon-link img {
  color: var(--blue-700);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-850);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 64, 0.9), rgba(15, 74, 168, 0.56), rgba(46, 125, 50, 0.42)),
    url("assets/images/hero-farm.svg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 8vw, 86px);
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--blue-500);
}

.button.primary:hover {
  background: var(--blue-700);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue-950);
  color: #fff;
}

.stats-band article {
  padding: 28px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: 20px;
}

.stats-band span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 4vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section h2 {
  max-width: 780px;
  color: var(--blue-950);
  font-size: clamp(34px, 5vw, 58px);
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-copy p {
  margin: 0 0 18px;
}

.story-social-link {
  width: fit-content;
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--blue-850);
  background: var(--blue-100);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.practice-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.practice-grid article,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.practice-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eaf2ff;
}

.practice-grid h3,
.practice-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.practice-grid h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--blue-850);
  font-size: 22px;
}

.practice-grid p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-section {
  background: var(--blue-950);
}

.gallery-section h2 {
  color: #fff;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  color: var(--blue-950);
  font-weight: 900;
}

.videos-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.video-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 110px;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(6, 26, 64, 0.08);
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--blue-500);
}

.play-icon {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border-radius: 50%;
}

.video-card strong,
.video-card small {
  display: block;
}

.video-card strong {
  color: var(--blue-950);
  font-size: 20px;
}

.video-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-section {
  background: var(--blue-100);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-panel > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  padding: 12px 14px;
  color: var(--blue-850);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-850);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.floating-video {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(330px, calc(100vw - 36px));
  overflow: hidden;
  background: #071b42;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.floating-video button,
.modal-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.floating-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
}

.video-modal.is-open {
  display: grid;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 64, 0.82);
}

.video-modal-content {
  position: relative;
  width: min(1040px, 100%);
  background: #000;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-modal-content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -42px;
  right: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-950);
}

.site-footer strong {
  color: #fff;
}

.footer-social {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .stats-band,
  .split,
  .practice-grid,
  .gallery-grid,
  .video-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .stats-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero {
    min-height: 76vh;
  }

  .floating-video {
    width: 240px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section h2 {
    font-size: 32px;
  }

  .floating-video {
    right: 10px;
    bottom: 10px;
    width: 210px;
  }
}
