:root {
  --mxg-green: #72cf4f;
  --mxg-green-dark: #378f2a;
  --teal: #2a9d8f;
  --amber: #d9a441;
  --ink: #101a13;
  --ink-soft: #1f2c23;
  --muted: #59665d;
  --line: #dbe7d7;
  --panel: #f3f8ef;
  --warm: #fbf8f1;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(16, 26, 19, 0.12);
  --shadow-card: 0 18px 48px rgba(16, 26, 19, 0.08);
  --scroll-progress: 0;
  --hero-parallax: 0px;
  --watermark-parallax: 0px;
  --product-tilt: 0deg;
  --product-lift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfdf8 0%, #ffffff 42%, #f8fbf5 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--mxg-green), var(--teal), var(--amber));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(114, 207, 79, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 760ms cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 8px clamp(20px, 5vw, 72px);
  background: rgba(249, 252, 246, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(16, 26, 19, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(112px, 9vw, 132px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #435047;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--mxg-green-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-cta {
  border-color: rgba(114, 207, 79, 0.72);
  background: rgba(114, 207, 79, 0.14);
  color: var(--ink);
}

.nav-cta:hover {
  background: var(--mxg-green);
  border-color: var(--mxg-green);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

main {
  overflow: hidden;
}

.section-band,
.intro,
.process-band,
.products,
.contact {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(243, 248, 239, 0.92)),
    var(--panel);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: min(680px, calc(100vh - 70px));
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(38px, 5vw, 64px);
  background:
    linear-gradient(115deg, rgba(114, 207, 79, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fbfdf8 0%, #f3f8ef 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 26, 19, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 19, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 68%);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: clamp(72px, 10vw, 128px);
  right: clamp(12px, 4vw, 68px);
  z-index: 0;
  width: clamp(360px, 34vw, 620px);
  opacity: 0.055;
  filter: saturate(1.2);
  pointer-events: none;
  transform: translateY(var(--watermark-parallax)) rotate(-2deg);
}

.eyebrow,
.product-label {
  margin: 0 0 14px;
  color: var(--mxg-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #08110b;
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: #4d5b52;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--ink), #213126);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(16, 26, 19, 0.16);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--mxg-green-dark), var(--teal));
  border-color: var(--mxg-green-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border-color: rgba(16, 26, 19, 0.22);
}

.button-secondary:hover {
  border-color: var(--mxg-green-dark);
  background: rgba(114, 207, 79, 0.12);
  transform: translateY(-1px);
}

.wireframe-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 245, 0.96)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  animation: hero-panel-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hero-panel::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 38%,
    rgba(114, 207, 79, 0.12) 47%,
    rgba(42, 157, 143, 0.12) 52%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: hero-scan 5.8s ease-in-out infinite;
  z-index: 1;
}

.panel-topline {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-topline span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.panel-topline span:first-child {
  background: var(--mxg-green);
  animation: dot-pulse 2.8s ease-in-out infinite;
}

.panel-topline span:nth-child(2) {
  background: var(--teal);
  animation: dot-pulse 2.8s ease-in-out 0.35s infinite;
}

.panel-topline span:nth-child(3) {
  background: var(--amber);
  animation: dot-pulse 2.8s ease-in-out 0.7s infinite;
}

.product-sketch {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  min-height: 250px;
  padding: 20px 0;
}

.sketch-sidebar,
.sketch-grid div,
.sketch-line {
  border: 1px solid var(--line);
  background: var(--panel);
}

.sketch-sidebar {
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(114, 207, 79, 0.14), transparent),
    var(--panel);
  animation: sketch-sidebar-glow 4.8s ease-in-out infinite;
}

.sketch-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sketch-line {
  width: 72%;
  height: 24px;
  border-radius: 999px;
}

.sketch-line.wide {
  width: 100%;
  height: 42px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(114, 207, 79, 0.28), rgba(42, 157, 143, 0.12), rgba(255, 255, 255, 0.4)),
    var(--panel);
  background-size: 180% 100%;
  animation: sketch-bar-flow 4.8s ease-in-out infinite;
}

.sketch-line.short {
  width: 42%;
}

.sketch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sketch-grid div {
  min-height: 70px;
  border-radius: 6px;
  animation: sketch-card-lift 6s ease-in-out infinite;
}

.sketch-grid div:nth-child(2) {
  animation-delay: 0.55s;
}

.sketch-grid div:nth-child(3) {
  animation-delay: 1.1s;
}

.sketch-grid div:nth-child(4) {
  animation-delay: 1.65s;
}

.sketch-line:not(.wide) {
  transform-origin: left center;
  animation: sketch-line-breathe 5.2s ease-in-out infinite;
}

.sketch-line.short {
  animation-delay: 0.45s;
}

.hero-panel p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

@keyframes hero-panel-float {
  0%,
  100% {
    transform: translateY(var(--hero-parallax));
  }
  50% {
    transform: translateY(calc(var(--hero-parallax) - 10px));
  }
}

@keyframes hero-scan {
  0%,
  44% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes sketch-sidebar-glow {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(114, 207, 79, 0);
  }
  50% {
    box-shadow: inset 0 0 36px rgba(114, 207, 79, 0.16);
  }
}

@keyframes sketch-bar-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes sketch-card-lift {
  0%,
  100% {
    transform: translateY(0);
    background-color: var(--panel);
  }
  50% {
    transform: translateY(-4px);
    background-color: #f9fcf6;
  }
}

@keyframes sketch-line-breathe {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel,
  .hero-panel::before,
  .panel-topline span,
  .sketch-sidebar,
  .sketch-line,
  .sketch-grid div,
  .ai-signal-panel::before,
  .ai-signal-panel::after,
  .signal-orbit span,
  .signal-card,
  .service-card.is-visible,
  .preview-window,
  .calendar-day span,
  .process-track article.is-visible,
  .process-track::before {
    animation: none;
  }

  .reveal,
  .product-preview {
    transition: none;
  }
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-content > p {
  color: var(--muted);
  font-size: 1.18rem;
}

.intro-content {
  display: grid;
  gap: 28px;
}

.ai-signal-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 255px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(114, 207, 79, 0.13), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 245, 0.96));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ai-signal-panel::before,
.ai-signal-panel::after {
  position: absolute;
  inset: 34px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(42, 157, 143, 0.22);
  border-radius: 999px;
}

.ai-signal-panel::before {
  animation: signal-ring 7s ease-in-out infinite;
}

.ai-signal-panel::after {
  inset: 70px 52px;
  border-color: rgba(114, 207, 79, 0.28);
  animation: signal-ring 7s ease-in-out 1.2s infinite reverse;
}

.signal-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.signal-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mxg-green);
  box-shadow: 0 0 0 8px rgba(114, 207, 79, 0.12);
  animation: orbit-dot 8s linear infinite;
}

.signal-orbit span:nth-child(1) {
  top: 24px;
  left: 22%;
}

.signal-orbit span:nth-child(2) {
  top: 52%;
  right: 18px;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(42, 157, 143, 0.12);
  animation-delay: -2.4s;
}

.signal-orbit span:nth-child(3) {
  bottom: 22px;
  left: 46%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(217, 164, 65, 0.12);
  animation-delay: -4.8s;
}

.signal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(219, 231, 215, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(16, 26, 19, 0.06);
  animation: signal-card-float 6s ease-in-out infinite;
}

.signal-card:nth-of-type(3) {
  animation-delay: 0.55s;
}

.signal-card:nth-of-type(4) {
  animation-delay: 1.1s;
}

.signal-card:nth-of-type(5) {
  animation-delay: 1.65s;
}

.signal-card.primary {
  background: #102016;
  border-color: #102016;
  color: #fff;
}

.signal-card.accent {
  background: linear-gradient(135deg, rgba(114, 207, 79, 0.24), rgba(42, 157, 143, 0.12)), #fff;
}

.signal-card span {
  color: var(--mxg-green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card.primary span {
  color: var(--mxg-green);
}

.signal-card strong {
  color: inherit;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.12;
}

@keyframes signal-ring {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.03);
  }
}

@keyframes orbit-dot {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(12px, 10px, 0) scale(1.18);
  }
  50% {
    transform: translate3d(0, 22px, 0) scale(0.92);
  }
  75% {
    transform: translate3d(-12px, 10px, 0) scale(1.12);
  }
}

@keyframes signal-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading.compact {
  margin-bottom: 28px;
}

.process-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(114, 207, 79, 0.12), transparent 36%),
    linear-gradient(180deg, #fbfdf8, #ffffff);
  border-bottom: 1px solid var(--line);
}

.process-band::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(114, 207, 79, 0.72), transparent);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.product-card,
.process-track article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.service-card.is-visible {
  animation: card-arrive-glow 1.4s ease both;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--mxg-green), var(--teal));
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--teal), #7bbf75);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--amber), var(--mxg-green));
}

.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, #1f2c23, var(--mxg-green));
}

.service-card:hover {
  border-color: rgba(114, 207, 79, 0.56);
  box-shadow: 0 24px 60px rgba(16, 26, 19, 0.12);
  transform: translateY(-3px);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border: 1px solid rgba(114, 207, 79, 0.44);
  border-radius: 8px;
  background: rgba(114, 207, 79, 0.12);
  color: var(--mxg-green-dark);
  font-weight: 800;
}

.service-card p,
.product-card p,
.process-track p {
  color: var(--muted);
}

.products {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-card);
}

.bloom-card {
  overflow: hidden;
  border-color: #e8e4df;
  background:
    linear-gradient(135deg, rgba(42, 157, 143, 0.16), transparent 42%),
    linear-gradient(24deg, rgba(114, 207, 79, 0.12), transparent 38%),
    linear-gradient(180deg, #fff, #f7f4f0);
}

.product-card-content {
  max-width: 720px;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  max-width: 224px;
  margin-bottom: 30px;
  padding: 10px 12px;
  border: 1px solid #e8e4df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(42, 157, 143, 0.1);
}

.product-brand img {
  width: 100%;
}

.bloom-card .product-label {
  color: #2a9d8f;
}

.product-card h3 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  line-height: 0.98;
}

.product-card p {
  max-width: 680px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #b2e4df;
  border-radius: 999px;
  background: #f0faf9;
  color: #1a645c;
  font-size: 0.86rem;
  font-weight: 700;
}

.product-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 22px;
}

.product-proof div {
  padding: 16px;
  border: 1px solid #d9eee9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.product-proof strong,
.product-proof span {
  display: block;
}

.product-proof strong {
  color: #2a9d8f;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1;
}

.product-proof span {
  margin-top: 5px;
  color: #59665d;
  font-size: 0.88rem;
  font-weight: 700;
}

.product-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  transform: translateY(var(--product-lift)) rotate(var(--product-tilt));
  transition: transform 160ms linear;
}

.preview-window {
  overflow: hidden;
  border: 1px solid #e8e4df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(42, 157, 143, 0.18);
  animation: preview-breathe 6.5s ease-in-out infinite;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid #e8e4df;
  background: #2a9d8f;
  color: #fff;
  font-weight: 800;
}

.preview-toolbar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-toolbar strong {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
}

.calendar-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  background: #fff;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.calendar-day strong {
  color: #777b77;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.calendar-day span {
  overflow: hidden;
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #eaf6f4;
  color: #216f67;
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: calendar-chip-pop 7s ease-in-out infinite;
}

.calendar-day:nth-child(2) span {
  animation-delay: 0.25s;
}

.calendar-day:nth-child(3) span {
  animation-delay: 0.5s;
}

.calendar-day:nth-child(4) span {
  animation-delay: 0.75s;
}

.calendar-day:nth-child(5) span {
  animation-delay: 1s;
}

.calendar-day:nth-child(1) span:nth-child(2),
.calendar-day:nth-child(4) span:nth-child(2) {
  background: #fff0da;
  color: #d36e20;
}

.calendar-day:nth-child(2) span:nth-child(2),
.calendar-day:nth-child(5) span:nth-child(2) {
  background: #f8dfea;
  color: #cb1f60;
}

.calendar-day:nth-child(3) span:nth-child(2),
.calendar-day:nth-child(5) span:nth-child(3) {
  background: #d9edc8;
  color: #4a842e;
}

.calendar-day:nth-child(2) span:nth-child(4),
.calendar-day:nth-child(4) span:nth-child(3) {
  background: #eadff4;
  color: #7947b7;
}

.bloom-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bloom-feature-grid span {
  min-height: 64px;
  padding: 14px;
  border: 1px solid #e8e4df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2c23;
  font-weight: 800;
}

.bloom-button {
  border-color: #2a9d8f;
  background: #2a9d8f;
  color: #fff;
}

.bloom-button:hover {
  border-color: #237f75;
  background: #237f75;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-track::before {
  position: absolute;
  top: 52px;
  left: 24px;
  right: 24px;
  height: 2px;
  content: "";
  background:
    linear-gradient(90deg, var(--mxg-green), var(--teal), var(--amber), var(--mxg-green))
    0 0 / 200% 100%;
  opacity: 0.34;
  animation: process-flow 6s linear infinite;
}

.process-track article {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.process-track article.is-visible {
  animation: process-step-pulse 1.2s ease both;
}

.process-track article::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: var(--mxg-green);
}

.process-track span {
  display: block;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(114, 207, 79, 0.18), transparent 36%),
    linear-gradient(90deg, #0b130d, #16241a 58%, #213126);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--mxg-green);
}

.contact h2 {
  max-width: 920px;
  margin-bottom: 0;
}

.inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.inquiry-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(114, 207, 79, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dff7d7;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(203, 224, 197, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(114, 207, 79, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: #dff7d7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(223, 247, 215, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--mxg-green);
  box-shadow: 0 0 0 4px rgba(114, 207, 79, 0.2);
  transform: translateY(-1px);
}

.contact .button-primary {
  width: 100%;
  background: var(--mxg-green);
  border-color: var(--mxg-green);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(114, 207, 79, 0.18);
}

.contact .button-primary:hover {
  background: #91de73;
  border-color: #91de73;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #fbfdf8;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer img {
  width: 150px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
  font-weight: 800;
}

footer a:hover {
  color: var(--mxg-green-dark);
}

@keyframes card-arrive-glow {
  0% {
    box-shadow: 0 18px 48px rgba(16, 26, 19, 0.08);
  }
  45% {
    box-shadow: 0 26px 68px rgba(114, 207, 79, 0.18);
  }
  100% {
    box-shadow: var(--shadow-card);
  }
}

@keyframes preview-breathe {
  0%,
  100% {
    box-shadow: 0 24px 60px rgba(42, 157, 143, 0.18);
  }
  50% {
    box-shadow: 0 30px 78px rgba(42, 157, 143, 0.28);
  }
}

@keyframes calendar-chip-pop {
  0%,
  88%,
  100% {
    transform: translateY(0);
  }
  92% {
    transform: translateY(-3px);
  }
}

@keyframes process-step-pulse {
  0% {
    box-shadow: 0 18px 48px rgba(16, 26, 19, 0.08);
  }
  45% {
    box-shadow: 0 24px 62px rgba(42, 157, 143, 0.16);
  }
  100% {
    box-shadow: var(--shadow-card);
  }
}

@keyframes process-flow {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero,
  .intro,
  .product-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-watermark {
    top: 92px;
    right: -80px;
    width: 420px;
    opacity: 0.045;
  }

  .card-grid.four,
  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-track::before {
    display: none;
  }

  .contact .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .brand {
    width: 112px;
  }

  .section-band,
  .intro,
  .process-band,
  .products,
  .contact {
    padding: 52px 18px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .card-grid.four,
  .form-row,
  .process-track,
  .product-sketch,
  .ai-signal-panel {
    grid-template-columns: 1fr;
  }

  .ai-signal-panel {
    min-height: auto;
  }

  .sketch-sidebar {
    min-height: 54px;
  }

  .product-card .button {
    width: 100%;
  }

  .preview-body,
  .preview-cards,
  .calendar-preview,
  .product-proof,
  .bloom-feature-grid {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
