/* Olevion — black & gold luxury industrial */
:root {
  --gold: #c9a227;
  --gold-dark: #a8841f;
  --gold-light: #e5c76b;
  --gold-muted: #8a7020;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --gold-glow: rgba(201, 162, 39, 0.24);
  --gold-line: rgba(201, 162, 39, 0.2);
  --bg: #000000;
  --bg-raised: #000000;
  --bg-surface: #000000;
  --bg-elevated: #000000;
  --bg-card: #000000;
  --cream: #000000;
  --white: #000000;
  --charcoal: #f0ebe3;
  --text: #d6d0c6;
  --text-muted: #9a9590;
  --border: var(--gold-line);
  --on-gold: #000000;
  --shadow-gold: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 39, 0.06);
  --font: "Rubik", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --container: min(1140px, calc(100% - 2.5rem));
  --radius: 12px;
  --radius-sm: 8px;
  --hero-radius: 6px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.6);
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-section: 4.5rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.7;
  --content-narrow: 28rem;
  --anim-hero: 1.1s;
  --anim-reveal: 0.7s;
  --anim-stagger-step: 0.1s;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  background: var(--bg);
}

body.nav-locked {
  overflow: hidden;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(201, 162, 39, 0.07), transparent 58%),
    radial-gradient(ellipse 70% 40% at 100% 50%, rgba(201, 162, 39, 0.03), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold-glow);
  color: var(--charcoal);
}

main {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

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

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(201, 162, 39, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 34px;
  width: 148px;
  max-width: 148px;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.logo-img--sm {
  height: 28px;
  width: 122px;
  max-width: 122px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--charcoal);
  font-weight: 600;
}

.nav-links a:focus-visible,
.logo:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible,
.lang-option:focus-visible,
.menu-toggle:focus-visible,
.contact-direct-email:focus-visible,
.footer-email:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Language */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  background: #000000;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  color: var(--charcoal);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.lang-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  color: var(--charcoal);
}

.lang-globe {
  color: var(--gold);
  flex-shrink: 0;
}

.lang-current {
  color: inherit;
}

.lang-chevron {
  color: var(--gold-dark);
  transition: transform 0.25s var(--ease);
}

.lang-dropdown.open .lang-chevron {
  color: var(--gold-light);
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  background: #000000;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(201, 162, 39, 0.08);
  padding: 0.4rem;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.lang-menu[hidden] {
  display: none;
}

.lang-dropdown.open .lang-menu:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  color: var(--gold-light);
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}

.lang-option:hover {
  background: rgba(201, 162, 39, 0.14);
  color: var(--charcoal);
  padding-left: 0.9rem;
}

.lang-option.active {
  background: rgba(201, 162, 39, 0.2);
  color: var(--charcoal);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
}

/* ─── Buttons ─── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.btn-group:first-child {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--on-gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #edd98a 0%, var(--gold-light) 50%, var(--gold) 100%);
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-soft);
}

.btn-header {
  padding: 0.6rem 1.1rem;
  font-size: 0.7rem;
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2rem;
}

.btn-full {
  width: 100%;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: min(68vh, 580px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-xl);
  background: var(--bg);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto;
  gap: 0 0;
  row-gap: 1.1rem;
  align-items: center;
}

.hero-stack-head {
  grid-column: 1;
  grid-row: 1;
}

.hero-stack-body {
  grid-column: 1;
  grid-row: 2;
}

.hero-right {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.hero-stack-head,
.hero-stack-body {
  max-width: var(--content-narrow);
}

.hero-stack-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-right {
  position: relative;
  height: min(52vh, 480px);
  min-height: 300px;
  margin-left: clamp(-1rem, -2vw, 0);
  overflow: hidden;
  border: none;
  box-shadow: none;
  border-radius: 0 var(--hero-radius) var(--hero-radius) 0;
  background: var(--bg);
}

.hero-right::after {
  display: none;
}

.hero-right-media {
  position: absolute;
  inset: 0;
}

.hero-right-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 16%,
    rgba(0, 0, 0, 0.72) 26%,
    #000 38%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 16%,
    rgba(0, 0, 0, 0.72) 26%,
    #000 38%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-right.hero-reveal {
  opacity: 1;
}

.js-motion.motion-armed:not(.hero-motion-done) .hero-right.hero-reveal {
  opacity: 0;
  -webkit-animation: hero-image-in 1.1s var(--ease) 0.45s forwards;
  animation: hero-image-in 1.1s var(--ease) 0.45s forwards;
}

@keyframes hero-image-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-right-fade {
  display: none;
}

@media (min-width: 1025px) {
  .hero-stack-head,
  .hero-stack-body {
    position: relative;
    z-index: 1;
    padding-right: clamp(1rem, 2vw, 1.75rem);
  }

  .hero-right {
    z-index: 0;
  }
}

.eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
  max-width: 26rem;
}

.hero-actions {
  margin-top: var(--space-md);
}

/* ─── Sections ─── */
.section {
  padding: var(--space-section) 0;
}

.section--compact {
  padding: var(--space-xl) 0;
}

.section-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.section-title-lg {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--charcoal);
  letter-spacing: -0.02em;
  max-width: 36rem;
}

.section-lead {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 32rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-lg);
}

.section-head .section-title,
.section-head .section-title-lg {
  margin-top: 0;
}

.section-head.center {
  text-align: center;
  align-items: center;
}

.section-head.center .section-title-lg,
.section-head.center .section-lead {
  margin-inline: auto;
}

.section-head--left {
  text-align: left;
  align-items: flex-start;
  max-width: 40rem;
}

.section-head--left .section-title-lg {
  max-width: none;
}

.section-head--left .section-desc {
  max-width: none;
}

.section-desc {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-sm);
  font-size: var(--text-base);
}

.section-desc.center {
  max-width: 34rem;
  margin-inline: auto;
}

.section-intro .section-head {
  margin-bottom: var(--space-md);
}

.section-intro .section-lead {
  margin-bottom: 0;
}

/* ─── Stats (typographic band) ─── */
.stats {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--bg);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 2.25rem 2rem;
  text-align: left;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-number {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  max-width: 14rem;
  line-height: 1.45;
}

/* ─── Features (Why) ─── */
.features {
  background: var(--bg);
}

.features .section-head {
  margin-bottom: var(--space-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease), transform 0.35s var(--ease);
}

.feature-card:last-child {
  border-right: none;
}

.feature-card:hover {
  background: var(--gold-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Products ─── */
.products {
  background: var(--bg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.08);
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  min-width: 0;
}

.products-intro {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.products-intro .btn-group {
  margin-top: var(--space-lg);
}

.products-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  padding-left: 0.15rem;
}

.products-scroll-icon {
  flex-shrink: 0;
  color: var(--gold);
  animation: nudge-right 2s var(--ease) infinite;
}

@keyframes nudge-right {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}

.products-track-wrap {
  position: relative;
  min-width: 0;
}

.products-track-wrap::before,
.products-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.75rem;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.products-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
  opacity: var(--fade-left, 0);
}

.products-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
  opacity: var(--fade-right, 1);
}

.products-scroller {
  min-width: 0;
  overflow: hidden;
  width: 100%;
  opacity: 1;
  transform: none;
}

.products-track-wrap,
.products-track {
  opacity: 1;
  transform: none;
}

.js-motion.motion-armed .products-track.reveal:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}

.js-motion .products-track.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.products-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
  -webkit-overflow-scrolling: touch;
}

.products-track::-webkit-scrollbar {
  height: 6px;
}

.products-track::-webkit-scrollbar-thumb {
  background: var(--gold-light);
  border-radius: 3px;
}

.product-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: var(--bg-card);
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 162, 39, 0.22);
}

.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.product-abbr {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  display: block;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── About split ─── */
.about-split {
  background: var(--bg);
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(to left, var(--bg), transparent);
  pointer-events: none;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}

.about-copy .section-head {
  margin-bottom: var(--space-md);
}

.about-copy .btn-group {
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

.about-highlights {
  list-style: none;
  margin-top: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-highlights li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
}

.about-highlights strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.about-highlights span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Process ─── */
.process {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
}

.process-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201, 162, 39, 0.28);
}

.step-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Mid-page flow (industries → compliance → about) ─── */
.section--flow {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section--flow + .section--flow {
  padding-top: 3rem;
}

/* ─── Lower page sections (contact) ─── */
.section--lower {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section--lower + .section--lower {
  padding-top: 3.5rem;
}

.about-split.section--flow {
  padding-bottom: 3.5rem;
}

/* ─── Industries (numbered roster) ─── */
.industries {
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.08);
}

.industries .section-head {
  margin-bottom: 2rem;
}

.industries-roster {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.industry-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.industry-row:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.industry-index {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  line-height: 1;
}

.industry-row h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--charcoal);
}

/* ─── Certifications (split panel) ─── */
.certifications {
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.08);
}

.certifications .section-head {
  margin-bottom: 2rem;
}

.certs-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  border: 1px solid var(--border);
}

.certs-spotlight {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.06) 0%, transparent 55%);
}

.certs-spotlight-mark {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 1rem;
}

.certs-spotlight h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
  line-height: var(--leading-tight);
}

.certs-spotlight p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 22rem;
}

.certs-details {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.certs-detail {
  flex: 1;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.certs-detail:last-child {
  border-bottom: none;
}

.certs-detail h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
  line-height: var(--leading-tight);
}

.certs-detail p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
  max-width: 28rem;
}

.certs-footnote {
  margin-top: 1.75rem;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 40rem;
  padding-left: 0.15rem;
  border-left: 2px solid var(--gold-dark);
  padding-inline-start: 1rem;
}

/* Lower-page reveal polish */
.js-motion.motion-armed .certs-panel.reveal:not(.visible) {
  transform: translate3d(0, 18px, 0);
}

.js-motion .certs-panel.reveal.visible {
  border-color: rgba(201, 162, 39, 0.28);
  transition:
    opacity var(--anim-reveal) var(--ease),
    transform var(--anim-reveal) var(--ease),
    border-color 0.6s var(--ease);
}

.industry-row {
  transition: background 0.3s var(--ease);
}

.reveal-stagger.visible > .industry-row:hover {
  background: rgba(201, 162, 39, 0.04);
}

/* ─── Contact ─── */
.contact {
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.08);
  padding-bottom: 5.5rem;
}

.contact .section-head {
  margin-bottom: 2.25rem;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  padding: var(--space-xl);
  max-width: 920px;
  margin-inline: auto;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--space-xl);
  align-items: start;
}

.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-points li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
}

.contact-point-icon svg {
  width: 20px;
  height: 20px;
}

.contact-points strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.contact-points span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

.contact-direct {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.contact-direct-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-direct-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: color 0.2s;
}

.contact-direct-email:hover {
  color: var(--gold);
}

.contact-form {
  position: relative;
}

.contact-form-wrap .form-group input {
  background: var(--bg-raised);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-actions {
  margin-top: var(--space-xs);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group:last-of-type {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-group input.is-invalid {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-error-banner {
  font-size: var(--text-sm);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ─── Footer ─── */
.footer {
  background: var(--bg);
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.footer-email {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-dark);
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--gold);
}

/* ─── Motion ─── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-drift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.06) translateX(-1.5%); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.section-tag {
  position: relative;
}

.section-tag::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s var(--ease);
}

.section-head.center .section-tag::after {
  margin-inline: auto;
  transform-origin: center;
}

.section-head.visible .section-tag::after,
.reveal.visible .section-tag::after {
  transform: scaleX(1);
}

.hero-in {
  opacity: 1;
}

.js-motion.motion-armed:not(.hero-motion-done) .hero-in {
  opacity: 0;
  -webkit-animation: fade-up var(--anim-hero) var(--ease) forwards;
  animation: fade-up var(--anim-hero) var(--ease) forwards;
}

.hero-stack-head .hero-in:nth-child(1) { animation-delay: 0.1s; }
.hero-stack-head .hero-in:nth-child(2) { animation-delay: 0.28s; }
.hero-stack-body .hero-in:nth-child(1) { animation-delay: 0.46s; }
.hero-stack-body .hero-in:nth-child(2) { animation-delay: 0.64s; }

/*
 * Reveal rules:
 * - Only parent .reveal-stagger gets .visible from JS (children follow via CSS)
 * - Standalone .reveal elements get .visible directly
 * - Opacity + slight Y only (no blur/scale — prevents scroll seam artifacts)
 */
/* Visible by default — hidden only after JS arms motion (prevents blank page on script failure) */
.js-motion .reveal {
  opacity: 1;
  transform: none;
}

.js-motion.motion-armed .reveal:not(.visible) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  -webkit-transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--anim-reveal) var(--ease),
    transform var(--anim-reveal) var(--ease);
  will-change: opacity, transform;
}

.js-motion.motion-armed .reveal-stagger > .reveal:not(.visible) {
  transform: translate3d(0, 20px, 0);
  -webkit-transform: translate3d(0, 20px, 0);
}

html.hero-motion-done .hero-in,
html.hero-motion-done .hero-right.hero-reveal {
  opacity: 1;
  -webkit-animation: none;
  animation: none;
}

.js-motion .reveal.visible,
.js-motion .reveal-stagger.visible > .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal-stagger.visible > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > .reveal:nth-child(2) { transition-delay: calc(var(--anim-stagger-step) * 1); }
.reveal-stagger.visible > .reveal:nth-child(3) { transition-delay: calc(var(--anim-stagger-step) * 2); }
.reveal-stagger.visible > .reveal:nth-child(4) { transition-delay: calc(var(--anim-stagger-step) * 3); }
.reveal-stagger.visible > .reveal:nth-child(5) { transition-delay: calc(var(--anim-stagger-step) * 4); }
.reveal-stagger.visible > .reveal:nth-child(6) { transition-delay: calc(var(--anim-stagger-step) * 5); }

.stat-number.counting {
  display: inline-block;
  min-width: 3ch;
}

.form-success.visible .success-icon {
  animation: scale-in 0.85s var(--ease);
}

/* Skip link & back to top */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--gold-light);
  box-shadow: var(--shadow-hover);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.2s,
    color 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
}

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

.header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

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

.menu-toggle span {
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .hero-right.hero-reveal, .reveal, .btn, .feature-card, .product-card, .process-card,
  .products-scroll-icon {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-stagger > .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .back-to-top {
    transition: none;
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-intro {
    position: static;
  }

  .certs-panel {
    grid-template-columns: 1fr;
  }

  .certs-spotlight {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .about-split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-roster {
    grid-template-columns: 1fr;
  }

  .industry-row:nth-child(odd) {
    border-right: none;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 1.25rem;
  }

  .hero-stack-head,
  .hero-stack-body,
  .hero-right {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }

  .hero-right {
    height: auto;
    min-height: 0;
    aspect-ratio: 2.2 / 1;
    max-height: 240px;
    margin-left: 0;
    border-radius: var(--radius);
    width: 100%;
  }

  .hero-right-img {
    object-position: 68% center;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.75) 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.75) 78%,
      transparent 100%
    );
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(1140px, calc(100% - 1.5rem));
    --header-h: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-header {
    display: none;
  }

  .nav {
    gap: 0.5rem;
  }

  .logo-img {
    height: 30px;
    width: 130px;
    max-width: 130px;
  }

  .header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    left: 0;
    right: 0;
    transform: none;
    background: var(--bg);
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .header.menu-open .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .header.menu-open .nav-links li:last-child {
    border-bottom: none;
  }

  .header.menu-open .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.8rem;
  }

  .header.menu-open .nav-links a::after {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .section--flow {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section--flow + .section--flow {
    padding-top: 2.25rem;
  }

  .section--lower {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section--lower + .section--lower {
    padding-top: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: var(--space-lg);
  }

  .footer-minimal {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    order: 3;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2.25rem;
  }

  .hero-grid {
    row-gap: 1rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6.5vw, 1.85rem);
    line-height: 1.22;
  }

  .hero-sub {
    max-width: none;
    font-size: 0.9rem;
  }

  .hero-right {
    aspect-ratio: 16 / 9;
    max-height: min(52vw, 210px);
    border-radius: var(--radius-sm);
  }

  .hero-stack-body {
    gap: 1rem;
  }

  .hero-actions.btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions.btn-group .btn {
    width: 100%;
    flex: none;
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section-head.center {
    text-align: left;
  }

  .section-title-lg {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .features-grid {
    border-radius: var(--radius-sm);
  }

  .feature-card {
    padding: 1.35rem 1.15rem;
    text-align: left;
  }

  .feature-icon {
    margin-left: 0;
    margin-right: auto;
  }

  .products-intro {
    margin-bottom: 0.5rem;
  }

  .products-intro .btn-group {
    flex-direction: column;
  }

  .products-intro .btn-group .btn {
    width: 100%;
  }

  .product-card {
    min-width: 240px;
  }

  .industry-row {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    padding: 1.15rem 1rem;
    gap: 0.85rem;
  }

  .certs-spotlight,
  .certs-detail {
    padding: 1.35rem 1.15rem;
  }

  .stat-item {
    padding: 1.35rem 1.15rem;
  }

  .about-split-layout {
    gap: 1.75rem;
  }

  .contact-card {
    padding: 1.15rem;
  }

  .contact-card-grid {
    gap: 1.25rem;
  }

  .lang-menu {
    max-height: min(50vh, 280px);
    overflow-y: auto;
  }

  .stats {
    padding: var(--space-lg) 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }
}
