/* Site-specific overrides and enhancements (kept readable). */

/* Page hero (inner pages) */
.page-hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(700px 380px at 10% 30%, rgba(90, 154, 60, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, var(--color-cream) 0%, #ffffff 100%);
}

/* Field gallery — bento mosaic */
.field-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .field-gallery {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: minmax(280px, 1fr);
    gap: 1.25rem;
    min-height: 420px;
  }
}

.field-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 30px -12px rgba(20, 63, 32, 0.2);
  background: var(--color-forest-dark);
  text-align: left;
}

.field-gallery-item--featured {
  aspect-ratio: auto;
  min-height: 280px;
}

@media (min-width: 768px) {
  .field-gallery-item {
    aspect-ratio: auto;
    height: 100%;
  }
}

.field-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.field-gallery-item:hover .field-gallery-img {
  transform: scale(1.04);
}

.field-gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 63, 32, 0.75) 100%);
  pointer-events: none;
}

/* Uniform dealer logo frames */
.trust-logo-frame,
.dealer-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dealer-logo-img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dealer-logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-forest);
  text-align: center;
}

.dealer-card .dealer-logo-frame {
  width: 160px;
  height: 96px;
}

.dealer-card .dealer-logo-img {
  max-height: 72px;
}

/* Dealers page — aggressive equal stages */
.page-hero.dealers-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 38, 22, 0.94), rgba(20, 63, 32, 0.88)),
    radial-gradient(ellipse at 80% 20%, rgba(90, 154, 60, 0.35), transparent 55%);
  color: #fff;
  padding-bottom: 2.5rem;
}

.dealers-hero .eyebrow {
  color: var(--color-leaf);
}

.dealers-hero h1 {
  color: #fff;
}

.dealers-hero__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.dealers-hero__inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 900px) {
  .dealers-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  }
}

.dealers-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(15, 38, 22, 0.55);
}

.dealers-summary__item {
  min-height: 5rem;
  padding: 0.95rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dealers-summary__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  color: #fff;
}

.dealers-summary__item span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.dealers-page {
  padding: 0;
  background: var(--color-cream);
}

.dealers-page > .container-rag {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.dealer-nav {
  position: sticky;
  top: 5.25rem;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(20, 63, 32, 0.16);
  border-radius: 4px;
  background: #0f2616;
  box-shadow: 0 18px 40px -28px rgba(15, 38, 22, 0.85);
}

.dealer-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.dealer-nav__item:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 154, 60, 0.55);
  background: rgba(90, 154, 60, 0.12);
}

.dealer-nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  padding: 0.25rem;
  border-radius: 3px;
  background: #fff;
}

.dealer-nav__logo .dealer-logo-img {
  max-width: 3.25rem;
  max-height: 1.85rem;
}

.dealer-nav__logo .dealer-logo-fallback {
  font-size: 0.75rem;
}

.dealer-nav__text {
  min-width: 0;
}

.dealer-nav__text strong,
.dealer-nav__text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-nav__text strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #fff;
}

.dealer-nav__text small {
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
}

.dealer-stages {
  display: grid;
  gap: 0;
}

.dealer-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.dealer-stage--dark .dealer-stage__body {
  background:
    linear-gradient(180deg, #0f2616 0%, #143f20 55%, #0f2616 100%);
  color: #fff;
}

.dealer-stage--light .dealer-stage__body {
  background:
    linear-gradient(180deg, var(--color-cream) 0%, #fff 40%, var(--color-cream) 100%);
  color: var(--color-ink);
}

.dealer-stage__hero {
  position: relative;
  min-height: clamp(22rem, 52vh, 34rem);
  overflow: hidden;
  background: #0a1a10;
}

.dealer-stage__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s ease;
}

.dealer-stage.reveal.is-visible .dealer-stage__hero-img,
.dealer-stage:hover .dealer-stage__hero-img {
  transform: scale(1);
}

.dealer-stage__hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(90, 154, 60, 0.35), transparent 50%),
    linear-gradient(135deg, #0f2616, #1f5c2e 55%, #143f20);
  display: grid;
  place-items: center;
}

.dealer-stage__hero-watermark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
}

.dealer-stage__hero-scrub {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 16, 0.25) 0%, rgba(10, 26, 16, 0.55) 45%, rgba(10, 26, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 26, 16, 0.75) 0%, transparent 50%);
  pointer-events: none;
}

.dealer-stage__identity {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  align-items: end;
  min-height: inherit;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .dealer-stage__identity {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.dealer-stage__logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 96px;
  padding: 0.75rem;
  border-radius: 4px;
  background: #fff;
  border: 2px solid var(--color-harvest);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.55);
}

.dealer-stage__logo-plate .dealer-logo-img {
  max-height: 64px;
}

.dealer-stage__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dealer-stage__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.dealer-stage__badge--leaf {
  background: rgba(90, 154, 60, 0.35);
  border-color: rgba(90, 154, 60, 0.65);
  color: #e8f5d8;
}

.dealer-stage__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.dealer-stage__tagline {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.dealer-stage__body {
  padding: 2rem 0 3rem;
}

.dealer-stage__inner {
  display: grid;
  gap: 2rem;
}

.dealer-stage__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 3;
}

@media (min-width: 800px) {
  .dealer-stage__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dealer-stage__stat {
  padding: 1.1rem 1rem;
  border-radius: 4px;
  background: var(--color-forest-dark);
  border: 1px solid rgba(196, 154, 63, 0.45);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.5);
}

.dealer-stage--light .dealer-stage__stat {
  background: #0f2616;
}

.dealer-stage__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1;
  color: #fff;
}

.dealer-stage__stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.dealer-stage__feature {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .dealer-stage__feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

.dealer-stage__story {
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(90, 154, 60, 0.28);
}

.dealer-stage--dark .dealer-stage__story {
  background: rgba(255, 255, 255, 0.04);
}

.dealer-stage--light .dealer-stage__story {
  background: #fff;
  border-color: rgba(20, 63, 32, 0.1);
}

.dealer-stage__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-leaf);
}

.dealer-stage__story h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.15;
}

.dealer-stage--dark .dealer-stage__story h3 {
  color: #fff;
}

.dealer-stage--light .dealer-stage__story h3 {
  color: var(--color-forest-dark);
}

.dealer-stage__story > p:last-child {
  margin: 0;
  line-height: 1.7;
  opacity: 0.82;
}

.dealer-stage__chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
}

.dealer-stage__chip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 4.25rem;
  padding: 0.95rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 600;
}

.dealer-stage--dark .dealer-stage__chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.dealer-stage--light .dealer-stage__chip {
  background: #fff;
  border: 1px solid rgba(20, 63, 32, 0.1);
  color: rgba(27, 27, 27, 0.82);
}

.dealer-stage__chip-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 4px;
  color: var(--color-leaf);
  background: rgba(90, 154, 60, 0.15);
}

.dealer-stage__range {
  display: grid;
  gap: 1rem;
}

.dealer-stage__bento-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.dealer-stage--dark .dealer-stage__bento-head h3 {
  color: #fff;
}

.dealer-stage--light .dealer-stage__bento-head h3 {
  color: var(--color-forest-dark);
}

.dealer-stage__bento-head p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  opacity: 0.7;
}

.dealer-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .dealer-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(11rem, auto);
  }

  .dealer-bento__tile--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.dealer-bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  min-height: 12rem;
  color: inherit;
  background: #0a1a10;
  border: 1px solid rgba(196, 154, 63, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

a.dealer-bento__tile:hover,
.dealer-bento__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 154, 60, 0.65);
  box-shadow: 0 20px 36px -24px rgba(0, 0, 0, 0.55);
}

.dealer-bento__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 7rem;
  overflow: hidden;
}

.dealer-bento__tile--large .dealer-bento__media {
  min-height: 14rem;
}

.dealer-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dealer-bento__hatch {
  width: 100%;
  height: 100%;
  min-height: 7rem;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 8px,
      rgba(90, 154, 60, 0.08) 8px,
      rgba(90, 154, 60, 0.08) 16px
    ),
    #143f20;
}

.dealer-bento__logo-mark {
  width: 4.5rem;
  height: auto;
  opacity: 0.55;
  filter: brightness(1.1);
}

.dealer-bento__meta {
  padding: 0.85rem 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(15, 38, 22, 0.92), #0f2616);
  color: #fff;
}

.dealer-bento__soon-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2616;
  background: var(--color-harvest);
}

.dealer-bento__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.15;
}

.dealer-bento__hp {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-leaf);
}

.dealer-bento__meta p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.dealer-stage__lower {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .dealer-stage__lower {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: stretch;
  }
}

.dealer-stage__media-panel {
  display: grid;
  gap: 0.65rem;
}

.dealer-stage__media-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.dealer-stage__media-label span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-leaf);
}

.dealer-stage__media-label strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.dealer-media {
  overflow: hidden;
  border-radius: 4px;
  background: #0a1a10;
  border: 1px solid rgba(196, 154, 63, 0.3);
}

.dealer-media video,
.dealer-media--still img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dealer-media--placeholder {
  min-height: 14rem;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.dealer-media--placeholder .dealer-bento__hatch {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.dealer-media--placeholder {
  position: relative;
}

.dealer-media--placeholder p {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.dealer-stage__dock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(196, 154, 63, 0.35);
}

.dealer-stage--dark .dealer-stage__dock {
  background: rgba(255, 255, 255, 0.05);
}

.dealer-stage--light .dealer-stage__dock {
  background: #0f2616;
  color: #fff;
}

.dealer-actions {
  display: grid;
  gap: 0.65rem;
}

.dealer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dealer-action:hover {
  transform: translateY(-2px);
}

.dealer-action--solid {
  color: #0f2616;
  background: var(--color-harvest);
}

.dealer-action--solid:hover {
  background: #d4a84a;
}

.dealer-action--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.dealer-action--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dealer-stage__dock-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 699px) {
  .dealers-summary {
    grid-template-columns: 1fr 1fr;
  }

  .dealers-summary__item {
    min-height: 4.5rem;
    padding: 0.75rem;
  }

  .dealers-summary__item strong {
    font-size: 1.3rem;
  }

  .dealer-nav {
    position: static;
    grid-template-columns: 1fr;
  }

  .dealer-stage {
    min-height: 0;
  }

  .dealer-stage__logo-plate {
    width: 132px;
    height: 80px;
  }

  .dealer-bento {
    grid-template-columns: 1fr;
  }
}

/* Home intro stats — single row */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 56rem;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .home-stats {
    gap: 0.5rem;
  }

  .home-stats .font-display {
    font-size: 1.35rem !important;
  }

  .home-stats .text-sm {
    font-size: 0.625rem;
    line-height: 1.3;
  }
}

/* Home — dealer network section */
.dealer-globe-section {
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
  background: var(--color-forest-dark);
}

.dealer-globe-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 85% 25%, rgba(90, 154, 60, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(244, 168, 35, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #143f20 0%, #1a4d28 45%, #143f20 100%);
}

.dealer-globe-section__inner {
  position: relative;
  z-index: 1;
}

.dealer-globe-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .dealer-globe-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .dealer-globe-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3.5rem;
    align-items: center;
  }
}

.dealer-section-copy {
  text-align: center;
}

@media (min-width: 768px) {
  .dealer-section-copy {
    text-align: left;
    max-width: 34rem;
  }
}

.dealer-section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-harvest);
}

.dealer-section-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.dealer-section-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.dealer-globe-stage {
  position: relative;
  width: 100%;
}

.dealer-globe-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  min-height: 290px;
  max-height: min(84vw, 560px);
  margin-inline: auto;
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 45%, rgba(90, 154, 60, 0.15) 0%, transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

@media (min-width: 768px) {
  .dealer-globe-frame {
    min-height: 360px;
    max-height: min(65vw, 580px);
  }
}

@media (min-width: 1024px) {
  .dealer-globe-frame {
    min-height: 400px;
    max-height: 560px;
    margin-inline: auto 0;
  }
}

.dealer-globe-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dealer-globe-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.dealer-globe-content {
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}

.dealer-cards-header {
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .dealer-cards-header {
    text-align: left;
  }
}

.dealer-cards-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.dealer-cards-subtext {
  margin-top: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 1024px) {
  .dealer-cards-subtext {
    white-space: nowrap;
  }
}

.dealer-globe-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(to top, rgba(10, 35, 18, 0.82) 0%, rgba(10, 35, 18, 0.45) 70%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .dealer-globe-caption {
    font-size: 0.85rem;
    padding: 1rem 1.25rem 1.15rem;
  }
}

.home-dealer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .home-dealer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.home-dealer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-dealer-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 168, 35, 0.35);
}

.home-dealer-card__logo {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.home-dealer-card__logo .trust-logo-frame,
.home-dealer-card__logo .dealer-logo-frame {
  width: 100%;
  max-width: 180px;
  height: 88px;
  border: none;
  background: transparent;
}

.home-dealer-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .home-dealer-card__body {
    text-align: left;
  }
}

.home-dealer-card__country {
  display: inline-block;
  align-self: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-harvest);
  background: rgba(244, 168, 35, 0.12);
  border: 1px solid rgba(244, 168, 35, 0.25);
}

@media (min-width: 768px) {
  .home-dealer-card__country {
    align-self: flex-start;
  }
}

.home-dealer-card__name {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.home-dealer-card__blurb {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.home-dealer-card__cta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-harvest);
}

.home-dealer-card:hover .home-dealer-card__cta {
  text-decoration: underline;
}

.dealer-section-cta {
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .dealer-section-cta {
    text-align: left;
  }
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

/* Group company carousel card inner styles */
.about-logo-wrap {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: transparent;
  border: none;
  overflow: hidden;
  flex-shrink: 0;
}

.about-logo {
  max-height: 64px;
  max-width: 85%;
  object-fit: contain;
}

.about-logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--color-forest);
  text-align: center;
  padding: 0 12px;
  line-height: 1.15;
}

.about-company-name {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.about-tag {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-forest-dark);
  background: rgba(90, 154, 60, 0.12);
}

.about-company-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(27, 27, 27, 0.72);
  text-align: center;
}

.about-company-actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: center;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: var(--color-forest);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease;
}

.about-btn:hover {
  background: var(--color-forest-dark);
  transform: translateY(-1px);
}

.about-btn.is-disabled,
.about-btn.is-disabled:hover {
  background: rgba(27, 27, 27, 0.18);
  color: rgba(27, 27, 27, 0.55);
  transform: none;
  cursor: not-allowed;
}

@media (min-width: 40rem) {
  .about-logo-wrap {
    height: 88px;
  }
  .about-logo {
    max-height: 72px;
  }
}

/* Group company carousel */
.group-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.group-carousel-wrap.is-auto-active .group-carousel {
  scroll-behavior: smooth;
}

.group-carousel {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.group-carousel::-webkit-scrollbar {
  display: none;
}

.group-carousel-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.25rem 0.5rem 1rem;
}

.group-carousel-card {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  padding: 1.25rem;
  text-align: center;
}

.group-carousel-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: #fff;
  color: var(--color-forest-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px -12px rgba(20, 63, 32, 0.25);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.group-carousel-btn:hover {
  background: var(--color-cream);
  transform: scale(1.04);
}

.group-carousel-btn--prev {
  display: none;
}

.group-carousel-btn--next {
  display: none;
}

@media (min-width: 768px) {
  .group-carousel-btn--prev,
  .group-carousel-btn--next {
    display: inline-flex;
  }
}

/* Video hero (home) — sits below fixed header */
.hero-cinema {
  --hero-nav-offset: 4.5rem;
  position: relative;
  margin-top: var(--hero-nav-offset);
  min-height: calc(100svh - var(--hero-nav-offset));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--color-forest-dark);
}

@media (min-width: 640px) {
  .hero-cinema {
    --hero-nav-offset: 5rem;
  }
}

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

.hero-cinema-scrim {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.05) 22%,
    transparent 42%,
    rgba(0, 0, 0, 0.4) 68%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.hero-cinema-title {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem 3.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-cinema-title {
    padding-bottom: 4.5rem;
  }
}

.hero-cinema-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 4px 28px rgba(0, 0, 0, 0.6);
}

.hero-cinema-rag {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* Products page — compact layout (brands + tiles visible on landing) */
body[data-page="products"] .products-main {
  padding-top: 4.5rem;
}

body[data-page="products"] #navbar nav.container-rag {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

body[data-page="products"] #navbar img[alt*="logo" i] {
  height: 2.25rem;
}

@media (min-width: 640px) {
  body[data-page="products"] #navbar img[alt*="logo" i] {
    height: 2.5rem;
  }
}

body[data-page="products"] .products-page.section-pad {
  padding-top: 0.65rem;
  padding-bottom: 4rem;
}

body[data-page="products"] .products-page__header {
  margin-bottom: 0.65rem;
  text-align: center;
}

body[data-page="products"] .products-page__header .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

body[data-page="products"] .products-page__title {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-ink);
}

body[data-page="products"] .products-page__lead {
  display: none;
  margin: 0.35rem auto 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(27, 27, 27, 0.65);
}

@media (min-width: 768px) {
  body[data-page="products"] .products-page.section-pad {
    padding-top: 0.85rem;
  }

  body[data-page="products"] .products-page__header {
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 1280px) {
  body[data-page="products"] .products-page__lead {
    display: block;
  }
}

body[data-page="products"] .products-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

body[data-page="products"] .products-brand-filter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body[data-page="products"] .products-brand-filter__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.55);
}

body[data-page="products"] .products-brand-filter__select {
  min-width: 10.5rem;
  padding: 0.6rem 2.25rem 0.6rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231b5d34' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  appearance: none;
  box-shadow: 0 8px 24px -16px rgba(20, 63, 32, 0.22);
}

body[data-page="products"] .products-brand-filter__select:focus {
  outline: 2px solid rgba(90, 154, 60, 0.45);
  outline-offset: 2px;
}

body[data-page="products"] .products-page__grid {
  margin-top: 0;
}

body[data-page="products"] .products-tile-grid {
  gap: 1.5rem;
}

body[data-page="products"] .product-tile-img-wrap {
  height: 180px;
}

@media (min-width: 768px) {
  body[data-page="products"] .product-tile-img-wrap {
    height: 195px;
  }
}

body[data-page="products"] .product-tile-body {
  padding: 0.85rem 1rem 1.25rem;
}

.drive-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px -18px rgba(20, 63, 32, 0.25);
}

.drive-switch-btn {
  min-width: 5.5rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(27, 27, 27, 0.55);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.drive-switch-btn.is-active {
  color: #fff;
  background: var(--color-forest);
}

.drive-switch-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest-dark);
  background: rgba(90, 154, 60, 0.12);
}

.products-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 4px 20px -6px rgba(0, 0, 0, 0.1),
    0 10px 28px -14px rgba(20, 63, 32, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-tile:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 36px -10px rgba(0, 0, 0, 0.14),
    0 16px 40px -16px rgba(20, 63, 32, 0.22);
}

.product-tile-accent {
  height: 5px;
  flex-shrink: 0;
  background: var(--color-forest);
}

.product-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem 2rem;
}

.product-tile-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.product-tile-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transform: scale(1.18);
  transform-origin: center center;
  filter: drop-shadow(0 14px 22px rgba(20, 63, 32, 0.14));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-tile:hover .product-tile-img {
  transform: scale(1.22);
  filter: drop-shadow(0 18px 28px rgba(20, 63, 32, 0.18));
}

.product-gallery-img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 22px rgba(20, 63, 32, 0.12));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-gallery {
  background: #fff;
  isolation: isolate;
}

.product-gallery:hover .product-gallery-img {
  filter: drop-shadow(0 18px 28px rgba(20, 63, 32, 0.16));
}

.product-tile-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
}

.product-tile-brand-logo .dealer-logo-img {
  max-height: 1.75rem;
  max-width: 6.5rem;
}

.product-tile-brand {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-leaf);
}

.product-tile-name {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.product-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-forest);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-tile:hover .product-tile-cta {
  background: var(--color-forest-dark);
  transform: translateY(-1px);
}

.product-tile-cta-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* Product detail — page layout */
body[data-page="product-details"] .product-details-main {
  padding-top: 4.5rem;
}

body[data-page="product-details"] .product-details-hero-wrap {
  position: relative;
}

body[data-page="product-details"] .product-details-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding-top: 0.65rem;
  padding-bottom: 0.35rem;
  pointer-events: none;
}

body[data-page="product-details"] .product-details-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem 0.5rem 0.7rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-forest-dark);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px -10px rgba(20, 63, 32, 0.28);
  backdrop-filter: blur(6px);
  pointer-events: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="product-details"] .product-details-back:hover {
  background: #fff;
  border-color: rgba(90, 154, 60, 0.35);
  box-shadow: 0 6px 22px -10px rgba(20, 63, 32, 0.32);
  transform: translateX(-2px);
}

body[data-page="product-details"] .product-details-back__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

body[data-page="product-details"] .product-details-content.section-pad {
  padding-top: 2rem;
}

/* Product detail — promotional hero */
.product-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  --hero-bg: #f8f9f5;
  --hero-forest-deep: #123d24;
  --hero-forest: #1a5533;
  --hero-forest-mid: #1f6239;
  --hero-emerald: #267a45;
  --hero-emerald-light: #4aab6e;
  --hero-tractor-glow: #6ecf8a;
  --hero-green: #1a5533;
  --hero-watermark: #a8c4a0;
  --hero-watermark-opacity: 0.13;
  --hero-grid-line: rgba(0, 0, 0, 0.05);
  --hero-grid-major: rgba(0, 0, 0, 0.075);
  --hero-rule: rgba(0, 0, 0, 0.22);
  --hero-ribbon-streak-angle: 164deg;
  background-color: var(--hero-bg);
}

body[data-page="product-details"] .product-hero {
  min-height: clamp(520px, calc(100svh - 4.5rem), 700px);
  padding-bottom: 1.5rem;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent calc(100% - 2.75rem), var(--color-cream) 100%);
}

.product-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--hero-bg);
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(var(--hero-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-major) 1px, transparent 1px);
  background-size:
    18px 18px,
    18px 18px,
    90px 90px,
    90px 90px;
}

/* Green wedge: specs + tractor; bottom-right corner open for slogan */
.product-hero__band {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  clip-path: polygon(0% 100%, 0% 44%, 55% 20%, 82% 15%, 100% 22%, 62% 100%);
  background:
    radial-gradient(
      ellipse 50% 46% at 52% 52%,
      var(--hero-tractor-glow) 0%,
      var(--hero-emerald-light) 22%,
      var(--hero-emerald) 48%,
      var(--hero-forest-mid) 72%,
      var(--hero-forest) 100%
    ),
    repeating-linear-gradient(
      var(--hero-ribbon-streak-angle),
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 3px,
      transparent 3px,
      transparent 30px
    ),
    repeating-linear-gradient(
      var(--hero-ribbon-streak-angle),
      rgba(0, 0, 0, 0.055) 0,
      rgba(0, 0, 0, 0.055) 1px,
      transparent 1px,
      transparent 6px
    ),
    repeating-linear-gradient(
      var(--hero-ribbon-streak-angle),
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(
      118deg,
      var(--hero-forest-deep) 0%,
      var(--hero-forest) 45%,
      var(--hero-forest-mid) 78%,
      var(--hero-emerald) 100%
    );
}

.product-hero__band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 38% 36% at 52% 50%,
    rgba(130, 220, 155, 0.72) 0%,
    rgba(90, 185, 120, 0.38) 38%,
    rgba(50, 130, 80, 0.12) 58%,
    transparent 72%
  );
}

.product-hero__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      var(--hero-ribbon-streak-angle),
      transparent 0,
      transparent 20px,
      rgba(255, 255, 255, 0.06) 20px,
      rgba(255, 255, 255, 0.06) 44px,
      transparent 44px,
      transparent 72px
    );
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.product-hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

body[data-page="product-details"] .product-hero__inner {
  min-height: 0;
  flex: 1;
  padding: 2.75rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .product-hero__inner {
    min-height: 480px;
    padding: 2.5rem 2rem 3rem;
  }

  body[data-page="product-details"] .product-hero__inner {
    padding: 3rem 2rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .product-hero__inner {
    min-height: 540px;
    padding: 3rem 2.5rem 3.5rem;
  }

  body[data-page="product-details"] .product-hero__inner {
    padding: 3.25rem 2.5rem 2rem;
  }
}

body[data-page="product-details"] .product-hero {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .product-hero__band {
    clip-path: polygon(0% 100%, 0% 48%, 50% 24%, 100% 26%, 58% 100%);
  }

  .product-hero__slogan {
    right: 4%;
    bottom: 8%;
    max-width: 280px;
  }

  body[data-page="product-details"] .product-hero {
    min-height: clamp(480px, calc(100svh - 4.5rem), 640px);
    padding-bottom: 1.25rem;
  }

  body[data-page="product-details"] .product-hero__spec-rotate {
    left: 4%;
    bottom: 1.1rem;
  }

  .product-features {
    padding: 2.5rem 0;
  }

  .product-features__inner {
    gap: 2rem;
  }

  body[data-page="product-details"] .product-hero__slogan {
    bottom: 1rem;
    max-width: min(280px, 42vw);
  }
}

.product-hero__watermark {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  width: 68%;
  max-width: 72rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 17vw, 11.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.88;
  text-align: center;
  color: var(--hero-watermark);
  opacity: var(--hero-watermark-opacity);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.product-hero__header {
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
}

.product-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero__title-rule {
  display: block;
  height: 2px;
  width: clamp(2.5rem, 10vw, 5.5rem);
  background: var(--hero-rule);
}

.product-hero__title-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
}

.product-hero__title-brand {
  color: var(--hero-green);
}

.product-hero__title-model {
  color: var(--color-ink);
}

.product-hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 220px;
  margin-top: 0.75rem;
}

.product-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(94%, 760px);
  max-height: min(54vh, 420px);
  object-fit: contain;
  object-position: center;
  transform: translateX(3.2%);
  filter:
    brightness(0.72)
    contrast(1.32)
    saturate(1.14)
    drop-shadow(0 22px 38px rgba(0, 0, 0, 0.45))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
  .product-hero__stage {
    min-height: 300px;
    margin-top: 1rem;
  }

  .product-hero__img {
    width: min(88%, 820px);
    max-height: min(60vh, 460px);
  }
}

@media (min-width: 1024px) {
  .product-hero__stage {
    min-height: 340px;
  }

  .product-hero__img {
    width: min(84%, 860px);
    max-height: min(64vh, 500px);
  }
}

.product-hero__spec-rotate {
  position: absolute;
  left: 4%;
  bottom: 11%;
  z-index: 6;
  pointer-events: none;
  text-align: left;
}

.product-hero__spec-rotate-track {
  position: relative;
  min-width: clamp(9rem, 24vw, 14rem);
  min-height: clamp(4rem, 11vw, 5.5rem);
}

.product-hero__spec-slide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.product-hero__spec-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-hero__spec-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.product-hero__spec-label {
  display: block;
  margin-top: 0.25em;
  font-size: clamp(0.7rem, 1.9vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .product-hero__spec-rotate {
    left: 4%;
    bottom: 10%;
  }
}

@media (min-width: 768px) {
  .product-hero__spec-rotate {
    max-width: 260px;
  }
}

body[data-page="product-details"] .product-hero__spec-rotate {
  bottom: 1.35rem;
}

/* Product detail — wide specifications band */
.product-features {
  background-color: var(--color-forest-dark);
  background-image:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(90, 154, 60, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(31, 92, 46, 0.22) 0%, transparent 50%);
  padding: 3.5rem 0 4rem;
}

.product-features__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .product-features {
    padding: 4rem 0 4.5rem;
  }

  .product-features__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem 2rem;
  }
}

.product-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}

.product-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4rem, 8vw, 5.25rem);
  height: clamp(4rem, 8vw, 5.25rem);
  margin-bottom: 1.35rem;
  color: var(--color-cream);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.product-features__icon-svg {
  width: 100%;
  height: 100%;
}

.product-features__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-cream);
}

.product-features__text {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 248, 243, 0.82);
}

.product-spec-icon-svg {
  width: 1.15rem;
  height: 1.15rem;
}

body[data-page="product-details"] .product-hero__slogan {
  bottom: 1.15rem;
}

.product-hero__slogan {
  position: absolute;
  z-index: 6;
  right: 4%;
  bottom: 8%;
  margin: 0;
  text-align: right;
  max-width: min(300px, 42vw);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  pointer-events: none;
}

.product-hero__slogan-line1,
.product-hero__slogan-line2 {
  margin: 0;
  font-size: clamp(1.05rem, 3vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--color-ink);
}

.product-hero__slogan-line2 {
  margin-top: 0.15em;
}

.product-hero__slogan-accent {
  color: var(--hero-green);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  text-decoration-color: var(--hero-green);
}

.product-hero__slogan--tagline {
  max-width: min(22rem, 52vw);
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
}

.product-hero__slogan--tagline .product-hero__slogan-line1,
.product-hero__slogan--tagline .product-hero__slogan-line2 {
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-forest-dark);
}

/* Product detail — unified content sections */
.product-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0 0.75rem;
}

.product-detail-actions .btn {
  min-width: 13.5rem;
  padding: 1.15rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.product-detail-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 63, 32, 0.1);
}

.product-detail-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-forest-dark);
}

.product-detail-section__lead {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(27, 27, 27, 0.6);
}

.product-detail-section__body {
  margin-top: 1rem;
}

/* Product detail — bottom photo grid */
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr));
  gap: 0.875rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .product-gallery-grid {
    gap: 1rem;
  }
}

.product-gallery-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  aspect-ratio: 4 / 3;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-grid__item:hover {
  border-color: var(--color-leaf);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(20, 63, 32, 0.35);
}

.product-gallery-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* About — mission & vision highlight */
/* About story panel */
.about-story-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(244, 168, 35, 0.1), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--color-cream) 100%);
}

.about-story-panel {
  position: relative;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 243, 0.94) 52%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(20, 63, 32, 0.08);
  box-shadow: 0 28px 70px -46px rgba(20, 63, 32, 0.42);
}

@media (min-width: 1024px) {
  .about-story-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    padding: 2.25rem;
  }

  .about-story-intro {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .about-story-visual {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .about-story-panel .about-mv-grid {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 63, 32, 0.08);
  }

  .about-story-panel .about-proof-grid {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 63, 32, 0.08);
  }
}

@media (max-width: 1023px) {
  .about-story-intro {
    order: 1;
  }

  .about-story-panel .about-mv-grid {
    order: 2;
    margin-top: 0.25rem;
  }

  .about-story-panel .about-proof-grid {
    order: 3;
    margin-top: 0.5rem;
  }

  .about-story-visual {
    order: 4;
  }
}

.about-story-intro,
.about-story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.about-story-intro h1,
.about-story-copy h1 {
  margin: 0.75rem 0 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.6vw, 4.6rem);
  line-height: 0.98;
  color: var(--color-forest-dark);
}

.about-story-paragraphs {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
  margin-top: 1.35rem;
  color: rgba(27, 27, 27, 0.76);
  line-height: 1.68;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .about-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .about-story-panel .about-proof-grid {
    margin-top: 0.25rem;
  }
}

.about-proof-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9.5rem;
  padding: 1.15rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(20, 63, 32, 0.07);
  box-shadow: 0 16px 34px -28px rgba(20, 63, 32, 0.45);
  color: rgba(27, 27, 27, 0.82);
  font-weight: 700;
  line-height: 1.38;
}

.about-proof-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: var(--color-forest);
  background: rgba(90, 154, 60, 0.1);
}

.about-proof-card__svg {
  width: 1.8rem;
  height: 1.8rem;
}

.about-story-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-tractor-stage {
  position: relative;
  width: 100%;
  min-height: 210px;
  overflow: visible;
}

.about-tractor-stage::before {
  content: "";
  position: absolute;
  inset: 16% 0 0 10%;
  border-radius: 9999px;
  background: radial-gradient(ellipse at center, rgba(31, 92, 46, 0.12), transparent 68%);
  pointer-events: none;
}

.about-tractor-stage img {
  position: relative;
  display: block;
  width: min(100%, 720px);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(20, 63, 32, 0.16));
}

@media (min-width: 1024px) {
  .about-tractor-stage {
    min-height: 0;
    margin-top: 0;
  }

  .about-tractor-stage img {
    width: 100%;
    max-width: none;
    margin-right: 0;
    border-radius: 12px;
  }
}

.about-story-panel .about-mv-grid {
  margin-top: 1.25rem;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .about-mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .about-story-panel .about-mv-grid {
    gap: 1.5rem;
  }
}

.about-mv-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 50px -28px rgba(20, 63, 32, 0.45);
}

@media (min-width: 640px) {
  .about-mv-card {
    padding: 1.75rem 1.5rem 1.85rem;
  }
}

@media (min-width: 1024px) {
  .about-mv-card {
    padding: 1.65rem 1.5rem 1.85rem;
  }
}

.about-mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.about-mv-card--mission {
  background: linear-gradient(145deg, var(--color-forest-dark) 0%, var(--color-forest) 62%, #2a6b38 100%);
  color: #fff;
}

.about-mv-card--vision {
  background: linear-gradient(145deg, var(--color-forest) 0%, var(--color-leaf) 72%, #6aad4a 100%);
  color: #fff;
}

.about-mv-card__label {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
}

.about-mv-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 9999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-mv-card__svg {
  width: 1.85rem;
  height: 1.85rem;
}

.about-mv-card__text {
  position: relative;
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

/* About — leadership messages */
.about-leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .about-leaders-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.about-leader-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(20, 63, 32, 0.08);
  box-shadow: var(--shadow-card);
}

@media (min-width: 540px) {
  .about-leader-card {
    flex-direction: row;
    min-height: 280px;
  }
}

.about-leader-photo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  background: linear-gradient(165deg, #eef2ec 0%, #d8e2d4 100%);
  border-bottom: 1px solid rgba(20, 63, 32, 0.06);
}

@media (min-width: 540px) {
  .about-leader-photo {
    width: 11.5rem;
    min-height: auto;
    border-bottom: none;
    border-right: 1px solid rgba(20, 63, 32, 0.06);
  }
}

.about-leader-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-leader-photo__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.about-leader-photo__role {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.45);
}

.about-leader-photo__hint {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.3);
}

.about-leader-body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.75rem;
}

@media (min-width: 640px) {
  .about-leader-body {
    padding: 1.75rem 2rem 2rem;
  }
}

.about-leader-draft {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-harvest);
}

.about-leader-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--color-forest-dark);
}

.about-leader-text {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(27, 27, 27, 0.75);
}

.footer-social__link {
  overflow: visible;
}

.footer-social__icon {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  overflow: visible;
}

/* === RAG Partnership Circle === */

.rag-molecule {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.rag-molecule__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rag-molecule__bond {
  stroke: rgba(0, 0, 0, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

.rag-molecule__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: 3;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 32px -4px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(31, 92, 46, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.is-visible .rag-molecule__center {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.rag-molecule__center-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rag-molecule__center-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-forest-dark);
}

.rag-molecule__node {
  position: absolute;
  left: calc(50% + var(--ox));
  top: calc(50% + var(--oy));
  transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(0.6);
  opacity: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  will-change: transform;
}

.is-visible .rag-molecule__node {
  transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s),
              opacity 0.4s ease var(--d, 0s);
}

.is-visible .rag-molecule__node.is-jiggling {
  animation: rag-jiggle var(--jiggle-dur, 3.5s) ease-in-out infinite var(--jiggle-delay, 0s);
}

@keyframes rag-jiggle {
  0%, 100% { transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1) translate(0, 0); }
  15% { transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1) translate(0.8px, -1.2px); }
  35% { transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1) translate(-1px, 0.6px); }
  55% { transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1) translate(0.5px, 1px); }
  75% { transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))) scale(1) translate(-0.6px, -0.8px); }
}

.rag-molecule__node:hover,
.rag-molecule__node.is-expanded {
  z-index: 10;
}

.rag-molecule__node:hover,
.rag-molecule__node.is-snapped,
.rag-molecule__node.is-expanded {
  animation-play-state: paused !important;
}

.rag-molecule__node:hover .rag-molecule__node-avatar {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--sector-color, #000) 30%, transparent);
}

.rag-molecule__node.is-expanded .rag-molecule__node-avatar {
  transform: none;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  padding: 20px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow: 0 12px 40px -8px color-mix(in srgb, var(--sector-color, #000) 25%, rgba(0,0,0,0.12));
}

.rag-molecule__node-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px -3px rgba(0, 0, 0, 0.1);
  border: 2.5px solid var(--sector-color, rgba(0,0,0,0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 0.4s ease,
              padding 0.4s ease,
              box-shadow 0.3s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rag-molecule__node-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--sector-color, #000);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.rag-molecule__node.is-snapped .rag-molecule__node-avatar::after {
  opacity: 0.3;
  transform: scale(1);
  animation: rag-ripple 0.6s ease-out forwards;
}

@keyframes rag-ripple {
  0% { opacity: 0.45; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.25); }
}

.rag-molecule__node-core {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease, margin 0.35s ease;
}

.rag-molecule__node-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.rag-molecule__node.is-expanded .rag-molecule__node-logo {
  width: 56px;
  height: 56px;
}

.rag-molecule__node-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--sector-color, var(--color-forest));
  text-align: center;
  letter-spacing: -0.02em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rag-molecule__node.is-expanded .rag-molecule__node-fallback {
  font-size: 18px;
  background: var(--sector-color, var(--color-forest));
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rag-molecule__node-expanded {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease 0.05s, max-height 0.4s ease;
}

.rag-molecule__node.is-expanded .rag-molecule__node-expanded {
  opacity: 1;
  max-height: 240px;
  pointer-events: auto;
}

.rag-molecule__node-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
}

.rag-molecule__node-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.25;
}

.rag-molecule__node-tag {
  display: inline-flex;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  color: var(--sector-color, var(--color-forest-dark));
  background: color-mix(in srgb, var(--sector-color, var(--color-leaf)) 10%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.rag-molecule__node-blurb {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(27, 27, 27, 0.55);
  margin: 6px 0 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rag-molecule__node-blurb--muted {
  font-style: italic;
  color: rgba(27, 27, 27, 0.3);
}

.rag-molecule__node-action {
  margin-top: auto;
  padding-top: 6px;
}

.rag-molecule__node-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-forest);
  padding: 5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.rag-molecule__node-btn:hover {
  background: var(--color-forest-dark);
}

.rag-molecule__node-btn--disabled {
  background: rgba(27, 27, 27, 0.08);
  color: rgba(27, 27, 27, 0.4);
  cursor: default;
  pointer-events: none;
}

.rag-molecule__node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.25;
  max-width: 120px;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.rag-molecule__node.is-expanded .rag-molecule__node-label {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .rag-molecule { display: none; }
}

.group-carousel-wrap--mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .group-carousel-wrap--mobile { display: flex; }
}

.group-carousel-wrap--mobile .group-carousel-btn--prev,
.group-carousel-wrap--mobile .group-carousel-btn--next {
  display: none;
}