* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #f7f8fa;
  --muted: rgba(247, 248, 250, 0.88);
  --muted-soft: rgba(247, 248, 250, 0.72);
  --accent: #f2c21b;
  --accent-strong: #ffda57;
  --panel-border: rgba(255, 255, 255, 0.18);
  --ring: rgba(255, 255, 255, 0.38);
  --shadow: 0 24px 52px rgba(0, 0, 0, 0.52);
  --agri-bg-image: url("bg-for-agri.png");
  --header-h: clamp(82px, 10.2vh, 112px);
  --stats-h: clamp(46px, 6.6vh, 62px);
  --lerp-0: 1;
  --lerp-1: 0.5625;
  --lerp-2: 0.25;
  --lerp-3: 0.0625;
  --lerp-4: 0;
  --orbit-custom-x: -100px;
  --orbit-custom-y: 0px;
  --orbit-custom-x-tablet: 0px;
  --orbit-custom-y-tablet: 0px;
  --orbit-custom-x-mobile: 0px;
  --orbit-custom-y-mobile: 0px;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: #070f17;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  caret-color: transparent;
}

input,
textarea,
select,
[contenteditable="true"] {
  caret-color: auto;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
}

body::before {
  z-index: -3;
  background: var(--agri-bg-image) center / cover no-repeat;
}

body::after {
  z-index: -1;
  background:
  radial-gradient(1200px 540px at 24% 12%, rgba(11, 16, 27, 0.11), transparent 10%),
  linear-gradient(180deg, rgba(5, 10, 17, 0.3) 0%, rgba(5, 10, 17, 0.38) 42%, rgba(5, 10, 17, 0.44) 100%);;
}

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

.agri-shell {
  min-height: 100svh;
  height: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: visible;
}

.agri-header {
  min-height: var(--header-h);
  padding: 6px clamp(18px, 2.8vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
 
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  color: var(--ink);
  text-decoration: none;
}


.brand img {
 height: clamp(120px, 10.2vh, 300px);
  width: auto;
 
}

.brand-title {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2.9vw, 3.2rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1rem, 1.35vw, 2rem);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ink);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.54);
  font-size: 1.4em;
  line-height: 1;
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
  color: var(--ink);
}

.agri-main {
  min-height: 0;
  padding: clamp(8px, 1.6vh, 18px) clamp(10px, 1.8vw, 26px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
}

.hero-card {
  width: min(1360px, 100%);
  min-height: clamp(560px, 74vh, 860px);
  height: auto;
  border: 1px solid var(--panel-border);
  border-radius: clamp(18px, 2.2vw, 30px);
  padding: clamp(14px, 2.5vh, 30px) clamp(16px, 2.2vw, 36px);
  overflow: visible;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-heading {
  animation: fade-up 0.7s ease both;
}

.hero-heading p {
  margin-top: 0;
  font-size: clamp(0.95rem, 1.45vw, 1.7rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-layout {
  min-height: 0;
  height: auto;
  margin-top: clamp(10px, 1.5vh, 18px);
  display: grid;
  grid-template-columns: minmax(360px, 0.3fr) minmax(280px, 0.92fr);
  gap: clamp(16px, 2.6vw, 34px);
  align-items: end;
}

.orbit {
  position: relative;
  width: min(100%, 550px);
  height: auto;
  min-height: 0;
  user-select: none;
  display: flex;
  align-items: flex-end;
  transform: translate(var(--orbit-custom-x), var(--orbit-custom-y));
}

.orbit-ring {
  display: none;
}

.orbit-stack {
  --show: 0;
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(6px, 0.9vw, 10px);
  padding: clamp(8px, 0.9vw, 10px);
  border-radius: clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 18, 35, 0.78), rgba(7, 13, 24, 0.88));
}

.orbit-stack:hover {
  --show: 1;
}

.orbit-item {
  --expand-x: 0px;
  --expand-y: 0px;
  --expand-scale-x: 1;
  --expand-scale-y: 1;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  flex: calc(0.2 + (var(--lerp, 0) * 1.5)) 1 clamp(52px, 4vw, 74px);
  width: clamp(52px, 5vw, 74px);
  height: clamp(52px, 5vw, 74px);
  min-width: clamp(52px, 5vw, 74px);
  min-height: clamp(52px, 5vw, 74px);
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  transform: translate3d(0, 0, 0) scale(1, 1);
  transform-origin: center center;
  will-change: transform;
  transition: flex 0.2s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, border-radius 0.3s ease;
}

.orbit-item:hover,
.orbit-item:focus-visible {
  border-color: rgba(242, 194, 27, 0.9);
  box-shadow: 0 0 0 3px rgba(242, 194, 27, 0.24), 0 16px 28px rgba(0, 0, 0, 0.52);
}

.orbit-item::before {
  content: "";
  position: absolute;
  width: 4px;
  aspect-ratio: 1;
  bottom: 8px;
  left: 50%;
  border-radius: 999px;
  background: rgba(247, 248, 250, 0.78);
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.25s ease;
}

.orbit-item .thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
  overflow: hidden;
  box-shadow: none;
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--lerp, 0) * -20%));
  transition: transform 0.2s ease;
}

.orbit-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.orbit-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 20%, rgba(0, 0, 0, 0.58) 100%);
}

.orbit-item .label {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin-top: 0;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(0.86rem, 0.96vw, 1.18rem);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  text-align: center;
  white-space: nowrap;
}

.orbit-item:hover .label,
.orbit-item:focus-visible .label,
.orbit-item.is-active .label {
  color: var(--accent-strong);
}

.orbit-item:focus-visible {
  outline: 2px solid rgba(242, 194, 27, 0.75);
  outline-offset: 3px;
}

.orbit-stack .orbit-item:is(:hover, :focus-visible, .is-active) {
  --lerp: var(--lerp-0);
  z-index: 10;
  border-radius: 14px;
  transform: translate(var(--expand-x), var(--expand-y)) scale(var(--expand-scale-x), var(--expand-scale-y));
}

.orbit-stack .orbit-item:is(:hover, :focus-visible, .is-active)::before {
  opacity: 0;
}

.orbit-stack .orbit-item:has(+ :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active)),
.orbit-stack :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active) + .orbit-item {
  --lerp: var(--lerp-1);
  z-index: 4;
}

.orbit-stack .orbit-item:has(+ .orbit-item + :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active)),
.orbit-stack :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active) + .orbit-item + .orbit-item {
  --lerp: var(--lerp-2);
  z-index: 3;
}

.orbit-stack .orbit-item:has(+ .orbit-item + .orbit-item + :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active)),
.orbit-stack :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active) + .orbit-item + .orbit-item + .orbit-item {
  --lerp: var(--lerp-3);
  z-index: 2;
}

.orbit-stack .orbit-item:has(+ .orbit-item + .orbit-item + .orbit-item + :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active)),
.orbit-stack :is(.orbit-item:hover, .orbit-item:focus-visible, .orbit-item.is-active) + .orbit-item + .orbit-item + .orbit-item + .orbit-item {
  --lerp: var(--lerp-4);
  z-index: 1;
}

.hero-copy {
  max-width: 520px;
  animation: fade-up 0.7s 0.28s ease both;
}

.hero-copy h2 {
  font-size: clamp(1.6rem, 2.85vw, 3.3rem);
  line-height: 1.12;
  font-weight: 700;
}

.hero-copy p {
  margin-top: clamp(8px, 1.4vw, 14px);
  color: var(--muted);
  font-size: clamp(0.95rem, 1.22vw, 1.34rem);
  line-height: 1.48;
  max-width: 34ch;
}

.hero-cta {
  margin-top: clamp(12px, 2vh, 18px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(9px, 0.95vw, 14px) clamp(18px, 2vw, 30px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #17130c;
  text-decoration: none;
  font-size: clamp(0.98rem, 1.18vw, 1.34rem);
  font-weight: 600;
  box-shadow: 0 14px 24px rgba(242, 194, 27, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(242, 194, 27, 0.45);
}

.cta-icon {
  width: clamp(24px, 2vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1;
}

.agri-stats {
  min-height: var(--stats-h);
  height: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 16, 0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.3vw, 20px);
  padding: 10px 12px;
  overflow: visible;
}

.agri-stats p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(0.82rem, 0.96vw, 1.15rem);
  letter-spacing: 0.02em;
  white-space: normal;
}

.stat-dot {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(242, 194, 27, 0.72);
}

.motion-ready .hero-card {
  animation: hero-lift 0.74s ease both;
}

@media (min-width: 1121px) {
  .hero-layout {
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.1fr);
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .orbit {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: end;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-h: 86px;
    --stats-h: 52px;
  }

  .agri-header {
    gap: 12px;
  }

  .brand-title {
    font-size: clamp(1.25rem, 3.4vw, 2.4rem);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: end;
  }

  .orbit {
    margin-inline-start: auto;
    margin-inline-end: 0;
    width: min(100%, 520px);
    min-height: 0;
    max-height: none;
    height: auto;
    align-items: flex-end;
    transform: translate(var(--orbit-custom-x-tablet), var(--orbit-custom-y-tablet));
  }

  .orbit-stack {
    gap: 8px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-copy p {
    max-width: 60ch;
    margin-inline: auto;
  }

  .hero-cta {
    margin-inline: auto;
  }

  .agri-stats p {
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  html,
  body {
    height: auto;
    overflow-y: auto;
  }

  .agri-shell {
    height: auto;
    min-height: 100svh;
    grid-template-rows: auto auto auto;
    overflow: visible;
  }

  .agri-header {
    padding: 12px 14px;
    flex-wrap: wrap;
    align-items: center;
  }

  .brand img {
    height: 52px;
  }

  .breadcrumb {
    font-size: 0.92rem;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .agri-main {
    padding: 10px;
    overflow: visible;
  }

  .hero-card {
    height: auto;
    min-height: auto;
    padding: 18px 16px;
  }

  .hero-layout {
    gap: 18px;
    align-content: start;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy p {
    max-width: 46ch;
    margin-inline: 0;
  }

  .hero-cta {
    margin-inline: 0;
  }

  .orbit {
    width: min(100%, 640px);
    margin-inline: auto;
    align-items: stretch;
  }

  .agri-stats {
    height: auto;
    padding: 12px 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow: visible;
  }

  .agri-stats p {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 78px;
    --stats-h: 48px;
  }

  .agri-shell {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .agri-header {
    padding-inline: 10px;
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    height: 42px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .breadcrumb {
    font-size: 0.84rem;
    gap: 5px;
  }

  .agri-main {
    padding: 8px;
  }

  .hero-card {
    padding: 12px 10px;
    border-radius: 14px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .hero-heading h1 {
    font-size: 1.9rem;
  }

  .hero-heading p {
    font-size: 0.84rem;
  }

  .hero-layout {
    margin-top: 8px;
    gap: 14px;
    align-items: start;
    align-content: start;
  }

  .hero-copy {
    order: -1;
    text-align: left;
  }

  .orbit {
    width: 100%;
    min-height: 0;
    max-height: none;
    height: auto;
    align-items: stretch;
    margin-inline: 0;
    transform: translate(var(--orbit-custom-x-mobile), var(--orbit-custom-y-mobile));
  }

  .orbit-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    justify-content: stretch;
    align-content: start;
  }

  .orbit-item {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 88px;
    min-width: 0;
    aspect-ratio: 1 / 0.72;
    border-width: 2px;
    border-radius: 12px;
  }

  .orbit-item:last-child {
    grid-column: 1 / -1;
  }

  .orbit-item::before {
    display: none;
  }

  .orbit-item .thumb {
    transform: none;
  }

  .orbit-item .label {
    font-size: 0.82rem;
    white-space: normal;
    padding-inline: 8px;
  }

  .orbit-stack .orbit-item:is(:hover, :focus-visible, .is-active) {
    --lerp: 0;
    transform: none;
    border-radius: 12px;
  }

  .hero-copy h2 {
    font-size: 1.18rem;
  }

  .hero-copy p {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.3;
    max-width: 100%;
    margin-inline: 0;
  }

  .hero-cta {
    margin-top: 8px;
    width: auto;
    padding: 8px 14px;
    font-size: 0.84rem;
    gap: 8px;
    margin-inline: 0;
  }

  .cta-icon {
    width: 18px;
    font-size: 0.9rem;
  }

  .agri-stats {
    justify-content: center;
    gap: 8px;
  }

  .agri-stats p {
    font-size: 0.66rem;
    gap: 5px;
  }

  .stat-dot {
    width: 7px;
  }
}

@media (max-width: 360px) {
  .orbit-stack {
    grid-template-columns: 1fr;
    width: min(260px, 100%);
    margin-inline: auto;
  }

  .orbit-item:last-child {
    grid-column: auto;
  }
}

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

@keyframes ring-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-lift {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop-style mobile layout */
@media (max-width: 760px) {
  :root {
    --header-h: clamp(74px, 14vw, 96px);
  }

  .agri-shell {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .agri-header {
    min-height: var(--header-h);
    padding: 4px clamp(12px, 4vw, 26px);
    flex-wrap: nowrap;
  }

  .brand img {
    height: clamp(58px, 11vw, 86px);
  }

  .brand-title {
    font-size: clamp(1rem, 3.2vw, 2rem);
  }

  .breadcrumb {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    font-size: clamp(0.72rem, 2.2vw, 1rem);
    white-space: nowrap;
  }

  .hero-card {
    min-height: calc(100svh - var(--header-h) - var(--stats-h) - 22px);
    padding: clamp(14px, 2vw, 24px);
  }

  .hero-heading h1 {
    font-size: clamp(1.9rem, 6vw, 3.4rem);
  }

  .hero-layout {
    grid-template-columns: minmax(240px, 0.92fr) minmax(300px, 1.08fr);
    align-items: end;
    gap: clamp(14px, 3vw, 28px);
  }

  .hero-copy {
    order: 0;
    grid-column: 1;
    text-align: left;
  }

  .hero-copy p {
    max-width: 46ch;
  }

  .hero-cta {
    width: auto;
    margin-inline: 0;
  }

  .orbit {
    grid-column: 2;
    width: min(520px, 46vw);
    margin-inline-start: auto;
    transform: translate(var(--orbit-custom-x-tablet), var(--orbit-custom-y-tablet));
  }

  .orbit-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .orbit-item:last-child {
    grid-column: 1 / -1;
  }

  .agri-stats {
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .agri-stats p {
    white-space: nowrap;
    font-size: clamp(0.58rem, 1.8vw, 0.76rem);
  }
}
