:root {
  --ink: #10291f;
  --muted: #617066;
  --line: #d8dfd3;
  --leaf: #063b2f;
  --leaf-2: #487a39;
  --leaf-3: #e5ecd9;
  --earth: #9b5f43;
  --amber: #c8ee63;
  --mist: #edf3ec;
  --paper: #f7f3ea;
  --panel: #fffdf8;
  --os-canvas: #f2f4e7;
  --os-grid: rgba(26, 91, 62, 0.075);
  --os-glow: rgba(200, 238, 99, 0.22);
  --shadow: 0 18px 48px rgba(23, 55, 39, 0.09);
  --font-body: "Noto Sans Thai", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
}

html {
  scroll-padding-top: 92px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 8%, rgba(200, 238, 99, 0.16), transparent 24rem),
    radial-gradient(circle at 94% 18%, rgba(44, 115, 80, 0.1), transparent 30rem),
    linear-gradient(180deg, #faf8ef 0%, var(--os-canvas) 54%, #f7f3ea 100%);
  font-weight: 500;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid rgba(156, 201, 72, 0.52);
  outline-offset: 4px;
}

.topbar {
  position: sticky;
  inset: 0 0 auto;
  min-height: 78px;
  padding: 12px clamp(20px, 4vw, 64px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(16, 41, 31, 0.12);
  box-shadow: 0 8px 30px rgba(16, 41, 31, 0.05);
  backdrop-filter: blur(18px);
}

.brand-mark {
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 900;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  box-shadow: none;
}

.brand-mark span,
.nav a {
  text-shadow: none;
}

.nav {
  gap: clamp(16px, 2vw, 34px);
  color: #263b31;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav a:not(.quote-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover {
  color: var(--leaf-2);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav .quote-link {
  border-radius: 7px;
  padding: 10px 15px;
  color: #163019;
  background: var(--amber);
  box-shadow: 0 7px 20px rgba(108, 146, 45, 0.18);
}

.portal-button {
  border: 1px solid #b8c0b7;
  border-radius: 7px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.portal-button:hover {
  border-color: var(--leaf);
  background: #eef2e9;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(850px, calc(100svh - 78px));
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 33, 26, 0.96) 0%, rgba(3, 33, 26, 0.76) 43%, rgba(3, 33, 26, 0.14) 78%),
    linear-gradient(180deg, rgba(3, 33, 26, 0.04), rgba(3, 33, 26, 0.48)),
    url("./assets/goodseed-farm-hero-1704508.jpg") center 58% / cover no-repeat;
  padding: clamp(90px, 12vh, 150px) clamp(20px, 5vw, 76px) clamp(44px, 7vh, 76px);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -7% -32% auto;
  width: min(580px, 48vw);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 238, 99, 0.24);
  border-radius: 50%;
}

.hero-inner {
  width: min(1320px, 100%);
  gap: 20px;
  margin: 0 auto;
}

.eyebrow {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #d8ef8a;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.22em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(64px, 8vw, 124px);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.83;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin-top: 4px;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.55;
}

.vision-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1160px;
  margin-top: 10px;
}

.vision-card {
  position: relative;
  min-height: 144px;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(200, 238, 99, 0.48);
  border-radius: 7px;
  padding: 22px 42px 20px 20px;
  background: rgba(4, 47, 37, 0.78);
  box-shadow: none;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vision-card::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--amber);
  font-size: 17px;
}

.vision-card:hover {
  border-color: var(--amber);
  background: rgba(8, 59, 43, 0.94);
  transform: translateY(-4px);
}

.vision-card strong {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.35;
}

.vision-card span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.vision-card.marketplace-card {
  background: rgba(18, 67, 43, 0.86);
}

.marketplace-association {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.82);
}

.marketplace-association img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.marketplace-association span {
  font-size: 9px;
  line-height: 1.45;
}

.section {
  padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 76px);
}

.section.paper {
  background:
    radial-gradient(circle at 8% 14%, rgba(200, 238, 99, 0.09), transparent 25rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(247, 243, 234, 0.98));
}

.section.mist {
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 238, 99, 0.2), transparent 28%),
    radial-gradient(circle at 10% 84%, rgba(46, 111, 79, 0.1), transparent 32%),
    linear-gradient(145deg, #f3f5e9 0%, #e5eee0 52%, #edf3e8 100%);
}

.section-inner {
  width: min(1320px, 100%);
}

.section-head {
  gap: 10px;
  margin-bottom: clamp(38px, 5vw, 72px);
}

.kicker {
  color: var(--leaf-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section-copy {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

#vision .section-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.9fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: start;
}

#vision .section-head {
  position: sticky;
  top: 118px;
  align-items: flex-start;
  margin: 0;
  text-align: left;
}

#vision .section-head::after {
  content: "";
  width: 58px;
  height: 1px;
  margin-top: 12px;
  background: var(--leaf-2);
}

.vision-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}

.vision-detail {
  gap: 22px;
  border: 0;
  border-top: 1px solid #b8c5b6;
  border-radius: 0;
  padding: 20px 0 0;
  background: transparent;
  box-shadow: none;
}

.vision-detail img {
  order: 2;
  height: clamp(220px, 22vw, 330px);
  border-radius: 8px;
  filter: saturate(0.86) contrast(0.98);
}

.vision-detail img.agri-ecosystem-image,
.vision-detail video.agri-ecosystem-media {
  object-position: 54% center;
  filter: saturate(0.94) contrast(0.98);
}

.vision-detail video.agri-ecosystem-media {
  order: 2;
  display: block;
  width: 100%;
  height: clamp(220px, 22vw, 330px);
  border-radius: 8px;
  object-fit: cover;
  background: #0a2819;
}

.vision-detail > div {
  min-height: 215px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.vision-detail h3 {
  font-family: "Noto Serif Thai", var(--font-display);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 600;
}

.vision-detail p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

#farm-plan .section-inner {
  display: grid;
  width: min(1600px, 100%);
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1.52fr);
  gap: 24px clamp(40px, 4vw, 68px);
  align-items: start;
}

#farm-plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-inline: clamp(24px, 3vw, 56px);
  background:
    linear-gradient(125deg, rgba(255, 253, 248, 0.86), rgba(220, 232, 209, 0.8)),
    var(--os-canvas);
}

#farm-plan::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(var(--os-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--os-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.22), #000 58%, rgba(0, 0, 0, 0.38));
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.22), #000 58%, rgba(0, 0, 0, 0.38));
}

#farm-plan::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(32px, 5vw, 74px);
  right: clamp(-120px, -4vw, -48px);
  width: min(650px, 62vw);
  aspect-ratio: 1.25;
  border: 1px solid rgba(6, 59, 47, 0.09);
  border-radius: 48% 52% 42% 58% / 54% 40% 60% 46%;
  background:
    radial-gradient(circle at 52% 46%, var(--os-glow), transparent 36%),
    repeating-radial-gradient(
      ellipse at 50% 50%,
      transparent 0 44px,
      rgba(6, 59, 47, 0.055) 45px 46px
    );
  transform: rotate(-8deg);
}

#farm-plan .section-inner {
  position: relative;
  z-index: 1;
}

#farm-plan .section-head {
  align-items: flex-start;
  margin: 0;
  text-align: left;
}

#farm-plan h2 {
  max-width: 7ch;
}

.master-plan-visual {
  border: 1px solid rgba(6, 59, 47, 0.24);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow:
    0 22px 54px rgba(16, 58, 41, 0.13),
    0 0 0 8px rgba(255, 253, 248, 0.34);
  backdrop-filter: blur(8px);
}

.plan-dashboard-cta {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(200, 238, 99, 0.38);
  border-radius: 9px;
  padding: 22px 50px 22px 22px;
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 16px 36px rgba(7, 42, 31, 0.18);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.plan-dashboard-cta::after {
  content: "→";
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--amber);
  font-size: 24px;
  line-height: 1;
}

.plan-dashboard-cta:hover {
  background: #0a493a;
  box-shadow: 0 20px 42px rgba(7, 42, 31, 0.24);
  transform: translateY(-2px);
}

.plan-dashboard-cta strong {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.05;
}

.plan-dashboard-cta span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.master-plan-preview {
  min-height: 0;
  border-radius: inherit;
  background: #fff;
}

.master-plan-preview img {
  height: auto;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.feature-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid #bdc9bd;
}

.feature-card {
  min-height: 0;
  border: 0;
  border-right: 1px solid #bdc9bd;
  border-radius: 0;
  padding: 28px clamp(22px, 3vw, 40px) 0;
  background: transparent;
  box-shadow: none;
}

.feature-card:first-child {
  padding-left: 0;
}

.feature-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #efffb6;
  background: var(--leaf);
  font-size: 9px;
}

.feature-card h3,
.product-card h3,
.news-card h3 {
  font-family: "Noto Serif Thai", var(--font-display);
  font-weight: 600;
}

.feature-card p,
.product-card p,
.news-card p,
.contact-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
}

#products {
  background:
    radial-gradient(circle at 92% 10%, rgba(200, 238, 99, 0.09), transparent 27rem),
    linear-gradient(180deg, #fbf8f1, #f5f4e7);
}

#products .section-head,
#news .section-head,
#contact .section-head {
  align-items: flex-start;
  text-align: left;
}

#products .section-head {
  width: min(790px, 100%);
}

#products .section-head h2,
#news .section-head h2,
#contact .section-head h2 {
  font-family: "Noto Serif Thai", var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
}

.product-feature {
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.65fr);
  min-height: 0;
  gap: clamp(26px, 3vw, 52px);
  align-items: center;
  padding: clamp(16px, 1.8vw, 28px);
  border: 0;
  border-radius: 10px;
  background: #073d33;
  box-shadow: none;
}

.product-feature .product-feature-hero {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  border: 1px solid rgba(239, 216, 164, 0.34);
  border-radius: 8px;
  background: #061d16;
  filter: none;
}

.product-feature-content {
  align-content: center;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(22px, 3vw, 48px) clamp(10px, 2vw, 28px);
  color: white;
}

.product-feature-content h2 {
  color: white;
  font-family: "Noto Serif Thai", var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.12;
}

.product-feature-content .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.badge {
  border-radius: 5px;
  color: #193018;
  background: var(--amber);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.tag {
  border-color: rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card,
.news-card {
  position: relative;
  border: 1px solid #d8ddd3;
  border-radius: 9px;
  background: #fffefb;
  box-shadow: 0 12px 34px rgba(26, 57, 41, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(26, 57, 41, 0.11);
}

.product-card::after,
.news-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #c9d0c7;
  border-radius: 50%;
  color: var(--leaf);
  background: #fff;
}

.product-card img,
.news-card img {
  height: 250px;
  filter: saturate(0.88);
}

.product-card .product-image-white-blossom {
  object-position: 58% 50%;
}

.product-card .product-image-flamboyant {
  object-position: 50% 45%;
}

.product-card .product-image-brazilian-peanut {
  object-position: 50% 72%;
}

.product-card div,
.news-card div {
  min-height: 205px;
  padding: 22px 52px 24px 22px;
}

.news-grid {
  gap: 18px;
}

.news-card img {
  height: 300px;
}

.news-card img.qr-traceability-image {
  object-position: center 58%;
}

.news-meta {
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e5de;
  color: var(--leaf-2);
  font-size: 10px;
}

#partnership {
  display: block;
  scroll-margin-top: 90px;
}

#contact {
  background:
    radial-gradient(circle at 14% 16%, rgba(200, 238, 99, 0.11), transparent 26rem),
    linear-gradient(90deg, rgba(232, 241, 226, 0.96), rgba(248, 245, 235, 0.96)),
    var(--paper);
}

#contact .section-head {
  width: min(860px, 100%);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-card {
  border: 0;
  border-radius: 0;
  padding: 8px 4vw 8px 0;
  background: transparent;
  box-shadow: none;
}

.contact-card h3 {
  font-family: "Noto Serif Thai", var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
}

.info-grid {
  gap: 0;
  border-top: 1px solid #c7d0c5;
}

.info-box,
.info-box:first-child {
  grid-column: auto;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #d7ddd4;
  background: transparent;
}

.info-box span {
  color: var(--leaf-2);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.info-box strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.info-box[href] {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.info-box[href]:hover,
.info-box[href]:focus-visible {
  color: var(--leaf);
  background: rgba(200, 238, 99, 0.14);
  transform: translateY(-2px);
}

.button,
.map-actions a,
.contact-actions a {
  border-radius: 6px;
  font-size: 12px;
}

.button.primary {
  color: #173019;
  background: var(--amber);
  box-shadow: none;
}

.button.light {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf);
}

.map-panel {
  min-height: 560px;
  border: 1px solid #c9d4c8;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(246, 249, 240, 0.05), rgba(5, 54, 41, 0.88)),
    url("./assets/farm-maps/goodseed_crop_map_all_ABC.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.map-panel-content {
  width: min(430px, calc(100% - 36px));
  border: 1px solid rgba(200, 238, 99, 0.28);
  border-radius: 8px;
  padding: 28px;
  background: rgba(4, 54, 41, 0.94);
}

.map-panel h3 {
  font-family: "Noto Serif Thai", var(--font-display);
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1.2;
}

.footer {
  padding: 34px clamp(20px, 5vw, 76px);
  background: #043429;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 900px;
  }

  .vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 138px;
  }

  .topbar {
    background: rgba(255, 253, 248, 0.97);
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px 0 6px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav a:not(.portal-button) {
    display: block;
  }

  .hero {
    min-height: 940px;
    padding-top: 100px;
    background:
      linear-gradient(180deg, rgba(3, 33, 26, 0.54), rgba(3, 33, 26, 0.91)),
      url("./assets/goodseed-farm-hero-1704508.jpg") center / cover no-repeat;
  }

  #vision .section-inner,
  #farm-plan .section-inner {
    grid-template-columns: 1fr;
  }

  #vision .section-head {
    position: static;
  }

  .vision-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vision-detail:last-child {
    grid-column: 1 / -1;
  }

  .vision-detail:last-child img {
    height: 360px;
  }

  .master-plan-preview,
  .master-plan-preview img {
    min-height: 0;
  }

  .product-feature {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
  }

  .product-feature .product-feature-hero {
    min-height: 0;
    height: auto;
  }

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

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

@media (max-width: 620px) {
  html {
    scroll-padding-top: 126px;
  }

  .topbar {
    gap: 10px;
    padding-inline: 14px;
  }

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

  .brand-mark span {
    font-size: 16px;
  }

  .portal-button {
    margin-left: auto;
    padding: 8px 10px;
  }

  .nav {
    gap: 20px;
    font-size: 11px;
  }

  .nav .quote-link {
    padding: 7px 10px;
  }

  .hero {
    min-height: 0;
    padding: 84px 18px 46px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(58px, 18vw, 78px);
    line-height: 0.88;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .vision-card {
    min-height: 118px;
  }

  .section {
    padding: 76px 18px;
  }

  #farm-plan::before {
    background-size: 34px 34px;
  }

  #farm-plan::after {
    top: 110px;
    right: -42%;
    width: 112vw;
    opacity: 0.72;
  }

  h2 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .vision-content-grid {
    grid-template-columns: 1fr;
  }

  .vision-detail,
  .vision-detail:last-child {
    grid-column: auto;
  }

  .vision-detail > div {
    min-height: 0;
  }

  .vision-detail img,
  .vision-detail:last-child img {
    height: 290px;
  }

  .master-plan-preview img {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .plan-dashboard-cta strong {
    max-width: 14ch;
    font-size: 26px;
  }

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

  .feature-card,
  .feature-card:first-child,
  .feature-card:last-child {
    border-right: 0;
    border-bottom: 1px solid #bdc9bd;
    padding: 24px 0;
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .product-feature {
    min-height: 0;
  }

  .product-feature .product-feature-hero {
    min-height: 0;
    height: auto;
  }

  .product-feature-content {
    padding: 30px 22px;
  }

  .product-feature-content h2 {
    font-size: clamp(28px, 10vw, 38px);
  }

  .product-feature-content .section-copy {
    font-size: 14px;
    line-height: 1.65;
  }

  .product-feature-content .tag-row {
    gap: 7px;
  }

  .product-feature-content .tag {
    padding: 6px 9px;
    font-size: 12px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .news-card img {
    height: 280px;
  }

  .map-panel {
    min-height: 480px;
  }

  .map-panel-content {
    width: calc(100% - 24px);
    padding: 22px;
  }

  .footer-inner {
    display: grid;
  }
}

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

/* GOODSEED OS farm-plan backdrop */
.map-panel {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 58vw, 700px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(112, 151, 113, 0.58);
  border-radius: clamp(18px, 2.2vw, 30px);
  padding: clamp(22px, 4vw, 58px);
  background:
    linear-gradient(90deg, rgba(3, 42, 31, 0.2), rgba(3, 42, 31, 0.02) 68%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(3, 39, 29, 0.2)),
    url("./assets/goodseed-land-map-aerial-real.png") 50% center / cover no-repeat;
  box-shadow:
    0 30px 80px rgba(8, 55, 37, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.1vw, 16px);
  z-index: 0;
  border: 1px solid rgba(211, 239, 133, 0.42);
  border-radius: clamp(13px, 1.7vw, 23px);
  pointer-events: none;
}

.map-panel::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -34%;
  z-index: 0;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 242, 91, 0.16), rgba(204, 242, 91, 0) 66%);
  pointer-events: none;
}

.map-panel-content {
  position: relative;
  z-index: 1;
  width: min(520px, 48%);
  gap: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(219, 242, 158, 0.28);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(26px, 3.6vw, 50px);
  background:
    linear-gradient(145deg, rgba(5, 58, 43, 0.92), rgba(2, 39, 30, 0.82)),
    rgba(4, 54, 41, 0.88);
  box-shadow:
    0 24px 70px rgba(0, 25, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.map-panel-content::before {
  content: "";
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8ee63, #f0c65f);
  box-shadow: 0 0 20px rgba(200, 238, 99, 0.34);
}

.map-panel .badge {
  width: fit-content;
  border: 1px solid rgba(220, 243, 161, 0.45);
  border-radius: 999px;
  padding: 9px 14px;
  color: #ecf8d2;
  background: rgba(208, 242, 111, 0.12);
  font-size: 10px;
  letter-spacing: 0.16em;
  box-shadow: none;
}

.map-panel h3 {
  max-width: 9ch;
  color: #fffdf4;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 28, 19, 0.3);
}

.map-panel p {
  max-width: 35ch;
  color: rgba(247, 251, 238, 0.8);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.72;
  font-weight: 600;
}

.map-panel .map-actions {
  margin-top: 6px;
}

.map-panel .map-actions .button.primary {
  min-height: 54px;
  justify-content: center;
  border: 1px solid rgba(224, 247, 165, 0.5);
  border-radius: 14px;
  padding-inline: 24px;
  color: #14311f;
  background: linear-gradient(135deg, #d4f467, #b9e74e);
  box-shadow: 0 12px 30px rgba(191, 235, 79, 0.2);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.map-panel .map-actions .button.primary:hover {
  background: linear-gradient(135deg, #e0f986, #c5ee5e);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .map-panel {
    min-height: 620px;
    align-items: end;
    padding: 18px;
    background-position: center, center, 67% center;
  }

  .map-panel-content {
    width: min(520px, 72%);
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .map-panel {
    min-height: 640px;
    padding: 12px;
    background:
      linear-gradient(180deg, rgba(3, 42, 31, 0.02) 34%, rgba(3, 42, 31, 0.82) 76%),
      url("./assets/goodseed-land-map-aerial-real.png") 50% center / cover no-repeat;
  }

  .map-panel::before {
    inset: 8px;
  }

  .map-panel-content {
    width: 100%;
    gap: 14px;
    border-radius: 20px;
    padding: 24px 22px;
    background: rgba(3, 49, 37, 0.9);
  }

  .map-panel h3 {
    max-width: 11ch;
    font-size: clamp(34px, 11vw, 46px);
  }

  .map-panel p {
    font-size: 14px;
  }

  .map-panel .map-actions,
  .map-panel .map-actions .button.primary {
    width: 100%;
  }
}
