/* =========================================================
   Lenc CNC Design — strojni vez, tisak i brendiranje
   ========================================================= */

:root {
  --bg: #0b0c0f;
  --bg-2: #101217;
  --surface: #15171d;
  --surface-2: #1b1e25;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f1ec;
  --muted: #a2a5ad;
  --dim: #6d717a;
  --accent: #ff5a1f;
  --accent-2: #ffb547;
  --accent-soft: rgba(255, 90, 31, .14);
  --paper: #efeae1;
  --paper-2: #f8f5ef;
  --ink: #131418;
  --ink-muted: #5a5d64;
  --grid: rgba(255, 255, 255, .05);

  --f-display: "Chakra Petch", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(84px, 12vw, 160px); position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: currentColor;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px);
}
.hero__kicker::before { display: none; }
.kicker--dark { color: #d9480f; }

.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.02em;
  max-width: 16ch;
  text-wrap: balance;
}
.h2 em, .contact__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--accent);
}
.h3 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.1; letter-spacing: -.01em;
}
.section__head { margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.section__lead {
  margin-top: 22px; max-width: 56ch;
  color: var(--muted); font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
}

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px;
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --bh: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn--accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--accent:hover::before { transform: translateX(120%); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(255, 90, 31, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost {
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); }
.btn:active { transform: scale(.97); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: var(--bg);
  transition: transform 1s var(--ease-in-out), visibility 0s 1s;
}
.no-js .loader, .skip-loader .loader { display: none; }
.is-loaded .loader { transform: translateY(-100%); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 26px; }
.loader__logo { position: relative; width: min(64vw, 380px); aspect-ratio: 819.75 / 199.5; }
.loader__logo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__ghost { color: rgba(255, 255, 255, .07); }
.loader__cut { color: var(--text); clip-path: inset(0 100% 0 0); animation: cut 1.25s var(--ease-in-out) .15s forwards; }
.loader__beam {
  position: absolute; top: -18%; bottom: -18%; left: 0; width: 2px;
  background: linear-gradient(transparent, var(--accent) 20%, #fff 50%, var(--accent) 80%, transparent);
  box-shadow: 0 0 18px 3px rgba(255, 90, 31, .8), 0 0 60px 8px rgba(255, 90, 31, .35);
  opacity: 0;
  animation: beam 1.25s var(--ease-in-out) .15s forwards;
}
.loader__meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
  opacity: 0; animation: fadeUp .8s var(--ease) .6s forwards;
}
.loader__meta i { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
@keyframes cut { to { clip-path: inset(0 0 0 0); } }
@keyframes beam {
  0% { left: 0; opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Cursor (desktop) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
  .cursor__dot, .cursor__ring {
    position: fixed; left: 0; top: 0; border-radius: 50%;
    transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%);
  }
  .cursor__dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
  .cursor__ring {
    width: 38px; height: 38px; border: 1px solid rgba(255, 90, 31, .55);
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) translate(-50%, -50%) scale(var(--rs, 1));
    transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s;
  }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255, 90, 31, .08); border-color: rgba(255, 90, 31, .8); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding-top: env(safe-area-inset-top);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 12, 15, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 10px rgba(255, 90, 31, .7);
}
.header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; width: 132px; color: var(--text); flex-shrink: 0; }
.brand svg { width: 100%; height: auto; aspect-ratio: 819.75 / 199.5; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .25s, background-color .25s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.burger { display: none; }

/* ---------- Mobile menu ---------- */
.menu { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__cta { display: none; }
  .brand { width: 116px; }
  .burger {
    display: grid; place-content: center; gap: 7px;
    width: 48px; height: 48px; margin-left: auto; margin-right: -8px;
    border-radius: 50%; position: relative; z-index: 101;
    -webkit-tap-highlight-color: transparent;
  }
  .burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease), width .3s; }
  .burger span:last-child { width: 16px; margin-left: 8px; }
  .menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .burger span:last-child { width: 24px; margin-left: 0; transform: translateY(-4.5px) rotate(-45deg); }

  .menu {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 85;
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: rgba(11, 12, 15, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 44px) 36px);
    transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
    visibility: hidden;
    overflow-y: auto;
  }
  .menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
  .menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .header__progress { opacity: 0; }
  .menu__nav { display: grid; gap: 2px; }
  .menu__nav a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1;
    opacity: 0; transform: translateY(24px);
    transition: opacity .5s, transform .7s var(--ease), color .2s;
  }
  .menu__nav a small { font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
  .menu__nav a:active { color: var(--accent); }
  .menu-open .menu__nav a { opacity: 1; transform: none; }
  .menu-open .menu__nav a:nth-child(1) { transition-delay: .18s; }
  .menu-open .menu__nav a:nth-child(2) { transition-delay: .23s; }
  .menu-open .menu__nav a:nth-child(3) { transition-delay: .28s; }
  .menu-open .menu__nav a:nth-child(4) { transition-delay: .33s; }
  .menu-open .menu__nav a:nth-child(5) { transition-delay: .38s; }
  .menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; opacity: 0; transition: opacity .5s .45s; }
  .menu-open .menu__foot { opacity: 1; }
  .menu__foot .btn svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
  .menu__foot .btn:hover svg { transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 40px) 0 110px;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 65% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 65% 45%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 780px; height: 780px; border-radius: 50%;
  left: var(--gx, 60%); top: var(--gy, 40%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 90, 31, .22), rgba(255, 90, 31, .06) 40%, transparent 68%);
  pointer-events: none;
  transition: left 1.2s var(--ease), top 1.2s var(--ease);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.hero__kicker { color: var(--muted); letter-spacing: .16em; font-size: .74rem; }

.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.7rem, 1.2rem + 4.2vw, 5.2rem);
  line-height: .98; letter-spacing: -.025em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span:not(.rot) { display: inline-block; }
.line--rot { position: relative; }
.rot {
  display: inline-grid; position: relative;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 1.14em; letter-spacing: -.01em; line-height: 1;
  color: var(--accent);
  overflow: hidden; padding: .02em .12em .1em 0; margin: -.02em 0 -.1em;
}
.rot__word {
  grid-area: 1 / 1;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s;
  background: linear-gradient(95deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.rot__word.is-active { transform: none; opacity: 1; }
.rot__word.is-leaving { transform: translateY(-105%); opacity: 0; }
.stitch { width: min(100%, 7.2em); height: .28em; margin-top: .02em; overflow: visible; }
.stitch__thread { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 7; animation: march 1.6s linear infinite; }
.stitch__reveal { fill: none; stroke: #fff; stroke-width: 8; stroke-dasharray: 420; stroke-dashoffset: 420; }
.is-loaded .stitch__reveal { animation: draw 1.6s var(--ease-in-out) 1s forwards; }
@keyframes march { to { stroke-dashoffset: -32; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lead { max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); margin-bottom: 34px; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--muted); font-weight: 600; }
.hero__chips svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* hero intro */
.js .hero__title .line > span:not(.rot) { transform: translateY(110%); }
.js:not(.is-loaded) .rot__word { transform: translateY(105%); opacity: 0; }
.js .reveal-hero, .js .hero__kicker { opacity: 0; transform: translateY(24px); }
.js .card { opacity: 0; scale: .82; }
.is-loaded .hero__title .line > span:not(.rot) { transform: none; transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line:nth-child(4) > span { transition-delay: .2s; }
.is-loaded .rot__word.is-active:not(.was-shown) { transition-delay: .12s; }
.is-loaded .reveal-hero, .is-loaded .hero__kicker { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.is-loaded .hero__lead { transition-delay: .35s; }
.is-loaded .hero__actions { transition-delay: .45s; }
.is-loaded .hero__chips { transition-delay: .55s; }
.is-loaded .card { opacity: 1; scale: 1; transition: opacity 1s var(--ease), scale 1.2s var(--ease), translate .6s var(--ease); }
.is-loaded .card--a { transition-delay: .35s; }
.is-loaded .card--b { transition-delay: .5s; }
.is-loaded .card--c { transition-delay: .62s; }

/* stack of photo cards */
.hero__visual { position: relative; }
.stack { position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.02; margin-inline: auto; perspective: 1200px; }
.card {
  position: absolute; margin: 0;
  border-radius: 20px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  translate: var(--tx, 0) var(--ty, 0);
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(11, 12, 15, .66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.3;
}
.card figcaption b { font-family: var(--f-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card--a { width: 60%; aspect-ratio: 1; left: 20%; top: 16%; z-index: 3; rotate: -3deg; }
.card--b { width: 44%; aspect-ratio: 4 / 5; right: 0; top: 0; z-index: 2; rotate: 7deg; }
.card--c { width: 42%; aspect-ratio: 1; left: 0; bottom: 2%; z-index: 1; rotate: -9deg; }
.card--b figcaption, .card--c figcaption { font-size: .72rem; padding: 6px 10px; }
.card--b figcaption { top: 12px; bottom: auto; }

.laser { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.laser i {
  position: absolute; left: -10%; right: -10%; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 15%, #fff 50%, var(--accent) 85%, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 90, 31, .9), 0 0 40px 6px rgba(255, 90, 31, .35);
  animation: scan 4.2s var(--ease-in-out) infinite;
}
.laser i::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px;
  background: linear-gradient(to top, rgba(255, 90, 31, .22), transparent);
}
@keyframes scan {
  0% { top: -2%; opacity: 0; }
  8% { opacity: 1; }
  50% { top: 100%; opacity: 1; }
  58%, 100% { top: 100%; opacity: 0; }
}
.coord {
  position: absolute; z-index: 4;
  font-family: var(--f-display); font-size: .7rem; letter-spacing: .14em; color: var(--dim);
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 12, 15, .6);
}
.coord b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.coord--x { left: 4%; top: 6%; }
.coord--y { right: 2%; bottom: 10%; }
.cross { position: absolute; width: 22px; height: 22px; z-index: 4; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--accent); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.cross--tl { left: 16%; top: 12%; }
.cross--br { right: 14%; bottom: 3%; }

.hero__scroll {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; z-index: 2;
  font-family: var(--f-display); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
}
.needle { width: 1px; height: 42px; background: var(--line-2); position: relative; overflow: hidden; }
.needle::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: needle 1.8s var(--ease-in-out) infinite; }
@keyframes needle { to { top: 100%; } }

@media (max-width: 960px) {
  .hero { padding-bottom: 96px; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 26px); }
  .hero__title { margin-bottom: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__lead { margin-bottom: 26px; }
  .stack { width: 92%; }
  .card--b figcaption span { display: none; }
  .coord { font-size: .62rem; }
}
@media (hover: none) {
  .is-loaded .card--a { animation: float 7s ease-in-out 1.8s infinite; }
  .is-loaded .card--b { animation: float 8s ease-in-out 2.2s infinite reverse; }
  .is-loaded .card--c { animation: float 9s ease-in-out 2.6s infinite; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  overflow: hidden;
  padding: 44px 0;
  margin: -44px 0;
}
.marquee__band {
  width: 106%; margin-left: -3%;
  background: var(--accent);
  box-shadow: 0 20px 60px -20px rgba(255, 90, 31, .6);
  rotate: -2deg;
  overflow: hidden;
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 18px 0;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.4rem, 1rem + 2.4vw, 2.8rem); line-height: 1; letter-spacing: .01em;
  color: #0b0c0f; white-space: nowrap;
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.4px #0b0c0f; }
.marquee i { font-style: normal; color: #fff; font-size: clamp(1rem, .8rem + 1vw, 1.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal (scroll) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.clip { overflow: hidden; height: 100%; }
.clip img { width: 100%; height: 100%; object-fit: cover; }
.js .reveal .clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--d, 0) * 90ms + 100ms); }
.js .reveal.is-in .clip { clip-path: inset(0 0 0 0); }
.js .reveal .clip img { transform: scale(1.25); transition: transform 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 100ms); }
.js .reveal.is-in .clip img { transform: scale(1); }

/* ---------- About ---------- */
.about { padding-top: clamp(120px, 16vw, 200px); }
.statement {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.7rem, 1rem + 3.2vw, 3.6rem);
  line-height: 1.12; letter-spacing: -.015em;
  max-width: 22ch;
}
.statement .w { opacity: .16; transition: opacity .3s linear, color .3s; }
.statement .w.is-on { opacity: 1; }
.statement .w.is-hot { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(56px, 8vw, 96px); }
.fact {
  padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
}
.fact p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.fact p b { display: block; color: var(--text); font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 6px; }
.fact__num {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--accent);
}
.fact__num small { font-size: .9rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.fact__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.fact__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .fact { display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 14px; padding: 20px; }
  .fact__num, .fact__icon { margin: 0; }
  .fact__num { font-size: 2.2rem; flex-direction: column; gap: 0; }
  .fact__num small { font-size: .66rem; }
}

/* ---------- Services (bento) ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
}
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 90, 31, .16), transparent 60%);
  transition: opacity .4s;
}
.svc:hover { border-color: rgba(255, 90, 31, .35); }
.svc:hover::before { opacity: 1; }
.svc h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1.12; margin-bottom: 10px; letter-spacing: -.01em; }
.svc p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.svc__no { display: block; font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--dim); margin-bottom: 10px; }
.svc__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto;
  border-radius: 16px; border: 1px solid var(--line-2); color: var(--accent);
  background: linear-gradient(145deg, rgba(255, 90, 31, .14), transparent);
  transition: transform .6s var(--ease), box-shadow .4s;
}
.svc__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 30px -6px rgba(255, 90, 31, .7); }
.svc > .svc__icon + .svc__no { margin-top: 26px; }
.svc__body { position: relative; z-index: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

.svc--xl { grid-column: 1 / 3; grid-row: 1 / 3; justify-content: flex-end; background: radial-gradient(120% 90% at 70% 10%, #221612, var(--surface) 60%); }
.svc--xl h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.svc--xl p { font-size: 1.05rem; max-width: 46ch; }
.svc__art--hoop { position: absolute; right: -40px; top: -40px; width: 70%; max-width: 380px; opacity: .95; }
.svc__art--hoop svg { width: 100%; height: auto; overflow: visible; }
.hoop__ring { fill: none; stroke: #b8875a; stroke-width: 7; opacity: .75; }
.hoop__ring--in { stroke: #7e5a3a; stroke-width: 3; opacity: .7; }
.hoop__stitch { fill: none; stroke: var(--accent); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 5 3.5; animation: march 3s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 90, 31, .55)); }
.svc__art--hoop::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px);
  z-index: -1;
}
.svc--img { grid-row: span 2; padding: 0; }
.svc--img .svc__photo { flex: 1; min-height: 220px; position: relative; }
.svc--img .svc__photo .clip { position: absolute; inset: 0; }
.svc--img .svc__body { padding: 24px 26px 26px; }
.svc--img img { transition: transform 1.2s var(--ease) !important; }
.svc--img:hover img { transform: scale(1.06) !important; }
.svc--wide { grid-column: span 2; grid-row: span 2; padding: 0; }
.svc--wide .svc__body { padding: 28px; }
.svc--wide .svc__body .svc__icon { margin-bottom: 26px; }
.svc--wide .svc__photo { flex: 1; min-height: 220px; position: relative; margin: 0 14px 14px; border-radius: 16px; overflow: hidden; }
.svc--wide .svc__photo .clip { position: absolute; inset: 0; }

@media (min-width: 1101px) {
  .bento > :nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bento > :nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
  .bento > :nth-child(3) { grid-column: 4; grid-row: 1; }
  .bento > :nth-child(4) { grid-column: 4; grid-row: 2; }
  .bento > :nth-child(5) { grid-column: 3 / 5; grid-row: 3 / 5; }
  .bento > :nth-child(6) { grid-column: 2; grid-row: 3 / 5; }
  .bento > :nth-child(7) { grid-column: 1; grid-row: 3; }
  .bento > :nth-child(8) { grid-column: 1; grid-row: 4; }
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--xl { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .svc--wide { grid-column: 1 / -1; grid-row: auto; }
  .svc--img { grid-row: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .svc { padding: 24px; }
  .svc--xl { min-height: 520px; }
  .svc__art--hoop { width: 88%; right: -30px; top: -30px; }
  .svc--img { grid-row: auto; }
  .svc--img, .svc--wide { padding: 0; }
  .svc--img .svc__photo, .svc--wide .svc__photo { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .svc:not(.svc--xl):not(.svc--img):not(.svc--wide) { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; }
  .svc:not(.svc--xl):not(.svc--img):not(.svc--wide) > .svc__icon { grid-row: 1 / span 3; width: 52px; height: 52px; }
  .svc:not(.svc--xl):not(.svc--img):not(.svc--wide) > .svc__icon + .svc__no { margin-top: 4px; }
  .svc:not(.svc--xl):not(.svc--img):not(.svc--wide) h3 { font-size: 1.3rem; }
  .svc--img .svc__body { padding: 22px 24px 24px; }
  .svc--wide .svc__body { padding: 24px; }
  .svc > .svc__icon { margin-bottom: 0; }
}

/* ---------- Paper (vez i tisak) ---------- */
.paper {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(19, 20, 24, .025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(19, 20, 24, .02) 0 1px, transparent 1px 4px);
  color: var(--ink);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
}
.paper .section__lead { color: var(--ink-muted); }
.paper .h2 em { color: #e24c12; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tech {
  padding: clamp(24px, 3vw, 38px); border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid rgba(19, 20, 24, .08);
  box-shadow: 0 30px 60px -40px rgba(19, 20, 24, .35);
}
.tech__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.tech__badge {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper-2);
  font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.tech--print .tech__badge { background: #e24c12; color: #fff; }
.tech__art { width: 110px; height: 55px; }
.zig { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.tech.is-in .zig { transition: stroke-dashoffset 2s var(--ease-in-out) .3s; stroke-dashoffset: 0; }
.dots circle { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.dots circle:nth-child(1) { fill: #00a3e0; }
.dots circle:nth-child(2) { fill: #e6007e; }
.dots circle:nth-child(3) { fill: #ffd400; }
.dots circle:nth-child(4) { fill: #131418; }
.dots circle:nth-child(5) { fill: #e24c12; }
.tech.is-in .dots circle { transform: scale(1); transition: transform .9s var(--ease); }
.tech.is-in .dots circle:nth-child(2) { transition-delay: .1s; }
.tech.is-in .dots circle:nth-child(3) { transition-delay: .2s; }
.tech.is-in .dots circle:nth-child(4) { transition-delay: .3s; }
.tech.is-in .dots circle:nth-child(5) { transition-delay: .4s; }
.tech h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; margin-bottom: 22px; }
.tech dl { display: grid; }
.tech dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(19, 20, 24, .1); }
.tech dt { font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.tech dd { font-weight: 600; font-size: .98rem; line-height: 1.5; }

.placement {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(64px, 9vw, 120px);
}
.placement__shirts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shirt {
  position: relative; padding: 22px 16px 16px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid rgba(19, 20, 24, .08);
}
.shirt svg { width: 100%; height: auto; overflow: visible; }
.shirt__body { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 12px 18px rgba(19, 20, 24, .12)); }
.shirt__seam { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .6; }
.shirt figcaption { margin-top: 10px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.hot {
  position: absolute; left: var(--x); top: var(--y);
  width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  transition: transform .4s var(--ease), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.hot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid #e24c12; opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.hot::after { content: ""; position: absolute; inset: -12px; }
.hot:hover, .hot.is-active { background: #e24c12; transform: scale(1.18); }
.hot.is-active::before { opacity: 1; transform: scale(1); animation: ring 1.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.placement__info > p { color: var(--ink-muted); margin: 14px 0 22px; max-width: 44ch; }
.spots { display: grid; gap: 6px; counter-reset: s; }
.spots li {
  counter-increment: s;
  display: grid; grid-template-columns: 34px 1fr; column-gap: 12px;
  padding: 12px 14px; border-radius: 14px; cursor: pointer;
  transition: background-color .3s, transform .4s var(--ease);
}
.spots li::before {
  content: counter(s); grid-row: span 2;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(19, 20, 24, .25); font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  transition: .3s;
}
.spots b { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.spots span { color: var(--ink-muted); font-size: .93rem; line-height: 1.45; }
.spots li:hover { background: rgba(19, 20, 24, .04); }
.spots li.is-active { background: var(--paper-2); transform: translateX(6px); box-shadow: 0 10px 30px -20px rgba(19, 20, 24, .5); }
.spots li.is-active::before { background: #e24c12; border-color: #e24c12; color: #fff; }

.items { margin-top: clamp(64px, 9vw, 110px); }
.items__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.items__list li {
  padding: 12px 20px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid rgba(19, 20, 24, .1);
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.items__list li:hover { background: var(--ink); color: var(--paper-2); transform: translateY(-3px) rotate(-1.5deg); }

.prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(48px, 6vw, 72px); }
.prep__card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--paper-2); position: relative; overflow: hidden; }
.prep__card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px dashed rgba(255, 90, 31, .4);
}
.prep__no { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 12px; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.prep__card h3 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 10px; }
.prep__card p { color: #b9bbc1; font-size: .96rem; }

@media (max-width: 900px) {
  .compare, .placement { grid-template-columns: 1fr; }
  .prep { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tech dl div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .tech__art { width: 90px; }
  .placement__shirts { gap: 10px; }
  .shirt { padding: 16px 10px 12px; }
  .hot { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: .74rem; }
  .items__list li { padding: 10px 16px; font-size: .94rem; }
  .prep__card { padding: 24px; }
}

/* ---------- Work (gallery) ---------- */
.work { background: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--muted);
  transition: color .3s, background-color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.filter.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.gallery { column-count: 4; column-gap: 12px; }
.shot {
  position: relative; display: block; margin-bottom: 12px;
  border-radius: 18px; overflow: hidden; background: var(--surface); isolation: isolate;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
}
.shot .clip { height: auto; }
.shot .clip img { height: auto; }
.shot--tall .clip { aspect-ratio: 4 / 5; }
.shot--wide .clip { aspect-ratio: 4 / 3; }
.shot--tall .clip img, .shot--wide .clip img { height: 100%; }
.shot .clip img { transition: transform 1.2s var(--ease), filter .6s; }
.shot:hover .clip img { transform: scale(1.07); }
.shot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 9, 11, .85));
  opacity: .9; transition: opacity .4s;
}
.shot__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  display: grid; gap: 2px; font-weight: 700; font-size: .98rem; line-height: 1.3;
  transform: translateY(4px); transition: transform .5s var(--ease);
}
.shot__cap b { font-family: var(--f-display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.shot:hover .shot__cap { transform: none; }
.shot.is-hidden { display: none; }
.shot.is-showing { animation: pop .7s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(16px); } to { opacity: 1; transform: none; } }
.work__more { margin-top: 36px; text-align: center; color: var(--muted); }
.work__more a { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 700; border-bottom: 1px solid var(--accent); }
.work__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 1000px) { .gallery { column-count: 3; } }
@media (max-width: 640px) {
  .gallery { column-count: 2; column-gap: 8px; }
  .shot { border-radius: 14px; margin-bottom: 8px; }
  .shot__cap { left: 12px; right: 12px; bottom: 10px; font-size: .86rem; }
  .filters { width: calc(100% + var(--gutter) * 2); flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter { padding: 9px 15px; font-size: .88rem; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
}

/* ---------- Story ---------- */
.story { padding-top: 0; }
.story__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; rotate: -2deg; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.story__quote { position: relative; }
.story__mark { position: absolute; left: -.08em; top: -.45em; font-family: var(--f-serif); font-size: clamp(7rem, 14vw, 12rem); line-height: 1; color: var(--accent); opacity: .9; }
.story__quote p {
  position: relative;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); line-height: 1.2; letter-spacing: -.005em;
  padding-top: clamp(40px, 5vw, 60px);
}
.story__quote footer { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.story__quote footer::before { content: ""; width: 40px; height: 2px; background: var(--accent); }
.story__quote footer b { font-family: var(--f-display); font-size: 1.05rem; }
.story__quote footer span { color: var(--muted); font-size: .94rem; }
@media (max-width: 800px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__img { max-width: 420px; width: 88%; }
  .story__quote { margin-top: 24px; }
}

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__thread { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.steps__thread i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); filter: drop-shadow(0 0 4px rgba(255, 90, 31, .8)); }
.step { position: relative; }
.step__no {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px;
  border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line-2);
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--muted);
  transition: border-color .5s, color .5s, box-shadow .5s, background-color .5s;
}
.step.is-lit .step__no { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 90, 31, .14), 0 0 30px rgba(255, 90, 31, .5); }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps__thread { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .steps__thread i { background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
  .step__no { margin: 0; }
  .step h3 { margin-top: 12px; }
}

/* ---------- Clients ---------- */
.clients__list { border-top: 1px solid var(--line); }
.clients__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease);
}
.clients__list span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1rem + 3.6vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em;
  transition: color .4s, transform .6s var(--ease);
}
.clients__list small { color: var(--muted); font-size: .95rem; text-align: right; }
@media (hover: hover) {
  .clients__list li:hover span { color: var(--accent); transform: translateX(14px); }
}
@media (max-width: 700px) {
  .clients__list li { flex-direction: column; gap: 4px; }
  .clients__list small { text-align: left; font-size: .9rem; }
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__glow {
  position: absolute; left: 50%; top: 0; width: 1100px; height: 700px; transform: translate(-50%, -45%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, .22), transparent);
  pointer-events: none;
}
.contact__head { position: relative; margin-bottom: clamp(44px, 6vw, 72px); }
.contact__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); line-height: 1; letter-spacing: -.025em;
}
.contact__title em { display: inline-block; margin-top: .08em; text-wrap: balance; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.channels { display: grid; gap: 10px; }
.channel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 52px 1fr 24px; align-items: center; gap: 16px;
  padding: 16px 20px 16px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.channel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(300px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 90, 31, .16), transparent 60%);
  transition: opacity .4s;
}
.channel:hover { border-color: rgba(255, 90, 31, .35); transform: translateX(4px); }
.channel:hover::before { opacity: 1; }
.channel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.channel__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel__icon--wa { background: rgba(37, 211, 102, .12); color: #25d366; }
.channel__txt { display: grid; min-width: 0; }
.channel__txt small { font-family: var(--f-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.channel__txt b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); overflow-wrap: anywhere; }
.channel__go { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .4s var(--ease), stroke .3s; }
.channel:hover .channel__go { transform: translate(3px, -3px); stroke: var(--accent); }

.inquiry {
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9);
}
.inquiry h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; }
.inquiry__hint { color: var(--muted); font-size: .94rem; margin: 6px 0 22px; }
.field { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--f-display); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .16); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-flex; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: .25s;
}
.pills input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.inquiry__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.inquiry__actions .btn { padding: 0 14px; }

.map {
  position: relative; margin-top: 16px; height: clamp(260px, 32vw, 380px);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface);
}
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-family: var(--f-display); letter-spacing: .1em; }
.map .leaflet-container { background: #1a1c21; font-family: var(--f-body); }
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.88) contrast(.92); }
.map .leaflet-control-attribution { background: rgba(11, 12, 15, .7) !important; color: var(--dim) !important; font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--muted) !important; }
.map .leaflet-control-zoom a { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
.pin { display: block; position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 90, 31, .25), 0 0 30px rgba(255, 90, 31, .9); }
.pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2s var(--ease) infinite; }
.map-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 500;
  padding: 12px 16px; border-radius: 14px; background: rgba(11, 12, 15, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  display: grid; gap: 2px;
}
.map-label b { font-family: var(--f-display); }
.map .map-label a { color: var(--accent); font-weight: 700; font-size: .9rem; }
.map-label span { color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .inquiry__actions { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 46px 1fr 20px; gap: 14px; padding: 14px 16px 14px 14px; }
  .channel__icon { width: 46px; height: 46px; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.footer__big { color: transparent; }
.footer__big svg { width: 100%; height: auto; aspect-ratio: 819.75 / 199.5; color: #1a1c22; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 36px; color: var(--muted); font-size: .95rem; }
.footer__row a:hover { color: var(--accent); }
.footer__row--small { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--dim); }
.totop { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.totop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }
@media (max-width: 960px) {
  .dock {
    position: fixed; left: 12px; right: 12px; z-index: 80;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px;
    padding: 6px; border-radius: 22px;
    background: rgba(21, 23, 29, .82);
    -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid var(--line-2);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
    transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .menu-open .dock { transform: translateY(calc(100% + 30px)); }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    height: 48px; border-radius: 16px;
    font-family: var(--f-display); font-weight: 600; font-size: .92rem;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s;
  }
  .dock a:active { background: rgba(255, 255, 255, .08); }
  .dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .dock a:first-child svg { fill: currentColor; stroke: none; }
  .dock a:nth-child(2) svg { color: #25d366; }
  .dock__main { background: var(--accent); color: #fff; }
  .dock__main:active { background: #e24c12 !important; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 140;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  padding: calc(20px + env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  background: rgba(6, 7, 9, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .4s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { grid-column: 2; display: grid; justify-items: center; gap: 16px; margin: 0; min-width: 0; }
.lightbox__fig img {
  max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto;
  border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transition: opacity .3s, transform .5s var(--ease);
  touch-action: pan-y;
}
.lightbox__fig img.is-swapping { opacity: 0; transform: scale(.97); }
.lightbox__fig figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; max-width: 60ch; }
.lightbox__tag { font-family: var(--f-display); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lightbox__title { font-weight: 700; }
.lightbox__count { color: var(--dim); font-family: var(--f-display); font-size: .78rem; letter-spacing: .1em; }
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
  transition: background-color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .14); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; right: max(16px, env(safe-area-inset-right)); top: calc(16px + env(safe-area-inset-top)); z-index: 2; }
.lightbox__nav--prev { grid-column: 1; justify-self: center; }
.lightbox__nav--next { grid-column: 3; justify-self: center; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding-inline: 12px; }
  .lightbox__fig { grid-column: 1; }
  .lightbox__nav { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .lightbox__fig img { max-height: calc(100svh - 220px); }
  .lightbox__fig figcaption { padding-inline: 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal .clip, .js .reveal .clip img { opacity: 1; transform: none; clip-path: none; }
  .statement .w { opacity: 1; }
  .marquee__track { animation: none; }
  .laser { display: none; }
}

@media (max-width: 560px) { .hide-sm { display: none; } }
