:root {
  --bg: #f6f0e6;
  --bg-soft: #efe4d2;
  --panel: rgba(255, 251, 244, 0.84);
  --panel-strong: #fff8ef;
  --text: #15362f;
  --muted: #57736c;
  --green: #1d8c70;
  --green-soft: #6dc3ab;
  --brass: #b98e43;
  --cream: #fff9f1;
  --line: rgba(21, 54, 47, 0.12);
  --shadow: 0 28px 60px rgba(97, 71, 26, 0.12);
  --radius: 30px;
  --container: min(1220px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(185, 142, 67, 0.14), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(29, 140, 112, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f2e8 0%, #f4ebde 42%, #efe4d2 100%);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.page-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 84px
    );
  opacity: 0.28;
  z-index: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 242, 232, 0.82);
  border-bottom: 1px solid rgba(21, 54, 47, 0.08);
}

.nav-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(29, 140, 112, 0.16));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

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

.nav a {
  position: relative;
  font-weight: 600;
  color: rgba(21, 54, 47, 0.8);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--brass));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  color: white;
  box-shadow: 0 18px 30px rgba(29, 140, 112, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(21, 54, 47, 0.12);
  color: var(--text);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 7px auto;
}

.hero {
  padding: 76px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(420px, 0.84fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 800;
}

h1,
h2,
#category-title {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 4.35vw, 4.45rem);
  max-width: 13.5ch;
}

h2 {
  font-size: clamp(2.35rem, 3.9vw, 3.9rem);
  max-width: 16ch;
}

.hero-text,
.contact-text,
.catalogue-head p:last-child,
.about-card p,
.industry-card p,
.contact-line strong,
.contact-line span {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.hero-text {
  max-width: 760px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.stat,
.about-card,
.catalogue-sidebar,
.catalogue-stage,
.industry-card,
.contact-panel,
.visual-panel {
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid rgba(21, 54, 47, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat {
  padding: 22px 18px;
  border-radius: 24px;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.visual-panel {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 30%, rgba(185, 142, 67, 0.14), transparent 28%),
    radial-gradient(circle at 70% 25%, rgba(29, 140, 112, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 249, 241, 0.92), rgba(247, 239, 227, 0.92));
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(185, 142, 67, 0.4), transparent 70%);
  top: 10%;
  right: 10%;
  animation: float 10s ease-in-out infinite;
}

.orb-b {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(29, 140, 112, 0.28), transparent 70%);
  left: -2%;
  bottom: 16%;
  animation: float 13s ease-in-out infinite reverse;
}

.orb-c {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 72%);
  left: 50%;
  top: 36%;
  animation: pulse 5s ease-in-out infinite;
}

.floating-logo {
  position: absolute;
  top: 28px;
  left: 34px;
  z-index: 2;
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transform: translate3d(0, 0, 0);
}

.floating-logo.is-dragging {
  cursor: grabbing;
}

.floating-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoHover 6s ease-in-out infinite;
  filter:
    drop-shadow(0 18px 30px rgba(33, 153, 68, 0.22))
    drop-shadow(0 0 32px rgba(95, 255, 116, 0.16));
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.floating-logo.is-dragging img {
  animation: none;
}

.visual-rings {
  position: absolute;
  inset: 23% 18% auto auto;
  width: 260px;
  height: 260px;
}

.visual-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(21, 54, 47, 0.14);
  animation: spinReverse 18s linear infinite;
}

.visual-rings span:nth-child(2) {
  inset: 20px;
  animation-duration: 12s;
}

.visual-rings span:nth-child(3) {
  inset: 46px;
  animation-duration: 8s;
}

.visual-columns {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
}

.visual-columns span {
  display: block;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(29, 140, 112, 0.2), rgba(29, 140, 112, 0.8));
  animation: rise 4.8s ease-in-out infinite;
}

.visual-columns span:nth-child(1) { height: 90px; animation-delay: 0.1s; }
.visual-columns span:nth-child(2) { height: 160px; animation-delay: 0.3s; }
.visual-columns span:nth-child(3) { height: 120px; animation-delay: 0.5s; }
.visual-columns span:nth-child(4) { height: 220px; animation-delay: 0.7s; }
.visual-columns span:nth-child(5) { height: 140px; animation-delay: 0.9s; }

.visual-card {
  position: absolute;
  right: 28px;
  bottom: 180px;
  max-width: 280px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(21, 54, 47, 0.08);
}

.visual-card p {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.ticker {
  margin-top: 60px;
  overflow: hidden;
  border-top: 1px solid rgba(21, 54, 47, 0.08);
  border-bottom: 1px solid rgba(21, 54, 47, 0.08);
  background: rgba(255, 255, 255, 0.25);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  padding: 20px 0;
  animation: marquee 20s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 88px;
  padding-right: 88px;
}

.ticker-track span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: start;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-card {
  padding: 28px;
  border-radius: 28px;
}

.about-card.wide {
  grid-column: span 2;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(29, 140, 112, 0.1);
  color: var(--green);
  font-weight: 800;
}

.about-card h3,
.industry-card h3 {
  margin: 20px 0 12px;
  font-size: 1.22rem;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  margin-top: 28px;
}

.catalogue-sidebar,
.catalogue-stage,
.industry-card,
.contact-panel {
  border-radius: 30px;
}

.catalogue-sidebar {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.catalogue-tab {
  min-height: 62px;
  text-align: left;
  border-radius: 20px;
  border: 1px solid rgba(21, 54, 47, 0.08);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(21, 54, 47, 0.88);
  padding: 0 18px;
  transition: transform 0.22s ease, background 0.22s ease;
  user-select: none;
}

.catalogue-tab:hover,
.catalogue-tab.is-active {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(29, 140, 112, 0.14), rgba(185, 142, 67, 0.16));
}

.catalogue-stage {
  padding: 28px;
  min-height: 470px;
}

.stage-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.stage-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

#category-title {
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  max-width: 14ch;
}

.stage-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(29, 140, 112, 0.1);
  color: var(--green);
  font-weight: 700;
}

.product-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.product-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 54, 47, 0.08);
  color: var(--text);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: chipIn 0.45s ease forwards;
  user-select: none;
}

.catalogue-stage h3,
.stage-label,
.stage-count {
  user-select: none;
}

.industries-head.centered {
  text-align: center;
}

.industries-head.centered h2 {
  margin-inline: auto;
  max-width: 17ch;
}

.about-heading h2,
.catalogue-head h2,
.contact-copy h2 {
  max-width: 18ch;
}

.about-description {
  max-width: 680px;
}

.about-description p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.8;
}

.about-description p + p {
  margin-top: 18px;
}

.catalogue-title {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  max-width: 12ch;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.industry-card {
  padding: 26px;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.industry-card--extra {
  display: none;
}

.industry-grid.is-expanded .industry-card--extra {
  display: block;
}

.industry-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 30px 50px rgba(97, 71, 26, 0.16);
}

.industry-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.industry-toggle.is-hidden {
  display: none;
}

.contact-panel {
  padding: 28px;
}

.contact-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(21, 54, 47, 0.08);
}

.contact-line span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-line strong {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(21, 54, 47, 0.08);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--brass));
  color: white;
  box-shadow: 0 18px 36px rgba(29, 140, 112, 0.2);
  animation: hoverFloat 3.4s ease-in-out infinite;
}

.floating-contact__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.82s ease, transform 0.82s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -16px, 0) scale(1.08); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes logoHover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(2deg); }
}

@keyframes rise {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-8px) scaleY(1.08); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--ticker-step, -50%)); }
}

@keyframes chipIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hoverFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .catalogue-layout {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 248, 239, 0.96);
    border: 1px solid rgba(21, 54, 47, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-stats,
  .industry-grid,
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1000px);
  }

  .header {
    background: rgba(248, 242, 232, 0.94);
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.35rem, 9vw, 3.2rem);
    max-width: 100%;
  }

  h2,
  #category-title {
    font-size: clamp(2rem, 7vw, 2.7rem);
    max-width: 100%;
  }

  .hero-stats,
  .industry-grid,
  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card.wide {
    grid-column: auto;
  }

  .visual-panel {
    min-height: 520px;
  }

  .floating-logo {
    width: 180px;
    height: 180px;
    top: 20px;
    left: 18px;
  }

  .visual-rings {
    right: 8%;
    width: 180px;
    height: 180px;
  }

  .visual-card {
    position: static;
    margin-top: 28px;
    max-width: none;
  }

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

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

  .floating-contact {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM ANIMATION ENHANCEMENTS — Chem Intel
   ═══════════════════════════════════════════════════════════ */

/* ─── Scroll Progress Bar ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  background: transparent;
  z-index: 999;
  transform-origin: left;
}

.scroll-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green), var(--brass), var(--green-soft));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 0.08s linear;
  box-shadow: 0 0 8px rgba(29, 140, 112, 0.5);
}

/* ─── Custom Cursor ───────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
}

.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, background 0.25s ease, opacity 0.25s ease;
  mix-blend-mode: multiply;
}

.cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(29, 140, 112, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease,
              opacity 0.35s ease;
}

.cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  border-color: rgba(185, 142, 67, 0.7);
  background: rgba(185, 142, 67, 0.05);
}

.cursor-ring.is-clicking {
  width: 28px;
  height: 28px;
  background: rgba(29, 140, 112, 0.14);
}

/* ─── Heading Shimmer ─────────────────────────────────────── */
.shimmer-word {
  background: linear-gradient(
    108deg,
    var(--text) 0%,
    var(--text) 30%,
    #3ebf9a 46%,
    var(--brass) 54%,
    var(--text) 68%,
    var(--text) 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: headingShimmer 7s ease-in-out infinite 1.2s;
}

@keyframes headingShimmer {
  0%, 100% { background-position: 250% center; }
  50% { background-position: -50% center; }
}

/* ─── Word-by-word cinematic reveal ──────────────────────── */
.word-split {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.25em;
}

.word-split .word-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) skewY(8deg);
  animation: wordUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordUp {
  to { opacity: 1; transform: translateY(0) skewY(0deg); }
}

/* ─── Button Shimmer Sweep ────────────────────────────────── */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.button-primary:hover::after {
  left: 160%;
}

/* ─── Gradient border glow on cards ──────────────────────── */
.about-card,
.industry-card {
  position: relative;
  overflow: hidden;
}

.about-card::before,
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(29, 140, 112, 0.0),
    rgba(185, 142, 67, 0.0)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.about-card:hover::before,
.industry-card:hover::before {
  opacity: 1;
  background: radial-gradient(
    ellipse at var(--cx, 50%) var(--cy, 50%),
    rgba(29, 140, 112, 0.1) 0%,
    rgba(185, 142, 67, 0.07) 50%,
    transparent 75%
  );
}

.about-card > *,
.industry-card > * {
  position: relative;
  z-index: 1;
}

/* ─── Animated gradient border on hover ──────────────────── */
.about-card::after,
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(29, 140, 112, 0),
    rgba(185, 142, 67, 0)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-card:hover::after,
.industry-card:hover::after {
  opacity: 1;
  background: linear-gradient(135deg,
    rgba(29, 140, 112, 0.55),
    rgba(185, 142, 67, 0.45),
    rgba(29, 140, 112, 0.3)
  );
  animation: borderSpin 3s linear infinite;
}

@keyframes borderSpin {
  from { background-position: 0% 0%; }
  to { background-position: 200% 200%; }
}

/* ─── 3D Tilt Card ────────────────────────────────────────── */
.tilt-card {
  transition: transform 0.18s ease, box-shadow 0.28s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── Stat card glow ──────────────────────────────────────── */
.stat {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 110%,
    rgba(29, 140, 112, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(97, 71, 26, 0.15);
}

.stat:hover::before {
  opacity: 1;
}

.stat.count-done strong {
  animation: statGlow 1s ease;
}

@keyframes statGlow {
  0% { text-shadow: none; }
  40% { text-shadow: 0 0 18px rgba(29, 140, 112, 0.55), 0 0 36px rgba(185, 142, 67, 0.25); }
  100% { text-shadow: none; }
}

/* ─── Product cloud chip enhancements ────────────────────── */
.product-cloud span {
  cursor: default;
  transition: background 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-cloud span:hover {
  background: linear-gradient(135deg,
    rgba(29, 140, 112, 0.12),
    rgba(185, 142, 67, 0.1)
  );
  border-color: rgba(29, 140, 112, 0.22);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 14px 28px rgba(29, 140, 112, 0.13),
              0 0 0 1px rgba(29, 140, 112, 0.1);
}

/* ─── Catalogue tab active indicator ─────────────────────── */
.catalogue-tab {
  position: relative;
  overflow: hidden;
}

.catalogue-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  height: 64%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--green), var(--brass));
  animation: tabIndicator 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabIndicator {
  from { height: 0; top: 50%; opacity: 0; }
  to { height: 64%; top: 18%; opacity: 1; }
}

/* ─── Floating contact pulse rings ───────────────────────── */
.floating-contact {
  position: relative;
  z-index: 15;
}

.floating-contact::before,
.floating-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--brass));
  opacity: 0;
  z-index: -1;
  animation: contactPulse 3.2s ease-out infinite;
}

.floating-contact::after {
  animation-delay: 1.6s;
}

@keyframes contactPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ─── Section ambient glow overlay ───────────────────────── */
.section {
  position: relative;
}

/* ─── Visual panel molecule network ──────────────────────── */
.molecule-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  border-radius: inherit;
}

/* ─── Nav link hover underline shimmer ───────────────────── */
.nav a::after {
  background: linear-gradient(90deg, var(--green), var(--brass), var(--green));
  background-size: 200% auto;
  animation: navUnderlineShimmer 2s linear infinite paused;
}

.nav a:hover::after {
  animation-play-state: running;
}

@keyframes navUnderlineShimmer {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

/* ─── About card stagger entrance ────────────────────────── */
.about-card:nth-child(1) { transition-delay: 0s; }
.about-card:nth-child(2) { transition-delay: 0.08s; }
.about-card:nth-child(3) { transition-delay: 0.16s; }

/* ─── Hero text paragraph fade-slide ─────────────────────── */
.hero-copy.is-visible .hero-text {
  animation: paragraphIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-copy.is-visible .hero-actions {
  animation: paragraphIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

.hero-copy.is-visible .hero-stats {
  animation: paragraphIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

@keyframes paragraphIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Ambient background particles ───────────────────────── */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particleDrift var(--dur, 14s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes particleDrift {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15%  { opacity: var(--op, 0.18); }
  85%  { opacity: var(--op, 0.18); }
  100% { opacity: 0; transform: translate(var(--dx, 30px), var(--dy, -50px)) scale(1); }
}

/* ─── Visual orb enhanced ────────────────────────────────── */
.orb-a, .orb-b, .orb-c {
  will-change: transform;
}

/* ─── Ticker item dot separator ──────────────────────────── */
.ticker-group span::before {
  content: "◆";
  display: inline-block;
  margin-right: 88px;
  color: var(--brass);
  opacity: 0.5;
  font-size: 0.55rem;
  vertical-align: middle;
}

.ticker-group span:first-child::before {
  display: none;
}

/* ─── About heading eyebrow animated underline ───────────── */
.eyebrow {
  position: relative;
  display: inline-block;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.is-visible .eyebrow::after,
section .eyebrow::after {
  transform: scaleX(1);
}

/* ─── Visual card float ───────────────────────────────────── */
.visual-card {
  animation: cardFloat 6s ease-in-out infinite 1s;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(97, 71, 26, 0.12);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0.3deg); }
  50% { transform: translateY(-10px) rotate(-0.3deg); }
}

/* ─── Visual rings glow dots ─────────────────────────────── */
.visual-rings span::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--green), 0 0 20px rgba(29, 140, 112, 0.4);
  animation: dotOrbit 18s linear infinite;
}

.visual-rings span:nth-child(2)::before {
  background: var(--brass);
  box-shadow: 0 0 10px var(--brass);
  animation-duration: 12s;
  animation-direction: reverse;
}

.visual-rings span:nth-child(3)::before {
  background: rgba(29, 140, 112, 0.5);
  animation-duration: 8s;
}

@keyframes dotOrbit {
  from { transform: translateX(-50%) rotate(0deg) translateY(-50%) rotate(0deg); }
}

/* ─── Industry toggle button pulse ───────────────────────── */
.button-secondary {
  position: relative;
  overflow: hidden;
}

.button-secondary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(21, 54, 47, 0.07);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.button-secondary:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: none;
}

/* ─── Contact panel line hover ───────────────────────────── */
.contact-line {
  transition: background 0.25s ease, padding 0.25s ease;
  border-radius: 12px;
  padding: 18px 10px;
  margin: 0 -10px;
}

.contact-line:hover {
  background: rgba(29, 140, 112, 0.04);
}

/* ─── Header logo spin on hover ──────────────────────────── */
.brand-mark img {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-mark img {
  transform: rotate(20deg) scale(1.08);
}

/* ─── Reduced-motion override already present, no duplication ─ */

/* ─── Mobile: prevent logo/card overlap ──────────────────── */
@media (max-width: 640px) {
  .visual-card {
    /* Push card below the 180px logo + its top offset (20px) + breathing room */
    margin-top: 210px !important;
    position: relative;
    z-index: 2;
  }

  /* Shrink logo slightly and nudge it so it doesn't crowd the card */
  .floating-logo {
    width: 160px;
    height: 160px;
    top: 16px;
    left: 16px;
  }

  /* Give the panel enough height to show both comfortably */
  .visual-panel {
    min-height: 580px;
  }
}

@media (max-width: 420px) {
  .visual-card {
    margin-top: 190px !important;
  }

  .floating-logo {
    width: 140px;
    height: 140px;
  }
}
