/* =========================================================
   YAKI CONSULTING — Styles
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --fg: #f2efe8;
  --fg-dim: #7a7a74;
  --fg-muted: #3a3a36;
  --line: #1f1f1c;
  --accent: #ff5a1f;
  --accent-soft: #ffb37a;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --logo: 'Syne', 'Space Grotesk', sans-serif;

  --pad-x: clamp(18px, 4vw, 72px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  cursor: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

em,
.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Scroll bar hide (we use Lenis) */
html.lenis {
  scroll-behavior: auto;
}
html.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* =========================================================
   NOISE + CURSOR + PROGRESS
   ========================================================= */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.cursor,
.cursor-follow {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor {
  width: 6px;
  height: 6px;
  background: var(--fg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-follow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cursor-follow.is-hover {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-follow { display: none; }
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9990;
  background: transparent;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transform-origin: left;
}

/* =========================================================
   LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad-x);
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 48px);
  overflow: hidden;
}

.loader-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.loader-center {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(40px, 10vw, 120px);
}

.loader-title {
  display: flex;
  gap: clamp(6px, 1.4vw, 18px);
  font-family: var(--logo);
  font-weight: 800;
  font-size: clamp(88px, 22vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.loader-title .l-char {
  display: inline-block;
  transform: translateY(120%);
  will-change: transform;
}

.loader-count {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(18px, 2vw, 28px);
  font-variant-numeric: tabular-nums;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.loader-count .loader-num {
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--fg);
}

.loader-bar {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.loader-bar span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(18px, 2vw, 26px) var(--pad-x);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0));
  backdrop-filter: blur(6px);
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  display: inline-flex;
  transition: transform 0.6s var(--ease);
}

.nav-logo:hover .logo-mark {
  transform: rotate(360deg);
}

.logo-word {
  font-family: var(--logo);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
}

.logo-word sup {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9px;
  color: var(--accent);
  margin-left: 4px;
  margin-top: 2px;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  color: var(--fg-dim);
}

.nav-menu a {
  position: relative;
  padding: 4px 2px;
  transition: color 0.3s var(--ease);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav-menu a:hover {
  color: var(--fg);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.lang-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-family: var(--sans);
  color: var(--fg-dim);
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--fg-muted);
  color: var(--fg);
}

.lang-option {
  transition: color 0.3s var(--ease);
}

.lang-option.is-active {
  color: var(--accent);
}

.lang-sep {
  opacity: 0.4;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.nav-cta:hover .nav-cta-dot {
  background: var(--bg);
}

.nav-cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: background 0.4s var(--ease);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 820px) {
  .nav-menu { display: none; }
}

@media (max-width: 520px) {
  .lang-toggle { padding: 6px 10px; font-size: 10px; }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(110px, 11vw, 140px) var(--pad-x) clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(20px, 2.4vw, 36px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 80%);
  opacity: 0.8;
  pointer-events: none;
  will-change: transform;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.meta-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-block.align-right {
  justify-content: flex-end;
  gap: 18px;
}

.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse 2.4s infinite var(--ease);
}

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

.hero-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(52px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  padding: clamp(8px, 1.5vw, 18px) 0;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-top: clamp(20px, 2vw, 32px);
  border-top: 1px solid var(--line);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.scroll-dot {
  width: 22px;
  height: 36px;
  border: 1px solid var(--fg-dim);
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
}

.scroll-dot span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--fg);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollBob 2s infinite var(--ease);
}

@keyframes scrollBob {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 12px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

.hero-desc {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--fg-dim);
  max-width: 52ch;
  line-height: 1.55;
}

.desc-marker {
  display: inline-block;
  margin-right: 10px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  vertical-align: middle;
}

.hero-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
  justify-self: end;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22ff88;
  box-shadow: 0 0 10px #22ff88;
  flex-shrink: 0;
}

.status-top {
  display: block;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 2px;
}

.status-bot {
  display: block;
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-availability { justify-self: start; }
}

/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.marquee-track {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  white-space: nowrap;
  font-size: clamp(32px, 5.5vw, 88px);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  will-change: transform;
}

.marquee-track span {
  flex-shrink: 0;
}

.marquee-track em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
  transform: translateY(-0.08em);
}

/* =========================================================
   APPROACH
   ========================================================= */

.approach {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  border-bottom: 1px solid var(--line);
}

.approach-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 60px);
}

.section-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-block;
}

.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-top: 16px;
  height: 160px;
  display: inline-flex;
  align-items: flex-start;
  align-self: start;
}

.approach-main {
  max-width: 1100px;
}

.approach-headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-line > * {
  display: inline-block;
}

.approach-headline .reveal-line {
  display: block;
}

.approach-body {
  max-width: 1000px;
}

.body-lead {
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--fg);
  max-width: 56ch;
  margin-bottom: clamp(50px, 8vw, 110px);
  letter-spacing: -0.015em;
}

.approach-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 48px);
}

.col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.col-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.col h4 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.col p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .approach {
    grid-template-columns: 1fr;
  }
  .approach-aside {
    position: static;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .vertical-label { display: none; }
  .approach-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVICES (horizontal scroll)
   ========================================================= */

.services {
  position: relative;
  padding-block: clamp(80px, 12vw, 160px);
  overflow: hidden;
  background: var(--bg-2);
}

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding: 0 var(--pad-x) clamp(56px, 7vw, 96px);
}

.services-headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: right;
}

.services-scroll {
  width: 100%;
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 28px;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  will-change: transform;
}

.service-card {
  flex: 0 0 clamp(320px, 28vw, 440px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 2.6vw, 42px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  min-height: clamp(500px, 55vw, 640px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 90, 31, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--fg-muted);
  background: #181815;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.service-tag {
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.service-card h3 {
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.service-card p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
  flex-grow: 0;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-card ul li {
  font-size: 13px;
  color: var(--fg);
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.card-foot strong {
  color: var(--fg);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.service-end {
  flex: 0 0 clamp(240px, 22vw, 340px);
  min-height: clamp(500px, 55vw, 640px);
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: clamp(28px, 2.6vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 14px;
  color: var(--fg-dim);
}

.service-end-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.service-end-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.service-end-link:hover svg {
  transform: translateX(6px);
}

@media (max-width: 700px) {
  .services-intro {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-headline { text-align: left; }
}

/* =========================================================
   NUMBERS
   ========================================================= */

.numbers {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  border-bottom: 1px solid var(--line);
}

.numbers-headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: clamp(20px, 2vw, 28px) 0 clamp(60px, 8vw, 120px);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
  border-right: 1px solid var(--line);
  min-height: clamp(260px, 28vw, 420px);
}

.stat:last-child {
  border-right: none;
}

.stat-top {
  display: flex;
}

.stat-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(58px, 9vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.stat-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 28ch;
}

.stat-unit {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 900px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* =========================================================
   PROCESS
   ========================================================= */

.process {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.process-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(48px, 8vw, 120px);
}

.process-headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: right;
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 31, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.process-step:hover::after {
  opacity: 1;
}

.process-step:hover .step-num {
  color: var(--accent);
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--fg-dim);
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(44px, 5vw, 82px);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  transition: color 0.4s var(--ease);
}

.step-line {
  flex-grow: 1;
  display: flex;
  align-items: center;
  color: var(--line);
}

.step-line svg {
  width: 100%;
  height: 4px;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 70ch;
}

.step-body h3 {
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.step-body p {
  color: var(--fg-dim);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
}

.step-dur {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}

@media (max-width: 700px) {
  .process-head { flex-direction: column; align-items: flex-start; }
  .process-headline { text-align: left; }
  .process-step { grid-template-columns: 1fr; }
  .step-line { display: none; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad-x) clamp(32px, 4vw, 48px);
  overflow: hidden;
}

.contact-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.contact-cta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: clamp(56px, 8vw, 120px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-block: 1px solid var(--line);
  margin-bottom: clamp(56px, 8vw, 100px);
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.contact-email {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.6s var(--ease), color 0.4s var(--ease);
  width: fit-content;
  padding-bottom: 2px;
}

.contact-email:hover {
  background-size: 100% 1px;
  color: var(--accent);
}

.contact-address,
.contact-principal,
.contact-hours {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  font-style: normal;
  letter-spacing: -0.01em;
}

.contact-big {
  display: block;
  margin: 0 auto;
  width: fit-content;
  padding-block: clamp(28px, 4vw, 48px);
}

.contact-big-inner {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(22px, 2.4vw, 32px) clamp(36px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.contact-big:hover .contact-big-inner {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.contact-big svg {
  width: clamp(20px, 2vw, 28px);
  height: clamp(20px, 2vw, 28px);
  transition: transform 0.45s var(--ease);
}

.contact-big:hover svg {
  transform: translateX(8px);
}

/* Footer truck animation ---------------------------------- */
.footer-truck {
  position: relative;
  margin: clamp(40px, 6vw, 96px) 0 clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px) clamp(32px, 3.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.truck-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
}

.truck-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.truck-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.td {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s infinite var(--ease);
}

.truck-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  color: var(--fg);
  position: relative;
  z-index: 2;
}

/* Wheel rotation handled via GSAP in script.js */

.headlight {
  filter: drop-shadow(0 0 6px var(--accent));
  color: var(--accent);
  fill: var(--accent);
}

.exhaust circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: smoke 2.8s ease-out infinite;
}

.exhaust circle:nth-child(1) { animation-delay: 0s; }
.exhaust circle:nth-child(2) { animation-delay: -0.9s; }
.exhaust circle:nth-child(3) { animation-delay: -1.8s; }

@keyframes smoke {
  0% {
    transform: translate(0, 14px) scale(0.4);
    opacity: 0;
  }
  15% {
    opacity: 0.55;
  }
  70% {
    opacity: 0.25;
  }
  100% {
    transform: translate(-22px, -32px) scale(1.3);
    opacity: 0;
  }
}

.truck-road {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 56px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--fg) 0 28px,
    transparent 28px 52px
  );
  background-size: 52px 2px;
  opacity: 0.6;
  animation: roadMove 0.7s linear infinite;
  z-index: 1;
}

.truck-horizon {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 36px;
  height: 1px;
  background: var(--line);
  z-index: 1;
}

@keyframes roadMove {
  from { background-position: 0 0; }
  to { background-position: -52px 0; }
}

.truck-callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 58ch;
}

.callout-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}

.footer-meta a:hover {
  color: var(--fg);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-meta { grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE-FIRST REFINEMENTS (≤ 640px)
   ========================================================= */

@media (max-width: 640px) {
  html, body { font-size: 15px; }

  /* Loader — stack so huge title never pushes the counter out */
  .loader-top { font-size: 10px; gap: 12px; }
  .loader-top .loader-label:first-child { max-width: 62%; }
  .loader-center {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: clamp(32px, 8vw, 64px);
  }
  .loader-title {
    font-size: clamp(68px, 19vw, 160px);
    gap: 4px;
  }
  .loader-count {
    align-self: flex-end;
    font-size: 16px;
  }
  .loader-count .loader-num { font-size: 20px; }

  /* Nav compacter */
  .nav {
    padding: 14px var(--pad-x);
    gap: 12px;
  }
  .logo-word { font-size: 20px; }
  .nav-cta {
    padding: 9px 14px 9px 12px;
    font-size: 12px;
    gap: 8px;
  }
  .nav-cta .nav-cta-dot { width: 6px; height: 6px; }
  .nav-cta svg { width: 12px; height: 12px; }

  /* Hero */
  .hero {
    padding: clamp(90px, 22vw, 120px) var(--pad-x) 32px;
    min-height: 100dvh;
  }
  .hero-grid { background-size: 48px 48px; }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .meta-block.align-right {
    justify-content: flex-start;
    gap: 14px;
  }

  .hero-title {
    font-size: clamp(32px, 9.2vw, 72px);
    letter-spacing: -0.035em;
    line-height: 0.95;
    padding: 20px 0;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 20px;
  }
  .hero-availability { justify-self: stretch; }
  .hero-scroll .scroll-label { font-size: 10px; letter-spacing: 0.18em; }

  /* Marquee */
  .marquee { padding: 18px 0; }
  .marquee-track {
    font-size: clamp(32px, 9vw, 48px);
    gap: 32px;
  }

  /* Approach */
  .approach {
    padding-block: clamp(64px, 14vw, 96px);
    gap: 28px;
  }
  .approach-aside {
    position: static;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .vertical-label { display: none; }
  .approach-headline {
    font-size: clamp(34px, 9vw, 58px);
    line-height: 1;
    margin-bottom: 40px;
  }
  .body-lead {
    font-size: clamp(16px, 4.4vw, 20px);
    margin-bottom: 56px;
  }
  .approach-cols {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }

  /* Services — touch-friendly native scroll */
  .services {
    padding-block: clamp(64px, 14vw, 96px);
  }
  .services-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 40px;
  }
  .services-headline {
    font-size: clamp(30px, 8.4vw, 52px);
    text-align: left;
  }
  .services-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .services-scroll::-webkit-scrollbar { display: none; }
  .services-track {
    gap: 16px;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    transform: none !important;
  }
  .service-card {
    flex: 0 0 82%;
    min-height: auto;
    scroll-snap-align: start;
    padding: 24px;
    gap: 18px;
  }
  .service-card h3 { font-size: 30px; }
  .service-num { font-size: 36px; }
  .service-end { flex: 0 0 68%; min-height: auto; padding: 24px; }

  /* Numbers */
  .numbers {
    padding-block: clamp(64px, 14vw, 96px);
  }
  .numbers-headline {
    font-size: clamp(30px, 8.4vw, 58px);
    margin-block: 16px 44px;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    min-height: auto;
    padding: 28px 4px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    gap: 28px;
  }
  .stat:last-child { border-bottom: none; }
  .stat-num { font-size: clamp(60px, 18vw, 96px); }

  /* Process */
  .process {
    padding-block: clamp(64px, 14vw, 96px);
  }
  .process-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 40px;
  }
  .process-headline {
    font-size: clamp(30px, 8.4vw, 52px);
    text-align: left;
  }
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 28px;
  }
  .step-meta { gap: 12px; }
  .step-num { font-size: clamp(40px, 12vw, 56px); }
  .step-line { display: none; }
  .step-body h3 { font-size: clamp(26px, 7vw, 40px); }

  /* Contact */
  .contact {
    padding-block: clamp(64px, 14vw, 96px) 32px;
  }
  .contact-cta {
    font-size: clamp(44px, 14vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
    margin-bottom: 40px;
  }
  .contact-email { font-size: 18px; }
  .contact-big-inner {
    padding: 20px 28px;
    font-size: 17px;
    gap: 14px;
  }
  .contact-big svg { width: 18px; height: 18px; }
  .footer-mega { margin-block: 32px 28px; }
  .footer-mega span {
    font-size: clamp(68px, 24vw, 130px);
    letter-spacing: -0.06em;
  }
  .footer-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 24px;
    font-size: 11px;
  }
}

/* Extra-small phones (≤ 380px) — ultra-tight */
@media (max-width: 380px) {
  :root { --pad-x: 14px; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 8px 10px; }
  .hero-title { font-size: clamp(40px, 14vw, 64px); }
  .service-card { flex: 0 0 88%; }
}
