/* === Draganov Trans-86 EOOD — Industrial design system === */

:root {
  --c-ink: #0a0a0a;
  --c-ink-2: #111111;
  --c-ink-3: #161616;
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-strong: rgba(255, 255, 255, 0.18);
  --c-text: #f3f1ec;
  --c-text-dim: #9a9892;
  --c-text-mute: #6e6c66;
  --c-bone: #f3f1ea;
  --c-bone-2: #ebe7dc;
  --c-yellow: #ffd60a;
  --c-yellow-deep: #f0c000;
  --c-yellow-dark: #b58a00;
  --c-amber: #ffb800;
  --c-danger: #ff5a3d;
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", "Menlo", monospace;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-ink);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Layout */
.shell { width: 100%; max-width: 1380px; padding: 0 32px; margin: 0 auto; }
@media (max-width: 760px){ .shell { padding: 0 22px; } }
@media (max-width: 380px){ .shell { padding: 0 18px; } }

/* === Header === */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background 0.4s var(--easing), border-color 0.4s var(--easing), backdrop-filter 0.4s var(--easing);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--c-line);
}
.hdr-row {
  display: flex; align-items: center; gap: 28px;
  height: 86px;
}
.hdr-logo { display: flex; align-items: center; gap: 14px; }
.hdr-logo img { height: 50px; width: auto; }
.hdr-nav { display: flex; gap: 30px; margin-left: 28px; }
.hdr-nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}
.hdr-nav a:hover { color: var(--c-yellow); }
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-yellow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--easing);
}
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-spacer { flex: 1; }

.btn-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 600; letter-spacing: 0.06em;
  font-size: 16px;
  padding: 12px 18px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: all 0.25s var(--easing);
  white-space: nowrap;
}
.btn-phone:hover { border-color: var(--c-yellow); background: rgba(255,214,10,0.08); color: var(--c-yellow); }
.btn-phone .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #44e07e;
  box-shadow: 0 0 0 0 rgba(68,224,126,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(68,224,126,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(68,224,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(68,224,126,0); }
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 700; letter-spacing: 0.08em;
  font-size: 16px; text-transform: uppercase;
  padding: 14px 22px;
  background: var(--c-yellow); color: #0a0a0a;
  border-radius: 999px;
  transition: all 0.25s var(--easing);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.5), transparent 60%);
  opacity: 0; transition: opacity 0.25s;
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,214,10,0.25); }
.btn-cta .arr { transition: transform 0.25s var(--easing); }
.btn-cta:hover .arr { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 600; letter-spacing: 0.08em;
  font-size: 15px; text-transform: uppercase;
  padding: 14px 22px;
  border: 1.5px solid var(--c-text);
  color: var(--c-text);
  border-radius: 999px;
  transition: all 0.25s var(--easing);
}
.btn-ghost:hover { background: var(--c-text); color: var(--c-ink); }

.hdr-burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line-strong);
  border-radius: 12px;
  flex-shrink: 0;
}
.hdr-burger span {
  position: absolute; left: 11px; right: 11px;
  height: 2px; background: var(--c-text);
  transition: transform 0.3s var(--easing), opacity 0.2s;
}
.hdr-burger span:nth-child(1) { top: 14px; }
.hdr-burger span:nth-child(2) { top: 21px; }
.hdr-burger span:nth-child(3) { top: 28px; }
.hdr-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-burger.open span:nth-child(2) { opacity: 0; }
.hdr-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  position: fixed; inset: 0;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 70;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--easing);
  display: flex; align-items: center; justify-content: center;
}
.mob-menu.open { opacity: 1; pointer-events: auto; }
.mob-menu-inner {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 100px 32px 40px;
  width: 100%;
  max-width: 480px;
}
.mob-menu-inner > a {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  transition: color 0.2s, padding-left 0.3s var(--easing);
}
.mob-menu-inner > a:hover, .mob-menu-inner > a:active { color: var(--c-yellow); padding-left: 12px; }
.mob-menu-foot {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 32px;
}
.mob-menu-foot .btn-phone,
.mob-menu-foot .btn-cta { justify-content: center; width: 100%; padding: 16px; font-size: 15px; }

@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; align-items: center; justify-content: center; }
  .hdr-cta { display: none; }
}
@media (max-width: 760px) {
  .hdr-row { height: 68px; gap: 10px; }
  .hdr-logo img { height: 38px; }
  .btn-phone { padding: 10px 14px; gap: 8px; }
  .btn-phone .num { display: none; }
}
@media (max-width: 380px) {
  .hdr-row { gap: 8px; }
  .btn-phone { padding: 10px 12px; }
  .hdr-logo img { height: 34px; }
}

/* === Hero === */
.hero {
  position: relative; min-height: 100vh;
  padding: 140px 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,214,10,0.08) 0%, transparent 50%), var(--c-ink);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-yellow);
  padding: 8px 14px;
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: 999px;
  background: rgba(255,214,10,0.05);
  margin-bottom: 28px;
}
.hero-eyebrow .blip { width: 6px; height: 6px; background: var(--c-yellow); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.hero-h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 24px;
  position: relative; z-index: 3;
  text-wrap: balance;
}
.hero-inner > .reveal { position: relative; z-index: 3; }
.hero-sub, .hero-actions, .hero-meta { position: relative; z-index: 3; }
.hero-h1 .stroke {
  -webkit-text-stroke: 2px var(--c-text);
  color: transparent;
}
.hero-h1 .yellow { color: var(--c-yellow); position: relative; display: inline-block; }
.hero-h1 .yellow::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: 8%;
  height: 14%; background: var(--c-yellow); opacity: 0.25;
  z-index: -1; border-radius: 4px; transform: skewX(-8deg);
}
.hero-sub {
  max-width: 620px;
  font-size: 19px;
  color: var(--c-text-dim);
  line-height: 1.6;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-meta {
  display: flex; gap: 48px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.hero-meta-item .k {
  font-family: var(--f-display);
  font-size: 48px; line-height: 1; font-weight: 700;
  color: var(--c-yellow);
  letter-spacing: -0.02em;
}
.hero-meta-item .v {
  font-size: 13px; color: var(--c-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-vis {
  position: absolute; right: 3%; top: 50%;
  transform: translateY(-50%);
  width: 45%; height: auto;
  z-index: 1;
}
.hero-frame { position: relative; }
.hero-frame::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 84px; height: 84px;
  border-left: 3px solid var(--c-yellow); border-top: 3px solid var(--c-yellow);
  border-top-left-radius: 12px; z-index: 2;
}
.hero-frame::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px;
  border-right: 3px solid var(--c-yellow); border-bottom: 3px solid var(--c-yellow);
  border-bottom-right-radius: 12px; z-index: 2;
}
.hero-crane-img {
  width: 100%; height: auto; display: block;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px rgba(0,0,0,0.7), 0 0 60px rgba(255,214,10,0.07);
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-vis::before {
  content: "";
  position: absolute;
  right: 8%; bottom: 0;
  width: 70%; height: 28px;
  background: radial-gradient(ellipse at center, rgba(255,214,10,0.25), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.hero-corner {
  position: absolute; font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--c-yellow);
  z-index: 4;
  text-transform: uppercase;
}
.hero-corner.tl { top: 12px; left: 12px; }
.hero-corner.br { bottom: 12px; right: 12px; }

@media (max-width: 1100px) {
  .hero-vis { position: relative; right: 0; top: 0; transform: none; width: 100%; max-width: 620px; margin: 44px auto 0; }
  .hero { min-height: auto; padding-bottom: 0; }
}
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
  .hero-inner { padding-bottom: 50px; }
  .hero-h1 { font-size: clamp(38px, 10.5vw, 60px); line-height: 1; }
  .hero-eyebrow { font-size: 11px; padding: 7px 12px; margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; line-height: 1.55; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn-cta, .hero-actions .btn-ghost { padding: 15px 18px; font-size: 14px; width: 100%; justify-content: center; }
  .hero-meta { gap: 24px 0; margin-top: 38px; padding-top: 26px; }
  .hero-meta-item { flex: 1 1 50%; min-width: 0; padding-right: 8px; }
  .hero-meta-item:nth-child(2n) { padding-right: 0; }
  .hero-meta-item .k { font-size: 32px; }
  .hero-meta-item .v { font-size: 11px; }
  .hero-vis { width: 92%; max-width: 420px; margin: 28px auto 0; }
}
@media (max-width: 380px) {
  .hero-h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .hero-meta-item .k { font-size: 28px; }
}

/* === Caution tape marquee === */
.tape {
  position: relative;
  background: var(--c-yellow);
  color: var(--c-ink);
  overflow: hidden;
  border-top: 4px solid var(--c-ink);
  border-bottom: 4px solid var(--c-ink);
}
.tape::before, .tape::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--c-ink) 0 24px, var(--c-yellow) 24px 48px);
}
.tape::before { top: 0; } .tape::after { bottom: 0; }
.tape-track {
  display: flex; gap: 60px;
  padding: 22px 0;
  white-space: nowrap;
  animation: scroll-x 48s linear infinite;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tape-track span { display: inline-flex; align-items: center; gap: 60px; }
.tape-track .star { color: var(--c-ink); font-size: 18px; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .tape-track { font-size: 16px; gap: 28px; padding: 14px 0; animation-duration: 28s; }
  .tape-track span { gap: 28px; }
  .tape::before, .tape::after { height: 4px; }
}

/* === Sections === */
.sec { position: relative; padding: 130px 0; }
.sec.bone { background: var(--c-bone); color: var(--c-ink); }
.sec.bone .sec-eyebrow { color: var(--c-yellow-dark); border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.03); }
.sec.bone .sec-title .stroke { -webkit-text-stroke: 2px var(--c-ink); }
.sec.bone .sec-sub { color: rgba(0,0,0,0.65); }
.sec.dim { background: var(--c-ink-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 70px; align-items: end; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
  padding: 7px 12px;
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: 999px;
  background: rgba(255,214,10,0.05);
  margin-bottom: 24px;
}
.sec-eyebrow .num { color: var(--c-text-mute); }
.sec.bone .sec-eyebrow .num { color: rgba(0,0,0,0.4); }
.sec-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.sec-title .yellow { color: var(--c-yellow); }
.sec-title .stroke { -webkit-text-stroke: 2px var(--c-text); color: transparent; }
.sec-sub {
  font-size: 18px; color: var(--c-text-dim); line-height: 1.6; margin: 0;
  max-width: 520px; justify-self: end;
}
@media (max-width: 900px) {
  .sec { padding: 72px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 44px; }
  .sec-sub { justify-self: start; font-size: 16px; max-width: 100%; }
  .sec-title { font-size: clamp(34px, 9vw, 52px); line-height: 0.98; }
}
@media (max-width: 480px) {
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-eyebrow { font-size: 10px; padding: 6px 10px; }
  .sec-sub { font-size: 15px; }
}

/* === Services grid === */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.svc-card {
  background: var(--c-ink);
  padding: 40px 36px 36px;
  position: relative;
  min-height: 340px;
  display: flex; flex-direction: column;
  transition: background 0.4s var(--easing);
  overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--c-yellow));
  opacity: 0; z-index: 0;
  transition: opacity 0.4s var(--easing);
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { background: #0c0c0c; }
.svc-card:hover::after { opacity: 0.06; }
.svc-card .num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--c-text-mute);
  margin-bottom: 60px;
}
.svc-card .ico {
  width: 56px; height: 56px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 12px;
  margin-bottom: 24px;
  color: var(--c-yellow);
  transition: all 0.4s var(--easing);
}
.svc-card:hover .ico {
  border-color: var(--c-yellow);
  background: var(--c-yellow);
  color: var(--c-ink);
  transform: rotate(-6deg) scale(1.08);
}
.svc-card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.svc-card p { color: var(--c-text-dim); font-size: 15px; line-height: 1.55; margin: 0 0 auto; }
.svc-card .more {
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-yellow);
  display: inline-flex; align-items: center; gap: 8px;
}
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: auto; padding: 30px 22px 26px; }
  .svc-card .ico { margin-top: 4px; width: 50px; height: 50px; }
  .svc-card h3 { font-size: 20px; }
  .svc-card p { font-size: 14px; }
  .svc-card .more { margin-top: 22px; font-size: 11px; }
}

/* === About === */
.about {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: stretch;
}
.about-vis {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(0,0,0,0.1);
}
.about-vis image-slot {
  width: 100%; height: 100%;
  --is-bg: linear-gradient(135deg, #2a2a2a, #0a0a0a);
  --is-fg: var(--c-text-dim);
  --is-border: transparent;
}
.about-vis .badge {
  position: absolute; right: 24px; bottom: 24px;
  background: var(--c-yellow); color: var(--c-ink);
  padding: 18px 22px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 700;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.about-text h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; text-transform: uppercase; margin: 0 0 32px; letter-spacing: -0.01em; }
.about-text p { font-size: 17px; line-height: 1.7; margin: 0 0 18px; color: rgba(0,0,0,0.78); }
.about-text p strong { color: var(--c-ink); font-weight: 700; }
.about-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin-top: 44px;
  background: rgba(0,0,0,0.12);
  border-radius: 10px;
  overflow: hidden;
}
.about-stats > div {
  background: rgba(0,0,0,0.045);
  padding: 22px 18px 20px;
  position: relative;
  min-width: 0;
}
.about-stats > div::before {
  content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 3px;
  background: var(--c-yellow-deep);
}
.about-stats .k { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.about-stats .v { font-size: 12px; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(0,0,0,0.6); margin-top: 8px; line-height: 1.3; }

/* Stable counters — reserve final width so nothing shifts while animating */
.cnt { position: relative; display: inline-block; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.cnt-ghost { visibility: hidden; }
.cnt-val { position: absolute; left: 0; top: 0; white-space: nowrap; }
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-vis { min-height: 280px; max-height: 380px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
  .about-text h2 { font-size: clamp(30px, 8vw, 48px); margin-bottom: 24px; }
  .about-text p { font-size: 15px; line-height: 1.65; }
}
@media (max-width: 480px) {
  .about-vis { min-height: 220px; max-height: 280px; }
  .about-vis .badge { right: 12px; bottom: 12px; padding: 10px 14px; font-size: 10px; }
  .about-stats > div { padding: 18px 14px 16px; }
  .about-stats .k { font-size: 32px; }
  .about-stats .v { font-size: 11px; letter-spacing: 0.06em; }
}

/* === Benefits === */
.bn-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--c-line);
  border: 1px solid var(--c-line);
}
.bn-card {
  background: var(--c-ink);
  padding: 38px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: background 0.3s;
  position: relative;
}
.bn-card:hover { background: #0c0c0c; }
.bn-card .ico {
  width: 52px; height: 52px;
  background: rgba(255,214,10,0.1);
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-yellow);
  flex-shrink: 0;
}
.bn-card h4 { font-family: var(--f-display); font-weight: 600; font-size: 22px; text-transform: uppercase; margin: 6px 0 8px; letter-spacing: 0.01em; }
.bn-card p { color: var(--c-text-dim); font-size: 15px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .bn-grid { grid-template-columns: 1fr; }
  .bn-card { padding: 24px 20px; gap: 16px; }
  .bn-card .ico { width: 44px; height: 44px; }
  .bn-card h4 { font-size: 17px; margin-bottom: 6px; }
  .bn-card p { font-size: 14px; line-height: 1.5; }
}

/* === Clients / work gallery === */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 232px;
  gap: 14px;
}
.cl-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #0d0d0d;
}
.cl-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--easing), filter 0.5s;
  filter: saturate(0.95) contrast(1.04);
}
.cl-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0) 38%, rgba(10,10,10,0.55) 68%, rgba(10,10,10,0.93) 100%);
  pointer-events: none;
}
.cl-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 5px;
}
.cl-item figcaption .t {
  font-family: var(--f-display); font-weight: 600;
  font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--c-yellow);
  line-height: 1.05;
}
.cl-item figcaption .d { font-size: 13.5px; color: #d9d7d1; line-height: 1.4; }
.cl-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px;
  background: var(--c-yellow); z-index: 3;
  transition: width 0.6s var(--easing);
}
.cl-item:hover::before { width: 100%; }
.cl-item:hover img { transform: scale(1.06); filter: saturate(1.08) contrast(1.06); }
/* Desktop mosaic — cell shape matched to each photo's orientation */
.cl-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.cl-b { grid-column: 3 / 4; grid-row: 1 / 3; }
.cl-c { grid-column: 1 / 2; grid-row: 3 / 5; }
.cl-d { grid-column: 2 / 4; grid-row: 3 / 5; }
@media (hover: none) { .cl-item:hover img { transform: none; } }
@media (max-width: 900px) {
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .cl-item { grid-column: auto; grid-row: auto; }
  .cl-a, .cl-d { grid-column: span 2; aspect-ratio: 16 / 9; }
  .cl-b, .cl-c { aspect-ratio: 3 / 4; }
  .cl-item figcaption { padding: 18px; }
  .cl-item figcaption .t { font-size: 18px; }
}
@media (max-width: 560px) {
  .cl-grid { grid-template-columns: 1fr; gap: 12px; }
  .cl-a, .cl-d { grid-column: span 1; aspect-ratio: 4 / 3; }
  .cl-b, .cl-c { aspect-ratio: 4 / 5; }
  .cl-item figcaption { padding: 16px; }
  .cl-item figcaption .t { font-size: 17px; }
  .cl-item figcaption .d { font-size: 12.5px; }
}
.cl-strip {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 22px;
}
.cl-strip-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-text-dim);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, color 0.3s;
}
.cl-strip-item svg { color: var(--c-yellow); }
.cl-strip-item:hover { border-color: var(--c-yellow); color: var(--c-text); }
@media (max-width: 560px) {
  .cl-strip { gap: 9px; margin-top: 16px; }
  .cl-strip-item { padding: 11px 15px; font-size: 12px; letter-spacing: 0.06em; }
}

/* === Process / Workflow === */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-step {
  position: relative;
  padding: 40px 28px 36px;
  border-right: 1px solid var(--c-line);
}
.flow-step:last-child { border-right: none; }
.flow-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--f-display); font-weight: 700;
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,214,10,0.5);
  display: block; line-height: 1; margin-bottom: 24px;
}
.flow-step h5 { font-family: var(--f-display); font-weight: 600; font-size: 20px; text-transform: uppercase; margin: 0 0 10px; }
.flow-step p { font-size: 15px; color: var(--c-text-dim); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2) { border-right: none; }
  .flow-step:nth-child(1), .flow-step:nth-child(2) { border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: none; border-bottom: 1px solid var(--c-line); }
  .flow-step:last-child { border-bottom: none; }
}

/* === Contact === */
.ct {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: start;
}
.ct-info-block {
  border-top: 1px solid var(--c-line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px; align-items: start;
}
.ct-info-block:last-child { border-bottom: 1px solid var(--c-line); }
.ct-info-block .lbl {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding-top: 6px;
}
.ct-info-block .val {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.01em;
}
.ct-info-block .val a { color: var(--c-text); transition: color 0.2s; display: inline-block; }
.ct-info-block .val a:hover { color: var(--c-yellow); }
.ct-info-block .sub { color: var(--c-text-dim); font-size: 14px; margin-top: 6px; font-family: var(--f-body); }

.form {
  background: linear-gradient(180deg, #131313 0%, #0c0c0c 100%);
  border: 1px solid var(--c-line);
  padding: 46px 44px 44px;
  border-radius: 4px;
  position: relative;
}
.form::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 60px; height: 4px;
  background: var(--c-yellow);
}
.form h3 { font-family: var(--f-display); font-weight: 700; font-size: 30px; text-transform: uppercase; margin: 0 0 6px; letter-spacing: 0.01em; }
.form .lead { color: var(--c-text-dim); font-size: 15px; margin: 0 0 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-text-mute);
  text-transform: uppercase;
}
.field label .req { color: var(--c-yellow); margin-left: 4px; }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-text-dim) 50%), linear-gradient(135deg, var(--c-text-dim) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-yellow);
  background: rgba(255,214,10,0.04);
}
.field.err input, .field.err textarea, .field.err select { border-color: var(--c-danger); background: rgba(255,90,61,0.06); }
.field .err-msg {
  display: none;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--c-danger);
  text-transform: uppercase;
  margin-top: 2px;
}
.field.err .err-msg { display: block; }
.form-foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 26px; flex-wrap: wrap; }
.form-foot .note { font-size: 12px; color: var(--c-text-mute); }
.form .btn-cta { padding: 16px 26px; font-size: 14px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-yellow); color: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.form-success h3 { font-family: var(--f-display); font-size: 32px; text-transform: uppercase; margin: 0 0 12px; }
.form-success p { color: var(--c-text-dim); margin: 0 0 20px; }

@media (max-width: 1000px) {
  .ct { grid-template-columns: 1fr; gap: 24px; }
  .form { padding: 36px 24px 30px; border-radius: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form h3 { font-size: 28px; }
  .form .lead { font-size: 14px; margin-bottom: 26px; }
}
@media (max-width: 480px) {
  .ct-info-block { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .ct-info-block .lbl { font-size: 10px; padding-top: 0; }
  .ct-info-block .val { font-size: 20px; line-height: 1.25; }
  .ct-info-block .sub { font-size: 13px; }
  .form { padding: 28px 20px 24px; }
  .form h3 { font-size: 24px; line-height: 1.1; }
  .form .lead { font-size: 13px; margin-bottom: 22px; }
  .field input, .field textarea, .field select { font-size: 16px; padding: 13px 14px; }
  .field label { font-size: 10px; }
  .form-foot { gap: 14px; flex-direction: column; align-items: stretch; }
  .form-foot .note { text-align: center; order: 2; }
  .form-foot .btn-cta { width: 100%; justify-content: center; padding: 16px; font-size: 14px; order: 1; }
}

/* === Footer === */
.foot {
  background: #050505; padding: 70px 0 28px;
  border-top: 1px solid var(--c-line);
}
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--c-line); }
.foot-brand img { height: 64px; margin-bottom: 18px; width: auto; }
.foot-brand p { color: var(--c-text-dim); font-size: 14px; max-width: 320px; line-height: 1.6; margin: 0; }
.foot-col h6 { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-text-mute); margin: 0 0 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--c-text-dim); font-size: 15px; transition: color 0.2s; }
.foot-col a:hover { color: var(--c-yellow); }
.foot-bot { display: flex; justify-content: space-between; padding-top: 28px; color: var(--c-text-mute); font-size: 13px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot { padding: 50px 0 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .foot-brand img { height: 52px; }
  .foot-bot { font-size: 12px; padding-top: 22px; }
  .foot-credit { font-size: 10px; letter-spacing: 0.15em; margin-top: 18px; padding-top: 14px; }
}
.foot-credit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-line);
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}
.foot-credit a {
  color: var(--c-yellow);
  transition: color 0.2s, letter-spacing 0.3s;
}
.foot-credit a:hover { color: #fff; letter-spacing: 0.25em; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Touch-device hover normalisation */
@media (hover: none) {
  .svc-card:hover { background: var(--c-ink); }
  .svc-card:hover::after { opacity: 0; }
  .svc-card:hover .ico { transform: none; background: transparent; color: var(--c-yellow); border-color: var(--c-line-strong); }
  .bn-card:hover { background: var(--c-ink); }
}

/* === Reveal animations === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--easing), transform 0.9s var(--easing); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--easing), transform 0.9s var(--easing); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* Image-slot tweak */
image-slot { background-size: cover !important; }

/* Selection */
::selection { background: var(--c-yellow); color: var(--c-ink); }

/* Skeleton diagonals */
.diagonals {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,214,10,0.05) 18px 19px);
  z-index: 0;
}
