/* SALT. Marketing & Projects — saltmarketing.de
   Dark single-theme site in the SALT CI: ink, indigo gradient, gold leaf. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #07070f;
  --ink-2: #0c0c1c;
  --night: #11122b;
  --indigo: #1c1d45;
  --indigo-2: #333463;
  --mauve: #5c5975;
  --taupe: #8b7f74;
  --gold: #e3b04b;
  --gold-hi: #f7dc8e;
  --gold-lo: #a8772a;
  --paper: #f4eee3;
  --paper-2: #d9d2c6;
  --mist: #a7a4bb;
  --line: rgba(244, 238, 227, 0.12);
  --line-2: rgba(244, 238, 227, 0.22);
  --card: rgba(28, 29, 69, 0.55);

  --f-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-caps: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --section: clamp(96px, 13vw, 200px);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --t-h1: clamp(2.9rem, 7.2vw, 7.6rem);
  --t-h2: clamp(2.4rem, 5.4vw, 5.4rem);
  --t-h3: clamp(1.45rem, 2.1vw, 2rem);
  --t-lead: clamp(1.06rem, 1.3vw, 1.28rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-eyebrow: 0.72rem;

  --foil: url("../img/gold-foil.webp");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .3s var(--ease); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

main > section, .footer { position: relative; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-caps);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead { font-size: var(--t-lead); color: var(--paper-2); max-width: 38em; line-height: 1.6; }
em { font-style: italic; }
.foil {
  background-image: var(--foil), linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo) 80%, var(--gold-hi));
  background-size: 420px auto, 100% 100%;
  background-position: 0 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}
.section-head { display: grid; gap: clamp(18px, 2vw, 28px); max-width: var(--max); margin-inline: auto; }
.section-head .lead { margin-top: 4px; }

/* split text helpers (JS wraps words in .wm > .wi) */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.1em 0.14em 0; margin: 0 -0.1em -0.14em 0; }
.wi { display: inline-block; will-change: transform; }
.was-foil { font-style: italic; }

/* ---------- buttons & chips ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--f-caps);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: 0;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn--gold {
  color: var(--ink);
  background: var(--foil) 0 50% / 360px auto, linear-gradient(100deg, var(--gold-hi), var(--gold));
  box-shadow: 0 10px 40px -12px rgba(227, 176, 75, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold::after { background: var(--paper); }
.btn--ghost { color: var(--paper); border: 1px solid var(--line-2); }
.btn--ghost::after { background: var(--paper); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--paper); }
.btn--big { --h: 64px; padding: 0 38px; font-size: .84rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 0.8rem;
  line-height: 1;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--paper-2);
  background: rgba(7, 7, 15, .25);
}
.chips--light li { border-color: rgba(247, 220, 142, .28); color: var(--paper); }

/* ---------- ambient layers ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold); }
.cursor__ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(227, 176, 75, .55);
  display: grid;
  place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.cursor__label {
  font-family: var(--f-caps);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cursor.is-link .cursor__ring { width: 58px; height: 58px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

.peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: clamp(200px, 17vw, 280px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  visibility: hidden;
}
.peek__inner { width: 100%; height: 100%; overflow: hidden; border-radius: 14px; transform: scale(.6); opacity: 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.peek__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 16px;
  transition: transform .6s var(--ease), background-color .6s var(--ease), padding .6s var(--ease), backdrop-filter .6s;
}
.nav.is-scrolled {
  background: rgba(7, 7, 15, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-block-start: calc(env(safe-area-inset-top, 0px) + 10px);
  padding-block-end: 10px;
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { width: 104px; flex: none; display: block; padding-block: 5px; }
.nav__logo .logo { width: 100%; height: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.nav__links a {
  position: relative;
  font-family: var(--f-caps);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-block: 8px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { --h: 46px; padding: 0 22px; font-size: .7rem; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.nav__burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger i:nth-of-type(1) { top: 19px; }
.nav__burger i:nth-of-type(2) { top: 26px; }
.nav__burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: linear-gradient(180deg, #08081c 0%, #1c1d45 55%, #333463 100%);
  padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu__links { display: grid; gap: 6px; }
.menu__links a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.12; display: flex; align-items: baseline; gap: 16px; }
.menu__links small { font-family: var(--f-caps); font-size: .7rem; letter-spacing: .2em; color: var(--gold); }
.menu__meta { color: var(--paper-2); line-height: 1.9; }

/* ---------- logo ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.logo { overflow: visible; }
.logo--hero { width: 100%; height: auto; }
.logo__sheen { mix-blend-mode: soft-light; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: clamp(96px, 12vh, 140px);
  padding-bottom: clamp(24px, 4vh, 44px);
  overflow: clip;
  background:
    radial-gradient(120% 70% at 78% 0%, rgba(51, 52, 99, .55), transparent 60%),
    radial-gradient(90% 60% at 10% 100%, rgba(139, 127, 116, .22), transparent 65%),
    linear-gradient(180deg, #08081c 0%, #0b0b1e 60%, var(--ink) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__aura {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  left: 50%;
  top: 34%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 176, 75, .16), rgba(227, 176, 75, .05) 45%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
}
.hero__logo { position: relative; width: 100%; max-width: 720px; justify-self: start; }
.hero__copy { display: grid; gap: clamp(18px, 2.2vw, 28px); max-width: 620px; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__lead { color: var(--paper-2); font-size: var(--t-lead); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__facts {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: clamp(40px, 7vh, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px 0 0; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts strong { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.hero__facts span { color: var(--mist); font-size: var(--t-small); line-height: 1.4; }
.hero__scroll {
  position: absolute;
  z-index: 3;
  right: calc(var(--gutter) - 22px);
  bottom: clamp(110px, 16vh, 150px);
  width: 44px;
  height: 80px;
  clip-path: inset(0);
}
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.hero__scroll span { position: absolute; left: 50%; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(22px, 3vw, 36px);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(28, 29, 69, .5), rgba(7, 7, 15, 0) 30%, rgba(7, 7, 15, 0) 70%, rgba(28, 29, 69, .5));
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.1;
  padding-inline: clamp(18px, 2vw, 34px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 220, 142, .55);
  white-space: nowrap;
}
.marquee__item:nth-child(4n+1) { color: var(--paper); -webkit-text-stroke: 0; }
.marquee__salt { width: 10px; height: 10px; flex: none; background: var(--gold); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 18px rgba(227, 176, 75, .6); }

/* ---------- statement ---------- */
.statement { padding-block: var(--section); max-width: var(--max); margin-inline: auto; display: grid; gap: 34px; }
.statement__text {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.1vw, 4.1rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 22ch;
  max-width: min(100%, 26ch);
  text-wrap: pretty;
}
.statement__text .w { transition: color .2s; }
.js .statement__text .w { opacity: .16; }

/* ---------- zoom ---------- */
.zoom { padding: 0; height: 100svh; }
.js .zoom { height: auto; }
.zoom__stage { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.zoom__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 27vw);
  grid-template-rows: repeat(3, 27svh);
  gap: 2.2svh 2.2vw;
  place-content: center;
  transform-origin: 50% 50%;
}
.zoom__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(7, 7, 15, 0) 30%, rgba(7, 7, 15, .55) 62%, rgba(7, 7, 15, .9) 100%); }
.zoom__cell { position: relative; overflow: hidden; border-radius: 14px; background: var(--night); }
.zoom__cell img, .zoom__video { width: 100%; height: 100%; object-fit: cover; }
.zoom__cell--center { border-radius: 14px; }
.zoom__caption {
  position: absolute;
  inset: auto var(--gutter) clamp(40px, 9vh, 90px) var(--gutter);
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 820px;
  opacity: 0;
  pointer-events: none;
}
.zoom__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.03em; }
.zoom__caption p { color: var(--paper-2); font-size: var(--t-lead); max-width: 30em; }
.no-zoom .zoom { height: auto; }
.no-zoom .zoom__stage { height: auto; padding: var(--section) var(--gutter); }
.no-zoom .zoom__grid { position: static; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 10px; }
.no-zoom .zoom__cell { aspect-ratio: 4 / 5; }
.no-zoom .zoom__caption { position: static; opacity: 1; margin-top: 40px; }
.no-zoom .zoom__shade { display: none; }

/* ---------- work ---------- */
.work { padding-top: var(--section); padding-inline: 0; }
.work__head { padding-inline: var(--gutter); margin-bottom: clamp(48px, 6vw, 90px); }
.work__pin { position: relative; }
.work__track { display: grid; gap: clamp(72px, 10vw, 120px); padding-inline: var(--gutter); padding-bottom: var(--section); }
.case { display: grid; gap: clamp(28px, 4vw, 70px); grid-template-columns: minmax(0, 1fr); max-width: var(--max); margin-inline: auto; width: 100%; }
.case__media { position: relative; }
.case__cover { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--night); }
.case__cover-img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; transition: transform 1.4s var(--ease); }
.case__media:hover .case__cover-img { transform: scale(1.045); }
.case__detail { position: absolute; overflow: hidden; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); border: 1px solid rgba(247, 220, 142, .18); background: var(--night); }
.case__detail img { width: 100%; height: auto; }
.case__detail--a { width: 38%; right: -6%; top: 10%; }
.case__detail--b { width: 34%; left: -5%; bottom: 8%; }
.case__body { display: grid; align-content: center; gap: 18px; max-width: 560px; }
.case__index { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .24em; color: var(--mist); }
.case__index span { color: var(--gold); }
.case__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.case__meta { font-family: var(--f-caps); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.case__text { color: var(--paper-2); max-width: 34em; }
.case__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); margin-block: 6px 4px; }
.case__facts div { padding: 16px 0; }
.case__facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.case__facts dt { font-family: var(--f-display); font-size: clamp(2rem, 2.8vw, 2.7rem); line-height: 1; color: var(--paper); }
.case__facts dd { color: var(--mist); font-size: var(--t-small); margin-top: 6px; line-height: 1.35; }
.case--end { display: grid; align-content: center; justify-items: start; gap: 24px; }
.case-end__title { font-family: var(--f-display); font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 12ch; }
.work__progress { display: none; }

@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; }
  .case:nth-child(even) .case__media { order: 2; }
  .case--end { grid-template-columns: 1fr; }
  .is-hscroll .work__pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
  .is-hscroll .work__track {
    display: flex;
    gap: clamp(90px, 9vw, 180px);
    padding: 0 12vw 0 var(--gutter);
    width: max-content;
    align-items: center;
    will-change: transform;
  }
  .is-hscroll .case {
    width: min(84vw, 1280px);
    flex: none;
    margin: 0;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 90px);
  }
  .is-hscroll .case:nth-child(even) .case__media { order: 0; }
  .is-hscroll .case__cover { height: min(72svh, 760px); aspect-ratio: auto; }
  .is-hscroll .case--end { width: min(46vw, 620px); }
  .is-hscroll .work__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vh, 44px); height: 1px; background: var(--line); }
  .is-hscroll .work__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
}

/* ---------- services ---------- */
.services { padding-block: var(--section); background: linear-gradient(180deg, var(--ink) 0%, #0b0b1e 30%, var(--night) 100%); }
.services__head { margin-bottom: clamp(48px, 6vw, 90px); }
.services__stack { max-width: var(--max); margin-inline: auto; display: grid; gap: clamp(20px, 3vw, 40px); }
.service {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 96px + var(--i) * 14px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  min-height: min(70svh, 620px);
  padding: clamp(28px, 4.2vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(247, 220, 142, .14);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(92, 89, 117, .35), transparent 60%),
    linear-gradient(160deg, #1c1d45 0%, #14153a 45%, #0e0f28 100%);
  box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, .8);
  transform-origin: 50% 0%;
  overflow: hidden;
}
.service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #07070f; opacity: var(--dim, 0); pointer-events: none; }
.service__body { display: grid; gap: 22px; align-content: center; }
.service__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.service__text { color: var(--paper-2); max-width: 32em; }
.service__media { position: relative; height: 100%; min-height: 360px; }
.service__fig { position: absolute; overflow: hidden; border-radius: 14px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8); }
.service__fig img { width: 100%; height: 100%; object-fit: cover; }
.service__fig--1 { width: 58%; left: 4%; top: 6%; rotate: -4deg; }
.service__fig--2 { width: 50%; right: 2%; bottom: 4%; rotate: 5deg; }
.service__media--foto .service__fig--1 { width: 78%; left: 0; top: 4%; rotate: -2deg; }
.service__media--foto .service__fig--2 { width: 64%; right: 0; bottom: 2%; rotate: 3deg; }
.service__media--social .service__fig--1 { width: 40%; left: 12%; top: 2%; }
.service__media--social .service__fig--2 { width: 48%; right: 6%; bottom: 4%; }
.service__media--video, .service__media--web { display: grid; place-items: center; }
.browser--mini { width: 86%; position: absolute; left: 0; top: 12%; rotate: -2deg; }
.phone--mini { position: absolute; right: 2%; bottom: 0; width: 30%; rotate: 4deg; }

/* ---------- devices ---------- */
.phone {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: clamp(22px, 2.8vw, 36px);
  padding: clamp(5px, .5vw, 8px);
  background: linear-gradient(145deg, #2a2b52, #0c0c1c 55%, #3a3a5c);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(247, 220, 142, .18);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: clamp(10px, 1vw, 16px);
  left: 50%;
  width: 30%;
  height: clamp(10px, 1vw, 16px);
  translate: -50% 0;
  border-radius: 999px;
  background: #05050b;
}
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: clamp(17px, 2.3vw, 29px); background: #05050b; }
.phone__screen video, .phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--service { width: min(260px, 60%); rotate: 3deg; }
.browser {
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d1f;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(247, 220, 142, .16);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #16173a; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 238, 227, .2); }
.browser__bar i:first-child { background: rgba(227, 176, 75, .8); }
.browser__url {
  margin-inline: auto;
  translate: -18px 0;
  font-size: .72rem;
  color: var(--mist);
  background: rgba(7, 7, 15, .5);
  border-radius: 999px;
  padding: 4px 16px;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser--mini img { width: 100%; height: auto; }

/* ---------- reels ---------- */
.reels { padding-block: var(--section); overflow: hidden; background: radial-gradient(70% 60% at 50% 60%, rgba(51, 52, 99, .45), transparent 70%), var(--night); }
.reels__head { margin-bottom: clamp(48px, 6vw, 90px); }
.reels__rail {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  width: max-content;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  will-change: transform;
}
.reel { width: clamp(170px, 16vw, 250px); flex: none; display: grid; gap: 16px; }
.reel:nth-child(even) { margin-top: clamp(40px, 7vw, 110px); }
.reel figcaption { display: grid; gap: 2px; padding-left: 6px; }
.reel figcaption strong { font-weight: 600; font-size: .95rem; }
.reel figcaption span { font-size: .8rem; color: var(--mist); }

/* ---------- web ---------- */
.web { padding-block: var(--section); background: linear-gradient(180deg, var(--night), var(--ink) 40%); }
.web__head { margin-bottom: clamp(48px, 6vw, 90px); }
.web__stage { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.web__device { position: relative; padding-right: 8%; position: sticky; top: 110px; }
.browser--big { width: 100%; }
.browser__screen { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #0a0a18; }
.browser__page {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.browser__page.is-active { opacity: 1; animation: pagescroll var(--dur, 18s) var(--ease-in-out) 1s infinite alternate; }
@keyframes pagescroll { from { transform: translateY(0); } to { transform: translateY(var(--shift, 0px)); } }
.phone--web { position: absolute; right: 0; bottom: -8%; width: 23%; }
.phone__page { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.phone__page.is-active { opacity: 1; }
.web__list { display: grid; border-top: 1px solid var(--line); }
.web__item {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 18px 4px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .3s;
}
.web__name { font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; }
.web__type { font-family: var(--f-caps); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); align-self: center; text-align: right; }
.web__desc { grid-column: 1 / -1; color: var(--mist); font-size: var(--t-small); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.web__item:hover, .web__item.is-active { padding-left: 14px; }
.web__item.is-active .web__name { color: var(--gold); }
.web__item.is-active .web__desc { max-height: 4em; opacity: 1; }

/* ---------- print ---------- */
.print { padding-block: var(--section); overflow: hidden; }
.print__head { margin-bottom: clamp(40px, 5vw, 80px); }
.print__rows { display: grid; gap: clamp(16px, 2vw, 28px); margin-inline: calc(var(--gutter) * -1); }
.print__row { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.print__row[data-print-row="1"] { margin-left: -18vw; }
.print__item { flex: none; display: flex; flex-direction: column; gap: 12px; }
.print__item img { height: clamp(230px, 27vw, 400px); width: auto; max-width: none; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); background: #fff; }
.print__item figcaption { font-size: .82rem; color: var(--mist); }
.print__item figcaption strong { color: var(--paper); font-weight: 600; margin-right: 6px; }

/* ---------- numbers ---------- */
.numbers { padding-block: clamp(70px, 9vw, 130px); border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(28, 29, 69, .6), rgba(7, 7, 15, .2), rgba(28, 29, 69, .6)); }
.numbers__list { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 50px); }
.numbers__list li { display: grid; gap: 12px; align-content: start; }
.numbers__list strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.numbers__list span { color: var(--mist); max-width: 20ch; }

/* ---------- clients ---------- */
.clients { padding-block: var(--section); }
.clients__head { margin-bottom: clamp(32px, 4vw, 56px); }
.clients__filter { max-width: var(--max); margin: 0 auto clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .86rem;
  color: var(--paper-2);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.filter span { color: var(--mist); margin-left: 4px; font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--gold); color: var(--paper); }
.filter.is-active { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.filter.is-active span { color: var(--gold-lo); }
.clients__list { max-width: var(--max); margin-inline: auto; border-top: 1px solid var(--line); }
.client {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 8px 30px;
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.client::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(227, 176, 75, .09), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.client__thumb { display: none; }
.client__name { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; transition: transform .6s var(--ease), color .4s; }
.client__meta { color: var(--paper-2); font-size: .95rem; }
.client__services { color: var(--mist); font-size: var(--t-small); }
.client:hover::before { opacity: 1; }
.client:hover .client__name { transform: translateX(14px); color: var(--gold-hi); }
.client.is-in { animation: rowin .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 28ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- process ---------- */
.process { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; align-items: start; }
.process__side { position: sticky; top: 130px; display: grid; gap: 24px; }
.process__steps { position: relative; display: grid; gap: clamp(50px, 7vw, 100px); padding-left: clamp(46px, 6vw, 90px); counter-reset: step; }
.process__line { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.process__line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-hi), var(--gold), var(--gold-lo)); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; gap: 14px; }
.step::before {
  content: "";
  position: absolute;
  left: calc(clamp(46px, 6vw, 90px) * -1 + 8px);
  top: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  transition: background-color .5s, box-shadow .5s;
}
.step.is-active::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(227, 176, 75, .15), 0 0 30px rgba(227, 176, 75, .6); }
.step__no { font-family: var(--f-caps); font-size: .74rem; letter-spacing: .24em; color: var(--gold); }
.step__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.step__text { color: var(--paper-2); max-width: 32em; }
.js .step { opacity: .35; transition: opacity .6s var(--ease); }
.js .step.is-active { opacity: 1; }

/* ---------- why ---------- */
.why { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: center; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.why__badge { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; overflow: hidden; }
.why__badge svg { width: 100%; height: 100%; overflow: visible; }
.why__badge text { font-family: var(--f-caps); font-size: 11.6px; font-weight: 500; letter-spacing: .16em; fill: var(--gold); }
.why__badge > svg { animation: spin 32s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.why__badge-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #333463, #1c1d45 55%, #08081c);
  box-shadow: inset 0 0 0 1px rgba(247, 220, 142, .25), 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.why__badge-core .logo { width: 70%; height: auto; }
.why__content { display: grid; gap: 28px; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(24px, 3vw, 50px); margin-top: 16px; }
.why__list li { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.why__list h3 { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h3); line-height: 1.15; }
.why__list p { color: var(--paper-2); font-size: .98rem; }

/* ---------- about ---------- */
.about {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  background: linear-gradient(180deg, var(--ink) 0%, #08081c 20%, #1c1d45 58%, #333463 84%, #5c5975 100%);
}
.about__art { position: relative; max-width: 640px; width: 100%; justify-self: center; }
.about__art .logo { width: 100%; height: auto; }
.about__art .logo__word { opacity: .06; }
.about__copy { display: grid; gap: 22px; max-width: 560px; }
.about__copy p:not(.eyebrow) { color: var(--paper-2); font-size: var(--t-lead); }
.about__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .95; letter-spacing: -0.04em; }

/* ---------- contact ---------- */
.contact {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 110px);
  background: linear-gradient(180deg, #5c5975 0%, #3a3a5c 12%, #1c1d45 45%, #0b0b1e 100%);
}
.contact__head { display: grid; gap: 24px; align-content: start; }
.contact__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
.contact__direct { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line-2); }
.contact__direct li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.contact__direct span { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.contact__direct a { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.8rem); display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.contact__direct address { font-style: normal; color: var(--paper-2); }
.form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3.5vw, 50px);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(7, 7, 15, .45);
  border: 1px solid rgba(247, 220, 142, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); padding: 0; }
.field input, .field textarea {
  width: 100%;
  background: rgba(244, 238, 227, .04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--paper);
  transition: border-color .3s, background-color .3s;
  resize: vertical;
}
.field textarea::placeholder { color: rgba(167, 164, 187, .6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(244, 238, 227, .07); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; transition: background-color .3s, color .3s, border-color .3s; }
.pick input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .86rem; color: var(--mist); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.consent a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__status { font-size: .92rem; color: var(--paper-2); max-width: 30em; }
.form__status.is-ok { color: var(--gold-hi); }
.form__status.is-error { color: #ffb4a2; }

/* ---------- footer ---------- */
.footer { padding-top: clamp(80px, 10vw, 140px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); background: #0b0b1e; border-top: 1px solid var(--line); overflow: hidden; }
.footer__logo { max-width: var(--max); margin-inline: auto; }
.footer__logo .logo { width: 100%; height: auto; }
.footer__grid { max-width: var(--max); margin: clamp(50px, 6vw, 90px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer__label { font-family: var(--f-caps); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer__grid p { color: var(--paper-2); line-height: 1.9; }
.footer__grid a { display: inline-block; padding-block: 5px; transition: color .3s; }
.footer__grid a:hover { color: var(--gold-hi); }
.footer__bottom { max-width: var(--max); margin: 50px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; color: var(--mist); font-size: .82rem; }
.footer__top { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; }

/* ---------- legal pages ---------- */
.legal { padding: calc(env(safe-area-inset-top, 0px) + 150px) var(--gutter) var(--section); max-width: 860px; margin-inline: auto; }
.legal h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 40px; }
.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 14px; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--paper-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal .note { border: 1px solid rgba(227, 176, 75, .4); border-radius: 14px; padding: 16px 18px; background: rgba(227, 176, 75, .06); color: var(--paper); margin-bottom: 30px; }
.page-simple .nav__links { display: none; }
.page-simple .nav__burger { display: none; }
.center-page { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 24px; padding: 120px var(--gutter); }
.center-page .h2 { max-width: 14ch; margin-inline: auto; }
.center-page .btn { justify-self: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { max-width: 620px; }
  .web__stage { grid-template-columns: 1fr; }
  .web__device { position: relative; top: 0; }
  .why { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 520px; }
  .contact { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__side { position: relative; top: 0; }
  .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
}

@media (max-width: 899px) {
  .service { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .service__media { min-height: 0; height: auto; aspect-ratio: 5 / 4; }
  .service__media--video { aspect-ratio: auto; }
  .phone--service { width: min(220px, 56%); }
  .client { grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; }
  .client__thumb { display: block; grid-row: 1 / span 3; width: 64px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, var(--indigo), var(--ink)); }
  .client__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .client__name { font-size: 1.35rem; }
  .client__meta { font-size: .86rem; }
  .client__services { font-size: .8rem; }
  .client:hover .client__name { transform: none; }
  .web__list { display: flex; overflow-x: auto; gap: 8px; border: 0; padding-bottom: 6px; order: -1; scrollbar-width: none; }
  .web__list::-webkit-scrollbar { display: none; }
  .web__list li { flex: none; }
  .web__item { display: block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; }
  .web__item:hover, .web__item.is-active { padding-left: 16px; }
  .web__item.is-active { background: var(--paper); border-color: var(--paper); }
  .web__item.is-active .web__name { color: var(--ink); }
  .web__name { font-family: var(--f-body); font-size: .9rem; white-space: nowrap; }
  .web__type, .web__desc { display: none; }
  .phone--web { width: 28%; bottom: -12%; }
  .web__device { padding-right: 10%; margin-bottom: 12%; }
}

@media (max-width: 700px) {
  :root { --radius: 16px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .nav__logo { width: 92px; }
  .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 96px); }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .hero__facts { grid-template-columns: 1fr; margin-top: 44px; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; }
  .hero__facts li + li { border-top: 1px solid var(--line); }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .case__detail--a { width: 40%; right: -2%; }
  .case__detail--b { width: 36%; left: -2%; }
  .case__facts dt { font-size: 1.9rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__direct li { grid-template-columns: 1fr; gap: 4px; }
  .why__list { grid-template-columns: 1fr; }
  .numbers__list { grid-template-columns: 1fr 1fr; }
  .numbers__list strong { font-size: clamp(2.8rem, 15vw, 4rem); }
  .footer__grid { grid-template-columns: 1fr 1fr; font-size: .95rem; }
  .hero__eyebrow { letter-spacing: .16em; font-size: .66rem; }
  .hero__eyebrow::before { display: none; }
  .zoom__grid { grid-template-columns: repeat(3, 29vw); gap: 1.6svh 2.6vw; }
  .print__item img { height: 220px; }
  .reel { width: 150px; }
  .service__fig--1 { width: 56%; }
  .browser__bar { height: 28px; }
}

/* ---------- mobile version ---------- */
.actionbar { display: none; }
.clients__more { display: none; }
.work__hint { display: none; }

@media (max-width: 899px) {
  /* Arbeiten als Wisch-Karussell */
  .work { padding-bottom: var(--section); }
  .work__head { margin-bottom: clamp(28px, 6vw, 48px); }
  .work__track {
    display: flex;
    gap: 14px;
    padding: 0 var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    align-items: stretch;
  }
  .work__track::-webkit-scrollbar { display: none; }
  .work__track:focus-visible { outline-offset: -2px; }
  .case {
    flex: 0 0 min(84vw, 460px);
    align-content: start;
    gap: 22px;
    margin: 0;
    padding: 12px 12px 26px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(247, 220, 142, .12);
    background: linear-gradient(165deg, #17183d 0%, #0f1029 55%, #0b0b1e 100%);
    scroll-snap-align: start;
  }
  .case:nth-child(even) .case__media { order: 0; }
  .case__cover { border-radius: calc(var(--radius) - 4px); }
  .case__detail--a { width: 36%; right: -2%; top: 8%; }
  .case__detail--b { width: 32%; left: -2%; bottom: 7%; }
  .case__body { padding-inline: 8px; gap: 14px; }
  .case__name { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .case__text { font-size: 1rem; }
  .case--end { flex-basis: min(72vw, 380px); padding: 28px 24px; align-content: center; background: linear-gradient(165deg, #1c1d45 0%, #0f1029 100%); }
  .work__hint {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px var(--gutter) 0;
    font-family: var(--f-caps);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--mist);
    font-variant-numeric: tabular-nums;
  }
  .work__hint b { color: var(--gold); font-weight: 600; }
  .work__bar { position: relative; flex: 1; height: 1px; background: var(--line-2); overflow: hidden; }
  .work__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.06); transition: transform .3s var(--ease); }

  /* Reels zum Wischen */
  .reels__rail {
    width: auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .reels__rail::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
  .reel:nth-child(even) { margin-top: 28px; }

  /* Kunden kompakt */
  .clients__filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .clients__filter::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .clients__list.is-collapsed .client:nth-child(n+9) { display: none; }
  .clients__more { display: inline-flex; margin-top: 28px; }
}

@media (max-width: 700px) {
  :root { --t-eyebrow: .75rem; }
  .hero__eyebrow { font-size: .7rem; }
  .field > span, .field legend { font-size: .74rem; }
  .footer__label, .footer__top, .contact__direct span { font-size: .72rem; }
  .consent { grid-template-columns: 26px 1fr; }
  .consent input { width: 22px; height: 22px; margin-top: 0; }

  /* Aktionsleiste unten */
  .actionbar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    z-index: 75;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    padding: 6px;
    border-radius: 999px;
    background: rgba(7, 7, 15, .82);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(247, 220, 142, .2);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
    transform: translateY(calc(100% + 40px));
    transition: transform .55s var(--ease);
  }
  .actionbar.is-visible { transform: none; }
  html:not(.js) .actionbar { transform: none; }
  html:not(.js) .footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
  .actionbar__cta { --h: 48px; flex: 1; }
  .actionbar__call { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); }
  .actionbar__call svg { width: 20px; height: 20px; }
}

@media (hover: none) {
  .cursor, .peek { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
  .js .statement__text .w { opacity: 1; }
  .js .step { opacity: 1; }
  .browser__page.is-active { animation: none; }
}
