/* ============================================================
   SGK TRADE — Automotive B2B platform
   Vanilla CSS · BEM · dark base + yellow-gold motorsport accent
   ============================================================ */

:root {
  --dark: #12130F;
  --dark-2: #16160F;
  --dark-3: #1d1e18;
  --accent: #F5C542;
  --accent-ink: #C79A12; /* accessible gold for text on light */
  --white: #FFFFFF;
  --paper: #F5F5F2;
  --ink: #12130F;
  --grey: #6b6b64;
  --grey-2: #9a9a90;
  --line: rgba(18,19,15,.10);
  --line-dark: rgba(255,255,255,.10);
  --text-dark: #C9C9C0;

  --font-display: "Anton", "Oswald", sans-serif;
  --font-cond: "Oswald", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1400px;
  --pad: clamp(24px, 7vw, 160px);
  --radius: 14px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.page {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography helpers ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.14;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  color: var(--ink);
}

/* roomier line spacing on all display headings */
.tuning__item-title, .feature__title, .article__title, .principle__title,
.card__title, .safety__title, .step h4 {
  line-height: 1.14;
}
.section-title--center { text-align: center; }
.section-title--light { color: var(--white); }
.section-title--ink { color: var(--ink); }

.section-lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--grey);
  max-width: 62ch;
  margin-top: 18px;
}
.section-lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead--light { color: var(--text-dark); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light { color: var(--accent); }

/* ---------- Sections base ---------- */
.section { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(44px, 6vw, 84px); }
.section--dark { background: var(--dark); color: var(--white); }
.section--white { background: var(--white); }
.section--light { background: var(--white); }
.section--offwhite { background: var(--white); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .section-title { max-width: 18ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover { background: #ffd75e; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,197,66,.28); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--soft { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.section--light .btn--soft { background: #fff; }
.btn--soft:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(18,19,15,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.header--hidden { transform: translateY(-100%); }
.header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  height: 78px; display: flex; align-items: center; gap: 30px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img { height: 40px; width: auto; }
.hero__card-logo { height: clamp(48px, 8vw, 72px); width: auto; }
.footer__logo { height: 46px; margin-bottom: 4px; }
.logo__mark { display: grid; place-items: center; }
.logo__word {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--white);
  letter-spacing: .02em; text-transform: uppercase; line-height: 1;
}
.logo__word em { color: var(--accent); font-style: italic; }
.logo__word--lg { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--accent); }
.nav__caret { transition: transform .25s var(--ease); }
.nav__item--has-menu { position: relative; }
.nav__item--has-menu.is-open .nav__caret { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--dark-3); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 8px; min-width: 230px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease);
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
}
.nav__item--has-menu.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a { padding: 11px 14px; border-radius: 8px; color: rgba(255,255,255,.85); font-size: .92rem; transition: background .2s, color .2s; }
.nav__dropdown a:hover { background: rgba(245,197,66,.12); color: var(--accent); }

.header__cta { margin-left: 4px; padding: 12px 22px; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; }
.burger span { display: block; height: 2px; width: 24px; background: var(--white); margin: 0 auto; transition: transform .3s var(--ease), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 78px 0 0 0; z-index: 99;
  background: var(--dark); padding: 40px var(--pad) 60px;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: block;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mobile-menu__nav a { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.5rem; color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__nav a:hover { color: var(--accent); }
.mobile-menu__nav .btn { margin-top: 20px; font-family: var(--font-body); text-transform: none; font-size: 1rem; border: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 78px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(10,11,8,.86) 0%, rgba(10,11,8,.6) 42%, rgba(10,11,8,.28) 72%, rgba(10,11,8,.35) 100%),
    linear-gradient(180deg, rgba(10,11,8,.35) 0%, rgba(10,11,8,.15) 45%, rgba(10,11,8,.55) 100%),
    url("../img/hero.jpg") center right / cover no-repeat,
    #0a0b08;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding-top: clamp(50px, 8vw, 90px); padding-bottom: 50px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.14; letter-spacing: .005em;
  color: var(--white); max-width: none;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero__card {
  background: rgba(255,255,255,.035); border: 1px solid var(--line-dark);
  border-radius: 18px; padding: clamp(24px, 3vw, 38px);
  backdrop-filter: blur(6px);
}
.hero__card-visual {
  margin-bottom: 22px; overflow: hidden; border-radius: 12px;
  background: transparent;
}
.hero__card-visual img {
  width: 100%; aspect-ratio: 3/2; object-fit: contain; object-position: center;
  display: block;
}
.hero__card-text { color: var(--text-dark); font-size: 1.02rem; }

.hero__auctions { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 70px); }
.hero__auctions-label {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: .95rem; color: rgba(255,255,255,.78); margin-bottom: 22px; max-width: none;
}
.logo-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.logo-row li {
  display: grid; place-items: center; text-align: center;
  padding: 22px 14px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark);
  font-family: var(--font-cond); font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.72); font-size: .95rem; text-transform: uppercase;
  transition: border-color .3s, color .3s, background .3s;
}
.logo-row li:hover { border-color: rgba(245,197,66,.4); color: var(--accent); background: rgba(245,197,66,.06); }

/* image logo wall */
.logo-row--img li { padding: 16px 20px; min-height: 78px; }
.logo-row--img img {
  max-height: 32px; max-width: 82%; width: auto; object-fit: contain;
  opacity: .82; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.logo-row--img li:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); }
.logo-row--img li:hover img { opacity: 1; transform: scale(1.04); }

/* JS scroll-slider dots (shared) */
.slider-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); transition: background .3s var(--ease), width .3s var(--ease); }
.slider-dots button.is-active { background: var(--accent); width: 22px; border-radius: 5px; }
.slider-dots--dark button { background: rgba(18,19,15,.18); }
.slider-dots--dark button.is-active { background: var(--ink); }

/* ============================================================
   MEDIA SLOTS (asset placeholders — client drops real images)
   ============================================================ */
.media-slot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, #e7e7e2, #d7d7d0);
  display: grid; place-items: center; min-height: 220px;
  border: 1px solid var(--line);
}
.media-slot > span {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; color: #8a8a80;
  padding: 6px 12px; border: 1px dashed #b7b7ae; border-radius: 40px; background: rgba(255,255,255,.5);
}
.media-slot--dark { background: linear-gradient(135deg, #1c1d16, #26271e); border-color: var(--line-dark); }
.media-slot--dark > span { color: #6d6e62; border-color: #3a3b31; background: rgba(0,0,0,.3); }
.media-slot--car { min-height: 220px; background: radial-gradient(80% 80% at 50% 60%, #f6cf58, #eab928); border: none; }
.media-slot--car > span { color: #7a5f0a; border-color: #c79a12; background: rgba(255,255,255,.35); }
.media-slot--tall { min-height: 360px; }
.media-slot--wide { min-height: 320px; }
.media-slot--frame { min-height: 380px; background: linear-gradient(135deg,#ededea,#e0e0db); }
.media-slot--article { min-height: 180px; aspect-ratio: 1/1; }
.media-slot--iso { min-height: 420px; background: linear-gradient(160deg, #f3f2ff, #e6e3fb); }
.media-slot--engine { min-height: 420px; background: radial-gradient(70% 70% at 40% 45%, #2c2d24, #0f100c); border: none; }
.media-slot--engine > span { color: #7d7e70; border-color: #3a3b31; background: rgba(0,0,0,.35); }

/* ============================================================
   INVENTORY CAROUSEL
   ============================================================ */
.inventory .section-head .section-title { max-width: none; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.inventory .section-head > div { flex: 1; }
.inventory__viewall { align-self: center; flex: 0 0 auto; }
.carousel { overflow: hidden; }
.carousel__track { display: flex; gap: 24px; transition: transform .6s var(--ease); will-change: transform; }
.inv-card { flex: 0 0 auto; width: calc((100% - 3 * 24px) / 4); }
.inv-card__img { aspect-ratio: 4/3; border-radius: 12px; background: #e7e7e2; overflow: hidden; position: relative; }
.inv-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.inv-card:hover .inv-card__img img { transform: scale(1.05); }
.inv-card__body { padding: 16px 2px 0; }
.inv-card__name { font-size: 1.05rem; font-weight: 600; }
.inv-card__year { color: var(--grey-2); font-size: .85rem; margin-top: 2px; }
.inv-card__miles { font-family: var(--font-cond); font-weight: 600; font-size: 1.35rem; margin-top: 12px; }

/* ============================================================
   STOCK PAGE
   ============================================================ */
.page-hero { position: relative; background: var(--dark); color: var(--white); padding: clamp(120px,14vw,180px) 0 clamp(48px,6vw,80px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% -10%, rgba(245,197,66,.14), transparent 55%), var(--dark); z-index: 0; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.06; font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 10px 0 18px; }
.page-hero__lead { color: var(--text-dark); max-width: 60ch; font-size: 1.05rem; }
.page-hero__meta { margin-top: 26px; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; color: var(--text-dark); }
.page-hero__meta strong { color: var(--accent); }
.page-hero__cta { margin-top: 30px; }

.stock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,44px); }
.stock-grid .inv-card { width: auto; }
.stock-more { display: flex; justify-content: center; margin-top: clamp(40px,5vw,64px); }
.stock-more__btn { min-width: 200px; }

/* ============================================================
   SERVICE PAGE (premium template)
   ============================================================ */

/* media + branded placeholder */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg,#191a10,#0c0d09); aspect-ratio: var(--ar, 16/10); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s var(--ease); }
.media.is-loaded img { opacity: 1; }
.media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(245,197,66,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,197,66,.05) 1px, transparent 1px); background-size: 26px 26px; }
.media.is-loaded::before { display: none; }
.media__tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(245,197,66,.35); border-radius: 40px; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--accent); background: rgba(0,0,0,.4); white-space: nowrap; pointer-events: none; }
.media__tag::before { content: "◆"; font-size: .7em; }
.media.is-loaded .media__tag { display: none; }

/* HERO — text left, photo right */
.svc-hero { position: relative; background: var(--dark); color: var(--white); padding: clamp(102px,11vw,142px) 0 clamp(60px,7vw,100px); overflow: hidden; }
.svc-hero .crumbs { margin-bottom: 26px; }
.svc-hero__inner { display: block; }
.svc-hero__text { max-width: none; }
.svc-hero__media { position: relative; aspect-ratio: 3/2; align-self: end; }
.svc-hero__media img { object-fit: contain; }
.svc-hero__media::before { opacity: .55; }
.svc-hero__eyebrow { color: var(--accent); }
.svc-hero__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin: 16px 0 22px; max-width: none; }
.svc-hero__lead { max-width: 54ch; color: rgba(255,255,255,.82); font-size: clamp(1.02rem,1.4vw,1.2rem); line-height: 1.6; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.svc-hero__specs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.svc-hero__specs li { position: relative; padding-left: 20px; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: rgba(255,255,255,.72); }
.svc-hero__specs li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.svc-hero__scroll { position: absolute; left: 50%; bottom: 24px; z-index: 2; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(-50%); display: none; }
.svc-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); animation: svcScroll 1.8s var(--ease) infinite; }
@keyframes svcScroll { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }
@media (min-width: 700px){ .svc-hero__scroll{display:block} }

/* hero intro (independent of GSAP). Base state stays visible; the hidden→reveal
   is gated behind no-preference so reduced-motion users are never left blank. */
@keyframes svcHeroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .svc-hero__text > * { opacity: 0; animation: svcHeroIn .9s var(--ease) forwards; }
  .svc-hero__text > *:nth-child(1){ animation-delay:.08s }
  .svc-hero__text > *:nth-child(2){ animation-delay:.16s }
  .svc-hero__text > *:nth-child(3){ animation-delay:.24s }
  .svc-hero__text > *:nth-child(4){ animation-delay:.32s }
  .svc-hero__text > *:nth-child(5){ animation-delay:.40s }
  .svc-hero__media { opacity: 0; animation: svcHeroIn 1s var(--ease) .28s forwards; }
}

/* section index + headers */
.svc-index { font-family: var(--font-cond); font-weight: 700; font-size: clamp(2.2rem,3.6vw,3.2rem); line-height: 1; color: var(--accent); }
.svc-sechead { display: flex; align-items: center; gap: clamp(18px,3vw,40px); margin-bottom: clamp(24px,3vw,40px); }
.svc-sechead .section-title { max-width: none; }
.svc-sechead .svc-index { line-height: .8; align-self: center; }
/* desktop: float the kicker above the title so the big index number
   centers on the TITLE, not on the eyebrow+title block */
@media (min-width: 1025px) {
  .svc-sechead { padding-top: 30px; }
  .svc-sechead > div { position: relative; }
  .svc-sechead > div > .eyebrow { position: absolute; left: 0; bottom: calc(100% + 8px); margin: 0; white-space: nowrap; }
}
.svc-sechead .eyebrow { display: block; margin-bottom: 8px; }
.svc-caps .svc-sechead .eyebrow { color: var(--accent); }

/* OVERVIEW — same structure as deep-dive blocks: photo left, text right */
.svc-overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.svc-overview__media { align-self: center; max-width: 76%; margin-inline: auto; }
.svc-overview__body p { color: var(--grey); margin-bottom: 14px; max-width: 48ch; }
.svc-overview__body p:last-child { margin-bottom: 0; }
.svc-overview__media { align-self: center; }

/* photos that sit plainly on the block bg (no card) once the real image loads */
.svc-overview__media.is-loaded,
.svc-block__media .media.is-loaded { background: transparent; border-radius: 0; overflow: visible; aspect-ratio: auto; }
.svc-overview__media.is-loaded::before,
.svc-block__media .media.is-loaded::before { display: none; }
.svc-overview__media.is-loaded img,
.svc-block__media .media.is-loaded img { position: static; width: 100%; height: auto; object-fit: contain; }

/* CAPABILITIES (dark) */
.svc-caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.svc-cap { position: relative; background: var(--dark); color: var(--white); padding: clamp(26px,3vw,40px); transition: background .35s var(--ease); }
.svc-cap:hover { background: #17180f; }
.svc-cap__no { font-family: var(--font-cond); font-size: .8rem; color: rgba(255,255,255,.35); letter-spacing: .1em; }
.svc-cap__icon { display: block; margin: 18px 0 16px; color: var(--accent); }
.svc-cap__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 10px; }
.svc-cap p { color: rgba(255,255,255,.66); font-size: .95rem; }

/* DEEP-DIVE BLOCKS */
.svc-blocks__list { display: flex; flex-direction: column; gap: clamp(48px,7vw,110px); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.svc-block__media .media { margin-inline: auto; max-width: 92%; }
.svc-block--reverse .svc-block__media { order: 2; }
.svc-block__media .media { --ar: 4/3; }
.svc-block__text .eyebrow { display: block; margin-bottom: 14px; }
.svc-block__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem,2.6vw,2.2rem); line-height: 1.08; letter-spacing: .01em; margin-bottom: 16px; }
.svc-block__text > p { color: var(--grey); margin-bottom: 22px; max-width: 48ch; }

/* checklist (shared) */
.svc-checklist { display: flex; flex-direction: column; gap: 12px; }
.svc-checklist__item { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--ink); }
.svc-checklist__item svg { flex: 0 0 auto; margin-top: 2px; }

/* PROCESS — cards with gold number badge */
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2vw,26px); list-style: none; padding-left: 0; }
.svc-steps .svc-step { list-style: none; }
.svc-process.section--white { background: var(--paper); }
.svc-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,2.4vw,34px); box-shadow: 0 4px 18px rgba(18,19,15,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.svc-step:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(18,19,15,.10); border-color: transparent; }
.svc-step__no { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: var(--accent); color: var(--dark); font-family: var(--font-cond); font-weight: 700; font-size: 1.3rem; line-height: 1; margin-bottom: 22px; }
.svc-step h4 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.12rem; letter-spacing: .01em; margin-bottom: 10px; }
.svc-step p { color: var(--grey); font-size: .93rem; }

/* STATS band (gold) */
.svc-stats { background: var(--accent); color: var(--dark); padding: clamp(48px,6vw,84px) 0; }
.svc-stats__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,4vw,54px); }
.svc-stat { border-left: 2px solid rgba(18,19,15,.22); padding-left: 22px; }
.svc-stat__num { display: block; font-family: var(--font-cond); font-weight: 700; font-size: clamp(2.6rem,6vw,4rem); line-height: 1; color: var(--dark); }
.svc-stat__label { display: block; margin-top: 12px; color: #3a3413; font-size: .98rem; max-width: 30ch; }

/* GALLERY */
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.2vw,26px); }
.svc-gallery__item { display: flex; flex-direction: column; }
.svc-gallery__item .media { --ar: 4/5; }
.svc-gallery__item:nth-child(2) { margin-top: clamp(0px,4vw,48px); }
.svc-gallery__caption { margin-top: 14px; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; color: var(--ink); }

/* CTA (full-bleed) */
.svc-cta { position: relative; overflow: hidden; padding: clamp(80px,11vw,150px) 0; color: var(--white); background: var(--dark); }
.svc-cta__media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.svc-cta__media::before { opacity: .22; }
.svc-cta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,13,10,.82), rgba(12,13,10,.9)); }
.svc-cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc-cta .eyebrow { color: var(--accent); }
.svc-cta__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1.04; font-size: clamp(2rem,4.6vw,3.6rem); margin: 14px 0 18px; max-width: none; width: 100%; }
.svc-cta__text { max-width: 54ch; color: rgba(255,255,255,.8); margin-bottom: 30px; }

/* ghost button (dark bg) */
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

/* about — story photo fills its column (transparent PNG on block bg) */
#aboutRoot .svc-overview__media { max-width: 100%; }
#aboutRoot .svc-overview__grid { grid-template-columns: 1.1fr .9fr; }

/* contacts page */
.contacts-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px,5vw,80px); align-items: start; }
.contact-info .section-lead { margin-top: 12px; }
.contact-info__list { margin-top: clamp(28px,3vw,40px); display: flex; flex-direction: column; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--dark); display: grid; place-items: center; }
.contact-info__label { display: block; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .07em; font-size: .76rem; color: var(--grey-2); }
.contact-info__value { display: block; font-size: 1.05rem; color: var(--ink); margin-top: 3px; }
.contact-info__value a { color: var(--ink); transition: color .2s var(--ease); }
.contact-info__value a:hover { color: var(--accent-ink); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/9; background: #ececea; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form-sec { padding-bottom: clamp(30px,4vw,52px); }
.contact-follow { padding-top: clamp(30px,4vw,52px); }
.contact-location { padding-top: clamp(24px,3vw,40px); }

/* social cards */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,24px); }
.social-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: 0 4px 18px rgba(18,19,15,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.social-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(18,19,15,.12); border-color: transparent; }
.social-card__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--dark); display: grid; place-items: center; }
.social-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.social-card__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; }
.social-card__handle { color: var(--grey-2); font-size: .9rem; margin-top: 2px; }
.social-card__arrow { flex: 0 0 auto; color: var(--grey-2); transition: color .3s var(--ease), transform .3s var(--ease); }
.social-card:hover .social-card__arrow { color: var(--accent-ink); transform: translate(2px,-2px); }

/* about — markets */
.about-markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,2.5vw,36px); }
.about-market { border-top: 2px solid var(--line); padding-top: 22px; transition: border-color .3s var(--ease); }
.about-market:hover { border-top-color: var(--accent); }
.about-market__no { font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; color: var(--accent-ink); letter-spacing: .04em; }
.about-market h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.2rem,1.8vw,1.5rem); letter-spacing: .01em; margin: 14px 0 8px; }
.about-market p { color: var(--grey); font-size: .95rem; }

/* resources page — vertical blog cards */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px,3vw,44px); }
.res-card { display: flex; flex-direction: column; }
.res-card__img { border-radius: var(--radius); overflow: hidden; background: #ececea; aspect-ratio: 16/11; margin-bottom: 20px; }
.res-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.res-card:hover .res-card__img img { transform: scale(1.05); }
.res-card__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.res-card__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.15rem,1.7vw,1.42rem); line-height: 1.08; letter-spacing: .01em; }
.res-card__lead { color: var(--grey); font-size: .95rem; margin-top: 10px; }
.res-card__more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.res-card__more:hover { color: var(--accent-ink); }

/* article page */
.article-page { padding-top: clamp(104px,12vw,150px); padding-bottom: clamp(60px,8vw,110px); }
.article-head { text-align: left; }
.article-head .crumbs { justify-content: flex-start; margin-bottom: 22px; }
.article-meta { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin-bottom: 22px; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--grey-2); }
.article-meta .tag { text-transform: none; letter-spacing: 0; }
.article-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: #cfcfc8; }
.article-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.06; font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--ink); }
.article-deck { margin-top: 18px; color: var(--grey); font-size: clamp(1.1rem,1.6vw,1.32rem); line-height: 1.5; }
.article-hero { margin: clamp(36px,5vw,60px) 0 0; border-radius: var(--radius); overflow: hidden; background: #ececea; aspect-ratio: 21/9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { margin-top: clamp(40px,5vw,64px); }
.article-body p { color: #3a3a34; font-size: 1.08rem; line-height: 1.75; margin-bottom: 22px; }
.article-body h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.4rem,2.2vw,1.8rem); color: var(--ink); margin: 40px 0 16px; }
.article-body ul { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.article-body li { position: relative; padding-left: 26px; color: #3a3a34; font-size: 1.05rem; line-height: 1.6; }
.article-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.article-body blockquote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); font-family: var(--font-cond); font-weight: 500; font-size: clamp(1.3rem,2.2vw,1.7rem); line-height: 1.35; color: var(--ink); }
.article-body__fig { margin: 30px 0; border-radius: var(--radius); overflow: hidden; }
.article-body__fig img { width: 100%; height: auto; display: block; }
.article-body__fig figcaption { margin-top: 10px; font-size: .88rem; color: var(--grey-2); text-align: center; }
.article-foot { margin-top: clamp(40px,5vw,60px); padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }

/* breadcrumbs */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-family: var(--font-cond); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; margin-bottom: 22px; }
.crumbs a { color: var(--accent); transition: opacity .2s var(--ease); }
.crumbs a:hover { opacity: .75; }
.crumbs__sep { color: rgba(255,255,255,.35); }
.crumbs__current { color: rgba(255,255,255,.6); }
/* light-context variant */
.crumbs--ink .crumbs a { color: var(--accent-ink); }
.crumbs--ink .crumbs__sep { color: rgba(18,19,15,.3); }
.crumbs--ink .crumbs__current { color: var(--grey); }

.carousel__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; background: #cfcfc8; transition: background .3s, width .3s; }
.carousel__dots button.is-active { background: var(--ink); width: 22px; border-radius: 5px; }
.carousel__arrows { display: flex; gap: 12px; }
.carousel__arrow { width: 52px; height: 46px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; color: var(--ink); transition: background .3s, color .3s; }
.carousel__arrow:hover { background: var(--ink); color: #fff; }
.carousel__arrow:disabled { opacity: .4; cursor: default; }

/* ============================================================
   PERFORMANCE TUNING
   ============================================================ */
.tuning__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tuning__head .section-title { max-width: none; font-size: clamp(1.7rem, 3.4vw, 2.9rem); }
.tuning__head .btn { margin-top: 30px; }
.tuning__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; margin-top: clamp(50px,7vw,90px); }
.tuning__list { display: flex; flex-direction: column; }
.tuning__item { padding: 26px 0; border-top: 1px solid var(--line); }
.tuning__item:first-child { border-top: none; }
.tuning__item-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.3rem,2.4vw,1.8rem); color: #9b9b9b; letter-spacing: .01em; }
.tuning__item:nth-child(2) .tuning__item-title { color: var(--ink); }
.tuning__item p { margin-top: 10px; color: var(--grey); max-width: 46ch; }
.tuning__visual { display: grid; place-items: center; }
.tuning__visual img { width: 100%; height: auto; object-fit: contain; display: block; }

/* ============================================================
   R&D  (yellow band + light sub)
   ============================================================ */
.rnd__band { background: var(--accent); color: var(--dark); padding: clamp(40px,5vw,68px) 0; }
.rnd__band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.rnd__band-left .section-title { color: var(--dark); max-width: none; font-size: clamp(1.7rem, 3.2vw, 2.7rem); margin-bottom: 6px; }
.rnd__car { display: flex; justify-content: center; }
.rnd__car img { width: 86%; height: auto; display: block; }
.rnd__mechanic { display: flex; align-items: center; justify-content: center; }
.rnd__mechanic img { width: 100%; height: auto; object-fit: contain; display: block; }
.rnd__intro { color: #2a250f; font-size: 1.05rem; max-width: 48ch; }
.rnd__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.stat__num { display: block; font-family: var(--font-cond); font-weight: 700; font-size: clamp(2.4rem,5vw,3.4rem); line-height: 1; color: var(--dark); }
.stat__label { display: block; margin-top: 12px; color: #3a3413; font-size: .95rem; }

.rnd__sub { padding: clamp(44px,6vw,80px) 0; }
.rnd__sub-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,5vw,64px); align-items: center; }
.rnd__sub-inner .rnd__mechanic { order: 1; }
.rnd__sub-inner .feature-grid { order: 2; }
.rnd__sub-inner .slider-dots { order: 3; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,44px); }
.feature__icon { display: inline-grid; place-items: start; width: auto; height: auto; margin-bottom: 9px; }
.feature__icon svg { width: 30px; height: 30px; }
.feature__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em; margin-bottom: 10px; }
.feature p { color: var(--grey); font-size: .95rem; }

/* ============================================================
   RESOURCES
   ============================================================ */
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,50px) clamp(40px,6vw,80px); }
.article { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; }
.article__img { width: 180px; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: #ececea; }
.article__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.article:hover .article__img img { transform: scale(1.05); }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tag { font-size: .74rem; font-weight: 600; padding: 5px 12px; border-radius: 40px; background: #eaeae5; color: var(--ink); }
.article__read { font-size: .82rem; color: var(--grey-2); }
.article__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.15rem,1.8vw,1.4rem); line-height: 1.05; letter-spacing: .01em; }
.article__lead { color: var(--grey); font-size: .95rem; margin-top: 12px; }
.article__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; }
.article__more:hover { color: var(--accent-ink); }

/* ============================================================
   ACTIONABLE INTELLIGENCE
   ============================================================ */
.intel__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.intel__content .section-title { max-width: none; font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.intel__visual { display: flex; justify-content: center; }
.intel__visual img { width: 100%; height: auto; display: block; }

/* ============================================================
   APPROACH
   ============================================================ */
.approach__head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px,5vw,64px); }
.approach { padding-bottom: clamp(30px,4vw,52px); }
.approach__grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; column-gap: clamp(24px,4vw,50px); row-gap: clamp(40px,6vw,80px); align-items: center; }
.approach__visual { grid-column: 2; grid-row: 1 / 3; display: flex; justify-content: center; }
.approach__visual img { width: 100%; height: auto; display: block; }
.approach__list { display: contents; }
.approach__list .principle { text-align: center; }
.approach__list .principle:nth-child(1) { grid-column: 1; grid-row: 1; }
.approach__list .principle:nth-child(2) { grid-column: 1; grid-row: 2; }
.approach__list .principle:nth-child(3) { grid-column: 3; grid-row: 1; }
.approach__list .principle:nth-child(4) { grid-column: 3; grid-row: 2; }
.tuning-cards { padding-top: clamp(20px,3vw,40px); }
.principle__icon { display: inline-grid; place-items: center; width: auto; height: auto; margin: 0 auto 8px; }
.principle__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 10px; }
.principle p { color: var(--grey); font-size: .95rem; max-width: 26ch; margin: 0 auto; }

/* ============================================================
   TUNING CARDS
   ============================================================ */
.tuning-cards__lead { margin-bottom: clamp(20px,2.5vw,32px); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.card { position: relative; min-height: 480px; display: flex; align-items: end; border-radius: 18px; overflow: hidden; background: #1a1b15; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s var(--ease); }
.card:hover .card__img { transform: scale(1.05); }
.card__overlay { position: relative; z-index: 2; padding: 30px; width: 100%; background: linear-gradient(180deg, transparent, rgba(10,10,8,.88)); }
.card__kicker { display: block; font-family: var(--font-body); font-style: italic; color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 10px; }
.card__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #fff; font-size: 1.5rem; line-height: 1.02; letter-spacing: .01em; }

/* ============================================================
   SAFETY
   ============================================================ */
.safety__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.safety__visual { display: flex; justify-content: center; }
.safety__visual img { width: 92%; height: auto; display: block; }
.safety__list { display: flex; flex-direction: column; gap: 8px; }
.safety__item { padding: 26px 28px; border-radius: 12px; }
.safety__item--accent { background: #1b1c15; border-left: 3px solid var(--accent); }
.safety__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.2rem,2vw,1.5rem); color: #fff; letter-spacing: .01em; margin-bottom: 12px; }
.safety__item p { color: var(--text-dark); font-size: .98rem; }

/* ============================================================
   PROCESS CTA
   ============================================================ */
.process { position: relative; padding: clamp(52px,7vw,96px) 0; overflow: hidden; background: var(--white); }
.process__bg { position: absolute; inset: clamp(44px,6vw,84px) 0; border-radius: 0; border: none; min-height: 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(12,13,10,.8), rgba(12,13,10,.9)), url("../img/process-lot.jpg") center/cover no-repeat, #0d0e0a; }
.process__bg > span { display: none; }
.process__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding: clamp(36px,5vw,72px) 0; }
.process__inner .section-title { max-width: none; }
.signup { display: flex; gap: 12px; margin-top: 36px; width: 100%; max-width: 560px; }
.signup__input { flex: 1; padding: 16px 20px; border-radius: 10px; border: none; font-size: 1rem; background: #fff; color: var(--ink); }
.signup__terms { margin-top: 14px; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ============================================================
   MISSION
   ============================================================ */
.mission { padding-top: clamp(24px,3vw,44px); }
.mission__text {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem,3.6vw,3rem); line-height: 1.08; letter-spacing: .005em;
  color: #cfcfc8; max-width: none;
}
.mission__text .mw { color: inherit; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { position: relative; overflow: hidden; }
.partners__bg { position: absolute; inset: 0; border: none; min-height: 0; border-radius: 0;
  background: linear-gradient(90deg, rgba(18,19,15,.45) 0%, rgba(18,19,15,.82) 60%), url("../img/partners-turbine.jpg") center/cover no-repeat, #0d0e0a; }
.partners__bg > span { display: none; }
.partners__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.logo-row--partners { grid-template-columns: repeat(4,auto); justify-content: center; gap: clamp(24px,5vw,64px); margin: 40px 0 34px; }
.logo-row--partners li { background: none; border: none; padding: 0; min-height: 0; }
.logo-row--partners img { height: clamp(24px,2.6vw,34px); width: auto; opacity: .85; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.logo-row--partners li:hover { background: none; }
.logo-row--partners li:hover img { opacity: 1; transform: scale(1.05); }

/* ============================================================
   PRE-BID / HOW WE WORK
   ============================================================ */
.prebid__head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(46px,6vw,80px); }
.prebid__head .section-title { max-width: none; font-size: clamp(1.7rem,3.4vw,2.9rem); }
.prebid__head .section-lead { max-width: 90ch; }
.prebid__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.prebid__visual { position: relative; aspect-ratio: 3/2; background: transparent; }
.pbimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.pbimg.is-active { opacity: 1; transform: scale(1); }
.steps { display: flex; flex-direction: column; }
.step { transition: opacity .35s var(--ease); }
.prebid--pinnable .step:not(.step--active) { opacity: .38; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding-bottom: 34px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: -4px; width: 2px; background: var(--line); }
.step__dot { width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 3px solid #cfcfc8; background: #fff; position: relative; z-index: 1; }
.step--active .step__dot { border-color: var(--ink); background: var(--ink); }
.step h4 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: .95rem; }

/* pre-bid mobile slider (hidden on desktop) */
.prebid__mslider { display: none; }
.prebid__mtrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.prebid__mtrack::-webkit-scrollbar { display: none; }
.prebid__mslide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; gap: 16px; padding: 0 2px; }
.prebid__mimg { width: 100%; aspect-ratio: 3/2; }
.prebid__mimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prebid__mtext h4 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 8px; }
.prebid__mtext p { color: var(--grey); font-size: .95rem; }
.prebid__mnav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.prebid__mslide { align-self: start; }
.prebid__mnav .slider-dots { display: flex; margin-top: 0; }
.prebid__mnav .slider-dots--dark button,
.prebid__mnav .slider-dots button { background: rgba(18,19,15,.18); }
.prebid__mnav .slider-dots button.is-active { background: var(--ink); }
.prebid__marrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: border-color .25s, background .25s, opacity .25s; }
.prebid__marrow:disabled { opacity: .35; }
.prebid__marrow:not(:disabled):active { background: var(--paper); border-color: var(--accent-ink); }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,80px); align-items: start; }
.contacts__markets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contacts__markets li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: .85rem; font-weight: 500; }
.form { background: #fff; padding: clamp(24px,3vw,40px); border-radius: 18px; border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form__row .form__field { margin-bottom: 0; }
.form__row { margin-bottom: 18px; }
.form__field label { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); margin-bottom: 8px; }
.form__field input, .form__field select, .form__field textarea {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 1rem; background: var(--paper); color: var(--ink); transition: border-color .25s, background .25s;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--accent-ink); background: #fff; }
.form__field input.is-error, .form__field textarea.is-error { border-color: #d64545; background: #fff5f5; }
/* custom select */
.cselect { position: relative; }
.cselect select { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.cselect__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font-family: inherit; font-size: 1rem; text-align: left;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.cselect__btn:hover { border-color: #cfcfc8; }
.cselect.is-open .cselect__btn { border-color: var(--accent-ink); background: #fff; }
.cselect__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__caret { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.cselect.is-open .cselect__caret { transform: rotate(-135deg) translateY(-2px); }
.cselect__list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 18px 44px rgba(18,19,15,.16); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  max-height: 260px; overflow-y: auto;
}
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: translateY(0); }
.cselect__opt { padding: 11px 14px; border-radius: 8px; font-size: .96rem; cursor: pointer; transition: background .2s, color .2s; }
.cselect__opt:hover { background: var(--paper); }
.cselect__opt.is-selected { background: var(--accent); color: var(--ink); font-weight: 600; }

.form__submit { width: 100%; margin-top: 6px; }
.form__status { margin-top: 14px; font-size: .9rem; font-weight: 600; }
.form__status.is-ok { color: #2e7d32; }
.form__status.is-bad { color: #d64545; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--text-dark); padding-top: clamp(60px,7vw,90px); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(40px,6vw,90px); padding-bottom: 50px; }
.footer__brand .logo__word { color: #fff; }
.footer__brand p { margin-top: 18px; max-width: 40ch; font-size: .95rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #fff; margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: .95rem; color: var(--text-dark); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px var(--pad); border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--accent); }

/* ============================================================
   REVEAL ANIMATION (base states; JS adds .is-in)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
  .hero__content { order: 1; }
  .logo-row { grid-template-columns: repeat(2,1fr); }
  .tuning__body, .rnd__band-inner, .rnd__sub-inner, .intel__inner, .safety__inner, .prebid__body, .contacts__inner, .footer__inner { grid-template-columns: 1fr; }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .about-markets { grid-template-columns: repeat(2, 1fr); }
  .svc-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .svc-hero__text { align-self: start; }
  .svc-hero__media { align-self: auto; aspect-ratio: 3/2; min-height: 0; }
  .svc-overview__grid { grid-template-columns: 1fr; }
  #aboutRoot .svc-overview__grid { grid-template-columns: 1fr; gap: 10px; }
  #aboutRoot .svc-overview__body { text-align: left; }
  #aboutRoot .svc-overview__body p { max-width: none; }
  .svc-overview__aside { flex-direction: row; align-items: baseline; gap: 16px; }
  .svc-overview__media { --ar: 16/10; max-width: 520px; }
  .svc-caps__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block__media, .svc-block--reverse .svc-block__media { order: -1; }
  .svc-sechead { flex-direction: row; align-items: center; gap: 14px; }
  .svc-sechead .svc-index { line-height: .8; }
  .contacts__inner > *, .contacts__intro, .form { min-width: 0; }
  .contacts__intro { text-align: center; }
  .contacts__markets {
    display: flex; flex-wrap: nowrap; gap: 6px; justify-content: center;
  }
  .contacts__markets li {
    padding: 8px 9px; font-size: .68rem; text-align: center; line-height: 1.2;
    white-space: nowrap; letter-spacing: -.01em;
  }
  .rnd__stats { grid-template-columns: 1fr 1fr; }
  .articles { grid-template-columns: 1fr; }
  .approach__grid { display: flex; flex-direction: column; gap: 32px; }
  .approach__visual { order: -1; grid-column: auto; grid-row: auto; }
  .approach__visual img { width: 78%; }
  .approach__head { margin-bottom: 14px; }
  .approach__list .principle p { font-size: .95rem; }
  .intel__inner { gap: 20px; }
  .intel__visual { order: 1; }
  .intel__visual img { width: 84%; }
  .intel__content .section-lead { font-size: .98rem; }
  .approach__list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0;
  }
  .approach__list::-webkit-scrollbar { display: none; }
  .approach__list .principle { flex: 0 0 100%; scroll-snap-align: center; grid-column: auto; grid-row: auto; }
  .approach .slider-dots { display: flex; }
  .card { min-height: 340px; }
  .inv-card { width: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__actions .btn { flex: 1; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .hero__auctions .logo-row--img {
    display: flex; grid-template-columns: none; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .hero__auctions .logo-row--img::-webkit-scrollbar { display: none; }
  .hero__auctions .logo-row--img li { flex: 0 0 100%; scroll-snap-align: center; min-height: 120px; }
  .hero__auctions .slider-dots { display: flex; }
  .resources .articles {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .resources .articles::-webkit-scrollbar { display: none; }
  .resources .articles .article { flex: 0 0 100%; scroll-snap-align: center; grid-template-columns: 1fr; }
  .article__img { width: 100%; aspect-ratio: 16/9; }
  .resources .slider-dots { display: flex; }

  .tuning-cards .cards {
    display: flex; grid-template-columns: none; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .tuning-cards .cards::-webkit-scrollbar { display: none; }
  .tuning-cards .cards .card { flex: 0 0 100%; scroll-snap-align: center; }
  .tuning-cards .slider-dots { display: flex; }

  .safety__list {
    display: flex; flex-direction: row; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .safety__list::-webkit-scrollbar { display: none; }
  .safety__item { flex: 0 0 100%; scroll-snap-align: center; padding: 20px 22px; }
  .safety .slider-dots { display: flex; margin-top: 14px; }
  .safety__inner { gap: 6px; }
  .safety__visual img { width: 66%; }
  .safety__item p { font-size: .95rem; }

  .partners__inner .section-lead { font-size: .95rem; margin-top: 10px; }
  .logo-row--partners { gap: 28px 40px; margin: 24px 0 24px; }
  .logo-row--partners img { height: 46px; }
  .partners .btn { margin-top: 4px; }
  .form__row { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .inv-card { width: 100%; }
  .stock-grid { grid-template-columns: 1fr; gap: 22px; }
  .res-grid { grid-template-columns: 1fr; gap: 30px; }
  /* markets → horizontal JS slider with dots on mobile */
  .about-markets {
    display: flex; grid-template-columns: none; gap: 0;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .about-markets::-webkit-scrollbar { display: none; }
  .about-markets .about-market { flex: 0 0 100%; scroll-snap-align: center; }
  .about-markets__dots { display: flex; margin-top: 22px; }
  .social-grid { grid-template-columns: 1fr; }
  .contact-map { aspect-ratio: 4/3; }
  /* article footer buttons: side by side, smaller */
  .article-foot { flex-wrap: nowrap; gap: 10px; }
  .article-foot .btn { flex: 0 1 auto; padding: 10px 14px; font-size: .8rem; white-space: nowrap; }
  /* capabilities / process / gallery → horizontal JS sliders with dots on mobile */
  .svc-caps__grid, .svc-steps, .svc-gallery {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .svc-caps__grid { gap: 0; background: none; border: none; border-radius: 0; }
  .svc-caps__grid::-webkit-scrollbar, .svc-steps::-webkit-scrollbar, .svc-gallery::-webkit-scrollbar { display: none; }
  .svc-caps__grid .svc-cap { flex: 0 0 100%; scroll-snap-align: center; border: 1px solid var(--line-dark); border-radius: var(--radius); }
  .svc-steps .svc-step, .svc-gallery__item { flex: 0 0 100%; scroll-snap-align: center; }
  .svc-caps__dots, .svc-steps__dots, .svc-gallery__dots { display: flex; margin-top: 22px; }
  .svc-gallery { grid-template-columns: 1fr; gap: 22px; }
  .svc-gallery__item:nth-child(2) { margin-top: 0; }
  .svc-gallery__item .media { --ar: 16/11; }
  .svc-stats__inner { grid-template-columns: 1fr; gap: 26px; }
  .svc-overview__text .section-title, .svc-sechead .section-title { max-width: none; }
  .svc-hero { padding-top: 108px; }
  .svc-hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .svc-hero__actions .btn { flex: 1; }
  .inventory .section-head { gap: 14px; margin-bottom: 18px; }
  .inventory__viewall { align-self: flex-start; padding: 10px 20px; font-size: .86rem; }

  /* mobile: smaller buttons + tighter block spacing everywhere */
  .btn { padding: 12px 20px; font-size: .88rem; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section-lead { margin-top: 12px; }
  .tuning__head .btn { margin-top: 16px; }
  .tuning__body { margin-top: 22px; gap: 20px; }
  .tuning-cards { padding-top: 8px; }
  .tuning-cards__lead { margin-bottom: 14px; }
  .tuning__item { padding: 16px 0; }
  .tuning__item p { margin-top: 6px; font-size: .95rem; }
  .tuning__visual img { min-height: 0; max-height: 300px; }
  .rnd__band { padding: 26px 0; }
  .rnd__band-inner { gap: 14px; }
  .rnd__band-left .section-title { margin-bottom: 0; }
  .rnd__car img { width: 72%; }
  .rnd__intro { font-size: .95rem; }
  .rnd__stats { margin-top: 20px; gap: 18px; }
  .rnd__sub { padding: 34px 0; }
  .rnd__sub .feature-grid {
    display: flex; grid-template-columns: none; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .rnd__sub .feature-grid::-webkit-scrollbar { display: none; }
  .rnd__sub .feature-grid .feature { flex: 0 0 100%; scroll-snap-align: center; }
  .rnd__sub .slider-dots { display: flex; }
  .section-head { margin-bottom: 22px; }
  .approach__head, .prebid__head, .tuning__head { margin-bottom: 22px; }
  .prebid__body { display: none; }
  .prebid__mslider { display: block; }
  .signup { margin-top: 22px; }
  .process__inner { padding: 30px 18px; }
  .process__bg { inset: 24px 0; }
  .process__inner .section-title { font-size: clamp(1.4rem, 6.4vw, 1.9rem); line-height: 1.16; }
  .process__inner .section-lead { font-size: .95rem; }
  .hero__card { padding: 16px; }
  .hero__card-visual { margin-bottom: 14px; }
  .hero__card-visual img { aspect-ratio: 16/9; }
  .hero__card-text { font-size: .92rem; line-height: 1.5; }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .mission__text { font-size: 1.9rem; }

  /* intel heading: keep to 2 rows on mobile (one per <br> half) */
  .intel__content .section-title {
    font-size: clamp(1.25rem, 5.9vw, 1.7rem);
    letter-spacing: -.01em;
    line-height: 1.2;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
