/*
  Vashudevan Met Global LLP — Base Styles
  Simple, clean, responsive layout inspired by the structure of the referenced site.
*/

:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #111827;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --brand: #FFA500;       /* vibrant orange-yellow */
  --brand-700: #E69500;   /* darker orange-yellow */
  --brand-rgb: 255, 165, 0;
  --brand-50: #fff8e7;
  --brand-100: #ffedc2;
  --ink: #0f172a;
  --ink-soft: #334155;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-border: rgba(15, 23, 42, 0.10);
  --glass-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --focus-ring: 0 0 0 4px rgba(var(--brand-rgb), 0.22);
  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-press: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast: 120ms;
  --motion-medium: 320ms;
  --card: #ffffff;
  --border: #e5e7eb;      /* gray-200 */
  --shadow: 0 8px 20px rgba(2, 8, 23, 0.08);
}

body.menu-open {
  overflow: hidden;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Smooth scrolling with offset for sticky header */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-padding-top: 80px; /* Account for sticky header height */
  }
}

/* Smooth scrolling visual feedback */
.section {
  scroll-margin-top: 80px; /* Ensure sections don't hide behind sticky header */
}

/* Focused, interruptible-feeling transitions for interactive elements */
a, button, .btn, .btn-animated, .hero-btn, .card, .social-icon {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform;
  transition-duration: var(--motion-medium);
  transition-timing-function: var(--ease-fluid);
}

/* Enhanced smooth scrolling for better performance */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
}

/* Responsive back to top button */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Product Search Styling */
.product-search {
  margin: 30px auto 0;
  max-width: 600px;
  text-align: center;
}

.search-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 12px 45px 12px 16px;
  border: 2px solid var(--border);
  border-radius: 25px;
  font-size: 16px;
  background: #ffffff;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(2, 8, 23, 0.06);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.15);
}

.search-input::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.clear-search.visible {
  opacity: 1;
  visibility: visible;
}

.clear-search:hover {
  color: var(--text);
  background: #f1f5f9;
}

.search-results-info {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Product filtering and highlighting */
.products-grid .card.product {
  transition: all 0.3s ease;
}

.products-grid .card.product.hidden {
  display: none;
}

.products-grid .card.product.highlighted {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
  border-color: var(--brand);
}

.products-grid .card.product.highlighted .product-figure figcaption {
  color: var(--brand);
  font-weight: 700;
}

/* Search results animation */
.products-grid .card.product {
  animation: fadeInUp 0.3s ease forwards;
}

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

/* No results message */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.no-results h3 {
  margin: 0 0 10px;
  color: var(--text);
}

.no-results p {
  margin: 0;
  font-size: 14px;
}

/* Responsive search */
@media (max-width: 768px) {
  .product-search {
    margin: 20px auto 0;
    padding: 0 20px;
  }

  .search-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 45px 14px 16px;
  }
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f8fafc 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* Image loading states */
img[loading="lazy"] {
  opacity: 1; /* ensure images are visible even if 'loaded' class isn't added */
  transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded { opacity: 1; }

/* Smooth image loading animation */
@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-loading {
  animation: imageLoad 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Modern Image Animations - Fresh and Engaging */

/* Elegant zoom and fade entrance */
@keyframes elegantZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: blur(4px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02) translateY(-5px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Smooth slide with rotation */
@keyframes smoothSlideRotate {
  0% {
    opacity: 0;
    transform: translateX(-60px) rotate(-5deg) scale(0.9);
  }
  60% {
    opacity: 0.9;
    transform: translateX(5px) rotate(1deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

/* Bounce with elastic effect */
@keyframes elasticBounce {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(40px);
  }
  20% {
    opacity: 0.7;
    transform: scale(1.1) translateY(-10px);
  }
  40% {
    opacity: 0.9;
    transform: scale(0.95) translateY(5px);
  }
  60% {
    opacity: 1;
    transform: scale(1.02) translateY(-2px);
  }
  80% {
    transform: scale(0.98) translateY(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Floating entrance with glow */
@keyframes floatingGlow {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    filter: brightness(0.7) drop-shadow(0 0 0 rgba(255, 165, 0, 0));
  }
  50% {
    opacity: 0.8;
    transform: translateY(-8px) scale(1.03);
    filter: brightness(1.1) drop-shadow(0 8px 20px rgba(255, 165, 0, 0.3));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) drop-shadow(0 4px 12px rgba(255, 165, 0, 0.15));
  }
}

/* Spiral entrance */
@keyframes spiralEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg) translateY(50px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) rotate(-90deg) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg) translateY(0);
  }
}

/* Slide up with bounce */
@keyframes slideUpBounce {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  40% {
    opacity: 0.8;
    transform: translateY(-15px) scale(1.05);
  }
  70% {
    opacity: 0.95;
    transform: translateY(5px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modern pulse with glow */
@keyframes modernPulse {
  0% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 165, 0, 0));
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(255, 165, 0, 0.4));
  }
  100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 165, 0, 0));
  }
}

/* Gentle shake with emphasis */
@keyframes gentleShake {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  10% {
    transform: translateX(-3px) rotate(-1deg);
  }
  20% {
    transform: translateX(3px) rotate(1deg);
  }
  30% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
  40% {
    transform: translateX(2px) rotate(0.5deg);
  }
  50% {
    transform: translateX(-1px) rotate(-0.2deg);
  }
  60% {
    transform: translateX(1px) rotate(0.2deg);
  }
}

/* Smooth wobble with scale */
@keyframes smoothWobble {
  0% {
    transform: rotate(0deg) scale(1);
  }
  15% {
    transform: rotate(-3deg) scale(1.02);
  }
  30% {
    transform: rotate(2deg) scale(0.98);
  }
  45% {
    transform: rotate(-2deg) scale(1.01);
  }
  60% {
    transform: rotate(1deg) scale(0.99);
  }
  75% {
    transform: rotate(-0.5deg) scale(1.005);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* Animation Classes */
.image-elegant-zoom { /* disabled */ }

.image-smooth-slide {
  animation: smoothSlideRotate 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.image-elastic-bounce {
  animation: elasticBounce 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.image-floating-glow {
  animation: floatingGlow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.image-spiral-entrance {
  animation: spiralEntrance 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.image-slide-up-bounce {
  animation: slideUpBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.image-modern-pulse {
  animation: modernPulse 0.4s ease-in-out;
}

.image-gentle-shake {
  animation: gentleShake 0.6s ease-in-out;
}

.image-smooth-wobble {
  animation: smoothWobble 0.8s ease-in-out;
}

/* Intersection observer triggered animations */
.image-observe { opacity: 1; transform: none; transition: none; }

.image-observe.in-view { opacity: 1; transform: none; }
a { color: inherit; text-decoration: none; }

/* Ensure text selection is enabled for all text content */
* {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Disable text selection only for specific elements that shouldn't be selectable */
img, button, input, textarea, select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo img { width: 32px; height: 32px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  margin: 3px 0;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-nav a { padding: 8px 10px; border-radius: 8px; color: var(--text); }
.site-nav a[aria-current="page"] { background: #f1f5f9; }
.site-nav .has-submenu { position: relative; }
.site-nav .submenu {
  position: absolute;
  top: 105%;
  left: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  min-width: 220px;
  box-shadow: var(--shadow);
}
.site-nav .has-submenu:hover .submenu { display: flex; }
.site-nav .submenu a { padding: 10px 12px; display: block; }
.site-nav .submenu a:hover { background: #f8fafc; }

/* Hero Carousel */
.hero-carousel {
  position: relative;
  min-height: 72vh;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #f0f0f0; /* Fallback background */
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 72vh;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  display: block;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
}

/* Subtle parallax effect for hero images */
.carousel-slide.active img {
  transform: scale(1.02) translateY(0);
}

.carousel-slide img:hover {
  transform: scale(1.08) translateY(-4px) rotate(1deg);
  filter: saturate(1.15) contrast(1.08) brightness(1.05) drop-shadow(0 8px 20px rgba(255, 165, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Specific zoom for hero slide 4 */
.carousel-slide[data-slide="4"] img {
  /* Center recycling symbol behind text */
  object-position: 50% 50%;
  transform: scale(1.5);
}
.carousel-slide.active[data-slide="4"] img {
  object-position: 50% 50%;
  transform: scale(1.5);
}

/* Stronger specificity + important to ensure override on slide 4 */
.hero-carousel .carousel-container .carousel-slide[data-slide="4"] > img {
  object-position: 50% 50% !important;
  transform: scale(1.5) !important;
}
.hero-carousel .carousel-container .carousel-slide.active[data-slide="4"] > img {
  object-position: 50% 50% !important;
  transform: scale(1.5) !important;
}

/* Ensure the first slide image is visible */
.carousel-slide:first-child img {
  display: block !important;
  opacity: 1 !important;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.carousel-prev,
.carousel-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev:active,
.carousel-next:active {
  transform: scale(0.9) rotate(-2deg);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.indicator.active::before {
  width: 100%;
  /* Animation controlled by JavaScript */
}

@keyframes progressBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Slide Counter */
.carousel-counter {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
  backdrop-filter: blur(10px);
}

/* Hero overlay styles for carousel */
.hero-carousel .hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(16px, 4vw, 48px);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
  text-align: center;
}

/* Hero content entrance animation */
.hero-carousel .carousel-slide.active .hero-title {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-carousel .carousel-slide.active .tagline {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-carousel .carousel-slide.active .subline {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-carousel .carousel-slide.active .overlay-ctas {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure all text elements in carousel are centered */
.hero-carousel .hero-title,
.hero-carousel .tagline,
.hero-carousel .subline {
  text-align: center;
  width: 100%;
}

.hero-carousel .overlay-ctas {
  justify-content: center;
  width: 100%;
}

/* Legacy hero styles for backward compatibility */
.hero-photo {
  position: relative;
  min-height: 72vh;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-full { /* removed for revert */ }
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: start;
  padding: clamp(16px, 4vw, 48px);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  background: rgba(0, 0, 0, 0.4);
}
/* Centered hero content styles */
.hero-center { justify-items: center; text-align: center; }
.hero-brand { }
.brand-row h1 { }
.brand-name { }
.brand-logo { }
.hero-title {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
}
.tagline {
  margin: 0 0 8px;
  font-size: clamp(20px, 3.2vw, 32px);
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}
.subline {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #ffffff;
  max-width: 900px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-ctas-center { justify-content: center; }
.btn.btn-light { background: #ffffff; color: var(--text); }
.hero-overlay .overlay-inner {
  max-width: 820px;
}
.hero-overlay .hero-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.hero-overlay h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5.4vw, 60px);
  line-height: 1.05;
}
.hero-overlay p {
  margin: 0 0 18px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.overlay-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.overlay-ctas .btn { box-shadow: 0 6px 16px rgba(2,8,23,0.25); }

/* Global Animated Button Base - Reusable for all buttons */
.btn-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

/* Enhanced Animated Button for Hero Slides */
.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-width: 160px;
  justify-content: center;
  white-space: nowrap;
}

/* Global animated button hover effects */
.btn-animated:hover {
  transform: translateY(-3px) scale(1.05) rotate(1deg);
  box-shadow: 0 12px 35px rgba(255, 165, 0, 0.4);
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-animated:hover::before {
  left: 100%;
}

.btn-animated .btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  margin: 0 8px;
}

/* Left arrow moves left (away from text) */
.btn-animated:hover .btn-icon:first-child {
  transform: translateX(-4px);
}

/* Right arrow moves right (opposite direction) */
.btn-animated:hover .btn-icon:not(:first-child) {
  transform: translateX(4px);
}

.hero-btn:hover {
  background: linear-gradient(135deg, #E69500 0%, #CC8400 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn .btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  margin: 0 8px;
}

/* Left arrow moves left (away from text) */
.hero-btn:hover .btn-icon:first-child {
  transform: translateX(-4px);
}

/* Right arrow moves right (opposite direction) */
.hero-btn:hover .btn-icon:not(:first-child) {
  transform: translateX(4px);
}

/* Specific arrow animations for hero buttons */
.hero-btn.primary .btn-icon {
  transition: all 0.3s ease-in-out;
  margin-left: 8px;
}

.hero-btn.primary:hover .btn-icon {
  transform: translateX(-8px);
  margin-left: 0;
  margin-right: 8px;
}

.hero-btn.secondary .btn-icon {
  transition: all 0.3s ease-in-out;
  margin-left: 8px;
}

.hero-btn.secondary:hover .btn-icon {
  transform: translateX(8px);
  margin-left: 16px;
}

/* Animation for button entrance */
@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    filter: blur(4px);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.05);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes buttonGlow {
  0% {
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3), 0 0 30px rgba(255, 165, 0, 0.6);
  }
  100% {
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
  }
}

.hero-btn.animate {
  animation:
    buttonEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Alternative button styles for different slides */
.hero-btn.primary {
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

.hero-btn.secondary {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
  padding: 10px 16px;
  font-size: 14px;
  min-width: 160px;
  justify-content: center;
  white-space: nowrap;
}

.hero-btn.secondary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.hero-btn.secondary.animate {
  animation:
    buttonEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes buttonGlowBlue {
  0% {
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3), 0 0 30px rgba(96, 165, 250, 0.6);
  }
  100% {
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
  }
}

/* Responsive styles for all animated buttons */
@media (max-width: 768px) {
  .btn-animated,
  .hero-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-width: 140px;
  }

  .btn-animated .btn-icon,
  .hero-btn .btn-icon {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn-animated,
  .hero-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 120px;
  }

  .btn-animated .btn-icon,
  .hero-btn .btn-icon {
    font-size: 13px;
  }
}

/* Buy / Sell / Join strip */
.bsj { background: #ffffff; padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bsj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; align-items: stretch; }
.bsj-card { text-align: center; background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.bsj-card h3 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 36px); line-height: 1; letter-spacing: 0.5px; }
.bsj-card .kicker { display: block; font-weight: 900; }
.bsj-card .sub { display: block; font-size: clamp(12px, 1.8vw, 14px); color: #64748b; letter-spacing: 2px; }
.bsj-card .accent { height: 8px; width: 120px; background: #60a5fa; border-radius: 6px; margin: 10px auto 12px; position: relative; }
.bsj-card .accent::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 8px; width: 70%; background: #3b82f6; border-radius: 6px; }
.bsj-card p { margin: 0; color: #334155; }

/* Linked bsj cards */
.bsj-card-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}

.bsj-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.12);
  border-color: var(--brand);
}

.bsj-card-link:active {
  transform: translateY(0);
}
@media (max-width: 560px) {
  .bsj-grid { grid-template-columns: 1fr; }
}

.market-ticker-strip {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.market-ticker-widget {
  position: relative;
  width: 100%;
  min-height: 58px;
  overflow: hidden;
}

.market-ticker-tradingview,
.market-ticker-tradingview .tradingview-widget-container__widget {
  display: block;
  width: 100%;
  min-height: 44px;
}

.market-ticker-tradingview iframe {
  display: block;
}

.market-ticker-tradingview .tradingview-widget-copyright {
  font-size: 10%;
  line-height: 1.2;
}

.market-ticker-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 124px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 13px 0 22px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.72) 16%,
    rgba(255, 255, 255, 0.96) 46%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: -14px 0 22px rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  transition: color 180ms var(--ease-press);
}

.market-ticker-link-arrow {
  display: inline-block;
  transition: transform 180ms var(--ease-press);
}

.market-ticker-link:hover,
.market-ticker-link:focus-visible {
  color: var(--ink);
}

.market-ticker-link:hover .market-ticker-link-arrow,
.market-ticker-link:focus-visible .market-ticker-link-arrow {
  transform: translateX(3px);
}

.market-ticker-fallback {
  min-height: 44px;
  padding-right: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.market-placeholder {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.market-page {
  background: #fffdf8;
}

.market-page-hero {
  padding: 30px 0 20px;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.market-page-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-align: center;
}

.market-page-hero p {
  max-width: 860px;
  margin: 8px auto 0;
  text-align: center;
}

.market-notice {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.market-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.16);
  color: #8a5700;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.market-notice h2 {
  margin: 0 auto 4px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
}

.market-notice p {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.market-notice-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.market-notice-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  color: #7a4b00;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(255, 248, 231, 0.78);
  border: 1px solid rgba(var(--brand-rgb), 0.26);
  border-radius: 999px;
}

.market-notice-badges span::before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.16);
  color: #8a5700;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.market-dashboard-section,
.market-chart-section,
.market-cta-section {
  padding: 42px 0;
  background: #ffffff;
  border-top: 0;
}

.market-chart-section,
.market-cta-section {
  padding-top: 30px;
}

.market-dashboard {
  max-width: 1220px;
  width: min(1220px, 94%);
}

.market-section-heading {
  margin-bottom: 18px;
  text-align: center;
}

.market-section-heading h2 {
  margin: 0 auto 6px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}

.market-section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.market-overview-shell,
.market-chart-selector {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.market-overview-shell {
  display: block;
  overflow: hidden;
}

.market-dashboard-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: #fbfcfe;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.market-quote-basis {
  margin: 0;
  padding: 9px 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  background: #fbfcfe;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.market-quote-basis strong {
  color: var(--ink-soft);
  font-weight: 800;
}

.market-group-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.market-group-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 9px 14px;
  text-transform: uppercase;
  transition: background-color 180ms var(--ease-press),
    color 180ms var(--ease-press),
    box-shadow 180ms var(--ease-press);
}

.market-group-tab:hover,
.market-group-tab:focus-visible {
  color: var(--ink);
}

.market-group-tab.active {
  background: #ffffff;
  color: #8a5700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}

.market-widget-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 420px;
  overflow: hidden;
  background: #ffffff;
}

.market-widget-panel[data-market-view="fx"] {
  height: 260px;
}

.market-widget-panel .tradingview-widget-container {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}

.market-widget-panel .tradingview-widget-container__widget,
.market-widget-panel iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.market-chart-selector {
  width: min(560px, 100%);
  margin: 0 auto 14px;
  padding: 10px 12px;
}

.market-chart-control-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1.2fr);
  align-items: end;
  gap: 16px;
  width: 100%;
}

.market-chart-control-field {
  display: grid;
  gap: 6px;
  justify-self: center;
  justify-items: center;
}

.market-control-label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.market-select-field {
  display: grid;
  width: 280px;
  max-width: 100%;
  gap: 6px;
  justify-self: center;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.market-custom-select {
  position: relative;
  width: 100%;
}

.market-custom-select-button {
  width: 100%;
  min-height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 7px 40px;
  text-align: center;
  text-transform: none;
  transition: color 180ms var(--ease-press),
    border-color 180ms var(--ease-press),
    box-shadow 180ms var(--ease-press);
}

.market-custom-select-button:hover,
.market-custom-select-button:focus-visible,
.market-custom-select.is-open .market-custom-select-button {
  color: var(--ink);
  border-color: rgba(var(--brand-rgb), 0.48);
  outline: none;
}

.market-custom-select-button:focus-visible,
.market-custom-select.is-open .market-custom-select-button {
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.18);
}

.market-custom-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-press);
}

.market-custom-select.is-open .market-custom-select-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.market-custom-select-list {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 15;
  display: none;
  max-height: 280px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.market-custom-select.is-open .market-custom-select-list {
  display: grid;
  gap: 2px;
}

.market-custom-select-option {
  border-radius: 9px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 9px 10px;
  text-align: center;
  outline: none;
}

.market-custom-select-option:hover,
.market-custom-select-option:focus {
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--ink);
}

.market-custom-select-option[aria-selected="true"] {
  background: rgba(var(--brand-rgb), 0.14);
  color: #7a4b00;
}

.market-chart-panel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.market-chart-widget {
  position: relative;
  width: 100%;
  height: 490px;
  min-height: 490px;
}

.market-chart-widget .tradingview-widget-container {
  position: relative;
}

.market-chart-widget .market-widget-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.market-chart-widget.is-loaded .market-widget-fallback {
  display: none;
}

.market-widget-fallback {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.market-cta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 165, 0, 0.16), rgba(255, 165, 0, 0) 42%),
    #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.market-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffb238;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.market-cta-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.market-cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
}

.market-cta-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.market-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  color: #0f172a;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .market-ticker-link {
    width: 116px;
    padding-left: 20px;
    padding-right: 12px;
    font-size: 0.78rem;
  }

  .market-ticker-fallback {
    padding-right: 116px;
  }

  .market-page-hero {
    padding: 26px 0 18px;
  }

  .market-dashboard-section,
  .market-chart-section,
  .market-cta-section {
    padding: 34px 0;
  }

  .market-widget-panel {
    height: 400px;
  }

  .market-widget-panel[data-market-view="fx"] {
    height: 250px;
  }

  .market-chart-widget {
    height: 427px;
    min-height: 427px;
  }
}

@media (max-width: 640px) {
  .market-ticker-link {
    width: 104px;
    padding-left: 14px;
    padding-right: 10px;
    font-size: 0.72rem;
  }

  .market-ticker-fallback {
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 104px;
  }

  .market-page-hero {
    padding: 22px 0 16px;
  }

  .market-page-hero h1 {
    font-size: 2rem;
  }

  .market-notice {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .market-dashboard-section,
  .market-chart-section,
  .market-cta-section {
    padding: 28px 0;
  }

  .market-section-heading {
    margin-bottom: 14px;
  }

  .market-overview-shell,
  .market-chart-selector,
  .market-chart-panel {
    border-radius: 12px;
  }

  .market-group-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .market-widget-panel {
    height: 380px;
  }

  .market-widget-panel[data-market-view="fx"] {
    height: 240px;
  }

  .market-chart-control-row {
    grid-template-columns: minmax(120px, 0.8fr) minmax(164px, 1.2fr);
    gap: 8px;
  }

  .market-select-field {
    width: 100%;
  }

  .market-custom-select-button {
    min-height: 40px;
  }

  .market-chart-widget {
    height: 340px;
    min-height: 340px;
  }

  .market-cta-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 18px;
    text-align: center;
  }

  .market-cta-copy h2,
  .market-cta-copy p {
    text-align: center;
  }

}

@media (max-width: 340px) {
  .market-chart-control-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .market-ticker-link {
    width: 96px;
    padding-left: 10px;
    padding-right: 8px;
    font-size: 0.68rem;
  }

  .market-ticker-fallback {
    padding-right: 96px;
  }
}

/* Tiny overlay cards */
.overlay-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  max-width: 980px;
}
.overlay-cards .mini-card {
  background: rgba(255,255,255,0.86);
  color: #0f172a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 22px rgba(2,8,23,0.18);
}
.overlay-cards .mini-card h3 {
  margin: 0 0 4px;
  font-size: clamp(14px, 1.8vw, 18px);
}
.overlay-cards .mini-card p {
  margin: 0;
  font-size: clamp(12px, 1.6vw, 14px);
  color: #334155;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at 50% -50px, rgba(255,165,0,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(2,8,23,0.35);
  pointer-events: none;
}
.hero {
  display: none; /* replaced by hero-photo overlay on home */
}
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 0 0 10px; }
.hero p { color: var(--muted); margin: 0 auto 22px; max-width: 780px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Global button color variants */
.btn-animated.primary {
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

.btn-animated.primary:hover {
  background: linear-gradient(135deg, #E69500 0%, #CC8400 100%);
}

.btn-animated.secondary {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.btn-animated.secondary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 12px 35px rgba(96, 165, 250, 0.4);
}

.btn-animated.submit {
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
  text-transform: none;
  letter-spacing: normal;
}

.btn-animated.submit:hover {
  background: linear-gradient(135deg, #E69500 0%, #CC8400 100%);
}

/* Legacy button styles - now using btn-animated for consistency */
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--text); }
.btn.primary { background: var(--brand); color: #ffffff; border: 1px solid rgba(2,8,23,0.05); }
.btn.primary:hover { background: var(--brand-700); color: #ffffff; }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: #f8fafc; }
.page-hero {
  padding: 20px 0 10px;
  background: #f8fafc;
  position: relative;
}
.page-hero p {
  text-align: center;
}
.page { padding-bottom: 40px; }
/* Breadcrumbs */
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li+li::before { content: "/"; color: #94a3b8; }
.breadcrumbs a { color: #334155; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
/* Who page hero */
.who-hero { background: #ffffff; border-bottom: 0; padding: 40px 0 10px; }
.who-hero h1 { text-align: center; font-size: clamp(28px, 4.2vw, 48px); font-weight: 900; color: var(--text); margin: 0; }
/* Center all section headers on the Who We Are page */
.who-page h2 { text-align: center; font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); margin: 26px 0 14px; }

/* Make specific headers uppercase on Who We Are page */
#history-block h2,
#mission-block h2 {
  text-transform: uppercase;
}

/* Cards and shared responsive grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.auto-grid,
.auto-grid-md { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 20px); align-items: stretch; }
.auto-grid-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(12px, 1.8vw, 18px); align-items: stretch; }
.auto-grid-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2.2vw, 22px); align-items: stretch; }
.equal-card-grid { grid-auto-rows: 1fr; }
.equal-card-grid > * { min-width: 0; height: 100%; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  max-width: 950px;
  margin: 0 auto;
  justify-items: center;
}
.two-col .contact-info,
.two-col .contact-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 560px;
  flex: 1;
}
.cards .card, .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.products-preview .product-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 10px 0 0; list-style: none; }
.products-preview .product-tags a { padding: 8px 12px; background: #f8fafc; border: 1px solid var(--border); border-radius: 999px; color: var(--text); }

.who-we-are h2, .who-we-are h3, .who-we-are h4 {
  text-transform: none;
  letter-spacing: normal;
}
.who-we-are { background: #ffffff; color: var(--text); }
.who-we-are p { color: #1f2937; line-height: 1.6; text-align: left; }
.who-we-are h2 {
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin: 20px 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
}
.who-we-are h2::after { display: none; }
/* Core Values Section - Using inline styles for precise control */
.who-we-are h3 { margin: 20px 0 8px; color: var(--text); text-align: center; font-weight: 700; font-size: clamp(18px, 2.3vw, 24px); }
.who-we-are h4 { margin-top: 8px; text-align: center; font-weight: 700; letter-spacing: normal; color: var(--text); font-size: clamp(16px, 2vw, 20px); }
.who-we-are .lead {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 16px;
}
.who-we-are .section-inner p { font-size: 0.88rem; margin-bottom: 12px; }
.who-we-are .values-list li { font-size: 0.88rem; }
.who-we-are .section-inner {
  max-width: 900px;
  margin: 0 auto;
}
/* Make About Us sections slimmer */
#history-block, #mission-block { padding: 40px 0; }

/* Home page About Us section styling */
.section[aria-label="About Us"] { padding: 40px 0; }
.section[aria-label="About Us"] .two-col {
  grid-template-columns: 0.4fr 0.6fr;
  align-items: start;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.section[aria-label="About Us"] p { text-align: justify; line-height: 1.6; margin-bottom: 12px; }
.section[aria-label="About Us"] h2 {
  text-align: center;
  margin: 0 0 16px;
  font-size: clamp(24px, 3.2vw, 34px);
}
.section[aria-label="About Us"] .media-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.section[aria-label="About Us"] .media-photo img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

.section[aria-label="About Us"] .media-photo:hover img {
  transform: scale(1.08) rotate(-2deg) translateY(-3px);
  filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* About Us Read More button styling */
.about-cta {
  margin-top: 20px;
  text-align: center;
}

/* About CTA button now uses global animated styling */
.about-cta .btn {
  /* Inherits from .btn-animated.primary when class is applied */
}

/* Company Highlights Carousel */
.highlights-carousel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.highlights-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 120px;
}

.highlight-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.highlight-slide.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.highlight-card {
  text-align: center;
  padding: 20px 15px;
  margin: 0;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.highlight-card h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text);
}

.highlight-card p {
  margin: 0;
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 400px;
}

/* Highlights Navigation */
.highlights-nav {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 10;
  pointer-events: none;
}

.highlight-prev,
.highlight-next {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.highlight-prev:hover,
.highlight-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Highlights Indicators */
.highlights-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.highlight-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 165, 0, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.highlight-indicator:hover {
  border-color: var(--brand);
  background: rgba(255, 165, 0, 0.2);
}

.highlight-indicator.active {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.2);
}
.who-we-are .values-list {
  list-style: disc;
  padding-left: 26px;
  margin: 12px 0 22px;
}
.who-we-are .values-list li { margin-bottom: 8px; color: #1f2937; }
.who-we-are .values-list li::marker { color: var(--brand); }

/* Home page headers styling */
h1, h2, h3 { text-align: center; font-weight: 900; }
h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4.5vw, 42px); margin: 0 0 8px; }
h3 { font-size: clamp(24px, 3.5vw, 36px); margin: 0 0 6px; }

/* Make specific headers uppercase on home page */
.section[aria-label="About Us"] h2,
.products-preview h2,
.locations h2 {
  text-transform: uppercase;
}

/* Make products page header uppercase */
.page-hero h1 {
  text-transform: uppercase;
}

/* Locations section text alignment */
.locations p { text-align: center; }

/* Reduce spacing between headers and subtext on home page */
.section p { margin-top: 0; }

/* Section dividers on home page */
.section { border-top: 1px solid #e5e7eb; }
.section:first-of-type { border-top: none; }
.bsj { border-top: 1px solid #e5e7eb; }
.products-preview { border-top: 1px solid #e5e7eb; padding: 40px 0 80px; box-shadow: var(--shadow); }
.products-preview .products-grid { margin-top: 40px; }
.locations { border-top: 1px solid #e5e7eb; padding-top: 20px; }

/* Ensure other section headings mirror the Greenland style */
#our-impact h2, #leadership-team h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.location-tags { list-style: none; padding: 0; margin: 12px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.location-tags li { padding: 10px 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 999px; color: var(--text); box-shadow: 0 4px 10px rgba(2,8,23,0.06); }
.location-tags li::first-letter { font-weight: 700; }
.location-tags li:hover { background: #FFF8DC; border-color: #FFD700; transform: translateY(-1px); transition: all .15s ease-in-out; }

.map-placeholder { height: 280px; border-radius: 14px; border: 1px dashed var(--border); background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #ffffff 10px, #ffffff 20px); }
.map-embed { position: relative; width: 100%; padding-bottom: 40%; height: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #ffffff; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-box { height: 240px; border-radius: 14px; border: 1px dashed var(--border); background: linear-gradient(135deg, #ffffff, #f8fafc); }
.media-photo { height: auto; border-radius: 14px; border: 1px solid var(--border); background-size: cover; background-position: center; }
/* Ensure inline images inside media-photo are fully visible */
.media-photo img { width: 100%; height: auto; object-fit: contain; display: block; }

/* Subproducts styling */
.subproducts-preview {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.subproducts-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.subproducts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.subproduct-item {
  flex: 0 0 auto;
}

.subproduct-link {
  display: inline-block;
  padding: 4px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.subproduct-link:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-1px);
}
/* History: 40% logo / 60% text, vertically centered, justified text */
#history-block .two-col {
  grid-template-columns: 0.4fr 0.6fr;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
#history-block p { text-align: justify; }
#history-block .media-photo img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

#history-block .media-photo:hover img {
  transform: scale(1.08) rotate(2deg) translateY(-3px);
  filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Mission: balanced columns and properly sized image */
#mission-block .two-col {
  grid-template-columns: 0.45fr 0.55fr;
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
#mission-block p { text-align: justify; }
#mission-block .media-photo img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

#mission-block .media-photo:hover img {
  transform: scale(1.08) rotate(-2deg) translateY(-3px);
  filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Impact page rows */
.impact-row { align-items: center; gap: 18px; margin: 18px 0 26px; }
.impact-row h4 { margin: 0 0 8px; font-size: clamp(18px, 2.3vw, 22px); }
.impact-row p { margin: 8px 0; }
.order-2-mobile { order: 0; }
@media (max-width: 900px) {
  .order-2-mobile { order: -1; }
}
/* Standardize impact images */
.impact-row .media-photo { border: 0; background: transparent; padding: 0; }
.impact-row .media-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

.impact-row .media-photo:hover img {
  transform: scale(1.1) rotate(3deg) translateY(-5px);
  filter: brightness(1.1) contrast(1.08) saturate(1.15) drop-shadow(0 15px 30px rgba(255, 165, 0, 0.3));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered animation for impact images */
.impact-row:nth-child(1) .media-photo img {
  animation-delay: 0.1s;
}

.impact-row:nth-child(2) .media-photo img {
  animation-delay: 0.2s;
}

.impact-row:nth-child(3) .media-photo img {
  animation-delay: 0.3s;
}

.impact-row:nth-child(4) .media-photo img {
  animation-delay: 0.4s;
}
/* Center and enlarge Why Recycling Metals Matters */
#our-impact h3 {
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  margin: 18px 0 12px;
}

/* Center all content on Our Impact page */
#our-impact {
  text-align: justify;
}

#our-impact .section-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: justify;
}

#our-impact .lead {
  text-align: justify !important;
  max-width: 950px !important;
  margin: 0 auto 20px !important;
  width: 100%;
  box-sizing: border-box;
}

#our-impact p {
  text-align: justify !important;
  max-width: 950px !important;
  margin: 0 auto 16px !important;
  width: 100%;
  box-sizing: border-box;
}

#our-impact .two-col {
  max-width: 950px;
  margin: 0 auto;
  justify-items: center;
  text-align: justify;
}

#our-impact .two-col > div {
  text-align: justify;
}

#our-impact .two-col h4 {
  text-align: center;
}

#our-impact .two-col p {
  text-align: justify;
  margin: 8px auto 16px;
}

/* World map with pins */
.world-map-wrap {
  position: relative;
  height: auto;
  box-sizing: border-box;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: inline-block;
  margin: 0 auto;
  width: fit-content;
}

/* Container for centering the map */
.locations .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive map sizing */
@media (max-width: 768px) {
  .world-map-wrap {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .world-map-wrap {
    max-width: 95%;
    margin: 0 auto;
  }
}
.world-map-wrap .world-map-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  pointer-events: none;
  display: block;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

.world-map-wrap:hover .world-map-img {
  transform: scale(1.06) rotate(2deg) translateY(-3px);
  filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 12px 25px rgba(255, 165, 0, 0.2));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.world-map-wrap .pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--brand);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(2,8,23,0.2);
  transform: translate(-50%, -50%);
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; color: var(--brand); position: absolute; left: 0; top: 0; }

.person .avatar { width: 56px; height: 56px; border-radius: 50%; background: #f8fafc; display: grid; place-items: center; font-weight: 700; border: 1px solid var(--border); margin-bottom: 10px; }

.products-grid .product {
  min-height: 160px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.products-grid .product:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(2, 8, 23, 0.15);
  border-color: var(--brand);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.products-grid .product:hover .product-figure img {
  transform: scale(1.08) rotate(1deg) translateY(-2px);
  filter: brightness(1.12) contrast(1.08) saturate(1.1) drop-shadow(0 8px 20px rgba(255, 165, 0, 0.25));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.products-grid .product:hover .product-figure figcaption {
  color: var(--brand);
  font-weight: 700;
  transform: translateY(-2px);
}
.product-figure a { display: block; }

/* Forms */
.form-field {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.form-field:last-of-type {
  padding-bottom: 0;
}
.form-field label { display: block; margin-bottom: 6px; color: var(--muted); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  box-sizing: border-box;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1,1); border: 0; }
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px;
  width: 360px;
  max-width: 360px;
  min-width: 360px;
  overflow: hidden;
}
.contact-form h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
}
.contact-form .btn { margin-top: 4px; }
.error { color: #b91c1c; font-size: 0.9rem; height: 1.2rem; display: inline-block; }
.form-result { margin-top: 10px; color: var(--muted); }

/* Footer */
.site-footer { background: #ffffff; color: var(--text); }
.pro-footer .footer-members { padding: 16px 0 12px; text-align: center; }
.pro-footer .footer-members p { margin: 0 0 12px; font-weight: 800; color: var(--text); }
.pro-footer .footer-members .logos { display: inline-flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pro-footer .footer-members .logos img { height: 48px; width: auto; }

.pro-footer .footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; }
.footer-left { font-weight: 800; color: var(--text); }
.footer-center { text-align: center; color: var(--text); }
.footer-right { justify-self: end; }

.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.footer-brand img { width: 24px; height: 24px; }


/* Follow Us section in footer */
.follow-us-section {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Desktop footer layout - ensure proper three-column layout - UPDATED */
@media (min-width: 769px) {
  .site-footer.pro-footer .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
    align-items: center !important;
    text-align: left !important;
    padding: 16px 0 !important;
  }

  .site-footer.pro-footer .footer-left {
    text-align: left !important;
    justify-self: start !important;
    font-weight: 800 !important;
    color: var(--text) !important;
  }

  .site-footer.pro-footer .footer-center {
    text-align: center !important;
    justify-self: center !important;
    color: var(--text) !important;
  }

  .site-footer.pro-footer .footer-right {
    text-align: right !important;
    justify-self: end !important;
  }

  .site-footer.pro-footer .follow-us-section {
    text-align: center !important;
    align-items: center !important;
    transition: transform 0.6s ease, margin-right 0.6s ease !important;
    transform: translateX(0) !important;
    margin-right: 0 !important;
  }

  /* Animation when scroll-to-top button is visible */
  body.scroll-top-visible .site-footer .follow-us-section {
    transform: translateX(-80px) !important;
    margin-right: 80px !important;
    transition: transform 0.6s ease, margin-right 0.6s ease !important;
  }
}

.follow-us-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
  font-family: inherit;
}

.follow-us-separator {
  width: 100%;
  max-width: 200px;
  height: 1px;
  background-color: #d1d5db;
  margin: 0;
}

/* Social media icons in footer */
.social-icons {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: inline-block;
  text-decoration: none;
  color: #000;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.7;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Inline partner/membership strip above the global footer */
.members-strip {
  border-top: 1px solid var(--border);
  background: #ffffff;
}
.members-strip .inner {
  padding: 24px 0;
  text-align: center;
}
.members-strip .inner p { margin: 0 0 10px; color: var(--text); font-weight: 700; }
.members-strip .logos { display: inline-flex; align-items: center; gap: 18px; }
.members-strip .logos img { height: 40px; width: auto; filter: none; }

/* Product figure */
.product-figure { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.product-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.product-figure figcaption {
  position: static;
  padding: 10px 12px;
  font-weight: 600;
  background: none;
  color: var(--text);
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Make product cards a single unified box (remove inner figure box) */
.card.product {
  padding: 0;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}
.card.product:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(2, 8, 23, 0.2);
  border-color: var(--brand);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.card.product:hover .product-figure img {
  transform: scale(1.12) rotate(2deg) translateY(-3px);
  filter: brightness(1.1) contrast(1.08) saturate(1.15) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.3));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card.product:hover .product-figure figcaption {
  color: var(--brand);
  font-weight: 700;
  transform: translateY(-2px);
}
.card.product .product-figure { border: 0; border-radius: 0; margin: 0; background: transparent; }
.card.product .product-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, filter;
  transform: scale(1);
}

.card.product .product-figure figcaption {
  transition: all 0.3s ease;
}

/* Prevent tooltips on product card links */
.card.product a {
  text-decoration: none;
  color: inherit;
}

.card.product a:hover {
  text-decoration: none;
  color: inherit;
}

/* Remove default link tooltips */
.card.product a[href] {
  cursor: default;
}

/* Prevent browser tooltips on product cards */
.card.product a[title] {
  position: relative;
}

.card.product a[title]:hover::after {
  display: none !important;
}

/* Alternative: Remove title attribute behavior completely for product cards */
.card.product a {
  pointer-events: auto;
}

.card.product a[title]:hover {
  position: relative;
}

/* Completely disable tooltips on product cards */
.card.product a[href]:hover {
  text-decoration: none;
}

.card.product a[href]:focus {
  outline: none;
}

/* Remove any potential title tooltips */
.card.product a[title] {
  title: "";
}

.card.product a[title]:hover {
  title: "";
}

/* Completely disable all tooltips and link previews */
.card.product a {
  pointer-events: auto;
  text-decoration: none !important;
  color: inherit !important;
}

.card.product a:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.card.product a:focus {
  outline: none !important;
  text-decoration: none !important;
  color: inherit !important;
}

.card.product a:visited {
  text-decoration: none !important;
  color: inherit !important;
}

/* Disable browser tooltips completely */
.card.product a[href]:hover::before,
.card.product a[href]:hover::after {
  display: none !important;
  content: none !important;
}

/* Remove any title attribute tooltips */
.card.product a[title] {
  position: relative;
}

.card.product a[title]:hover {
  position: relative;
}

/* Force remove title attribute on hover */
.card.product a:hover {
  title: "";
}

/* Make sure the entire card allows text selection */
.card.product {
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

/* Force remove any browser-generated tooltips */
.card.product a:hover::before,
.card.product a:hover::after,
.card.product a:focus::before,
.card.product a:focus::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}
.card.product > p { margin: 0; padding: 12px 14px 16px; text-align: center; }

/* Center all product and subproduct names */
.products-grid .card.product {
  text-align: center;
}

.products-grid .card.product .product-figure {
  text-align: center;
}

.products-grid .card.product .product-figure figcaption {
  text-align: center;
}

/* Center subproduct items */
.subproduct-item {
  text-align: center;
}

.subproduct-item .product-figure {
  text-align: center;
}

.subproduct-item .product-figure figcaption {
  text-align: center;
}

/* Professional subproduct search result styling */
.subproduct-search-result {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

.subproduct-search-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
  transition: left 0.4s ease;
  z-index: 1;
}

.subproduct-search-result:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(255, 165, 0, 0.15),
    0 0 0 1px rgba(255, 165, 0, 0.2);
  border-color: rgba(255, 165, 0, 0.3);
}

.subproduct-search-result:hover::before {
  left: 100%;
}

.subproduct-search-result .product-figure figcaption {
  color: #000000 !important;
  font-weight: 600;
}

.search-result-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.95) 0%, rgba(21, 128, 61, 0.95) 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 5;
  box-shadow:
    0 4px 12px rgba(255, 165, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.subproduct-search-result:hover .search-result-indicator {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.search-icon {
  font-size: 0.8rem;
  animation: search-pulse 1.5s ease-in-out infinite;
}

@keyframes search-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.search-text {
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.parent-product-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  background: linear-gradient(135deg, var(--brand) 0%, #E69500 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px 0 6px 0;
  z-index: 1;
  box-shadow:
    0 2px 8px rgba(255, 165, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* Professional search term highlighting - yellow highlight for black text */
.search-highlight-yellow {
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  box-shadow:
    0 2px 6px rgba(255, 165, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: none;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.search-highlight-yellow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: highlight-shine 1.5s ease-in-out infinite;
}

@keyframes highlight-shine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Professional search term highlighting - black highlight for green text */
.search-highlight-black {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: none;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.search-highlight-black::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: highlight-shine 1.5s ease-in-out infinite;
}

/* Professional search term highlighting - black highlight for yellow text */
.search-highlight-yellow-text {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: none;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.search-highlight-yellow-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: highlight-shine 1.5s ease-in-out infinite;
}


.subproduct-search-result .product-category {
  color: #666666 !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  margin-top: 0.25rem !important;
  font-weight: 400 !important;
  text-align: center !important;
}

/* Professional highlighted subproduct animation */
.highlighted-subproduct {
  animation: professional-highlight 2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  box-shadow:
    0 0 0 0 rgba(255, 165, 0, 0),
    0 4px 20px rgba(255, 165, 0, 0.15),
    0 0 0 1px rgba(255, 165, 0, 0.1);
  border: 2px solid rgba(255, 165, 0, 0.3);
  z-index: 10;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes professional-highlight {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 165, 0, 0),
      0 4px 20px rgba(255, 165, 0, 0.1),
      0 0 0 1px rgba(255, 165, 0, 0);
    border-color: transparent;
    opacity: 1;
  }

  25% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 12px rgba(255, 165, 0, 0.15),
      0 12px 40px rgba(255, 165, 0, 0.25),
      0 0 0 3px rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.6);
  }

  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 16px rgba(255, 165, 0, 0.12),
      0 16px 48px rgba(255, 165, 0, 0.2),
      0 0 0 2px rgba(255, 165, 0, 0.4);
    border-color: rgba(255, 165, 0, 0.5);
  }

  75% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 20px rgba(255, 165, 0, 0.08),
      0 20px 56px rgba(255, 165, 0, 0.15),
      0 0 0 1px rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 165, 0, 0),
      0 4px 20px rgba(255, 165, 0, 0.05),
      0 0 0 1px rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.1);
  }
}

/* Search results container styling */
.products-grid:has(.subproduct-search-result) {
  position: relative;
}

.products-grid:has(.subproduct-search-result)::before {
  content: "Search Results";
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--brand);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Professional loading state for search */
.search-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

.search-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
  animation: loading-shimmer 1s ease-in-out infinite;
  z-index: 1;
}

.search-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid rgba(255, 165, 0, 0.2);
  border-top: 3px solid var(--brand);
  border-radius: 50%;
  animation: professional-spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 2;
}

@keyframes loading-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes professional-spin {
  0% {
    transform: rotate(0deg);
    border-top-color: var(--brand);
  }
  50% {
    border-top-color: #E69500;
  }
  100% {
    transform: rotate(360deg);
    border-top-color: var(--brand);
  }
}

/* Carousel Responsive Styles */
@media (max-width: 768px) {
  .carousel-nav {
    padding: 0 10px;
  }

  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-indicators {
    bottom: 20px;
    gap: 8px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .carousel-counter {
    bottom: 20px;
    right: 20px;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Highlights carousel responsive */
  .highlights-carousel {
    width: 100%;
    padding: 0;
  }

  .highlight-card {
    padding: 15px 10px;
    min-height: 100px;
  }

  .highlight-prev,
  .highlight-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .highlights-nav {
    padding: 0 5px;
  }

  /* Mobile animations - same as desktop for consistency */
  .card.product .product-figure img,
  .impact-row .media-photo img,
  .world-map-wrap .world-map-img {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Product card hover animations */
  .card.product:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(2, 8, 23, 0.2);
    border-color: var(--brand);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  }

  .card.product:hover .product-figure img {
    transform: scale(1.12) rotate(2deg) translateY(-3px);
    filter: brightness(1.1) contrast(1.08) saturate(1.15) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .card.product:hover .product-figure figcaption {
    color: var(--brand);
    font-weight: 700;
    transform: translateY(-2px);
  }

  /* Impact row hover animations */
  .impact-row .media-photo:hover img {
    transform: scale(1.1) rotate(3deg) translateY(-5px);
    filter: brightness(1.1) contrast(1.08) saturate(1.15) drop-shadow(0 15px 30px rgba(255, 165, 0, 0.3));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* World map hover animations */
  .world-map-wrap:hover .world-map-img {
    transform: scale(1.06) rotate(2deg) translateY(-3px);
    filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 12px 25px rgba(255, 165, 0, 0.2));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* BSJ card hover animations */
  .bsj-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.12);
    border-color: var(--brand);
  }

  /* Location tags hover animations */
  .location-tags li:hover {
    background: #FFF8DC;
    border-color: #FFD700;
    transform: translateY(-1px);
    transition: all .15s ease-in-out;
  }

  /* Social icons hover animations */
  .social-link:hover {
    opacity: 0.7;
  }

  /* Button hover animations */
  .btn-animated:hover {
    transform: translateY(-3px) scale(1.05) rotate(1deg);
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.4);
  }

  .hero-btn:hover {
    background: linear-gradient(135deg, #E69500 0%, #CC8400 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
  }

  /* Highlight navigation hover animations */
  .highlight-prev:hover,
  .highlight-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Carousel navigation hover animations */
  .carousel-prev:hover,
  .carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  /* Indicator hover animations */
  .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
  }

  .highlight-indicator:hover {
    border-color: var(--brand);
    background: rgba(255, 165, 0, 0.2);
  }

  /* About Us section image hover animations */
  .section[aria-label="About Us"] .media-photo:hover img {
    transform: scale(1.08) rotate(-2deg) translateY(-3px);
    filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* History and Mission section image hover animations */
  #history-block .media-photo:hover img {
    transform: scale(1.08) rotate(2deg) translateY(-3px);
    filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  #mission-block .media-photo:hover img {
    transform: scale(1.08) rotate(-2deg) translateY(-3px);
    filter: brightness(1.08) contrast(1.05) saturate(1.1) drop-shadow(0 10px 25px rgba(255, 165, 0, 0.25));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

@media (max-width: 480px) {
  .carousel-prev,
  .carousel-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .carousel-indicators {
    bottom: 15px;
    gap: 6px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .carousel-counter {
    bottom: 15px;
    right: 15px;
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .overlay-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-container { justify-content: center; }
  .contact-form-new { min-width: auto; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}
/* Consolidated Mobile & Tablet Navigation (< 992px) */
@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    background: transparent;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .site-nav li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
  }

  .site-nav.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.open li:nth-child(1) { transition-delay: 0.1s; }
  .site-nav.open li:nth-child(2) { transition-delay: 0.2s; }
  .site-nav.open li:nth-child(3) { transition-delay: 0.3s; }
  .site-nav.open li:nth-child(4) { transition-delay: 0.4s; }

  .site-nav a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .site-nav a:hover {
    color: var(--brand);
    transform: scale(1.05);
  }

  .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--brand);
  }

  /* Mobile Submenu - Centered accordion */
  .site-nav .submenu {
    position: static;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 10px 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  .site-nav .has-submenu.open > .submenu {
    display: flex;
    flex-direction: column;
    max-height: 300px;
  }

  .site-nav .submenu a {
    padding: 8px 0;
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.7;
  }

  .header-inner {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo { font-size: 1.2rem; }
  .logo img { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .site-nav {
    width: 100%; /* Ensure full width on very small screens */
  }
}

/* Force subproduct search result styling - highest priority */
.card.product.subproduct-search-result .product-info .product-category {
  color: #666666 !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  margin-top: 0.25rem !important;
  font-weight: 400 !important;
  text-align: center !important;
}

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 16px;
  align-items: stretch; /* Make both columns equal height */
  max-width: 1200px;
  margin: 0 auto;
  align-content: start; /* Ensure both sections start at the same level */
}

/* Ensure equal-height cards on desktop */
@media (min-width: 769px) {
  .contact-layout > .contact-info-left,
  .contact-layout > .contact-form-container {
    height: 100%;
  }
  .contact-form-new { height: 100%; }
}

/* Mobile contact layout optimization */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  /* Mobile Who We Are page optimization */
  .who-page .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .who-page .media-photo {
    order: 1;
    margin: 0 auto;
    max-width: 280px;
  }

  .who-page .two-col > div:not(.media-photo) {
    order: 2;
    text-align: left;
  }

  /* Ensure history section image is above text on mobile - like mission format */
  .who-page #history-block .two-col {
    display: flex;
    flex-direction: column;
  }

  .who-page #history-block .media-photo {
    order: 1 !important;
    margin: 0 auto 12px auto;
    max-width: 280px;
    width: 100%;
  }

  .who-page #history-block .two-col > div:not(.media-photo) {
    order: 2 !important;
    text-align: left;
    width: 100%;
  }

  /* Match mission section styling for history on mobile */
  .who-page #history-block {
    text-align: center;
  }

  .who-page #history-block h2 {
    text-align: center !important;
    margin-bottom: 20px;
  }

  .who-page #history-block .lead {
    text-align: left;
    margin-top: 0;
  }

  .who-page .section-inner {
    padding: 0 16px;
  }

  .who-page h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin: 20px 0 16px;
    text-align: center;
  }

  .who-page h4 {
    font-size: clamp(18px, 3vw, 22px);
    margin: 16px 0 12px;
    text-align: center;
  }

  .who-page p {
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0;
  }

  .who-page .lead {
    font-size: 16px;
    line-height: 1.6;
    margin: 16px 0 20px;
  }

  .who-page .values-list {
    text-align: left;
    padding-left: 20px;
    margin: 16px 0;
  }

  .who-page .values-list li {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
  }

  /* Mobile core values section optimization */
  .who-page .core-values-section {
    padding: 32px 0;
  }

  .who-page .core-values-section p {
    text-align: center !important;
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0;
  }

  .who-page .core-values-section p[style*="font-weight: bold"] {
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 16px 0 !important;
  }

  /* Mobile mission section optimization */
  .who-page #mission-block .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .who-page #mission-block .media-photo {
    order: 1;
    margin: 0 auto;
    max-width: 300px;
  }

  .who-page #mission-block .two-col > div:not(.media-photo) {
    order: 2;
  }

  /* Mobile page hero optimization */
  .who-page .who-hero {
    padding: 24px 0 16px;
  }

  .who-page .who-hero h1 {
    font-size: clamp(28px, 6vw, 40px);
    margin: 0;
  }

  /* Mobile section spacing */
  .who-page .section {
    padding: 32px 0;
  }

  .who-page #history-block,
  .who-page #mission-block {
    padding: 32px 0;
  }

  /* Mobile About Us section optimization */
  .section[aria-label="About Us"] .two-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px auto;
    max-width: 100%;
    align-items: center;
  }

  .section[aria-label="About Us"] .media-photo {
    order: 2;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
  }

  .section[aria-label="About Us"] .two-col > div:not(.media-photo) {
    order: 3;
    text-align: justify;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .section[aria-label="About Us"] h2 {
    text-align: center;
    margin: 0 0 16px 0;
    font-size: clamp(20px, 4vw, 24px);
  }

  .section[aria-label="About Us"] p {
    text-align: justify;
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
  }

  .section[aria-label="About Us"] .about-cta {
    text-align: center;
    margin-top: 16px;
  }

  /* Mobile Our Impact page optimization */
  .page #our-impact .impact-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
  }

  .page #our-impact .impact-row .media-photo {
    order: 2;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
  }

  .page #our-impact .impact-row > div:not(.media-photo) {
    order: 3;
    text-align: left;
    width: 100%;
  }

  .page #our-impact h3 {
    text-align: center;
    margin: 0 0 16px 0;
    font-size: clamp(20px, 4vw, 24px);
  }

  .page #our-impact h4 {
    text-align: center;
    margin: 12px 0 8px 0;
    font-size: clamp(18px, 3vw, 20px);
  }

  .page #our-impact p {
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
  }

  .page #our-impact .lead {
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0;
  }

  /* Ensure proper spacing for impact sections */
  .page #our-impact .section-inner {
    padding: 0 16px;
  }

  /* Reduce space between last impact section and footer on mobile */
  .page #our-impact .impact-row:last-of-type {
    margin-bottom: 8px;
  }

  .page #our-impact {
    padding-bottom: 12px;
  }
}

  .contact-info-left {
    order: 1; /* Keep contact info above form on mobile */
    text-align: center !important;
    padding: 0 8px;
    align-items: center !important;
  }

  .contact-form-container {
    order: 2; /* Move form below contact info on mobile */
    justify-content: center;
  }

  .contact-form-new {
    max-width: 100%;
    width: 100%;
    padding: 20px 16px;
  }

  /* Mobile page hero optimization */
  .page-hero {
    padding: 24px 0 16px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 12px;
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 16px;
  }

  /* Mobile section spacing */
  .section {
    padding: 40px 0;
  }

  /* Mobile find us section */
  .find-us {
    padding: 32px 0;
  }

  .find-us .map-embed {
    margin: 16px 0;
  }

  .ctas-center {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .ctas-center .btn-animated {
    width: 100%;
    max-width: 300px;
  }

  /* Mobile footer optimization - only for mobile devices */
  .pro-footer .footer-bottom {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center !important;
    padding: 20px 16px !important;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center !important;
    text-align: center !important;
  }

  .follow-us-section {
    text-align: center !important;
    align-items: center !important;
    margin-top: 16px !important;
    transition: none;
    transform: translateX(0);
    margin-right: 0;
  }

  /* Disable animation on mobile when scroll-to-top is visible */
  body.scroll-top-visible .site-footer .follow-us-section {
    transform: none;
    margin-right: 0;
  }

  .social-icons {
    gap: 28px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

  /* Mobile CTA join section */
  .cta-join {
    padding: 24px 16px;
  }

  .cta-join h2 {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 16px;
  }

  .cta-join .lead {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 8px;
  }

  .cta-join .cta-email {
    margin: 12px 0;
  }

  .cta-join .email-link {
    font-size: 16px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
    display: inline-block;
  }
}

/* Extra small mobile devices (phones in portrait) */
@media (max-width: 480px) {
  .contact-layout {
    padding: 0 12px;
    gap: 24px;
  }

  .contact-form-new {
    padding: 16px 12px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 14px 16px;
    font-size: 16px;
    min-height: 44px;
  }

  .form-field textarea {
    min-height: 90px;
  }

  .submit-btn {
    padding: 14px 20px;
    font-size: 15px;
    min-height: 48px;
  }

  .page-hero h1 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .page-hero p {
    font-size: 15px;
    padding: 0 12px;
  }

  .contact-info-left h3 {
    font-size: 1.1rem;
    margin: 16px 0 10px;
  }

  .contact-info-left p {
    font-size: 14px;
    margin: 6px 0 10px;
  }

  .contact-info-left a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .ctas-center .btn-animated {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 44px;
  }

  .find-us .map-embed {
    margin: 12px 0;
  }

  .cta-join {
    padding: 20px 12px;
  }

  .cta-join h2 {
    font-size: clamp(18px, 5vw, 22px);
  }

  .cta-join .lead {
    font-size: 14px;
    padding: 0 4px;
  }

  .cta-join .email-link {
    font-size: 15px;
    padding: 6px 12px;
  }

  /* Extra small mobile devices - Who We Are page */
  .who-page .section-inner {
    padding: 0 12px;
  }

  .who-page h2 {
    font-size: clamp(22px, 5vw, 28px);
    margin: 16px 0 12px;
  }

  .who-page h4 {
    font-size: clamp(16px, 4vw, 20px);
    margin: 12px 0 10px;
  }

  .who-page p {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
  }

  .who-page .lead {
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0 16px;
  }

  .who-page .values-list {
    padding-left: 16px;
    margin: 12px 0;
  }

  .who-page .values-list li {
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0;
  }

  .who-page .media-photo {
    max-width: 250px;
  }

  .who-page #mission-block .media-photo {
    max-width: 280px;
  }

  .who-page .who-hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  /* Extra small mobile devices - About Us section */
  .section[aria-label="About Us"] .two-col {
    margin: 20px auto;
    gap: 12px;
    align-items: center;
  }

  .section[aria-label="About Us"] .media-photo {
    max-width: 280px;
  }

  .section[aria-label="About Us"] h2 {
    font-size: clamp(18px, 5vw, 22px);
    margin: 0 0 12px 0;
  }

  .section[aria-label="About Us"] p {
    text-align: justify;
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0;
  }

  /* Extra small mobile devices - Our Impact page */
  .page #our-impact .section-inner {
    padding: 0 12px;
  }

  .page #our-impact h3 {
    font-size: clamp(18px, 5vw, 22px);
    margin: 0 0 12px 0;
  }

  .page #our-impact h4 {
    font-size: clamp(16px, 4vw, 18px);
    margin: 10px 0 6px 0;
  }

  .page #our-impact p {
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0;
  }

  .page #our-impact .lead {
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
  }

  .page #our-impact .impact-row {
    margin: 20px 0;
    gap: 12px;
  }

  .page #our-impact .impact-row .media-photo {
    max-width: 280px;
  }

  /* Reduce space between last impact section and footer */
  .page #our-impact .impact-row:last-of-type {
    margin-bottom: 6px;
  }

  .page #our-impact {
    padding-bottom: 8px;
  }
}

/* Ensure both headers align at the same baseline */
.contact-info-left h2,
.form-header h2 {
  margin-top: 0;
  margin-bottom: 24px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  vertical-align: baseline; /* Ensure baseline alignment */
}

/* Move "Get In Touch" header down slightly */
.contact-info-left h2 {
  margin-top: 0; /* Reset margin */
  padding-top: 10px; /* Aligned with form header padding */
}

/* Left side contact info - no card styling */
.contact-info-left {
  text-align: left; /* Left-align all content for desktop */
  padding: 5px 10px 10px 10px; /* match form card inner padding */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Start from top to match form */
  align-items: flex-start; /* Left-align items for desktop */
  min-height: auto; /* Height determined by content or JS equalizer */
}

/* Contact info h2 styling is now handled by the shared rule above */

.contact-info-left h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  text-align: left; /* Left-align headings for desktop */
}

/* Mobile contact info optimization */
@media (max-width: 768px) {
  .contact-info-left h2 {
    text-align: center !important;
    margin: 0 0 24px !important;
  }

  .contact-info-left h3 {
    margin: 20px 0 12px;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center !important;
  }

  .contact-info-left p {
    font-size: 15px;
    line-height: 1.6;
    text-align: center !important;
    margin: 8px 0 12px;
  }

  .contact-info-left a {
    font-size: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f8fafc;
    display: inline-block;
    margin: 2px 0;
    text-align: center !important;
  }
}

.contact-info-left p {
  margin: 8px 0;
  color: var(--text);
  line-height: 1.5;
}

.contact-info-left a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info-left a:hover {
  text-decoration: underline;
}

/* Right side form container */
.contact-form-container {
  display: flex;
  justify-content: stretch;
  width: 100%;
  align-items: stretch; /* Stretch inner form to match container height */
  min-height: 100%; /* Fill the full height of the grid cell */
}

/* New contact form styling */
.contact-form-new {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 5px 10px 10px 10px; /* equal side/bottom spacing for balanced card */
  width: 100%;
  max-width: none;
  min-width: auto;
  /* prevent stretching to match left column height */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  /* allow height to be based solely on content */
  min-height: auto;
}

.form-header {
  margin-bottom: 2px;
  text-align: center;
  padding-top: 10px; /* Further reduced padding for more compact box */
  padding-bottom: 0;
}

/* Form header h2 styling is now handled by the shared rule above */

.required-note {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  text-align: right;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 4px;
}

/* Mobile form row optimization */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 8px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  display: block;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px; /* Increased padding for better visual presence */
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px; /* Minimum height for better touch targets */
}

/* Allow room for separate dial code flag area */
.form-field input[type="tel"] {
  padding-left: 88px; /* prevents flag/dial code from overlapping text */
}

/* Mobile form field optimization */
@media (max-width: 768px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 16px 20px; /* Larger padding for mobile touch targets */
    font-size: 16px; /* Prevent zoom on iOS */
    height: 56px; /* Fixed height for all fields */
    min-height: 56px; /* Larger touch targets for mobile */
    border-radius: 8px; /* Slightly rounded corners for mobile */
    border: 2px solid #e5e7eb; /* Slightly thicker border for mobile */
    width: 100%; /* Full width */
    box-sizing: border-box; /* Include padding in width calculation */
    line-height: 1.4; /* Better line height for text visibility */
  }

  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
    outline: none;
  }

  .form-field textarea {
    height: 56px; /* Same height as other fields */
    min-height: 56px; /* Same minimum height */
    resize: vertical; /* Allow vertical resize only */
  }

  .form-field select {
    height: 56px; /* Fixed height for select */
    min-height: 56px;
    display: flex;
    align-items: center; /* Center text vertically */
  }

  .form-field label {
    font-size: 14px; /* Slightly larger labels for mobile */
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
  }

  .form-field select {
    background-position: right 20px center;
    padding-right: 44px;
    color: #000000 !important; /* Black text for maximum visibility on mobile */
    font-weight: 600 !important; /* Bold text for better visibility */
    line-height: 1.4 !important; /* Better line height for text visibility */
    font-size: 16px !important; /* Ensure consistent font size */
  }

  .form-field select option {
    color: #000000 !important; /* Black text for mobile options */
    background-color: #ffffff !important;
    padding: 12px 16px;
    font-size: 16px; /* Match mobile font size */
    font-weight: 500 !important;
    text-align: center; /* Center align all country names on mobile */
  }

  .form-field select option:first-child {
    color: #374151 !important; /* Dark gray for placeholder on mobile */
    font-style: italic;
    font-weight: 600 !important;
  }

  /* Force visibility for select placeholder text on mobile */
  .form-field select:invalid {
    color: #374151 !important;
    font-weight: 600 !important;
  }

  /* Additional mobile select styling for better visibility */
  .form-field select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #ffffff !important;
  }

  /* Ensure select text is always visible on mobile */
  .form-field select,
  .form-field select:focus,
  .form-field select:active {
    color: #000000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
  }

  /* Mobile-specific placeholder styling */
  .form-field input::placeholder,
  .form-field textarea::placeholder {
    color: #374151 !important;
    opacity: 0.8 !important;
  }
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center; /* Adjusted for new padding */
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  height: 44px; /* Match the min-height of other inputs */
  appearance: none; /* Remove default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #374151; /* Darker text color for better visibility */
}

/* Style the select option elements */
.form-field select option {
  color: #374151; /* Dark text for options */
  background-color: #ffffff;
  padding: 8px 12px;
  text-align: center; /* Center align all country names */
}

/* Style the first option (placeholder) */
.form-field select option:first-child {
  color: #6b7280; /* Slightly lighter for placeholder */
  font-style: italic;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px; /* Increased minimum height for better visual presence */
}

.error {
  color: #dc2626;
  font-size: 11px;
  margin-top: 1px;
  display: none; /* Hidden by default, shown only after validation attempt */
  min-height: 12px;
}

.error.show {
  display: block; /* Show when validation fails */
}

.form-checkbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0;
}

.form-checkbox .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox label {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
}

.form-checkbox .error {
  display: none;
  color: #dc2626;
  font-size: 11px;
  margin-top: 4px;
  min-height: 12px;
}

.form-checkbox .error.show {
  display: block;
}

.privacy-link {
  color: var(--primary);
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* Ensure intl-tel-input dropdown works well inside form */
.intl-tel-input,
.iti {
  width: 100%;
}

.iti__country-list {
  z-index: 10000; /* keep popup above cards/modals */
}

/* Make sure the dial code block is visible and not clipped */
.iti--separate-dial-code .iti__flag-container {
  z-index: 2;
  background: #fff;
  border-right: 1px solid #e5e7eb;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: var(--text);
  font-weight: 600;
}

/* Polished phone field styling to match design inside the contact form */
.contact-form-new .iti {
  width: 100%;
}

.contact-form-new .iti--separate-dial-code input[type="tel"] {
  border-radius: 12px;
  padding-left: 104px; /* align with larger left dial-code area */
  height: 44px;
}

/* keep phone input height consistent with other inputs */
.contact-form-new .form-field input[type="tel"] {
  height: 44px;
  min-height: 44px;
  line-height: 44px;
}

.contact-form-new .iti--separate-dial-code .iti__flag-container {
  width: 96px; /* roomy dial-code block */
  background: #f8fafc; /* subtle card-like background */
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-right: 1px solid #e5e7eb;
}

.contact-form-new .iti--separate-dial-code .iti__selected-flag {
  padding: 0 10px; /* space for flag + dial code */
}

.contact-form-new .iti--separate-dial-code .iti__selected-dial-code {
  font-weight: 800; /* bold like screenshot */
  color: #0f172a; /* near-black for emphasis */
  font-size: 16px;
}

.contact-form-new .iti__arrow {
  border-top-color: #64748b; /* softer arrow */
}

/* Custom composite phone input (code box + number input) */
.contact-form-new .phone-input-group {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden; /* keep children within rounded corners */
  background: #ffffff;
}

.contact-form-new .phone-input-group:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form-new .phone-code {
  min-width: 92px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc; /* match popup background */
  border-right: 1px solid #d1d5db; /* visible separator */
}

.contact-form-new .phone-input-group input[type="tel"] {
  flex: 1 1 auto;
  border: 0; /* container provides the border */
  height: 44px;
  padding: 0 12px;
  font-size: 13px; /* match other inputs */
  line-height: 44px;
  color: var(--text);
  background: transparent;
}

.contact-form-new .phone-input-group input[type="tel"]:focus {
  outline: none;
}

/* Distinct country-code block and unified rounded container (Image 2 style) */
.contact-form-new .iti--separate-dial-code input[type="tel"] {
  border-radius: 12px;               /* rounded corners for entire control */
  border: 1px solid #d1d5db;         /* visible container border */
}

.contact-form-new .iti--separate-dial-code input[type="tel"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form-new .iti--separate-dial-code .iti__flag-container {
  background: #f3f4f6;               /* distinct bg for dial code area */
  border-right: 1px solid #d1d5db;   /* clear vertical separator */
  border-top-left-radius: 12px;      /* match input rounding on left */
  border-bottom-left-radius: 12px;
}

.contact-form-new .iti--separate-dial-code .iti__selected-flag {
  padding: 0 12px;                    /* space for flag and +code */
}

.contact-form-new .iti--separate-dial-code .iti__selected-dial-code {
  font-weight: 700;                    /* emphasize country code */
  color: #0f172a;
}


/* Submit button now uses global animated styling */
.submit-btn {
  /* Inherits from .btn-animated.submit when class is applied */
  width: 60%;
  margin: 0 auto;
  display: block;
}

/* Mobile submit button optimization */
@media (max-width: 768px) {
  .submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    min-height: 52px;
    margin: 16px auto 0;
  }
}

.form-result {
  margin-top: 1px;
  padding: 2px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

/* Collapse message area when empty to remove space under the submit button */
.form-result:empty {
  margin: 0;
  padding: 0;
  display: none;
}

.form-result.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-result.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-result.submitting {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* Find Us block - dark centered layout */
.find-us { background: #f8fafc; color: var(--text); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.find-us h2 { text-align: center; margin: 0 0 10px; color: var(--text); }
.find-us .address-line { text-align: center; margin: 0 0 8px; color: #334155; }
.find-us .map-wrap { display: grid; place-items: center; }
.find-us .map-embed { max-width: 900px; box-shadow: var(--shadow); }
.find-us .address-note { text-align: center; color: #64748b; font-size: 0.92rem; margin: 10px 0 0; }
.ctas-center { justify-content: center; display: flex; gap: 12px; margin-top: 12px; }
.ctas-center .btn-animated {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Join CTA block above footer */
.cta-join { padding: 30px 0 20px; background: #ffffff; border-top: 1px solid var(--border); }
.cta-join h2 { text-align: center; font-weight: 900; color: var(--text); margin: 0 0 12px; letter-spacing: 0.01em; }
.cta-join .lead { max-width: 860px; margin: 0 auto 12px; text-align: center; color: #334155; }
.cta-join .cta-email { text-align: center; margin: 8px 0; }
.cta-join .email-link { color: #2563eb; text-decoration: underline; font-weight: 700; }
.cta-join .small-note { text-align: center; color: #64748b; font-size: 0.9rem; margin-top: 6px; }

/* REMOVED CONFLICTING CSS RULES - USING INLINE STYLES INSTEAD */


/* Floating WhatsApp Chat Button */
.whatsapp-float {
  position: fixed;
  /* Mirror Gravita spacing: small constant offset from viewport edges */
  bottom: 20px;
  left: 20px;
  /* Respect device safe areas in addition to the 20px offset */
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: calc(20px + env(safe-area-inset-left));
  /* Match visual size similar to Gravita */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366; /* ensure full green circle behind image */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* Layered shadow and soft glow for better separation on light backgrounds */
  box-shadow:
    0 10px 24px rgba(2, 8, 23, 0.18),       /* depth */
    0 8px 18px rgba(37, 211, 102, 0.18);    /* WhatsApp-green glow */
  z-index: 2000;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: fixed;
  overflow: hidden; /* keep image strictly within the circular container */
  position: fixed;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow:
    0 14px 36px rgba(2, 8, 23, 0.22),
    0 0 22px rgba(37, 211, 102, 0.28);
}

.whatsapp-float:active {
  transform: scale(0.98);
  box-shadow:
    0 8px 18px rgba(2, 8, 23, 0.2),
    0 0 16px rgba(37, 211, 102, 0.22);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
}

/* If using image instead of SVG: absolutely center for perfect alignment */
.whatsapp-float img,
.whatsapp-float svg {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 50%;
}

/* Trim any inherent transparent padding in the PNG so it visually fills */
.whatsapp-float img {
  transform: scale(1.08);
}

/* Optional tooltip for desktop */
.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  left: 74px;
  bottom: 50%;
  transform: translateY(50%);
  background: #111827; /* slate-900 */
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) translateX(2px);
}

.whatsapp-float .whatsapp-tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #111827 transparent transparent;
}

@media (max-width: 768px) {
  .whatsapp-float .whatsapp-tooltip { display: none; }
  /* Keep same size and offset on mobile for consistency */
  .whatsapp-float { width: 56px; height: 56px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* Ensure the PNG fills the circular container perfectly */
.whatsapp-float svg { border-radius: 50% !important; }

@media (max-width: 480px) {
  .whatsapp-float {
    /* Maintain a small clear offset on extra-small screens too */
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: calc(20px + env(safe-area-inset-left));
  }
}


/* Opening Popup: overlay and card */
.opening-popup-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1100; /* above back-to-top (1000) and WhatsApp (1000) */
  /* Block background interaction and add blurred, translucent backdrop */
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.5); /* slate-900 at 50% */
  backdrop-filter: blur(6px);
}

/* Reusable card surface to match "Send Us a Message" card */
.card-surface {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

/* Compact layout for the left "Get In Touch" card */
.contact-info-left.card-surface {
  padding: 12px 16px;
}

.contact-info-left h2 { margin-bottom: 12px; }
.contact-info-left h3 { margin: 12px 0 6px; }
.contact-info-left p { margin: 4px 0 8px; line-height: 1.45; }

/* Spacing between stacked cards */
.card-surface + .card-surface { margin-top: 16px; }

/* Disable ALL image animations and hover effects site-wide */
img {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
}

.products-grid .product:hover .product-figure img,
.card.product:hover .product-figure img,
.impact-row .media-photo:hover img,
.world-map-wrap:hover .world-map-img,
.section[aria-label="About Us"] .media-photo:hover img,
#history-block .media-photo:hover img,
#mission-block .media-photo:hover img {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Also neutralize any custom animation classes if applied */
.image-modern-pulse,
.image-elegant-zoom,
.image-smooth-slide,
.image-elastic-bounce,
.image-floating-glow,
.image-spiral-entrance,
.image-slide-up-bounce,
.image-gentle-shake,
.image-smooth-wobble {
  animation: none !important;
}

.opening-popup-card {
  pointer-events: auto; /* allow interactions on the card */
  width: min(92vw, 380px);
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: openingPopupFadeIn 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.opening-popup-card.fade-out {
  animation: openingPopupFadeOut 220ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes openingPopupFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes openingPopupFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

.opening-popup-header {
  display: flex;
  align-items: center;
  justify-content: center; /* center header block */
  gap: 10px;
  position: relative; /* allow close button absolute positioning */
}

/* Center the text block inside header */
.opening-popup-header > div {
  text-align: center;
  width: 100%;
}

.opening-popup-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}

.opening-popup-subtitle {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.opening-popup-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 6px;
  position: absolute;
  top: 6px;
  right: 6px; /* keep close button on the right while header text is centered */
}

.opening-popup-close:hover { color: #0f172a; background: #f1f5f9; }

.opening-popup-form .field {
  display: flex;
  flex-direction: column;
  margin: 8px 0 6px;
}

.opening-popup-form .field label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.opening-popup-form .field input,
.opening-popup-form .field select {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  min-height: 40px;
}

/* Make popup country select look like other inputs (custom arrow) */
.opening-popup-form .field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px; /* room for arrow */
}

.opening-popup-form .field select option { color: #111827; }

/* Phone input with visible dialing code prefix (popup) */
.opening-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  min-height: 40px;
  overflow: hidden;
  padding: 0; /* avoid inner white overflow outside rounded border */
}

.opening-phone-wrap:focus-within {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}

.opening-dial-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 40px;
  background: #f8fafc;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid #e5e7eb;
  border-radius: 8px 0 0 8px;
  white-space: nowrap;
  min-width: 60px;
}

.opening-phone-wrap input {
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  flex: 1;
  min-width: 0;
}

/* Ensure input inside phone wrap does not draw its own border/radius from generic rules */
.opening-popup-form .field .opening-phone-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Make the wrap take full width of field */
.opening-popup-form .field .opening-phone-wrap { width: 100%; }

.opening-popup-form .error-text {
  color: #dc2626;
  font-size: 11px;
  margin-top: 3px;
  display: none;
}

.opening-popup-form .error-text.show { display: block; }

.opening-popup-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center; /* center submit button */
}

.opening-popup-submit {
  /* Match the yellow style used by "Send Us a Message" button */
  background: linear-gradient(135deg, #FFA500 0%, #E69500 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 22px; /* make it a bit bigger */
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  min-width: 160px;
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

.opening-popup-submit:hover {
  background: linear-gradient(135deg, #E69500 0%, #CC8400 100%);
  filter: brightness(1);
}
.opening-popup-submit:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}

.opening-popup-success {
  text-align: center;
  font-size: 14px;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

/* ── Country Ticker / Marquee ── */
.country-ticker-wrap {
  position: relative;
  --locations-ticker-duration: 29.8s;
  margin-top: 32px;
  overflow: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  padding: 8px 0;
}

/* Fade masks on left and right edges */
.country-ticker-wrap::before,
.country-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.country-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}
.country-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.country-ticker {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.country-ticker-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  flex: 0 0 auto;
  transform: translate3d(0, 0, 0);
  animation: locationsTickerScroll var(--locations-ticker-duration) linear infinite;
  will-change: transform;
}

.country-ticker:hover .country-ticker-track {
  animation-play-state: paused;
}

.country-ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
}

.country-ticker-group span {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 12px 28px;
  flex-shrink: 0;
  gap: 8px;
}

.country-ticker-group span::before {
  content: '•';
  color: #1a1a1a;
  font-size: 1.1rem;
  line-height: 1;
}



@keyframes locationsTickerScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Apple-design audit pass: calmer materials, immediate feedback, accessible motion */
body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f6f8fb 100%);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.hero-title,
.tagline,
.bsj-card h3,
.location-tags li,
.country-ticker-track span {
  letter-spacing: 0;
}

h1,
.hero-overlay h1 {
  font-size: 3rem;
  line-height: 1.04;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.16;
}

@media (max-width: 768px) {
  h1,
  .hero-overlay h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.card.product a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

button:active,
.btn:active,
.btn-animated:active,
.hero-btn:active,
.bsj-card-link:active,
.card.product:active,
.card.product a:active {
  transform: scale(0.97);
  transition-duration: var(--motion-fast);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: background-color var(--motion-medium) var(--ease-fluid),
    box-shadow var(--motion-medium) var(--ease-fluid),
    border-color var(--motion-medium) var(--ease-fluid);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-medium) var(--ease-fluid);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.logo {
  border-radius: 8px;
  padding: 6px 8px;
  transition: background-color var(--motion-fast) var(--ease-press),
    transform var(--motion-fast) var(--ease-press);
}

.logo:hover {
  background: rgba(var(--brand-rgb), 0.08);
}

.logo:active {
  transform: scale(0.98);
}

.site-nav a {
  border-radius: 8px;
  transition: color var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press),
    transform var(--motion-fast) var(--ease-press);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #7a4b00;
  background: rgba(var(--brand-rgb), 0.11);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: rgba(var(--brand-rgb), 0.15);
  color: #7a4b00;
}

.site-nav .submenu {
  display: flex;
  top: calc(100% + 8px);
  background: var(--surface-strong);
  border-color: var(--surface-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: opacity var(--motion-fast) var(--ease-press),
    transform var(--motion-medium) var(--ease-fluid),
    visibility var(--motion-fast) linear;
}

.site-nav .has-submenu:hover .submenu,
.site-nav .has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-toggle {
  border-radius: 8px;
  transition: background-color var(--motion-fast) var(--ease-press),
    transform var(--motion-fast) var(--ease-press);
}

.nav-toggle:hover {
  background: rgba(var(--brand-rgb), 0.11);
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle span {
  transition: transform var(--motion-medium) var(--ease-fluid),
    opacity var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press);
}

.hero-carousel {
  min-height: min(76vh, 760px);
  background: #111827;
}

.carousel-container {
  min-height: min(76vh, 760px);
  touch-action: pan-y;
}

.carousel-slide {
  transition: opacity var(--motion-medium) var(--ease-fluid),
    transform var(--motion-medium) var(--ease-fluid);
  will-change: opacity, transform;
}

.carousel-slide.is-dragging {
  transition: none !important;
}

.carousel-slide img:hover,
.section[aria-label="About Us"] .media-photo:hover img {
  transform: none !important;
  filter: none !important;
}

.hero-carousel .hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.58));
}

.hero-overlay .overlay-inner {
  max-width: 880px;
  padding: 0 20px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.02;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.tagline {
  font-size: 1.9rem;
  line-height: 1.12;
}

.subline {
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-prev,
.carousel-next,
.highlight-prev,
.highlight-next,
.back-to-top {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: transform var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press),
    box-shadow var(--motion-medium) var(--ease-fluid);
}

.carousel-prev:hover,
.carousel-next:hover,
.highlight-prev:hover,
.highlight-next:hover,
.back-to-top:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.carousel-prev:active,
.carousel-next:active,
.highlight-prev:active,
.highlight-next:active,
.back-to-top:active {
  transform: scale(0.94);
}

.indicator,
.highlight-indicator {
  transition: transform var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press),
    border-color var(--motion-fast) var(--ease-press);
}

.indicator:hover,
.highlight-indicator:hover {
  transform: scale(1.08);
}

.carousel-counter {
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.btn-animated,
.hero-btn,
.opening-popup-submit {
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.22);
  text-transform: none;
  letter-spacing: 0;
  transition: transform var(--motion-fast) var(--ease-press),
    box-shadow var(--motion-medium) var(--ease-fluid),
    background-color var(--motion-fast) var(--ease-press),
    filter var(--motion-fast) var(--ease-press);
}

.btn-animated::before,
.hero-btn::before {
  display: none;
}

.btn-animated:hover,
.hero-btn:hover,
.btn-animated.secondary:hover,
.hero-btn.secondary:hover,
.opening-popup-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.26);
}

.hero-btn.secondary,
.btn-animated.secondary {
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.20);
}

.hero-btn.secondary:hover,
.btn-animated.secondary:hover {
  box-shadow: 0 16px 34px rgba(59, 130, 246, 0.24);
}

.btn-animated:hover .btn-icon:first-child,
.btn-animated:hover .btn-icon:not(:first-child),
.hero-btn:hover .btn-icon:first-child,
.hero-btn:hover .btn-icon:not(:first-child),
.hero-btn.primary:hover .btn-icon,
.hero-btn.secondary:hover .btn-icon {
  transform: translateX(3px);
  margin-left: 8px;
  margin-right: 0;
}

.section,
.bsj,
.products-preview {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.cards .card,
.card,
.bsj-card,
.highlight-card,
.card-surface,
.opening-popup-card {
  border-radius: 8px;
  border-color: var(--surface-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.bsj-card,
.cards .card,
.card.product,
.card-surface {
  transition: transform var(--motion-medium) var(--ease-fluid),
    box-shadow var(--motion-medium) var(--ease-fluid),
    border-color var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press);
}

.bsj-card-link:hover,
.card.product:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.48);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
  background: #ffffff;
}

.card.product,
.card.product a,
.card.product a:hover,
.card.product a:focus,
.card.product a:active,
.card.product a:visited,
.card.product a[title],
.card.product a[aria-label] {
  pointer-events: auto !important;
  cursor: pointer !important;
  color: inherit !important;
  text-decoration: none !important;
}

.card.product a {
  display: block;
  min-height: 100%;
  border-radius: 8px;
}

.card.product a figcaption,
.card.product a:hover figcaption,
.card.product a:focus figcaption {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: text !important;
}

.card.product:hover .product-figure figcaption {
  color: #9a6100;
  transform: none;
}

.products-grid .card.product.highlighted {
  transform: translateY(-2px);
}

.product-search,
.search-container {
  text-align: center;
}

.search-input,
.opening-popup-form .field input,
.opening-popup-form .field select,
.opening-phone-wrap {
  border-radius: 8px;
  border-color: rgba(15, 23, 42, 0.16);
  transition: border-color var(--motion-fast) var(--ease-press),
    box-shadow var(--motion-fast) var(--ease-press),
    background-color var(--motion-fast) var(--ease-press);
}

.search-input:focus,
.opening-popup-form .field input:focus,
.opening-popup-form .field select:focus,
.opening-phone-wrap:focus-within {
  border-color: rgba(var(--brand-rgb), 0.72);
  box-shadow: var(--focus-ring);
}

.opening-popup-overlay {
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.opening-popup-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  transform-origin: center;
  animation: openingPopupMaterialIn 320ms var(--ease-fluid) forwards;
}

.opening-popup-card.fade-out {
  animation: openingPopupMaterialOut 220ms var(--ease-fluid) forwards;
}

@keyframes openingPopupMaterialIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes openingPopupMaterialOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@media (max-width: 991px) {
  .site-nav {
    justify-content: flex-start;
    align-items: flex-end;
    padding: calc(96px + env(safe-area-inset-top)) 18px 28px;
    background: rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transform: none;
    transition: opacity var(--motion-fast) var(--ease-press),
      visibility var(--motion-fast) linear;
  }

  .site-nav ul {
    width: min(390px, 100%);
    gap: 0.35rem;
    padding: 14px;
    text-align: left;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 8px;
    box-shadow: var(--glass-shadow);
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    transition: transform var(--motion-medium) var(--ease-fluid);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
  }

  .site-nav.open ul {
    transform: translateY(0) scale(1);
  }

  .site-nav li,
  .site-nav.open li,
  .site-nav.open li:nth-child(1),
  .site-nav.open li:nth-child(2),
  .site-nav.open li:nth-child(3),
  .site-nav.open li:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .site-nav a {
    display: flex;
    width: 100%;
    padding: 13px 14px;
    font-size: 1.18rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .site-nav a:hover {
    transform: none;
  }

  .site-nav .submenu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0 0 4px 12px;
    max-height: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: max-height var(--motion-medium) var(--ease-fluid),
      opacity var(--motion-fast) var(--ease-press);
  }

  .site-nav .has-submenu.open > .submenu {
    max-height: 220px;
  }

  .site-nav .submenu a {
    font-size: 1rem;
    opacity: 0.82;
    padding: 9px 14px;
  }
}

@media (max-width: 640px) {
  .hero-carousel,
  .carousel-container {
    min-height: 68vh;
  }

  .hero-overlay .overlay-inner {
    padding: 18px 16px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .tagline {
    font-size: 1.28rem;
  }

  .subline {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .carousel-prev,
  .carousel-next {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .site-nav,
  .site-nav ul,
  .site-nav .submenu,
  .carousel-prev,
  .carousel-next,
  .highlight-prev,
  .highlight-next,
  .carousel-counter,
  .opening-popup-overlay,
  .opening-popup-card {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .opening-popup-overlay {
    background: rgba(15, 23, 42, 0.58);
  }
}

@media (prefers-contrast: more) {
  .site-header,
  .site-nav ul,
  .site-nav .submenu,
  .hero-overlay .overlay-inner,
  .cards .card,
  .card,
  .bsj-card,
  .opening-popup-card {
    border-color: #0f172a;
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: #111827;
    background: #ffd37a;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-ticker-track {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
  }

  html,
  * {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .carousel-slide,
  .site-nav ul,
  .opening-popup-card,
  .opening-popup-card.fade-out {
    transform: none !important;
  }
}

/* Homepage completion — final editorial layout, scoped to the homepage only. */
.home-main {
  --home-ink: #081321;
  --home-navy: #0f2238;
  --home-copper: #b97832;
  --home-paper: #f8f5ef;
  --home-line: rgba(15, 34, 56, 0.16);
  color: var(--home-ink);
  background: var(--home-paper);
}

.home-main .home-container {
  width: min(calc(100% - clamp(40px, 7vw, 104px)), 1180px);
  max-width: 1180px;
  min-width: 0;
  margin-inline: auto;
}

.home-main .home-section {
  padding: clamp(64px, 7vw, 96px) 0;
}

.home-main .section-eyebrow {
  margin: 0 0 14px;
  color: var(--home-copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.home-main .home-section-heading {
  width: min(100%, 760px);
  margin: 0 0 clamp(34px, 4vw, 52px);
  text-align: left;
}

.home-main .home-section-heading h2,
.home-main .home-about h2,
.home-main .home-profile h2,
.home-main .home-impact h2,
.home-main .home-final-cta h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-align: left;
  text-wrap: balance;
}

.home-main .home-section-heading > p:last-child {
  max-width: 680px;
  margin: 16px 0 0;
  color: #526173;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

/* Cinematic hero: exact three-slide system. */
.home-main .home-hero,
.home-main .home-hero .carousel-container {
  min-height: clamp(620px, 76svh, 720px);
  max-height: 720px;
}

.home-main .home-hero .hero-title {
  width: min(100%, 720px);
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.01;
}

.home-main .home-hero .subline {
  width: min(100%, 640px);
}

.home-main .carousel-slide.active .hero-freight--subtle .freight-vehicle { animation-duration: 26s; }
.home-main .carousel-slide.active .hero-freight--strong .freight-vehicle { animation-duration: 20s; }
.home-main .carousel-slide.active .hero-freight--faint .freight-vehicle { animation-duration: 28s; }

/* Compact trust proof strip. */
.home-main .home-trust {
  background: #fbf8f2;
  border-block: 1px solid var(--home-line);
}

.home-main .home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 82px;
}

.home-main .home-trust-item {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 16px;
  color: var(--home-navy);
  font-size: clamp(0.65rem, 0.8vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-align: center;
}

.home-main .home-trust-item + .home-trust-item { border-left: 1px solid var(--home-line); }
.home-main .home-trust-item > span { flex: 0 0 5px; width: 5px; height: 5px; background: var(--home-copper); border-radius: 50%; }

/* Short editorial About with capability rows. */
.home-main .home-about { padding-block: clamp(56px, 6vw, 78px); background: var(--home-paper); }
.home-main .home-about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: clamp(46px, 7vw, 96px); align-items: center; }
.home-main .home-about-intro { grid-column: auto; padding: 0; }
.home-main .home-about-rule { width: 70px; height: 2px; margin: 23px 0; background: var(--home-copper); }
.home-main .home-about-lead { max-width: 640px; margin: 0 0 22px; color: #455568; font-size: 1rem; line-height: 1.72; }
.home-main .home-capabilities { min-width: 0; border-top: 1px solid var(--home-line); }
.home-main .home-capability { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--home-line); }
.home-main .home-capability > span { color: var(--home-copper); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.home-main .home-capability h3 { margin: 0 0 5px; color: var(--home-navy); font-size: 0.83rem; font-weight: 850; letter-spacing: 0.08em; line-height: 1.35; }
.home-main .home-capability p { margin: 0; color: #5e6b79; font-size: 0.9rem; line-height: 1.55; }

/* Company profile banner. */
.home-main .home-profile { padding: 26px 0; background: #eee9df; }
.home-main .home-profile-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(210px, 3fr); min-height: 248px; overflow: hidden; background: var(--home-navy); }
.home-main .home-profile-copy { z-index: 1; align-self: center; max-width: 760px; padding: clamp(36px, 5vw, 60px); }
.home-main .home-profile h2 { color: #fff; }
.home-main .home-profile-copy > p:not(.section-eyebrow) { max-width: 660px; margin: 15px 0 24px; color: rgba(238, 243, 247, 0.75); line-height: 1.65; }
.home-main .home-profile-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.home-main .home-button--light { color: var(--home-navy); background: #fff; }
.home-main .home-text-link--light { color: #fff; }
.home-main .home-document-motif { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 190px; min-height: 225px; margin: 24px auto -18px; padding: 26px 22px; color: #fff; background: #f7f2e9; border-top: 4px solid var(--home-copper); transform: rotate(3deg); box-shadow: -18px 18px 0 rgba(3, 14, 25, 0.24); }
.home-main .home-document-motif::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(15, 34, 56, 0.18); }
.home-main .home-document-motif span, .home-main .home-document-motif strong, .home-main .home-document-motif i { z-index: 1; color: var(--home-navy); }
.home-main .home-document-motif span { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; }
.home-main .home-document-motif strong { font-size: 1.25rem; line-height: 1.08; letter-spacing: -0.02em; }
.home-main .home-document-motif i { font-size: 0.62rem; font-style: normal; letter-spacing: 0.12em; }

/* Integrated Trade Desk. */
.home-main .home-trade-desk { background: var(--home-ink); }
.home-main .home-section-heading--light h2 { color: #fff; }
.home-main .home-section-heading--light > p:last-child { color: rgba(234, 240, 245, 0.7); }
.home-main .home-trade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-main .home-trade-item { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 306px; padding: 8px clamp(28px, 3.7vw, 52px) 4px; }
.home-main .home-trade-item:first-child { padding-left: 0; }
.home-main .home-trade-item:last-child { padding-right: 0; }
.home-main .home-trade-item + .home-trade-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: linear-gradient(var(--home-copper) 0 25%, rgba(255,255,255,.14) 25% 100%); transform-origin: top; }
.home-main .home-trade-item .home-panel-number { margin: 0 0 30px; color: rgba(255,255,255,.35); font-size: 0.75rem; letter-spacing: 0.14em; }
.home-main .home-trade-label { margin: 0 0 10px; color: #d8a160; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.14em; }
.home-main .home-trade-item h3 { margin: 0 0 13px; color: #f3f6f8; font-size: clamp(1.45rem, 2vw, 1.8rem); transition: color 180ms ease; }
.home-main .home-trade-item > p:not(.home-trade-label) { margin: 0; color: rgba(232,238,243,.68); line-height: 1.7; }
.home-main .home-trade-item > a { display: inline-flex; gap: 8px; align-items: center; width: fit-content; margin-top: auto; padding-top: 26px; color: #fff; font-weight: 750; text-decoration: none; }
.home-main .home-trade-item > a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: inherit; width: 38px; height: 1px; background: var(--home-copper); transform-origin: left; transition: width 220ms ease; }
.home-main .home-trade-item > a span { transition: transform 180ms ease; }
@media (hover:hover) { .home-main .home-trade-item:hover h3 { color: #e7b273; } .home-main .home-trade-item:hover > a::after { width: 62px; } .home-main .home-trade-item:hover > a span { transform: translateX(3px); } }

/* Seven-step, one-time global movement rail. */
.home-main .home-process { background: #fbf8f2; }
.home-main .home-process-rail { position: relative; padding-top: 18px; }
.home-main .home-process-rail ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.home-main .home-process-track { position: absolute; top: 35px; right: 0; left: 0; height: 1px; overflow: hidden; background: rgba(15,34,56,.2); }
.home-main .home-process-track i { display: block; width: 100%; height: 2px; background: var(--home-copper); transform: scaleX(0); transform-origin: left; transition: transform 1.45s cubic-bezier(.22,1,.36,1) 120ms; }
.home-main .home-process-step { min-width: 0; opacity: 0; transform: translateY(10px); transition: opacity 440ms ease calc(320ms + var(--step) * 85ms), transform 520ms cubic-bezier(.22,1,.36,1) calc(320ms + var(--step) * 85ms); }
.home-main .home-process-step span { position: relative; display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 21px; color: var(--home-navy); background: #fbf8f2; border: 1px solid var(--home-copper); border-radius: 50%; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.05em; }
.home-main .home-process-step p { margin: 0; color: #37485a; font-size: clamp(0.76rem, 1vw, 0.9rem); font-weight: 720; line-height: 1.5; }
.home-main .home-process-rail.is-visible .home-process-track i { transform: scaleX(1); }
.home-main .home-process-rail.is-visible .home-process-step { opacity: 1; transform: translateY(0); }

/* Compact industrial catalogue. */
.home-main .home-products { background: #edf0f1; }
.home-main .home-products .home-container { max-width: 1120px; }
.home-main .home-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: clamp(12px, 1.5vw, 20px); }
.home-main .home-product-tile { min-width: 0; overflow: hidden; background: #fff; border: 1px solid rgba(15,34,56,.16); border-radius: 3px; }
.home-main .home-product-tile a, .home-main .home-product-tile figure { display: block; height: auto; margin: 0; color: var(--home-navy); text-decoration: none; }
.home-main .home-product-tile figure::after { display: none; }
.home-main .home-product-tile figure::before { bottom: 0; height: 2px; }
.home-main .home-product-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.88) contrast(1.03); }
.home-main .home-product-tile figcaption { position: relative; inset: auto; display: flex; justify-content: space-between; min-height: 52px; padding: 16px 15px; color: var(--home-navy); background: #fff; font-size: 0.74rem; letter-spacing: 0.1em; }
.home-main .home-products-cta { margin-top: 26px; text-align: right; }
@media (hover:hover) { .home-main .home-product-tile:hover img { transform: scale(1.025); } .home-main .home-product-tile:hover figcaption { color: var(--home-copper); } .home-main .home-product-tile:hover figcaption span { transform: translateX(3px); } }

/* Responsible resource story. */
.home-main .home-impact { background: var(--home-paper); }
.home-main .home-impact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(54px, 9vw, 120px); align-items: center; }
.home-main .home-impact h2 { font-size: clamp(2.8rem, 5.7vw, 5.4rem); line-height: .94; }
.home-main .home-impact-copy { position: relative; padding: 36px 0 8px; border-top: 1px solid var(--home-copper); }
.home-main .home-impact-copy > p { position: relative; z-index: 1; margin: 0 0 22px; color: #4c5b69; line-height: 1.75; }
.home-main .home-impact-loop { position: absolute; top: -42px; right: -12px; width: 140px; opacity: .17; }
.home-main .home-impact-loop svg { width: 100%; fill: none; stroke: var(--home-copper); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.4s ease 250ms; }
.home-main .home-impact-copy.is-visible .home-impact-loop svg { stroke-dashoffset: 0; }

/* Market and resources utility pair. */
.home-main .home-utilities { background: #f1eee7; }
.home-main .home-utilities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-main .home-utility { min-width: 0; padding: clamp(30px, 4vw, 50px); border-top: 3px solid var(--home-copper); }
.home-main .home-utility--market { color: #fff; background: var(--home-navy); }
.home-main .home-utility--resources { color: var(--home-navy); background: #fff; border-top-color: var(--home-navy); }
.home-main .home-utility h3 { margin: 0 0 15px; color: inherit; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.home-main .home-utility p { margin: 0 0 22px; color: inherit; opacity: .76; line-height: 1.7; }
.home-main .home-utility--market .home-text-link { color: #fff; }
.home-main .home-utility small { display: block; margin-top: 28px; color: inherit; opacity: .57; line-height: 1.5; }
.home-main .home-utility ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0 0 24px; padding: 0; list-style: none; }
.home-main .home-utility li { border-bottom: 1px solid rgba(15,34,56,.14); }
.home-main .home-utility li a { display: block; padding: 7px 0; color: var(--home-navy); text-decoration: none; }

/* Final trade CTA, placed after the untouched Locations section. */
.home-main .home-final-cta { padding: clamp(58px, 6vw, 78px) 0; color: #fff; background: var(--home-ink); }
.home-main .home-final-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 52px; align-items: center; }
.home-main .home-final-copy { max-width: 760px; }
.home-main .home-final-rule { display: block; width: 70px; height: 2px; margin-bottom: 24px; background: var(--home-copper); transform-origin: left; animation: homeFinalRule 1.7s ease-in-out infinite alternate; }
.home-main .home-final-cta h2 { color: #fff; }
.home-main .home-final-cta p { margin: 16px 0 0; color: rgba(235,241,246,.7); line-height: 1.65; }
.home-main .home-final-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: flex-end; }
.home-main .home-button--copper { color: #fff; background: var(--home-copper); }
@keyframes homeFinalRule { to { transform: scaleX(.7); opacity: .7; } }

/* Intermediate widths are intentional: preserve geometry with no page clipping. */
@media (max-width: 1024px) {
  .home-main .home-profile-inner { grid-template-columns: minmax(0, 2.2fr) minmax(190px, .8fr); }
  .home-main .home-process-rail ol { gap: 14px; }
  .home-main .home-process-step p { font-size: .76rem; }
  .home-main .home-final-cta-inner { grid-template-columns: minmax(0, 1fr) minmax(220px, auto); gap: 34px; }
}

@media (max-width: 900px) {
  .home-main .home-about-grid, .home-main .home-impact-grid { grid-template-columns: 1fr; gap: 42px; }
  .home-main .home-capabilities { width: 100%; }
  .home-main .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-main .home-process-rail ol { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; }
  .home-main .home-process-track { display: none; }
  .home-main .home-process-step span { margin-bottom: 12px; }
  .home-main .home-impact-copy { max-width: 660px; }
}

@media (max-width: 760px) {
  .home-main .home-section { padding: 56px 0; }
  .home-main .home-trade-grid, .home-main .home-utilities-grid, .home-main .home-final-cta-inner { grid-template-columns: 1fr; }
  .home-main .home-trade-item, .home-main .home-trade-item:first-child, .home-main .home-trade-item:last-child { min-height: 0; padding: 30px 0; }
  .home-main .home-trade-item + .home-trade-item::before { inset: 0 0 auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--home-copper), rgba(255,255,255,.14)); }
  .home-main .home-trade-item .home-panel-number { margin-bottom: 16px; }
  .home-main .home-trade-item > a { margin-top: 20px; padding-top: 0; }
  .home-main .home-process-rail { padding: 0; }
  .home-main .home-process-rail ol { display: block; }
  .home-main .home-process-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; min-height: 74px; }
  .home-main .home-process-step:not(:last-child)::after { content: ""; position: absolute; top: 35px; bottom: 0; left: 17px; width: 1px; background: linear-gradient(var(--home-copper), rgba(15,34,56,.18)); transform: scaleY(0); transform-origin: top; transition: transform 520ms ease calc(300ms + var(--step) * 85ms); }
  .home-main .home-process-rail.is-visible .home-process-step::after { transform: scaleY(1); }
  .home-main .home-process-step span { grid-row: 1; margin: 0; }
  .home-main .home-process-step p { grid-column: 2; padding-top: 7px; font-size: .9rem; }
  .home-main .home-profile-inner { grid-template-columns: 1fr; }
  .home-main .home-document-motif { width: min(190px, calc(100% - 48px)); min-height: 190px; margin: 0 32px -36px auto; }
  .home-main .home-final-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .home-main .home-container { width: min(calc(100% - 32px), 1180px); }
  .home-main .home-hero, .home-main .home-hero .carousel-container { min-height: clamp(610px, 80svh, 680px); max-height: none; }
  .home-main .home-hero .hero-title { font-size: clamp(2rem, 8.8vw, 2.75rem); }
  .home-main .home-hero .overlay-ctas { width: min(100%, 300px); }
  .home-main .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-main .home-trust-item { min-height: 64px; justify-content: flex-start; padding: 14px 10px; text-align: left; }
  .home-main .home-trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--home-line); }
  .home-main .home-trust-item:nth-child(4) { border-top: 1px solid var(--home-line); }
  .home-main .home-about-grid { grid-template-columns: minmax(0, 1fr); }
  .home-main .home-about h2 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .home-main .home-profile { padding: 18px 0; }
  .home-main .home-profile-copy { padding: 34px 26px; }
  .home-main .home-profile-actions { align-items: flex-start; flex-direction: column; }
  .home-main .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-main .home-product-tile img { aspect-ratio: 4 / 3; }
  .home-main .home-product-tile figcaption { min-height: 46px; padding: 13px 10px; font-size: .66rem; letter-spacing: .06em; }
  .home-main .home-products-cta { text-align: left; }
  .home-main .home-impact h2 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .home-main .home-utility { padding: 30px 24px; }
  .home-main .home-utility ul { grid-template-columns: 1fr; gap: 4px; }
  .home-main .home-final-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 349px) {
  .home-main .home-products-grid { grid-template-columns: 1fr; }
  .home-main .home-product-tile figcaption { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .home-process-track i,
  .home-main .home-process-step,
  .home-main .home-process-step::after,
  .home-main .home-impact-loop svg,
  .home-main .home-final-rule {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Homepage editorial refresh — scoped to the homepage content only */
.home-main {
  --home-navy: #0f2238;
  --home-navy-soft: #17324f;
  --home-copper: #b97832;
  --home-copper-dark: #86501f;
  --home-cream: #fbf8f2;
  --home-line: rgba(15, 34, 56, 0.14);
}

.home-main .home-container {
  width: min(calc(100% - clamp(32px, 7vw, 96px)), 1180px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.home-main .home-section {
  padding: clamp(72px, 6.5vw, 88px) 0;
  border-top: 1px solid var(--home-line);
}

.home-main .home-section-heading {
  width: min(100%, 760px);
  margin: 0 auto clamp(32px, 4vw, 44px);
  text-align: center;
}

.home-main .home-section-heading h2,
.home-main .home-about h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-main .home-section-heading p {
  margin: 14px auto 0;
  color: #526173;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  text-align: center;
}

.home-main .section-eyebrow,
.home-main .hero-eyebrow,
.home-main .home-work-label {
  color: var(--home-copper-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-main .hero-carousel,
.home-main .carousel-container {
  min-height: clamp(540px, 76svh, 740px);
}

.home-main .hero-carousel .hero-overlay {
  padding: clamp(72px, 9vw, 112px) clamp(64px, 9vw, 132px) 82px;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.30), rgba(7, 20, 34, 0.70));
}

.home-main .hero-overlay .overlay-inner {
  width: min(100%, 920px);
  max-width: 920px;
  min-width: 0;
  padding: 0;
}

.home-main .hero-eyebrow {
  margin: 0 0 16px;
  color: #f0c48d;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-main .hero-title {
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-main .tagline {
  margin: 0 auto 12px;
  color: #f3d3aa;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.home-main .subline {
  width: min(100%, 730px);
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.58;
  text-wrap: balance;
}

.home-main .overlay-ctas {
  gap: 12px;
}

.home-main .hero-btn,
.home-main .home-button {
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
}

.home-main .hero-btn.primary,
.home-main .home-button {
  background: #c9873e;
  color: #0b1d30;
  border: 1px solid #d7a063;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.18);
}

.home-main .hero-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.home-main .hero-btn:hover,
.home-main .hero-btn:focus-visible,
.home-main .home-button:hover,
.home-main .home-button:focus-visible {
  transform: translateY(-2px);
}

.home-main .hero-btn.primary:hover,
.home-main .hero-btn.primary:focus-visible,
.home-main .home-button:hover,
.home-main .home-button:focus-visible {
  background: #d49a58;
  color: #081a2c;
}

.home-main .hero-btn.secondary:hover,
.home-main .hero-btn.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.home-main .carousel-slide[data-slide] > img,
.home-main .carousel-slide.active[data-slide] > img,
.home-main .carousel-container .carousel-slide[data-slide="4"] > img,
.home-main .carousel-container .carousel-slide.active[data-slide="4"] > img {
  transform: scale(1.02) !important;
}

.home-main .carousel-slide[data-slide="1"] > img { object-position: 50% 52%; }
.home-main .carousel-slide[data-slide="2"] > img { object-position: 50% 50%; }
.home-main .carousel-slide[data-slide="3"] > img { object-position: 50% 48%; }
.home-main .carousel-slide[data-slide="4"] > img { object-position: 50% 50% !important; }
.home-main .carousel-slide[data-slide="5"] > img { object-position: 50% 50%; }

.home-main .carousel-slide.active .hero-title,
.home-main .carousel-slide.active .tagline,
.home-main .carousel-slide.active .subline,
.home-main .carousel-slide.active .overlay-ctas,
.home-main .carousel-slide.active .hero-eyebrow {
  animation-name: homeHeroReveal;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.75, 0.25, 1);
  animation-fill-mode: both;
}

.home-main .carousel-slide.active .hero-eyebrow { animation-delay: 40ms; }
.home-main .carousel-slide.active .hero-title { animation-delay: 100ms; }
.home-main .carousel-slide.active .tagline { animation-delay: 160ms; }
.home-main .carousel-slide.active .subline { animation-delay: 220ms; }
.home-main .carousel-slide.active .overlay-ctas { animation-delay: 280ms; }

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

.home-main .carousel-prev,
.home-main .carousel-next {
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: rgba(9, 26, 44, 0.44);
  border-color: rgba(255, 255, 255, 0.52);
}

.home-main .carousel-prev:hover,
.home-main .carousel-next:hover,
.home-main .carousel-prev:focus-visible,
.home-main .carousel-next:focus-visible {
  background: rgba(9, 26, 44, 0.72);
  transform: translateY(-2px);
}

.home-main .carousel-prev:focus-visible,
.home-main .carousel-next:focus-visible,
.home-main .indicator:focus-visible,
.home-main .hero-btn:focus-visible,
.home-main .home-text-link:focus-visible,
.home-main .home-panel-link:focus-visible,
.home-main .home-button:focus-visible,
.home-main .home-products-grid .product a:focus-visible {
  outline: 3px solid #f3bd7f;
  outline-offset: 3px;
}

.home-main .home-about {
  background: var(--home-cream);
}

.home-main .home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.home-main .home-about-intro,
.home-main .home-about-copy {
  min-width: 0;
}

.home-main .home-about .section-eyebrow {
  margin: 0 0 14px;
  text-align: left;
}

.home-main .home-about h2 {
  text-align: left;
  text-wrap: balance;
}

.home-main .home-about-lead {
  margin: 20px 0 24px;
  color: #455568;
  font-size: 1.08rem;
  line-height: 1.68;
  text-align: left;
}

.home-main .home-about-copy {
  padding-top: 30px;
  border-top: 2px solid var(--home-copper);
}

.home-main .home-about-copy p {
  margin: 0;
  color: #344457;
  font-size: 1rem;
  line-height: 1.78;
  text-align: left;
}

.home-main .home-about-copy p + p {
  margin-top: 20px;
}

.home-main .home-text-link,
.home-main .home-panel-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--home-navy);
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 4px;
}

.home-main .home-text-link:hover,
.home-main .home-text-link:focus-visible,
.home-main .home-panel-link:hover,
.home-main .home-panel-link:focus-visible {
  color: var(--home-copper-dark);
  text-decoration: underline;
}

.home-main .home-highlights {
  background: #ffffff;
}

.home-main .home-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.home-main .home-panel {
  min-width: 0;
  min-height: 235px;
  padding: clamp(26px, 3vw, 36px);
  background: #ffffff;
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--home-navy);
  box-shadow: 0 10px 26px rgba(15, 34, 56, 0.06);
  text-align: left;
}

.home-main .home-panel-number {
  display: block;
  margin-bottom: 36px;
  color: var(--home-copper);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.home-main .home-panel h3 {
  margin: 0 0 12px;
  color: var(--home-navy);
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  line-height: 1.2;
  text-align: left;
}

.home-main .home-panel p {
  margin: 0;
  color: #526173;
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: left;
}

.home-main .home-products {
  padding: clamp(72px, 6.5vw, 88px) 0;
  background: #f3f5f6;
  box-shadow: none;
}

.home-main .home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.home-main .home-products-grid .card.product {
  min-width: 0;
  height: 100%;
  border: 1px solid rgba(15, 34, 56, 0.15);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 34, 56, 0.07);
}

.home-main .home-products-grid .card.product:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 120, 50, 0.58);
  box-shadow: 0 16px 30px rgba(15, 34, 56, 0.11);
}

.home-main .home-products-grid .product-figure {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  margin: 0;
}

.home-main .home-products-grid .product-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: none;
  filter: none;
}

.home-main .home-products-grid .card.product:hover .product-figure img {
  transform: scale(1.02);
  filter: none;
}

.home-main .home-products-grid .product-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 18px;
  color: var(--home-navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
}

.home-main .home-products-grid .card.product:hover .product-figure figcaption {
  color: var(--home-copper-dark);
  transform: none;
}

.home-main .home-products-cta {
  margin-top: 36px;
  text-align: center;
}

.home-main .home-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-main .home-work {
  background: var(--home-navy);
}

.home-main .home-work .home-section-heading h2 {
  color: #ffffff;
}

.home-main .home-work .home-section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.home-main .home-work-panel {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  background: #ffffff;
  border: 0;
  border-top: 3px solid var(--home-copper);
  box-shadow: none;
}

.home-main .home-work-panel .home-panel-number {
  margin-bottom: 18px;
}

.home-main .home-work-label {
  margin-bottom: 10px !important;
  color: var(--home-copper-dark) !important;
}

.home-main .home-work-panel .home-panel-link {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 1024px) {
  .home-main .home-section {
    padding: clamp(56px, 7vw, 68px) 0;
  }

  .home-main .home-products {
    padding: clamp(56px, 7vw, 68px) 0;
  }

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

@media (max-width: 900px) {
  .home-main .home-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-main .home-panel-grid > :last-child {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 8px));
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .home-main .home-about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-main .home-about-intro {
    text-align: center;
  }

  .home-main .home-about .section-eyebrow,
  .home-main .home-about h2,
  .home-main .home-about-lead {
    text-align: center;
  }

  .home-main .home-about-copy {
    padding-top: 24px;
  }
}

@media (max-width: 700px) {
  .home-main .home-panel-grid {
    grid-template-columns: 1fr;
  }

  .home-main .home-panel-grid > :last-child {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-main .home-container {
    width: min(calc(100% - 32px), 1180px);
  }

  .home-main .home-section,
  .home-main .home-products {
    padding: clamp(44px, 12vw, 54px) 0;
  }

  .home-main .hero-carousel,
  .home-main .carousel-container {
    min-height: clamp(520px, 76svh, 640px);
  }

  .home-main .hero-carousel .hero-overlay {
    padding: 64px 54px 74px;
  }

  .home-main .hero-title {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .home-main .tagline {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }

  .home-main .subline {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .home-main .overlay-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .home-main .hero-btn {
    width: 100%;
  }

  .home-main .carousel-nav {
    padding-inline: 8px;
  }

  .home-main .carousel-prev,
  .home-main .carousel-next {
    width: 42px;
    height: 42px;
  }

  .home-main .carousel-counter {
    display: none;
  }

  .home-main .home-panel {
    min-height: 0;
  }

  .home-main .home-panel-number {
    margin-bottom: 24px;
  }

  .home-main .home-work-panel {
    min-height: 260px;
  }
}

@media (max-width: 350px) {
  .home-main .home-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage cinematic editorial system — intentionally scoped below .home-main */
.home-main .home-hero,
.home-main .home-hero .carousel-container {
  min-height: clamp(640px, 82svh, 790px);
  background: #071524;
}

.home-main .home-hero .carousel-slide {
  overflow: hidden;
  transition: opacity 1050ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-main .home-hero .carousel-slide > img {
  transform: none !important;
  scale: 1;
  translate: 0 0;
  filter: saturate(0.86) contrast(1.04) brightness(0.9);
  transition: none;
}

.home-main .home-hero .carousel-slide.active[data-slide="1"] > img {
  animation: homeHeroDriftOne 7s linear both;
}

.home-main .home-hero .carousel-slide.active[data-slide="2"] > img {
  animation: homeHeroDriftTwo 7s linear both;
}

.home-main .home-hero .carousel-slide.active[data-slide="3"] > img {
  animation: homeHeroDriftThree 7s linear both;
}

.home-main .home-hero .carousel-slide[data-slide="1"] > img { object-position: 54% 50%; }
.home-main .home-hero .carousel-slide[data-slide="2"] > img { object-position: 55% 50%; }
.home-main .home-hero .carousel-slide[data-slide="3"] > img { object-position: 55% 52%; }

@keyframes homeHeroDriftOne {
  from { scale: 1; translate: 0 0; }
  to { scale: 1.028; translate: -0.35% -0.2%; }
}

@keyframes homeHeroDriftTwo {
  from { scale: 1; translate: 0 0; }
  to { scale: 1.032; translate: -0.45% 0; }
}

@keyframes homeHeroDriftThree {
  from { scale: 1; translate: 0 0; }
  to { scale: 1.025; translate: -0.25% -0.25%; }
}

.home-main .home-hero .hero-overlay {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: stretch;
  padding: 72px 0 106px;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(3, 15, 27, 0.94) 0%, rgba(3, 15, 27, 0.82) 34%, rgba(3, 15, 27, 0.28) 67%, rgba(3, 15, 27, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 15, 27, 0.14), rgba(4, 15, 27, 0.45));
}

.home-main .home-hero-container {
  width: min(calc(100% - clamp(48px, 8vw, 128px)), 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto;
  padding: 0 !important;
  text-align: left;
}

.home-main .home-hero-container > * {
  width: min(100%, 740px);
  max-width: 740px;
}

.home-main .home-hero .hero-eyebrow,
.home-main .home-hero .hero-title,
.home-main .home-hero .subline {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.home-main .home-hero .hero-eyebrow {
  margin-bottom: 18px;
  color: #d6a160;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}

.home-main .home-hero .hero-title {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 5.15vw, 5rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-main .home-hero .subline {
  width: min(100%, 650px);
  margin-bottom: 28px;
  color: rgba(242, 246, 249, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.home-main .home-hero .overlay-ctas {
  justify-content: flex-start;
  width: min(100%, 740px);
}

.home-main .home-hero .hero-btn {
  min-width: 156px;
  border-radius: 2px;
}

.home-main .hero-text-links {
  gap: 28px;
}

.home-main .hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  color: #f4f6f8;
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 5px;
}

.home-main .hero-text-link span,
.home-main .home-text-link span,
.home-main .home-panel-link span {
  display: inline-block;
  transition: transform 200ms ease;
}

.home-main .hero-text-link:hover,
.home-main .hero-text-link:focus-visible {
  color: #e0ae71;
  text-decoration: underline;
}

.home-main .hero-text-link:hover span,
.home-main .hero-text-link:focus-visible span,
.home-main .home-text-link:hover span,
.home-main .home-text-link:focus-visible span,
.home-main .home-panel-link:hover span,
.home-main .home-panel-link:focus-visible span {
  transform: translateX(4px);
}

.home-main .home-hero .carousel-slide.active .hero-eyebrow,
.home-main .home-hero .carousel-slide.active .hero-title,
.home-main .home-hero .carousel-slide.active .subline,
.home-main .home-hero .carousel-slide.active .overlay-ctas {
  animation: homeHeroCopyIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-main .home-hero .carousel-slide.active .hero-eyebrow { animation-delay: 80ms; }
.home-main .home-hero .carousel-slide.active .hero-title { animation-delay: 170ms; }
.home-main .home-hero .carousel-slide.active .subline { animation-delay: 290ms; }
.home-main .home-hero .carousel-slide.active .overlay-ctas { animation-delay: 400ms; }

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

.home-main .home-hero .carousel-nav {
  top: 50%;
  padding-inline: clamp(14px, 2.4vw, 38px);
}

.home-main .home-hero .carousel-prev,
.home-main .home-hero .carousel-next {
  width: 44px;
  height: 44px;
  color: #f4f6f8;
  background: rgba(4, 18, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: none;
  font-size: 21px;
}

.home-main .home-hero .carousel-prev:hover,
.home-main .home-hero .carousel-next:hover,
.home-main .home-hero .carousel-prev:focus-visible,
.home-main .home-hero .carousel-next:focus-visible {
  color: #e2ad6d;
  background: rgba(4, 18, 31, 0.7);
  border-color: rgba(213, 153, 86, 0.84);
  transform: none;
}

.home-main .home-hero .carousel-prev:hover { translate: -3px 0; }
.home-main .home-hero .carousel-next:hover { translate: 3px 0; }

.home-main .hero-utility {
  position: absolute;
  z-index: 7;
  bottom: 25px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: min(calc(100% - clamp(48px, 8vw, 128px)), 1180px);
  transform: translateX(-50%);
  pointer-events: none;
}

.home-main .hero-progress {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 260px;
  pointer-events: auto;
}

.home-main .hero-progress-count {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.home-main .home-hero .carousel-indicators {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 190px;
  transform: none;
}

.home-main .home-hero .indicator {
  width: 100%;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
}

.home-main .home-hero .indicator::before {
  background: #c88640;
  border-radius: 0;
}

.home-main .hero-scroll-cue {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-main .hero-scroll-cue i {
  position: relative;
  display: block;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.home-main .hero-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #c88640;
  transform: translateX(-100%);
  animation: homeScrollCue 2.8s ease-in-out infinite;
}

@keyframes homeScrollCue {
  0%, 20% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}

/* Minimal container transport silhouette */
.home-main .hero-freight {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 76px;
  left: 48%;
  height: 78px;
  overflow: hidden;
  pointer-events: none;
}

.home-main .hero-freight--subtle { opacity: 0.16; }
.home-main .hero-freight--strong { opacity: 0.25; }
.home-main .hero-freight--faint { opacity: 0.13; }

.home-main .freight-route {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,255,255,.72) 0 2px, transparent 2.5px),
    radial-gradient(circle at 53% 50%, rgba(255,255,255,.6) 0 2px, transparent 2.5px),
    radial-gradient(circle at 84% 50%, rgba(255,255,255,.6) 0 2px, transparent 2.5px),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.46), rgba(255,255,255,.08));
}

.home-main .freight-route span {
  display: block;
  width: 26%;
  height: 1px;
  background: #d39a58;
  transform-origin: left center;
}

.home-main .carousel-slide.active .freight-route span {
  animation: homeFreightRoute 7s linear both;
}

@keyframes homeFreightRoute {
  from { transform: translateX(-110%) scaleX(0.3); }
  to { transform: translateX(380%) scaleX(1); }
}

.home-main .freight-vehicle {
  position: absolute;
  bottom: 12px;
  left: -390px;
  width: 360px;
  height: 54px;
  color: rgba(4, 13, 23, 0.9);
}

.home-main .carousel-slide.active .hero-freight--subtle .freight-vehicle {
  animation: homeFreightMove 24s linear infinite;
}

.home-main .carousel-slide.active .hero-freight--strong .freight-vehicle {
  animation: homeFreightMove 18s linear infinite;
}

.home-main .carousel-slide.active .hero-freight--faint .freight-vehicle {
  animation: homeFreightMove 28s linear infinite;
}

@keyframes homeFreightMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(52vw + 790px), 0, 0); }
}

.home-main .freight-chassis {
  position: absolute;
  right: 38px;
  bottom: 6px;
  left: 5px;
  height: 5px;
  background: currentColor;
}

.home-main .freight-chassis::before,
.home-main .freight-chassis::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(211, 154, 88, 0.72);
  border-radius: 50%;
  background: #07131f;
}

.home-main .freight-chassis::before { left: 38px; }
.home-main .freight-chassis::after { right: 30px; }

.home-main .freight-cab {
  position: absolute;
  right: 0;
  bottom: 11px;
  width: 43px;
  height: 31px;
  border: 1px solid rgba(211, 154, 88, 0.75);
  background: currentColor;
  clip-path: polygon(0 0, 67% 0, 100% 38%, 100% 100%, 0 100%);
}

.home-main .freight-cab::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 8px;
  background: rgba(189, 216, 230, 0.32);
  clip-path: polygon(0 0, 68% 0, 100% 100%, 0 100%);
}

.home-main .freight-container {
  position: absolute;
  bottom: 16px;
  width: 86px;
  height: 37px;
  border: 1px solid rgba(211, 154, 88, 0.56);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 10px),
    currentColor;
  box-shadow: inset 3px 0 rgba(211, 154, 88, 0.22), inset -3px 0 rgba(211, 154, 88, 0.16);
}

.home-main .freight-container-a { left: 6px; }
.home-main .freight-container-b { left: 98px; }
.home-main .freight-container-c { left: 190px; }

/* Asymmetric editorial About spread */
.home-main .home-about {
  background: #faf7f1;
}

.home-main .home-about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: none;
}

.home-main .home-about-intro {
  grid-column: 1 / span 5;
  padding-right: clamp(10px, 2vw, 30px);
}

.home-main .home-about-copy {
  grid-column: 7 / -1;
  padding-top: 0;
  border-top: 0;
}

.home-main .home-about-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 30px;
  background: #b97832;
  transform-origin: left center;
}

.home-main .home-about .section-eyebrow,
.home-main .home-about h2,
.home-main .home-about-lead {
  text-align: left;
}

/* Numbered editorial Why VMG system */
.home-main .home-highlights {
  background: #fefefe;
}

.home-main .home-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.home-main .home-highlight-item {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 12px clamp(26px, 3.5vw, 54px) 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-main .home-highlight-item:first-child { padding-left: 0; }
.home-main .home-highlight-item:last-child { padding-right: 0; }

.home-main .home-highlight-item + .home-highlight-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, #b97832 0 22%, rgba(15, 34, 56, 0.17) 22% 100%);
  transform-origin: top;
}

.home-main .home-highlight-item .home-panel-number {
  margin-bottom: 36px;
  color: rgba(15, 34, 56, 0.22);
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  transition: color 220ms ease;
}

.home-main .home-highlight-item h3,
.home-main .home-work-item h3 {
  margin: 0 0 14px;
  color: var(--home-navy);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
  text-align: left;
  transition: color 200ms ease, transform 200ms ease;
}

.home-main .home-highlight-item p,
.home-main .home-work-item > p:not(.home-work-label) {
  margin: 0;
  color: #526173;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
}

@media (hover: hover) {
  .home-main .home-highlight-item:hover .home-panel-number { color: #b97832; }
  .home-main .home-highlight-item:hover h3 { transform: translateX(2px); }
}

/* Asymmetric industrial product mosaic */
.home-main .home-products {
  background: #eef1f2;
}

.home-main .home-products-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(300px, 31vw, 420px);
  gap: clamp(12px, 1.6vw, 22px);
}

.home-main .home-product-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #102438;
  box-shadow: none;
}

.home-main .home-product-tile--aluminium { grid-column: span 7; }
.home-main .home-product-tile--copper { grid-column: span 5; }
.home-main .home-product-tile--brass { grid-column: span 5; }
.home-main .home-product-tile--zinc { grid-column: span 7; }

.home-main .home-product-tile a,
.home-main .home-product-tile .product-figure {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.home-main .home-product-tile .product-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(3, 15, 27, 0.88));
  pointer-events: none;
}

.home-main .home-product-tile .product-figure::before {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #c78640;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-main .home-product-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transform: scale(1);
  filter: saturate(0.86) contrast(1.04);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.home-main .home-product-tile figcaption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 0;
  padding: clamp(20px, 2.5vw, 32px);
  color: #ffffff;
  background: transparent;
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  transition: color 220ms ease;
}

.home-main .home-product-tile figcaption span {
  transition: transform 220ms ease;
}

@media (hover: hover) {
  .home-main .home-product-tile:hover img { transform: scale(1.02); }
  .home-main .home-product-tile:hover figcaption { color: #e4ae6e; }
  .home-main .home-product-tile:hover figcaption span { transform: translateX(4px); }
  .home-main .home-product-tile:hover .product-figure::before { transform: scaleX(1); }
}

/* Integrated Work With VMG field */
.home-main .home-work {
  background: #0b1d30;
}

.home-main .home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.home-main .home-work-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 310px;
  padding: 16px clamp(28px, 3.8vw, 56px) 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-main .home-work-item:first-child { padding-left: 0; }
.home-main .home-work-item:last-child { padding-right: 0; }

.home-main .home-work-item + .home-work-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, #c78640, rgba(255, 255, 255, 0.16));
  transform-origin: top;
}

.home-main .home-work-item .home-panel-number {
  margin-bottom: 28px;
  color: rgba(216, 167, 108, 0.65);
  font-size: 1rem;
}

.home-main .home-work-item .home-work-label {
  margin: 0 0 12px !important;
  color: #d6a160 !important;
}

.home-main .home-work-item h3 { color: #ffffff; }

.home-main .home-work-item > p:not(.home-work-label) {
  color: rgba(231, 237, 242, 0.72);
}

.home-main .home-work-item .home-panel-link {
  margin-top: auto;
  padding-top: 28px;
  color: #ffffff;
}

.home-main .home-work-item .home-panel-link:hover,
.home-main .home-work-item .home-panel-link:focus-visible {
  color: #e2ad6d;
}

/* One-time, JS-enhanced section reveals */
.home-main.home-motion-ready .home-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-reveal-delay, 0ms),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-reveal-delay, 0ms);
}

.home-main.home-motion-ready .home-reveal--rule {
  opacity: 1;
  transform: scaleX(0);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-reveal-delay, 0ms);
}

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

.home-main.home-motion-ready .home-reveal--rule.is-visible {
  transform: scaleX(1);
}

.home-main.home-motion-ready .home-highlight-item.home-reveal,
.home-main.home-motion-ready .home-work-item.home-reveal {
  transform: translateY(12px);
}

.home-main.home-motion-ready .home-highlight-item.home-reveal.is-visible,
.home-main.home-motion-ready .home-work-item.home-reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .home-main .home-hero .hero-title {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
  }

  .home-main .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(270px, 40vw, 360px);
  }

  .home-main .home-product-tile--aluminium,
  .home-main .home-product-tile--copper,
  .home-main .home-product-tile--brass,
  .home-main .home-product-tile--zinc {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .home-main .home-about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-main .home-about-intro,
  .home-main .home-about-copy {
    grid-column: 1;
    padding-right: 0;
  }

  .home-main .home-about-intro,
  .home-main .home-about .section-eyebrow,
  .home-main .home-about h2,
  .home-main .home-about-lead {
    text-align: left;
  }

  .home-main .home-highlights-grid,
  .home-main .home-work-grid {
    grid-template-columns: 1fr;
  }

  .home-main .home-highlight-item,
  .home-main .home-highlight-item:first-child,
  .home-main .home-highlight-item:last-child {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 0;
    padding: 28px 0;
  }

  .home-main .home-highlight-item + .home-highlight-item::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, #b97832, rgba(15, 34, 56, 0.14));
  }

  .home-main .home-highlight-item .home-panel-number {
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 2.5rem;
  }

  .home-main .home-work-item,
  .home-main .home-work-item:first-child,
  .home-main .home-work-item:last-child {
    min-height: 0;
    padding: 34px 0;
  }

  .home-main .home-work-item + .home-work-item::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, #c78640, rgba(255, 255, 255, 0.13));
  }

  .home-main .home-work-item .home-panel-link {
    margin-top: 24px;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .home-main .home-hero,
  .home-main .home-hero .carousel-container {
    min-height: clamp(620px, 76svh, 680px);
  }

  .home-main .home-hero .hero-overlay {
    align-items: flex-end;
    padding: 130px 0 74px;
    background:
      linear-gradient(180deg, rgba(3, 15, 27, 0.18) 0%, rgba(3, 15, 27, 0.38) 30%, rgba(3, 15, 27, 0.94) 76%, #071524 100%);
  }

  .home-main .home-hero-container {
    width: calc(100% - 40px) !important;
  }

  .home-main .home-hero .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .home-main .home-hero .hero-title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 0.99;
  }

  .home-main .home-hero .subline {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .home-main .home-hero .overlay-ctas {
    width: min(100%, 285px);
    margin-inline: 0;
  }

  .home-main .home-hero .hero-btn {
    min-height: 44px;
  }

  .home-main .hero-text-links {
    flex-direction: row;
    width: 100%;
    gap: 20px;
  }

  .home-main .home-hero .carousel-nav {
    top: 31%;
    padding-inline: 9px;
  }

  .home-main .home-hero .carousel-prev,
  .home-main .home-hero .carousel-next {
    width: 42px;
    height: 42px;
  }

  .home-main .hero-utility {
    bottom: 18px;
    width: calc(100% - 40px);
  }

  .home-main .hero-progress {
    gap: 12px;
    min-width: 0;
    width: 100%;
  }

  .home-main .home-hero .carousel-indicators {
    width: min(60vw, 176px);
  }

  .home-main .hero-scroll-cue { display: none; }

  .home-main .hero-freight {
    top: 19%;
    right: 0;
    bottom: auto;
    left: 43%;
    height: 56px;
    opacity: 0.12;
  }

  .home-main .freight-vehicle {
    bottom: 11px;
    left: -220px;
    width: 205px;
    height: 40px;
    scale: 0.62;
    transform-origin: left bottom;
  }

  .home-main .carousel-slide.active .hero-freight--subtle .freight-vehicle { animation-duration: 30s; }
  .home-main .carousel-slide.active .hero-freight--strong .freight-vehicle { animation-duration: 24s; }
  .home-main .carousel-slide.active .hero-freight--faint .freight-vehicle { animation-duration: 34s; }

  .home-main .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 56vw, 235px);
    gap: 10px;
  }

  .home-main .home-product-tile figcaption {
    padding: 14px 12px;
    font-size: 0.73rem;
    letter-spacing: 0.07em;
  }

  .home-main.home-motion-ready .home-reveal {
    transition-duration: 430ms;
    transform: translateY(10px);
  }
}

@media (max-width: 350px) {
  .home-main .home-products-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .home-hero .carousel-slide > img,
  .home-main .home-hero .carousel-slide.active > img,
  .home-main .freight-vehicle,
  .home-main .freight-route span,
  .home-main .hero-scroll-cue i::after,
  .home-main .home-hero .indicator::before {
    animation: none !important;
    scale: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
  }

  .home-main .hero-freight { display: none; }

  .home-main.home-motion-ready .home-reveal,
  .home-main.home-motion-ready .home-reveal--rule,
  .home-main.home-motion-ready .home-reveal.is-visible,
  .home-main.home-motion-ready .home-reveal--rule.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Final homepage cascade guard: these scoped rules intentionally follow legacy homepage CSS. */
.home-main .home-hero,
.home-main .home-hero .carousel-container { min-height: clamp(620px, 76svh, 720px); max-height: 720px; }
.home-main .home-hero .hero-title { width: min(100%, 720px); font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1.01; }
.home-main .carousel-slide.active .hero-freight--subtle .freight-vehicle { animation-duration: 26s; }
.home-main .carousel-slide.active .hero-freight--strong .freight-vehicle { animation-duration: 20s; }
.home-main .carousel-slide.active .hero-freight--faint .freight-vehicle { animation-duration: 28s; }
.home-main .home-section-heading { margin-inline: 0; text-align: left; }
.home-main .home-section-heading h2,
.home-main .home-section-heading p { text-align: left; }
.home-main .home-about { padding-block: clamp(56px, 6vw, 78px); }
.home-main .home-about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(46px, 7vw, 96px); align-items: center; }
.home-main .home-about-intro { grid-column: auto; padding: 0; text-align: left; }
.home-main .home-about .section-eyebrow,
.home-main .home-about h2,
.home-main .home-about-lead { text-align: left; }
.home-main .home-about-rule { width: 70px; margin: 23px 0; }
.home-main .home-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.home-main .home-product-tile { height: auto; }
.home-main .home-product-tile a,
.home-main .home-product-tile figure { height: auto; }
.home-main .home-product-tile img { height: auto; aspect-ratio: 4 / 3; }
.home-main .home-product-tile figcaption { position: relative; inset: auto; min-height: 52px; padding: 16px 15px; color: var(--home-navy); background: #fff; }
.home-main .home-product-tile figure::after { display: none; }
.home-main.home-motion-ready .home-trade-item.home-reveal::before { transform: scaleY(0); transition: transform 620ms cubic-bezier(.22,1,.36,1) var(--home-reveal-delay, 0ms); }
.home-main.home-motion-ready .home-trade-item.home-reveal.is-visible::before { transform: scaleY(1); }

@media (max-width: 900px) {
  .home-main .home-about-grid { grid-template-columns: 1fr; gap: 42px; }
  .home-main .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
}

@media (max-width: 760px) {
  .home-main .home-about-intro,
  .home-main .home-about .section-eyebrow,
  .home-main .home-about h2,
  .home-main .home-about-lead { text-align: left; }
  .home-main.home-motion-ready .home-trade-item.home-reveal::before { transform: scaleX(0); transform-origin: left; }
  .home-main.home-motion-ready .home-trade-item.home-reveal.is-visible::before { transform: scaleX(1); }
}

@media (max-width: 640px) {
  .home-main .home-hero,
  .home-main .home-hero .carousel-container { min-height: clamp(610px, 80svh, 680px); max-height: none; }
  .home-main .home-hero .hero-title { font-size: clamp(2rem, 8.8vw, 2.75rem); }
  .home-main .carousel-slide.active .hero-freight--subtle .freight-vehicle { animation-duration: 28s; }
  .home-main .carousel-slide.active .hero-freight--strong .freight-vehicle { animation-duration: 22s; }
  .home-main .carousel-slide.active .hero-freight--faint .freight-vehicle { animation-duration: 28s; }
  .home-main .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .home-main .home-product-tile figcaption { min-height: 46px; padding: 13px 10px; }
}

@media (max-width: 350px) {
  .home-main .home-products-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-main.home-motion-ready .home-trade-item.home-reveal::before,
  .home-main.home-motion-ready .home-trade-item.home-reveal.is-visible::before { transform: none !important; transition: none !important; }
}

/* Final premium polish pass — homepage only; follows all legacy homepage rules. */
.home-main {
  --home-paper: #ffffff;
  --home-cool: #f5f7f8;
  background: #ffffff;
}

.home-main .section-eyebrow {
  color: var(--home-copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.home-main .home-trust,
.home-main .home-about,
.home-main .home-process,
.home-main .home-impact {
  background: #ffffff;
}

.home-main .home-about,
.home-main .home-process,
.home-main .home-impact,
.home-main .home-products,
.home-main .home-utilities {
  border-top: 1px solid rgba(15, 34, 56, 0.11);
}

/* Only the three requested title groups are centered. */
.home-main .home-process .home-section-heading,
.home-main .home-products .home-section-heading,
.home-main .home-utilities .home-section-heading {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.home-main .home-process .home-section-heading h2,
.home-main .home-process .home-section-heading p,
.home-main .home-products .home-section-heading h2,
.home-main .home-products .home-section-heading p,
.home-main .home-utilities .home-section-heading h2,
.home-main .home-utilities .home-section-heading p {
  margin-inline: auto;
  text-align: center;
}

/* Compact About: consistent capability widths, baselines, and readable body copy. */
.home-main .home-about {
  padding-block: clamp(56px, 5vw, 64px);
}

.home-main .home-about-grid {
  gap: clamp(48px, 6vw, 82px);
}

.home-main .home-capabilities {
  width: 100%;
}

.home-main .home-capability {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  min-height: 94px;
  padding: 20px 0;
  align-items: start;
}

.home-main .home-capability > span {
  padding-top: 2px;
  font-size: 0.74rem;
}

.home-main .home-capability h3 {
  margin-bottom: 7px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.home-main .home-capability p {
  max-width: 430px;
  font-size: 0.94rem;
  line-height: 1.58;
}

/* Company profile: full navy band with a quieter, centered document motif. */
.home-main .home-profile {
  padding: 0;
  background: var(--home-navy);
}

.home-main .home-profile-inner {
  grid-template-columns: minmax(0, 7.6fr) minmax(160px, 2.4fr);
  min-height: 224px;
  overflow: hidden;
}

.home-main .home-profile-copy {
  padding-block: 38px;
}

.home-main .home-document-motif {
  align-self: center;
  width: 126px;
  min-height: 145px;
  margin: 0 auto;
  padding: 19px 16px;
  border: 1px solid rgba(15, 34, 56, 0.2);
  border-top: 3px solid var(--home-copper);
  transform: rotate(2deg);
  box-shadow: -10px 12px 0 rgba(3, 14, 25, 0.16), 0 10px 24px rgba(3, 14, 25, 0.14);
}

.home-main .home-document-motif::before {
  inset: 9px;
}

.home-main .home-document-motif strong {
  font-size: 1rem;
}

/* Trade Desk contrast and common CTA baseline. */
.home-main .home-trade-desk .home-section-heading h2 {
  color: #ffffff;
}

.home-main .home-trade-desk .home-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.home-main .home-trade-item {
  min-height: 286px;
}

.home-main .home-trade-item h3 {
  color: #ffffff;
}

.home-main .home-trade-item > p:not(.home-trade-label) {
  color: rgba(225, 233, 239, 0.72);
}

/* Process stays horizontal without growing, while labels gain legibility. */
.home-main .home-process {
  padding-block: clamp(56px, 5vw, 68px);
}

.home-main .home-process .home-container {
  max-width: 1120px;
}

.home-main .home-process .home-section-heading {
  margin-bottom: clamp(28px, 3vw, 38px);
}

.home-main .home-process-step p {
  font-size: clamp(0.84rem, 0.92vw, 0.94rem);
  line-height: 1.58;
}

/* Slim industrial catalogue. */
.home-main .home-products {
  padding-block: clamp(54px, 5vw, 60px);
  background: var(--home-cool);
}

.home-main .home-products .home-container {
  max-width: 1020px;
}

.home-main .home-products .home-section-heading {
  margin-bottom: clamp(26px, 3vw, 32px);
}

.home-main .home-products-grid {
  gap: clamp(12px, 1.3vw, 16px);
}

.home-main .home-product-tile {
  border-color: rgba(71, 87, 102, 0.24);
  box-shadow: none;
}

.home-main .home-product-tile img {
  height: auto;
  aspect-ratio: 1.45 / 1;
}

.home-main .home-product-tile figcaption {
  min-height: 42px;
  padding: 11px 13px;
  font-size: 0.7rem;
  line-height: 1.2;
}

.home-main .home-products-cta {
  margin-top: 20px;
}

@media (hover: hover) {
  .home-main .home-product-tile:hover img {
    transform: scale(1.02);
  }
}

/* Compact impact split. */
.home-main .home-impact {
  padding-block: clamp(58px, 5vw, 68px);
}

.home-main .home-impact-grid {
  align-items: center;
}

/* Equal-height, compact utility pair. */
.home-main .home-utilities {
  padding-block: clamp(50px, 5vw, 64px);
  background: var(--home-cool);
}

.home-main .home-utilities .home-container {
  max-width: 1060px;
}

.home-main .home-utilities .home-section-heading {
  margin-bottom: clamp(28px, 3vw, 36px);
}

.home-main .home-utilities-grid {
  align-items: stretch;
}

.home-main .home-utility {
  min-height: 284px;
  padding: clamp(30px, 3.5vw, 42px);
  border: 1px solid rgba(15, 34, 56, 0.14);
  border-top: 2px solid var(--home-copper);
}

.home-main .home-utility--resources {
  border-top-color: var(--home-navy);
}

.home-main .home-utility h3 {
  min-height: 2.4em;
  margin-bottom: 12px;
}

.home-main .home-utility p {
  margin-bottom: 18px;
}

/* Final CTA remains compact and aligned. */
.home-main .home-final-cta {
  padding-block: clamp(56px, 5vw, 68px);
}

.home-main .home-final-actions {
  align-self: center;
}

@media (max-width: 900px) {
  .home-main .home-products-grid {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .home-main .home-product-tile img {
    height: 175px;
    aspect-ratio: auto;
  }

  .home-main .home-profile-inner {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
}

@media (max-width: 760px) {
  .home-main .home-profile-inner {
    grid-template-columns: 1fr;
  }

  .home-main .home-document-motif {
    width: 118px;
    min-height: 138px;
    margin: 0 30px 24px auto;
  }

  .home-main .home-utility {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-main .home-about {
    padding-block: 52px;
  }

  .home-main .home-capability {
    min-height: 0;
  }

  .home-main .home-product-tile img {
    height: auto;
    aspect-ratio: 1.45 / 1;
  }

  .home-main .home-product-tile figcaption {
    min-height: 40px;
    padding: 10px 9px;
    font-size: 0.65rem;
  }

  .home-main .home-final-actions {
    align-items: stretch;
    width: min(100%, 320px);
  }
}

/* Render-measured compactness corrections; authoritative at end of cascade. */
.home-main .home-section-heading .section-eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  line-height: 1.4;
}

.home-main .home-process .home-section-heading h2,
.home-main .home-products .home-section-heading h2,
.home-main .home-utilities .home-section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
}

.home-main .home-process .home-section-heading > p:last-child,
.home-main .home-products .home-section-heading > p:last-child {
  margin-top: 14px;
  line-height: 1.62;
}

.home-main .home-products {
  padding-block: clamp(54px, 4.5vw, 58px);
}

.home-main .home-profile-copy {
  padding-block: 24px;
}

.home-main .home-profile-copy .section-eyebrow {
  margin-bottom: 10px;
}

.home-main .home-profile h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.home-main .home-profile-copy > p:not(.section-eyebrow) {
  margin: 10px 0 16px;
  line-height: 1.5;
}

.home-main .home-products .home-section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .home-main .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-main .home-trust-item:nth-child(3) {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-main .home-trust-item:nth-child(4) {
    border-top: 1px solid var(--home-line);
  }
}

.home-main .home-capability h3,
.home-main .home-capability p {
  text-align: left;
}

.home-main .home-profile .home-text-link--light,
.home-main .home-final-cta .home-text-link--light {
  color: #ffffff;
}

.home-main .home-profile .home-text-link--light:hover,
.home-main .home-profile .home-text-link--light:focus-visible,
.home-main .home-final-cta .home-text-link--light:hover,
.home-main .home-final-cta .home-text-link--light:focus-visible {
  color: #e3b477;
}

/* Product-category CTA alignment, shared by the homepage and Products page. */
.product-card-cta {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid rgba(15, 34, 56, 0.12);
  color: #9a6100;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.products-grid .card.product > a,
.home-main .home-product-tile > a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.products-grid .card.product > a .product-figure {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
}

.products-grid .card.product > a .product-figure figcaption {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
}

.home-main .home-product-tile > a .product-card-cta {
  color: var(--home-copper);
  background: #ffffff;
}

.products-grid .card.product:hover .product-card-cta,
.products-grid .card.product > a:focus-visible .product-card-cta,
.home-main .home-product-tile:hover .product-card-cta,
.home-main .home-product-tile > a:focus-visible .product-card-cta {
  color: #754609;
}

@media (max-width: 640px) {
  .home-main .home-products-grid {
    grid-template-columns: 1fr;
  }

  .product-card-cta {
    min-height: 46px;
  }
}
