/* ============================================================================
   SCHOTS MACHINERY, Design System
   "Heavy Iron, Refined."  Brand palette taken directly from the live site:
   gold #f0c505 / dark gold #d0a303  ·  slate #2c353d / near-black #0a131b
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand */
  --gold: #f0c505;
  --gold-deep: #d0a303;
  --gold-soft: #ffe46a;
  --slate: #2c353d;
  --slate-2: #3d464e;
  --ink: #0a131b;
  --ink-2: #121c25;

  /* Neutrals */
  --white: #ffffff;
  --paper: #fcfcfc;
  --mist: #f3f4f6;
  --line: #e4e7ea;
  --grey-300: #cccccc;
  --grey-400: #aab1b8;
  --grey-500: #7c858d;
  --grey-600: #525a61;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--paper);
  --text: #20272d;
  --text-soft: #5b646c;
  --heading: var(--slate);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing / rhythm */
  --container: 1240px;
  --container-wide: 1440px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 24, 32, .06);
  --shadow: 0 18px 40px -18px rgba(16, 24, 32, .28);
  --shadow-lg: 0 40px 80px -30px rgba(16, 24, 32, .45);
  --shadow-gold: 0 18px 40px -16px rgba(240, 197, 5, .55);

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur: .6s;

  --header-h: 88px;
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

/* ----------  Typography  ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.03em;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  text-transform: uppercase;
}
h2.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
p { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); line-height: 1.65; }
strong { color: var(--heading); font-weight: 600; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 700; font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--slate);
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; background: var(--gold); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.center { justify-content: center; }

/* ----------  Layout  ---------- */
.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }
.container.wide { width: min(100% - 2.6rem, var(--container-wide)); }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-dark { background: var(--slate); color: #d8dde1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-ink { background: var(--ink); color: #c7ced4; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-alt { background: var(--bg-alt); }

.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split > * { min-width: 0; } /* wide children (marquees, svgs) must not blow up the grid */
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

/* ----------  Hazard stripe motif  ---------- */
.hazard {
  height: 10px; width: 100%;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 18px, var(--ink) 18px 36px);
}
.hazard.thin { height: 6px; }

/* ----------  Buttons  ---------- */
.btn {
  --bh: var(--gold);
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.02em 1.7em;
  font-family: var(--font-display);
  font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px;
  background: var(--gold); color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform .4s var(--ease);
}
.btn:hover { color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn:hover::after { transform: translateY(0); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn-outline {
  background: transparent; color: var(--heading);
  box-shadow: inset 0 0 0 2px var(--slate);
}
.btn-outline::after { background: var(--slate); }
.btn-outline:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--slate); }

.btn-ghost-light {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.btn-ghost-light::after { background: var(--gold); }
.btn-ghost-light:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }

.btn-sm { padding: .72em 1.2em; font-size: .8rem; }
.btn-lg { padding: 1.15em 2.1em; font-size: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: .85rem; letter-spacing: .06em; color: var(--heading);
  padding-bottom: 3px; background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 3px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s var(--ease);
}
.text-link .ico { transition: transform .35s var(--ease); }
.text-link:hover { background-size: 100% 3px; }
.text-link:hover .ico { transform: translateX(5px); }
.text-link.on-dark { color: #fff; }

/* ============================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(252,252,252,.0); backdrop-filter: blur(0px);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease);
}
/* Proposal: "het logo in het goud op een donkere balk". The sticky bar is
   dark steel with the gold badge and light nav on every page. */
.site-header.scrolled { height: 70px; box-shadow: 0 10px 30px -18px rgba(10,19,27,.6); }
.site-header.scrolled::before { background: rgba(10,19,27,.92); }
.site-header.scrolled .nav-link { color: #e2e6e9; }
.site-header.scrolled .nav-link.active { color: var(--gold); }
.site-header.scrolled .brand-word b { color: #fff; }
.site-header.scrolled .lang-switch { color: #cfd4d8; }
.header-inner { width: min(100% - 2.6rem, var(--container-wide)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b {
  font-family: var(--font-display); font-weight: 900; font-size: 1.32rem;
  letter-spacing: -.01em; color: var(--slate); text-transform: uppercase;
}
.brand-word span {
  font-family: var(--font-display); font-weight: 700; font-size: .62rem;
  letter-spacing: .42em; color: var(--gold-deep); text-transform: uppercase; padding-left: 2px;
}
.site-header.on-dark:not(.scrolled) .brand-word b { color: #fff; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; padding: .6rem .95rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--slate);
  transition: color .25s ease;
}
.site-header.on-dark:not(.scrolled) .nav-link { color: #e6e9ec; }
.nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .35rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-deep); }
.site-header.on-dark:not(.scrolled) .nav-link.active { color: var(--gold); }

/* Dropdown (dark, per the proposal's "steel + gold" language). The ::before
   is an invisible hover bridge over the gap between link and panel, so the
   menu no longer disappears while the cursor travels down to it. */
.has-sub { position: relative; }
.has-sub > .nav-link { display: inline-flex; align-items: center; gap: .35em; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .6rem; min-width: 240px; opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s;
  border: 1px solid rgba(255, 255, 255, .09);
}
.sub-menu::before { content: ""; position: absolute; top: -18px; left: -14px; right: -14px; height: 18px; }
.sub-menu::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--gold); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.sub-menu a {
  display: flex; align-items: center; gap: .6rem; padding: .66rem .85rem; border-radius: 9px;
  font-size: .92rem; font-weight: 500; color: #d8dde1; transition: background .2s, color .2s, padding-left .2s;
}
.sub-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--gold); padding-left: 1.05rem; }
.sub-menu a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .05em;
  color: var(--grey-600); }
.lang-switch a { padding: .2rem .35rem; border-radius: 5px; }
.lang-switch a.active { color: var(--ink); }
.site-header.on-dark:not(.scrolled) .lang-switch { color: #cfd4d8; }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--slate); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer: same dark-steel-and-gold language as the desktop dropdown */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  padding: calc(var(--header-h) + 1.2rem) 1.6rem 2.5rem;
  transform: translateX(100%); transition: transform .5s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-nav::before { content: ""; position: absolute; top: var(--header-h); left: 1.6rem; right: 1.6rem;
  height: 3px; border-radius: 3px; background: var(--gold); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav > a { color: #fff; font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; font-size: 1.3rem; padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  transition: color .25s, padding-left .25s; }
.mobile-nav > a:hover { color: var(--gold); padding-left: .35rem; }
.mobile-nav .m-sub { padding: .3rem 0 .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .m-sub a { display: flex; justify-content: flex-start; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 500; text-transform: none; font-size: .98rem;
  color: #d8dde1; padding: .45rem 0 .45rem .35rem; border: none; transition: color .2s, padding-left .2s; }
.mobile-nav .m-sub a::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; }
.mobile-nav .m-sub a:hover { color: var(--gold); padding-left: .6rem; }
.mobile-nav .m-foot { margin-top: auto; padding-top: 2rem; color: #aeb6bd; }
.mobile-nav .m-foot a { font-family: var(--font-body); font-weight: 500; text-transform: none;
  font-size: 1rem; border: none; padding: .3rem 0; justify-content: flex-start; gap: .6rem; }

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden; padding-top: var(--header-h);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4;
  transform: scale(1.12); will-change: transform; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(240,197,5,.16), transparent 55%),
    linear-gradient(180deg, rgba(10,19,27,.55) 0%, rgba(10,19,27,.78) 55%, var(--ink) 100%);
}
.hero-grid-lines { position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 80%); }
.hero-inner { position: relative; z-index: 3; width: min(100% - 2.6rem, var(--container-wide)); margin-inline: auto;
  padding: 4rem 0 6rem; }
/* centered hero: title, subtitle, actions and the numbers row */
.hero-copy { text-align: center; max-width: 1200px; margin-inline: auto; }
.hero-copy .eyebrow { justify-content: center; }
.hero-copy .hero-sub { margin-inline: auto; }
.hero-copy .hero-actions { justify-content: center; }
.hero-copy .hero-stats { justify-content: center; }
.hero-copy .hero-stat { text-align: center; }
.hero .scroll-cue { display: none; }
@media (min-height: 760px) { .hero .scroll-cue { display: flex; } }

/* ----------  Promise panel (replaces the old gold stats section) ---------- */
.promise-panel { position: relative; overflow: hidden; background: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4.5rem); }
.promise-panel::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(90% 90% at 70% 30%, #000, transparent 78%); }
.promise-grid { position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.p-stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.6rem 1.1rem 1.4rem; text-align: center;
  transition: transform .35s var(--ease), border-color .35s; }
.p-stat:hover { transform: translateY(-4px); border-color: rgba(240, 197, 5, .55); }
.p-stat b { display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 3.2vw, 2.8rem); color: var(--gold); line-height: 1; }
.p-stat > span { display: block; margin-top: .6rem; font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9aa3aa; }
.p-stat.gold { background: var(--gold); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.p-stat.gold b { color: var(--ink); }
.p-stat.gold > span { color: rgba(10, 19, 27, .72); }
@media (max-width: 420px) { .promise-stats { grid-template-columns: 1fr; } }
.hero-eyebrow { color: var(--gold); margin-bottom: 1.4rem; }
.hero h1 { color: #fff; max-width: none; }
/* two clean lines: "Heavy duty machinery," / "Delivered worldwide." */
.hero h1.display { font-size: clamp(2.5rem, 5.9vw, 4.9rem); }
.hero h1 .stroke { -webkit-text-stroke: 2px var(--gold); color: transparent;
  paint-order: stroke fill; }
.hero h1 .gold { color: var(--gold); }
.hero-sub { max-width: 66ch; margin-top: 1.7rem; color: #c4ccd2; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem clamp(1.5rem,4vw,3.5rem); margin-top: 3.4rem;
  padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem,3.4vw,3rem);
  color: #fff; line-height: 1; display: block; }
.hero-stat b .u { color: var(--gold); }
.hero-stat b span { font-size: inherit; letter-spacing: inherit; margin: 0; display: inline; }
/* child selector: the counter spans inside <b> must keep the big display size */
.hero-stat > span { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #9aa3aa; margin-top: .5rem; display: block; }

/* word reveal (source pages only: baked pages paint the headline with the
   HTML, so the LCP text never waits for an animation) */
.reveal-words { display: inline-block; }
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .word > span { display: inline-block; }
html:not([data-baked]) .reveal-words .word > span { transform: translateY(105%);
  animation: wordUp .9s var(--ease) forwards; }
@keyframes wordUp { to { transform: translateY(0); } }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: .6rem; color: #97a0a7;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue .bar { width: 2px; height: 46px; background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { top: -50%; } 100% { top: 100%; } }

/* ============================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; display: flex; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: clamp(2rem,5vw,4.5rem); align-items: center;
  padding-right: clamp(2rem,5vw,4.5rem); animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-item { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: var(--slate); opacity: .85;
  display: inline-flex; align-items: center; gap: clamp(2rem,5vw,4.5rem); white-space: nowrap; }
.marquee-item::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.section-dark .marquee-item, .section-ink .marquee-item { color: #fff; opacity: .9; }

/* ============================================================================
   CARDS, machines
   ========================================================================== */
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2.2vw, 1.9rem); }
.machine-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.machine-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.machine-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.machine-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.machine-card:hover .machine-media img { transform: scale(1.08); }
.machine-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,19,27,.5)); opacity: 0; transition: opacity .4s; }
.machine-card:hover .machine-media::after { opacity: 1; }
.machine-badges { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2; }
.badge {
  font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .34em .7em; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--slate);
}
.badge.gold { background: var(--gold); color: var(--ink); }
.badge.dark { background: var(--ink); color: #fff; }
.badge.year { background: rgba(10,19,27,.78); color: #fff; }
.machine-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.machine-brand { font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.machine-name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; line-height: 1.12;
  color: var(--slate); letter-spacing: -.01em; }
.machine-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .15rem;
  font-size: .82rem; color: var(--grey-600); }
.machine-meta span { display: inline-flex; align-items: center; gap: .35em; }
.machine-foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); }
.machine-foot .price { font-family: var(--font-display); font-weight: 800; color: var(--slate); font-size: .95rem; }
.machine-foot .go { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--gold-deep); }
.machine-card:hover .machine-foot .go .ico { transform: translateX(4px); }
.machine-foot .go .ico { transition: transform .3s; }
.machine-card .stretch { position: absolute; inset: 0; z-index: 1; }

/* ============================================================================
   FEATURE / VALUE cards
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.feature {
  position: relative; padding: 2.1rem 1.9rem; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.feature:hover::before { transform: scaleY(1); }
.feature .f-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--slate); color: var(--gold); margin-bottom: 1.3rem; transition: .4s var(--ease); }
.feature:hover .f-ico { background: var(--gold); color: var(--ink); transform: rotate(-6deg); }
.feature h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.feature p { font-size: .96rem; }
.feature .f-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display);
  font-weight: 900; font-size: 2.6rem; color: var(--mist); line-height: 1; z-index: 0; }
.section-dark .feature, .section-ink .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .feature h3, .section-ink .feature h3 { color: #fff; }
.section-dark .feature p, .section-ink .feature p { color: #aeb6bd; }
.section-dark .feature .f-num, .section-ink .feature .f-num { color: rgba(255,255,255,.06); }

/* ============================================================================
   STATS strip
   ========================================================================== */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.stat-cell { background: #fff; padding: 2.2rem 1.6rem; text-align: center; }
.section-dark .stats-row, .section-ink .stats-row { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.section-dark .stat-cell, .section-ink .stat-cell { background: transparent; }
.stat-cell b { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,4vw,3.4rem);
  color: var(--slate); line-height: 1; display: block; }
.section-dark .stat-cell b, .section-ink .stat-cell b { color: #fff; }
.stat-cell b .u { color: var(--gold-deep); }
.stat-cell b span { font-size: inherit; letter-spacing: inherit; margin: 0; display: inline; }
.section-dark .stat-cell b .u, .section-ink .stat-cell b .u { color: var(--gold); }
/* child selector: numbers wrapped in spans inside <b> keep the display size */
.stat-cell > span { display: block; margin-top: .7rem; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey-500); }

/* ============================================================================
   SPLIT image blocks
   ========================================================================== */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.media-frame.tall img { aspect-ratio: 3/4; }
.media-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; background: var(--gold); color: var(--ink);
  border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow);
}
.media-badge b { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1; display: block; }
.media-badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.deco-dot-frame { position: relative; }
.deco-dot-frame::before { content: ""; position: absolute; width: 160px; height: 160px; z-index: -1;
  background-image: radial-gradient(var(--grey-300) 1.5px, transparent 1.6px); background-size: 16px 16px;
  bottom: -28px; right: -28px; opacity: .8; }

.ul-check { display: grid; gap: .85rem; margin-top: 1.6rem; }
.ul-check li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; color: var(--text); }
.ul-check li .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--gold);
  color: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.section-dark .ul-check li, .section-ink .ul-check li { color: #cbd2d8; }

/* ============================================================================
   BRANDS
   ========================================================================== */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.brand-card { position: relative; padding: 2.2rem; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-logo-text { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: -.01em; color: var(--slate); margin-bottom: .9rem; }
.brand-card .bc-count { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-display);
  font-weight: 800; color: var(--gold-deep); font-size: .85rem; }
.brand-card p { font-size: .95rem; }
.brand-card .stretch { position: absolute; inset: 0; }
.brand-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--ink) 10px 20px);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.brand-card:hover::after { transform: scaleX(1); }

/* ============================================================================
   PROCESS / steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; }
.step .s-num { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; color: var(--gold);
  line-height: 1; -webkit-text-stroke: 0; opacity: .95; }
.step h4 { font-size: 1.25rem; margin: .6rem 0 .5rem; }
.step p { font-size: .94rem; }
.step::before { content: ""; position: absolute; top: 1.5rem; left: 0; width: 60px; height: 3px; background: var(--ink); }
.section-dark .step::before { background: var(--gold); }

/* ============================================================================
   FILTER BAR (machinery page)
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); position: sticky; top: 80px; z-index: 20; }
.filter-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: .6rem;
  background: var(--mist); border-radius: 999px; padding: .6rem 1.1rem; }
.filter-search input { background: none; border: none; outline: none; width: 100%; font-size: .95rem; }
/* the pill shows keyboard focus for the inner input (which has no outline) */
.filter-search:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.filter-selects { display: flex; gap: .7rem; flex-wrap: wrap; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; background: var(--mist); border: 1px solid transparent; border-radius: 999px;
  padding: .65rem 2.4rem .65rem 1.1rem; font-weight: 600; font-size: .9rem; color: var(--slate); cursor: pointer;
  transition: border-color .2s; }
.select-wrap select:hover { border-color: var(--gold); }
.select-wrap::after { content: "▾"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--grey-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 2rem; }
.chip { font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .03em; padding: .5em 1.05em; border-radius: 999px; background: #fff; color: var(--slate);
  border: 1px solid var(--line); transition: .25s; cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--slate); color: #fff; border-color: var(--slate); }
.result-count { color: var(--grey-600); font-size: .92rem; margin-bottom: 1.4rem; }
.result-count b { color: var(--slate); font-family: var(--font-display); }
.no-results { text-align: center; padding: 4rem 1rem; color: var(--grey-500); }

/* ============================================================================
   PRODUCT DETAIL
   ========================================================================== */
.detail-hero { padding-top: calc(var(--header-h) + 2rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; color: var(--grey-500);
  margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs .sep { opacity: .5; }
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (max-width: 920px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-gallery { position: relative; }
.detail-main-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.detail-main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-info .machine-brand { font-size: .82rem; }
.detail-info h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); text-transform: uppercase; margin: .5rem 0 1rem; }
.spec-table { margin: 1.6rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table .row { display: flex; justify-content: space-between; padding: .85rem 1.1rem; font-size: .95rem; }
.spec-table .row:nth-child(odd) { background: var(--mist); }
.spec-table .row span { color: var(--grey-600); }
.spec-table .row b { color: var(--slate); font-weight: 600; }
.detail-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.1rem; }
/* the quote button spans the full column, matching the contact grid below */
.detail-cta .btn { flex: 1 1 auto; justify-content: center; }
.detail-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.detail-trust div { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--grey-600); }
.detail-trust .ico { color: var(--gold-deep); }

/* ============================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(2.8rem,6vw,5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; position: relative; }
.cta-band .ribbon { position: absolute; inset: auto 0 0 0; }

/* ============================================================================
   FORMS
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .88rem; color: var(--slate); }
.field label .req { color: var(--gold-deep); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem; background: var(--paper);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,197,5,.18); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--grey-500); margin-top: .4rem; }
.form-success { display: none; background: #f0fbf3; border: 1.5px solid #b8e6c6; color: #1c7a3e;
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-weight: 500; }
.form-success.show { display: block; }

/* contact tiles */
.contact-tiles { display: grid; gap: 1rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .35s var(--ease); }
.contact-tile:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.contact-tile .ct-ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--slate);
  color: var(--gold); display: grid; place-items: center; }
.contact-tile h4 { font-size: 1.02rem; margin-bottom: .25rem; }
.contact-tile a, .contact-tile p { color: var(--text-soft); font-size: .95rem; }
.contact-tile a:hover { color: var(--gold-deep); }

/* ============================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--slate); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem,7vw,6rem)) 0 clamp(3rem,7vw,5.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(110% 90% at 80% 0, #000, transparent 70%); }
.page-hero.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); text-transform: uppercase; max-width: 18ch; }
.page-hero p { color: #c4ccd2; max-width: 58ch; margin-top: 1.2rem; font-size: clamp(1rem,1.5vw,1.2rem); }
.page-hero .eyebrow { color: var(--gold); margin-bottom: 1.2rem; }
.page-hero .crumbs { color: #9aa3aa; margin-bottom: 1.6rem; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero-deco { position: absolute; right: -40px; bottom: -40px; z-index: 1; width: 360px; max-width: 45%;
  opacity: .9; pointer-events: none; }

/* ============================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; max-width: 760px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--mist); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-body { padding: 1.4rem 1.5rem 1.6rem; }
.team-body h3 { font-size: 1.3rem; }
.team-body .role { color: var(--gold-deep); font-weight: 700; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .08em; margin: .3rem 0 .9rem; }
.team-body .t-contact a { display: flex; align-items: center; gap: .6rem; color: var(--text-soft); font-size: .92rem;
  padding: .2rem 0; }
.team-body .t-contact a:hover { color: var(--gold-deep); }

/* ============================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(-2.2rem + 0px); top: .3rem; width: 14px; height: 14px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240,197,5,.2); }
.tl-item .yr { font-family: var(--font-display); font-weight: 900; color: var(--gold-deep); font-size: 1.1rem; }
.tl-item h4 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.section-dark .timeline::before { background: rgba(255,255,255,.15); }

/* ============================================================================
   FOOTER (redesigned: gold CTA card, column accents, giant outlined mark)
   ========================================================================== */
.site-footer { background: var(--ink); color: #aeb6bd; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(90% 70% at 15% 0%, #000, transparent 75%); }
.footer-top { position: relative; display: grid; grid-template-columns: 1.45fr .9fr .8fr 1.35fr;
  gap: clamp(1.8rem, 3.5vw, 3rem); padding-bottom: clamp(2.2rem, 4vw, 3.5rem); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-word b { color: #fff; }
.footer-about { margin: 1.3rem 0 1.5rem; font-size: .94rem; max-width: 34ch; line-height: 1.7; color: #9aa3ab; }
.footer-soc { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-soc a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  display: grid; place-items: center; color: #e2e6e9; transition: .3s var(--ease); }
.footer-soc a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-col h5 { font-family: var(--font-display); color: #fff; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .55rem; }
.footer-col h5::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--gold); }
.footer-col a { display: block; padding: .38rem 0; font-size: .94rem; color: #b7bfc6; transition: .25s; }
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
/* gold contact card */
.footer-cta-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg); padding: clamp(1.3rem, 2vw, 1.8rem); position: relative; overflow: hidden; }
.footer-cta-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, var(--ink) 12px 24px); }
.footer-cta-card h5 { margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .7rem; padding: .42rem 0; font-size: .93rem; align-items: flex-start; color: #c3cad0; }
.footer-contact .ico { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-cta-card .btn { display: inline-flex; width: 100%; justify-content: center;
  padding: .95em 1.5em; margin-top: 1.1rem; }
/* giant outlined wordmark */
.footer-mark { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; font-size: clamp(2.6rem, 8.4vw, 7.6rem); line-height: .9; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); user-select: none;
  white-space: nowrap; pointer-events: none; margin-top: .5rem; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8b949c; }
.footer-bottom a { color: #b7bfc6; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================================
   PRELOADER
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.pre-box { text-align: center; }
.pre-bar { width: 200px; height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; margin: 1.4rem auto 0; }
.pre-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 4px;
  animation: preLoad 1.1s var(--ease) infinite; }
@keyframes preLoad { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }
.pre-word { font-family: var(--font-display); font-weight: 900; color: #fff; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1.4rem; }
.pre-word span { color: var(--gold); }

/* ============================================================================
   SCROLL PROGRESS + BACK TO TOP
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold); z-index: 200; width: 0; }
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 50px; height: 50px;
  border-radius: 50%; background: var(--slate); color: var(--gold); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(15px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* ============================================================================
   SCROLL REVEAL
   ========================================================================== */
/* Content is only hidden for the reveal once site.js has stamped html.js,
   so a page whose script fails still shows everything. will-change is
   released once the element is in. */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
html.js [data-reveal].in { opacity: 1; transform: none; will-change: auto; }
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="scale"] { transform: scale(.92); }
html.js [data-reveal].in { transform: none; }
html.js [data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-stagger].in > * { opacity: 1; transform: none; }
/* Baked pages paint their hero copy (eyebrow, title, sub, buttons, stats,
   the machine's photo and price) with the HTML; the reveal only runs for
   sections further down the page. */
html[data-baked] :is(.hero, .page-hero, .detail-hero) [data-reveal],
html[data-baked] :is(.hero, .page-hero, .detail-hero) [data-stagger] > * {
  opacity: 1; transform: none; transition: none; will-change: auto; }

/* ============================================================================
   MISC
   ========================================================================== */
.tag-pill { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 999px;
  background: rgba(240,197,5,.14); color: var(--gold-deep); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em; }
.section-dark .tag-pill, .section-ink .tag-pill { background: rgba(240,197,5,.16); color: var(--gold); }
.divider-stripe { height: 4px; background: repeating-linear-gradient(-45deg, var(--gold) 0 12px, transparent 12px 24px);
  opacity: .5; }
.icon-circle { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; flex-shrink: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.gold-text { color: var(--gold-deep); }
.muted { color: var(--grey-500); }

/* world map routes */
.route-line { stroke-dasharray: 6 6; animation: dash 2.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }
.route-plane { offset-rotate: auto; }
.ping { transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { r: 3; opacity: 1; } 70%,100% { r: 16; opacity: 0; } }

/* responsive header (collapses early enough to leave room for the
   4-language switcher next to the burger) */
@media (max-width: 1250px) {
  .primary-nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .header-cta { gap: .6rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 4rem 0; }
  .hero-stats { gap: 1.4rem; }
  .filter-bar { position: static; }
}
@media (max-width: 980px) { .hero-exc { opacity: .3 !important; width: 56vw !important; } }
@media (max-width: 768px) { .hero-exc { display: none !important; } .page-hero-deco { opacity: .3 !important; width: 220px !important; } }

/* excavator hero illustration animation */
.exc-arm { transform-box: fill-box; transform-origin: 18% 88%; animation: excDig 5s var(--ease) infinite; }
.exc-bucket { transform-box: fill-box; transform-origin: 30% 30%; animation: excBucket 5s var(--ease) infinite; }
@keyframes excDig { 0%,100% { transform: rotate(0deg); } 35% { transform: rotate(-12deg); } 65% { transform: rotate(6deg); } }
@keyframes excBucket { 0%,100% { transform: rotate(0deg); } 40% { transform: rotate(28deg); } 70% { transform: rotate(-18deg); } }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-y { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================================
   POST-REVIEW REFINEMENTS, WCAG AA contrast, text wrapping, components
   ========================================================================== */
:root { --gold-text: #8a6d00; } /* ~4.6:1 on white, for small gold text */

/* Use the accessible gold for small text on light surfaces */
.nav-link.active, .sub-menu a:hover, .machine-brand, .machine-foot .go,
.brand-card .bc-count, .chip:hover, .crumbs a:hover, .field-label .req,
.contact-tile a:hover, .team-body .role, .team-body .t-contact a:hover,
.tag-pill, .gold-text, .stat-cell b .u { color: var(--gold-text); }

/* Keep the vivid gold where the background is dark */
.section-dark .stat-cell b .u, .section-ink .stat-cell b .u,
.section-dark .tag-pill, .section-ink .tag-pill { color: var(--gold); }
.site-header.on-dark:not(.scrolled) .nav-link.active { color: var(--gold); }

/* Darker grey for small body text on light surfaces */
.form-note, .muted, .no-results, .crumbs { color: var(--grey-600); }
.section-alt .stat-cell > span { color: var(--grey-600); }

/* Long model names must wrap inside cards/columns */
.machine-name, .detail-info h1 { overflow-wrap: anywhere; }

/* Form label text (labels now wrap their control for proper association) */
.field-label { font-weight: 600; font-size: .88rem; color: var(--slate); }

/* Flat CTA-band variant (was inline overrides on services/about) */
.cta-band.bare { background: transparent; padding-top: 0; padding-bottom: 0; }
.cta-band.bare::before { display: none; }

/* ============================================================================
   BRAND LOGO (image), GOLD BLOCKS & EXTRA ANIMATION
   ========================================================================== */
/* The original client logo: black artwork on a solid gold plate, like the
   banner on the current live site. Crisp, no filters. */
.brand { gap: 0; }
.brand-plate { display: inline-flex; align-items: center; background: var(--gold);
  border-radius: 11px; padding: .4rem .8rem; box-shadow: 0 6px 18px -6px rgba(240, 197, 5, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.brand:hover .brand-plate { transform: scale(1.03); box-shadow: var(--shadow-gold); }
.brand-logo { height: 46px; width: auto; display: block;
  transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 38px; }
.footer-logo .brand-logo { height: 48px; }
.footer-logo { margin-bottom: .5rem; }
.pre-plate { margin: 0 auto 1.2rem; animation: floaty 2.4s ease-in-out infinite; }
.pre-logo { height: 52px; width: auto; display: block; }
@media (max-width: 600px) {
  .brand-plate { padding: .32rem .6rem; }
  .brand-logo { height: 36px; }
  .site-header.scrolled .brand-logo { height: 32px; }
}

/* ---- Gold section + bands ---- */
.section-gold { background: var(--gold); color: var(--ink); position: relative; overflow: hidden; }
.section-gold h1, .section-gold h2, .section-gold h3, .section-gold h4 { color: var(--ink); }
.section-gold p, .section-gold .lead { color: rgba(10,19,27,.8); }
.section-gold .eyebrow { color: var(--ink); }
.section-gold .eyebrow::before { background: var(--ink); }
.section-gold .stat-cell b { color: var(--ink); }
.section-gold .stat-cell b .u { color: var(--ink); -webkit-text-stroke: 0; }
.section-gold .stat-cell span { color: rgba(10,19,27,.65); }
.section-gold .stats-row { background: rgba(10,19,27,.18); border-color: rgba(10,19,27,.18); }
.section-gold .stat-cell { background: transparent; }

.gold-band {
  background: var(--gold); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem); position: relative; overflow: hidden;
}
.gold-band::before { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(10,19,27,.05) 0 16px, transparent 16px 32px); }
.gold-band > * { position: relative; z-index: 1; }
.gold-band h2 { color: var(--ink); }
.gold-band .big {
  font-family: var(--font-display); font-weight: 900; line-height: .98;
  font-size: clamp(2.2rem, 5.5vw, 4rem); text-transform: uppercase; letter-spacing: -.02em; color: var(--ink);
}
.gold-band .big em { font-style: normal; -webkit-text-stroke: 2px var(--ink); color: transparent; }
/* contact tiles inside a gold band: big, black, readable */
.gold-band .contact-tile h4 { font-size: 1.1rem; }
.gold-band .contact-tile a, .gold-band .contact-tile p {
  color: var(--ink); font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.gold-band .contact-tile a:hover { color: var(--gold-text); }

/* gold feature variant */
.feature.gold { background: var(--gold); border-color: var(--gold); }
.feature.gold .f-ico { background: var(--ink); color: var(--gold); }
.feature.gold:hover .f-ico { background: #fff; color: var(--ink); transform: rotate(-6deg); }
.feature.gold h3 { color: var(--ink); }
.feature.gold p { color: rgba(10,19,27,.74); }
.feature.gold .f-num { color: rgba(10,19,27,.08); }
.feature.gold::before { background: var(--ink); }

/* gold pill / tab accents */
.gold-tab { display: inline-flex; align-items: center; gap: .6em; background: var(--gold); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  font-size: .82rem; padding: .5em 1.1em; border-radius: 8px; }

/* ink-filled button (use on gold backgrounds) */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::after { background: #fff; }
.btn-dark:hover { color: var(--ink); }

/* ---- Floating gold decorations ---- */
.gold-deco { position: absolute; z-index: 0; background: var(--gold); border-radius: 12px; pointer-events: none; }
.gold-deco.ring { background: transparent; border: 5px solid var(--gold); border-radius: 50%; }
.gold-deco.dot { border-radius: 50%; }
.gold-deco.rot { animation: spin 16s linear infinite; }
.section > .container, .section > .container.wide { position: relative; z-index: 1; }

/* ---- Animated hazard stripe ---- */
.hazard.animate { animation: hazardMove 1.1s linear infinite; }
@keyframes hazardMove { to { background-position: 50.9px 0; } }
.divider-stripe.animate { background-size: 24px 24px; animation: hazardMove2 .9s linear infinite; }
@keyframes hazardMove2 { to { background-position: 24px 0; } }

/* gold pulse ring */
.pulse-gold { position: relative; }
/* keep absolutely-positioned elements absolute when they also pulse */
.media-badge.pulse-gold { position: absolute; }
.pulse-gold::after { content: ""; position: absolute; inset: -6px; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(240,197,5,.5); animation: pulseGold 2.2s var(--ease) infinite; }
@keyframes pulseGold { 70%, 100% { box-shadow: 0 0 0 18px rgba(240,197,5,0); } }

/* shimmering sweep for gold cards */
.shine { position: relative; overflow: hidden; }
.shine::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg);
  transition: left .7s var(--ease); }
.shine:hover::before { left: 130%; }

/* ============================================================================
   MOBILE POLISH
   ========================================================================== */
@media (max-width: 600px) {
  .display { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero { padding-top: calc(var(--header-h) + .5rem); min-height: auto; padding-bottom: 3rem; }
  .hero h1 { max-width: 100%; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { gap: .7rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.1rem 1.4rem; padding-top: 1.8rem; }
  .hero-stat { flex: 1 1 40%; }
  .hero-stat b { font-size: 2rem; }
  .section-head { margin-bottom: 2rem; }
  .cta-band { padding: 2.4rem 1.3rem; }
  .cta-band .actions { flex-direction: column; }
  .cta-band .actions .btn { width: 100%; justify-content: center; }
  .gold-band { padding: 1.9rem 1.4rem; }
  .detail-cta .btn, .detail-cta { width: 100%; }
  .detail-cta .btn { justify-content: center; }
  .filter-selects { width: 100%; }
  .filter-selects .select-wrap, .filter-selects select { width: 100%; }
  .machine-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .gold-deco { display: none; }
}
@media (max-width: 380px) {
  .hero-stat { flex: 1 1 100%; }
}

/* ============================================================================
   CLIENT REQUIREMENTS PASS: key specs on cards, status labels, sold state,
   detail gallery + video + contact buttons, social rail, language switcher
   ========================================================================== */

/* ---- Card v2, straight from the proposal mock: label on the photo, one
   big machine name, category eyebrow, icon spec tiles (value first, label
   under it) and the price bottom-left with the arrow bottom-right ---- */
.machine-cat { font-family: var(--font-display); font-weight: 700; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.machine-card .machine-name { font-size: 1.34rem; letter-spacing: -.02em; margin-top: .1rem; }
.machine-keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: .5rem; margin-top: .75rem; }
.ks { background: var(--mist); border-radius: 11px; padding: .6rem .55rem .5rem; min-width: 0;
  text-align: center; border-bottom: 3px solid var(--gold); transition: background .3s; }
.machine-card:hover .ks { background: #fff; }
.ks svg { display: block; margin: 0 auto .3rem; color: var(--gold-text); }
.ks b { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--slate);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.1; }
.ks span { display: block; font-family: var(--font-display); font-weight: 700; font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); margin-top: .15rem; }
.machine-foot { align-items: flex-end; }
.machine-foot .price-block b { display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 1.28rem; color: var(--slate); line-height: 1; letter-spacing: -.01em; }
.machine-foot .price-block span { display: block; font-size: .7rem; color: var(--grey-600); margin-top: .2rem; }
.machine-foot .price-block.poa b { font-size: 1rem; color: var(--grey-600); font-weight: 700; }
.machine-foot .go-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--mist);
  color: var(--slate); display: grid; place-items: center; flex-shrink: 0; transition: .35s var(--ease); }
.machine-card:hover .go-circle { background: var(--gold); color: var(--ink); transform: translateX(3px); }

/* ---- Status labels (client spec: yellow New Arrival, red Sold, green Reduced) ---- */
.badge.new-arrival { background: var(--gold); color: var(--ink); }
.badge.sold { background: #c92a2a; color: #fff; }
.badge.reduced { background: #27803a; color: #fff; }
.machine-card.is-sold .machine-media img { filter: grayscale(.55); }
.machine-card.is-sold:hover .machine-media img { filter: grayscale(.15); }

/* ---- Detail: gold-rich layout ---- */
.detail-hero { position: relative; overflow: hidden; }
.detail-hero .gold-deco { z-index: 0; }
.price-tab { display: flex; width: 100%; align-items: baseline; gap: .6rem; background: var(--gold);
  color: var(--ink); border-radius: 12px; padding: .7rem 1.2rem; margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -.01em; box-shadow: var(--shadow-gold); }
.price-tab small { font-family: var(--font-body); font-weight: 600; font-size: .74rem;
  letter-spacing: 0; color: rgba(10, 19, 27, .72); margin-left: auto; }
.price-tab.poa { background: var(--ink); color: #fff; font-size: 1.15rem; box-shadow: var(--shadow); }
.price-tab.poa small { color: rgba(255, 255, 255, .65); }
.spec-table { border: none; box-shadow: var(--shadow-sm); }
.spec-table .row { border-left: 3px solid transparent; transition: border-color .25s, background .25s; }
.spec-table .row:hover { border-left-color: var(--gold); background: rgba(240, 197, 5, .07); }
.spec-table .row span { font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.gold-tint { background: rgba(240, 197, 5, .1); border: 1.5px solid rgba(208, 163, 3, .35);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-top: 1.6rem; position: relative; overflow: hidden; }
.gold-tint::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.gold-tint h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.gold-tint .ul-check { margin-top: .9rem; gap: .6rem; }
.gold-tint .ul-check li { font-size: .95rem; }
.detail-main-img { position: relative; }
.detail-gallery { position: relative; }
.detail-gallery::before { content: ""; position: absolute; left: -14px; top: -14px; width: 45%; height: 40%;
  border-radius: var(--radius-lg); background: var(--gold); z-index: -1; opacity: .9; }
.detail-trust .ico, .detail-trust svg { color: var(--gold-text); }

/* ---- Detail: gallery ---- */
.detail-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .6rem; }
.detail-thumbs button { border-radius: 9px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist);
  border: 2px solid transparent; padding: 0; transition: border-color .25s, transform .25s var(--ease); }
.detail-thumbs button:hover { transform: translateY(-2px); }
.detail-thumbs button.active { border-color: var(--gold); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-video { margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--ink); box-shadow: var(--shadow-sm); }
.detail-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Detail: direct contact buttons (Call / WhatsApp / Email) ---- */
.contact-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .8rem; }
@media (max-width: 520px) { .contact-btns { grid-template-columns: 1fr; } }
.cbtn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem;
  padding: 1rem .5rem .9rem; border-radius: var(--radius); background: var(--slate); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cbtn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem;
  letter-spacing: 0; text-transform: none; opacity: .8; }
.cbtn svg { color: var(--gold); }
.cbtn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cbtn.wa { background: #0e7a5f; }
.cbtn.wa small { opacity: 1; }
.cbtn.mail { background: var(--gold); color: var(--ink); }
.cbtn.mail svg { color: var(--ink); }
.cbtn.mail small { opacity: .72; }

/* ---- Detail: sold banner ---- */
.sold-banner { display: flex; gap: .8rem; align-items: flex-start; background: #fdf1f1;
  border: 1.5px solid #e5a3a3; color: #8f2222; border-radius: 12px; padding: .9rem 1.1rem; margin: 1.2rem 0 0; }
.sold-banner b { color: #8f2222; }
.sold-banner svg { flex-shrink: 0; margin-top: 2px; }

/* ---- Spec sheet / downloads row ---- */
.doc-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
/* free-text description from the Studio, above the equipment list */
.detail-desc { margin: 1.6rem 0 0; }
.detail-desc h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.detail-desc p { margin-top: .6rem; font-size: .95rem; line-height: 1.65; color: var(--slate); overflow-wrap: anywhere; }
.as-is-note { margin-top: 1rem; font-size: .85rem; }

/* ---- Home: social rail (YouTube / TikTok / Instagram previews) ---- */
.social-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.1rem; }
@media (max-width: 700px) { .social-rail { grid-template-columns: repeat(2, 1fr); } }
/* tilt lives on the independent `rotate` property so it survives the
   stagger reveal's transform:none and composes with the hover lift */
.social-card { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow); display: block;
  rotate: var(--tilt, 0deg);
  transition: transform .7s var(--ease), opacity .7s var(--ease), rotate .45s var(--ease), box-shadow .45s var(--ease); }
.social-card:hover { transform: translateY(-8px); rotate: 0deg; box-shadow: var(--shadow-lg); }
/* the preview fills the 9:16 card whatever its own ratio (YouTube stills are
   16:9, TikTok and Instagram uploads portrait); width/height attributes only
   feed the aspect ratio before the file arrives */
.social-card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: .88; transition: .5s var(--ease); }
.social-card:hover > img { opacity: 1; transform: scale(1.05); }
.social-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,19,27,.35), transparent 30%, transparent 60%, rgba(10,19,27,.75)); }
.sc-badge { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: inline-flex; gap: .45em;
  align-items: center; background: rgba(10,19,27,.72); color: #fff;
  padding: .32em .75em; border-radius: 999px; font-family: var(--font-display); font-weight: 700;
  font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.sc-badge svg { color: var(--gold); }
.sc-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.sc-play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92);
  color: var(--ink); display: grid; place-items: center; transition: .3s var(--ease); }
.social-card:hover .sc-play span { background: var(--gold); transform: scale(1.1); }
.sc-cap { position: absolute; left: .85rem; right: .85rem; bottom: .8rem; z-index: 2; color: #fff;
  font-size: .8rem; font-weight: 600; line-height: 1.35;
  /* two lines at most: a long video title must not climb into the name on the portrait cover */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.social-follow { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.2rem; }

/* ---- Language switcher (flags) ---- */
.lang-switch { gap: .3rem; }
.lang-switch a { padding: 3px; border-radius: 7px; display: inline-flex; line-height: 0; }
.lang-switch a .flag, .m-langs a .flag { width: 24px; height: 16px; border-radius: 3px; display: block;
  box-shadow: 0 0 0 1px rgba(10, 19, 27, .18); }
.lang-switch a { opacity: .55; transition: opacity .25s, transform .25s; }
.lang-switch a:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch a.active { opacity: 1; }
.lang-switch a.active .flag { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }
/* mobile: one button with the current flag, opening a tiny dropdown */
.lang-mob { display: none; position: relative; z-index: 120; }
.lang-mob-btn { display: inline-flex; align-items: center; gap: .3rem; padding: 6px;
  border-radius: 9px; background: rgba(255, 255, 255, .08); line-height: 0; }
.lang-mob-btn .flag { width: 26px; height: 17px; border-radius: 3px; display: block;
  box-shadow: 0 0 0 1px rgba(10, 19, 27, .2); }
.lang-mob-btn::after { content: "▾"; font-size: .7rem; color: #e2e6e9; line-height: 1; }
.lang-mob-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: .45rem; display: none; flex-direction: column; gap: .3rem; }
.lang-mob.open .lang-mob-menu { display: flex; }
.lang-mob-menu a { display: block; padding: 5px; border-radius: 8px; line-height: 0; opacity: .75; }
.lang-mob-menu a .flag { width: 28px; height: 19px; border-radius: 3px; display: block; }
.lang-mob-menu a:hover { background: rgba(255, 255, 255, .08); opacity: 1; }
.lang-mob-menu a.active { opacity: 1; background: rgba(255, 255, 255, .12); }
@media (max-width: 600px) {
  .lang-switch { display: none; }
  .lang-mob { display: block; }
}

/* header legibility on photo/dark heroes: subtle top scrim until scrolled */
.site-header.on-dark:not(.scrolled)::before {
  background: linear-gradient(180deg, rgba(10, 19, 27, .62), rgba(10, 19, 27, 0));
}

/* solid header: a static dark bar from the very top (used on pages with a
   light body top, like the machine detail page) */
.site-header.solid::before { background: rgba(10, 19, 27, .94); }
.site-header.solid .nav-link { color: #e2e6e9; }
.site-header.solid .nav-link.active { color: var(--gold); }
.site-header.solid .brand-word b { color: #fff; }
.site-header.solid .lang-switch { color: #cfd4d8; }

/* ---- Section subtitle under a one-line title ---- */
.section-subtitle { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; font-size: clamp(1.05rem, 1.9vw, 1.45rem); color: var(--gold-text);
  margin-top: .4rem; }
.section-dark .section-subtitle, .section-ink .section-subtitle { color: var(--gold); }

/* ---- Round social icon buttons (light sections) ---- */
.social-follow { gap: .8rem; }
.soc-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: .3s var(--ease); }
.soc-btn:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-gold); }

/* ---- "What we do" visibility on dark sections ---- */
.section-dark .section-head p, .section-ink .section-head p { color: #b9c1c8; }
.section-dark .feature, .section-ink .feature { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .13); }
.section-dark .feature p, .section-ink .feature p { color: #c3cad0; }
.section-dark .feature .f-ico, .section-ink .feature .f-ico { background: var(--gold); color: var(--ink); }
.section-dark .feature:hover .f-ico, .section-ink .feature:hover .f-ico { background: #fff; color: var(--ink); }
.section-dark .feature .f-num, .section-ink .feature .f-num {
  color: transparent; -webkit-text-stroke: 1.5px rgba(240, 197, 5, .55); }
.feature.gold .f-num { color: transparent; -webkit-text-stroke: 1.5px rgba(10, 19, 27, .4); }
.feature .btn { margin-top: 1.3rem; }

/* audit fixes: the gold feature card must stay gold inside dark sections,
   and generic paragraphs on dark surfaces need readable grey */
.section-dark p, .section-ink p { color: #b6bec5; }
.section-dark .lead, .section-ink .lead { color: #c0c8ce; }
.section-dark .feature.gold, .section-ink .feature.gold { background: var(--gold); border-color: var(--gold); }
.section-dark .feature.gold h3, .section-ink .feature.gold h3 { color: var(--ink); }
.section-dark .feature.gold p, .section-ink .feature.gold p { color: rgba(10, 19, 27, .76); }
.section-dark .feature.gold .f-ico, .section-ink .feature.gold .f-ico { background: var(--ink); color: var(--gold); }
.section-dark .feature.gold .f-num, .section-ink .feature.gold .f-num {
  color: transparent; -webkit-text-stroke: 1.5px rgba(10, 19, 27, .4); }
.mobile-nav .m-langs { display: flex; gap: .5rem; padding: 1rem 0 .4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .m-langs a { border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: .3rem .7rem;
  font-size: .85rem; flex: 0 0 auto; }
.mobile-nav .m-langs a.active { border-color: rgba(255, 255, 255, .85); }

/* ============================================================================
   AUDIT PASS (Sept 2026): honest forms, sourcing states, sticky contact bar,
   empty CMS blocks, animation pausing, blur only where it is cheap
   ========================================================================== */

/* ---- Blocks that disappear when the CMS list behind them is empty ---- */
.is-empty, [hidden] { display: none !important; }

/* ---- Form feedback after submit: the mail app should have opened; the
   composed message stays here to copy or to send via WhatsApp ---- */
.form-ok { display: none; background: var(--mist); border: 1.5px solid var(--line); border-left: 4px solid var(--gold);
  color: var(--text); border-radius: 12px; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; font-size: .95rem; }
.form-ok.show { display: block; }
.form-ok p { color: var(--text); }
.form-ok b { color: var(--slate); }
.form-ok a { color: var(--gold-text); font-weight: 600; }
.form-copy { display: block; width: 100%; min-height: 130px; margin-top: .9rem; padding: .75rem .9rem;
  font: inherit; font-size: .88rem; line-height: 1.5; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; resize: vertical; }
.form-copy:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,197,5,.18); }
.form-ok-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.form-ok-actions .btn.form-wa { background: #0e7a5f; color: #fff; }
.form-ok-actions .btn.form-wa::after { background: var(--ink); }
.form-ok-actions .btn.form-wa:hover { color: #fff; }

/* ---- Catalogue: sourcing state and the sold-examples heading ---- */
.sourcing { padding: 2.6rem 1rem 2.2rem; }
.sourcing h3 { font-size: 1.4rem; text-transform: uppercase; color: var(--slate); }
.sourcing p { max-width: 52ch; margin: .7rem auto 0; }
.grid-heading { grid-column: 1 / -1; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-600); }

/* ---- Detail: sticky Call / WhatsApp / Quote bar on mobile ---- */
.detail-stickybar { display: none; }
@media (max-width: 919.98px) {
  .detail-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid;
    grid-template-columns: 1fr 1fr 1.4fr; gap: .5rem;
    padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 19, 27, .96); border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 -10px 30px -18px rgba(10, 19, 27, .7); }
  .detail-stickybar a { display: inline-flex; align-items: center; justify-content: center; gap: .45em;
    min-height: 46px; padding: 0 .6rem; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .09);
    font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .04em;
    text-transform: uppercase; white-space: nowrap; }
  .detail-stickybar svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
  .detail-stickybar .sb-wa { background: #0e7a5f; }
  .detail-stickybar .sb-wa svg { color: #fff; }
  .detail-stickybar .sb-quote { background: var(--gold); color: var(--ink); }
  body.has-stickybar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body.has-stickybar .to-top { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .detail-stickybar { grid-template-columns: 1fr 1fr 1.2fr; }
  .detail-stickybar a { font-size: .7rem; padding: 0 .4rem; }
}
/* thumbnails as one swipeable strip on phones, so the price and the contact
   buttons move up instead of sitting under a 12-photo grid */
@media (max-width: 600px) {
  .detail-thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .3rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .detail-thumbs button { flex: 0 0 84px; scroll-snap-align: start; }
}

/* ---- Skip link: off screen until it receives keyboard focus ---- */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10000; padding: .7rem 1.1rem;
  background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 8px; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 1rem; outline: 3px solid var(--ink); }

/* ---- Blur only where it is cheap: no backdrop-filter on phones ---- */
@media (min-width: 768px) {
  .site-header.scrolled::before, .site-header.solid::before { backdrop-filter: blur(14px); }
  .badge { backdrop-filter: blur(4px); }
  .sc-badge { backdrop-filter: blur(5px); }
}

/* ---- Infinite decorative loops only run while on screen. site.js toggles
   .anim-on through an IntersectionObserver; without JS nothing is paused. ---- */
html.js .marquee-track, html.js .hazard.animate, html.js .divider-stripe.animate,
html.js .route-line, html.js .ping, html.js .gold-deco.rot, html.js .float-y { animation-play-state: paused; }
html.js .scroll-cue .bar::after, html.js .pulse-gold::after { animation-play-state: paused; }
html.js .marquee.anim-on:not(:hover) .marquee-track, html.js .hazard.animate.anim-on,
html.js .divider-stripe.animate.anim-on, html.js .anim-on .route-line, html.js .anim-on .ping,
html.js .gold-deco.rot.anim-on, html.js .float-y.anim-on { animation-play-state: running; }
html.js .scroll-cue.anim-on .bar::after, html.js .pulse-gold.anim-on::after { animation-play-state: running; }

/* ---- Detail: lightbox (tap or click the main photo) ---- */
.detail-main-img img { cursor: zoom-in; }
.gallery-zoom { position: absolute; right: .9rem; bottom: .9rem; z-index: 2; width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(10, 19, 27, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  transition: background .25s, color .25s, transform .25s var(--ease); }
.gallery-zoom:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.gallery-zoom svg { width: 20px; height: 20px; }
body.lb-open { overflow: hidden; }
/* --lb-nav is the measured height of the bottom navigation (site.js keeps it
   current), so the photo never sits under the thumbnails and buttons */
.lightbox { --lb-nav: 0px; --lb-pad: clamp(.6rem, 2vw, 1.5rem); position: fixed; inset: 0; z-index: 9000;
  background: rgba(10, 19, 27, .97); color: #fff; animation: lb-fade .25s ease-out; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: absolute; left: 0; right: 0; top: 0; bottom: var(--lb-nav); display: flex; align-items: center;
  justify-content: center; padding: var(--lb-pad); touch-action: pan-y pinch-zoom; }
.lb-img { display: block; width: auto; height: auto; max-width: calc(100vw - 2 * var(--lb-pad));
  max-height: calc(100vh - var(--lb-nav) - 2 * var(--lb-pad)); max-height: calc(100dvh - var(--lb-nav) - 2 * var(--lb-pad));
  object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); user-select: none; -webkit-user-drag: none; }
.lb-nav { position: absolute; left: 0; right: 0; bottom: 0; }
.lb-close { position: absolute; top: max(.8rem, env(safe-area-inset-top, 0px)); right: .8rem; z-index: 2; width: 46px; height: 46px;
  border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18); transition: background .25s, color .25s; }
.lb-close:hover { background: var(--gold); color: var(--ink); }
.lb-nav { background: rgba(10, 19, 27, .98); border-top: 1px solid rgba(255, 255, 255, .1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb-thumbs { position: relative; display: flex; gap: .45rem; overflow-x: auto; padding: .7rem .8rem .2rem;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { flex: 0 0 72px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; padding: 0; border: 2px solid transparent;
  opacity: .55; background: var(--slate); transition: opacity .25s, border-color .25s; }
.lb-thumbs button:hover, .lb-thumbs button.active { opacity: 1; }
.lb-thumbs button.active { border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; padding: .6rem .8rem .75rem; }
.lb-bar button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 0 1rem;
  border-radius: 999px; background: rgba(255, 255, 255, .09); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; transition: background .25s, color .25s; }
.lb-bar button:hover { background: var(--gold); color: var(--ink); }
.lb-bar .lb-prev { justify-self: start; }
.lb-bar .lb-next { justify-self: end; }
.lb-bar svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.lb-bar button:hover svg { color: var(--ink); }
.lb-count { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .06em; color: var(--gold); }
.lightbox.single .lb-bar button { display: none; }
@media (max-width: 600px) {
  .lb-bar button span { display: none; }
  .lb-bar button { min-width: 46px; padding: 0 .8rem; }
  .lb-thumbs button { flex-basis: 60px; }
  .gallery-zoom { width: 40px; height: 40px; right: .7rem; bottom: .7rem; }
}
