/* ---------- Fonts ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F4F2F0;
  --surface: #FFFFFF;
  --ink: #111111;
  --ink-2: #6B6B6B;
  --ink-soft: #736E69;
  --line: #E7E4E0;

  --lavender: #DCD3FF;
  --pink: #F8D9EC;
  --mint: #CDEFE0;
  --peach: #FFE3D3;
  --gradient: linear-gradient(120deg, var(--lavender) 0%, var(--pink) 34%, var(--peach) 66%, var(--mint) 100%);

  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;

  --radius-card: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 40px rgba(17, 17, 17, .05);
  --shadow-lift: 0 18px 50px -12px rgba(17, 17, 17, .14);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --bleed: 12px;
  --radius-panel: 40px;
  --panel-pad-y: clamp(56px, 8vw, 112px);
  /* puts the content of a full-width panel on the same column as .section */
  --panel-inline: max(calc(var(--gutter) - var(--bleed)), calc((100% - var(--max)) / 2));

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@media (max-width: 560px) {
  :root { --bleed: 8px; --radius-panel: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, figure { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

::selection { background: var(--lavender); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #CFCAC4 var(--bg); }

.visually-hidden {
  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: 100;
  background: var(--ink); color: var(--surface);
  padding: 10px 18px; border-radius: var(--radius-pill);
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 15px;
  --btn-pad-x: 26px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 0; border-radius: var(--radius-pill);
  font: 500 16px/1.2 var(--font-text);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .25s;
}
.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: 15px; }
.btn--dark {
  background: var(--ink); color: var(--surface);
  isolation: isolate; overflow: hidden;
  transition: color .45s var(--ease-out), background-color .2s;
}
.btn--dark::before {
  /* pastel gradient that grows out from the center on hover */
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, var(--lavender), var(--pink) 45%, var(--peach) 75%, var(--mint));
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .55s var(--ease-out);
}
.btn--light {
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn__icon {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease-out), stroke .45s var(--ease-out);
}
@media (hover: hover) {
  .btn--light:hover { transform: translateY(-1px); }
  /* the label darkens just behind the pastel circle, never on bare black;
     black fades out once the circle has covered it, so no dark rim is left at the edges */
  .btn--dark:hover { color: var(--ink); background-color: transparent; transition: color .3s var(--ease-out) .08s, background-color .2s .3s; }
  .btn--dark:hover::before { clip-path: circle(75% at 50% 50%); }
  .btn--dark:hover .btn__icon { transform: translateX(3px); stroke: var(--ink); transition: transform .4s var(--ease-out), stroke .3s var(--ease-out) .08s; }
  .btn--light:hover { box-shadow: inset 0 0 0 1px #D6D1CB, var(--shadow-soft); }
}
.btn:active { transform: scale(.98); }
.btn--dark:focus-visible { color: var(--ink); background-color: transparent; }
.btn--dark:focus-visible .btn__icon { stroke: var(--ink); }
.btn--dark:focus-visible::before { clip-path: circle(75% at 50% 50%); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 26px; left: 0; right: 0; z-index: 50;
  width: min(100% - 2 * var(--gutter), 480px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(231, 228, 224, .9), 0 6px 24px -8px rgba(17, 17, 17, .08);
  transition: box-shadow .4s var(--ease-out), background-color .4s;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -10px rgba(17, 17, 17, .14);
}
.nav__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  height: 64px;
}
.nav__bar > * { display: flex; align-items: center; }
.nav__end { justify-content: flex-end; padding-right: 12px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 12px 0 20px;
  font: 500 20px/1 var(--font-display);
  letter-spacing: -.035em;
}
.brand__mark { flex: none; width: 24px; height: 24px; fill: var(--ink); }
/* only the spark turns on hover; the corner frame stays put */
.brand__spark { transform-box: fill-box; transform-origin: center; }
.brand:hover .brand__spark { animation: spark .7s var(--ease-out); }

/* menu button sits in its own cell, divided from logo and CTA by hairlines */
.nav__toggle {
  justify-content: center;
  width: 68px; padding: 0;
  border: 0; border-inline: 1px solid var(--line);
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: background-color .2s;
}
.nav__toggle:hover { background: rgba(17, 17, 17, .03); }
.nav__toggle-lines,
.nav__toggle-lines::before {
  display: block; width: 20px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease-out);
}
.nav__toggle-lines { transform: translateY(-3.5px); }
.nav__toggle-lines::before { content: ""; transform: translateY(7px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { transform: rotate(-90deg); }

/* panel grows from the bar; grid rows animate height without measuring */
.nav__panel {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .45s var(--ease-out), visibility 0s .45s;
}
.nav.is-open .nav__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .45s var(--ease-out);
}
.nav__panel-inner { min-height: 0; overflow: hidden; border-top: 1px solid var(--line); }
.nav__links {
  display: flex; flex-direction: column;
  padding: 8px 24px 16px;
}
.nav__links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font: 500 clamp(22px, 5.4vw, 26px)/1.2 var(--font-display);
  letter-spacing: -.02em;
  color: var(--ink);
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .2s, color .2s;
}
.nav__links a:last-child { border-bottom: 0; }
.nav__links a::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  opacity: 0; transform: scale(.4);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav__links a[aria-current="true"]::after { opacity: 1; transform: none; }
.nav__links a:hover { color: var(--ink-soft); }
.nav.is-open .nav__links a {
  opacity: 1; transform: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .2s;
}
.nav.is-open .nav__links a:nth-child(2) { transition-delay: .03s; }
.nav.is-open .nav__links a:nth-child(3) { transition-delay: .06s; }
.nav.is-open .nav__links a:nth-child(4) { transition-delay: .09s; }
.nav.is-open .nav__links a:nth-child(5) { transition-delay: .12s; }
.nav.is-open .nav__links a:nth-child(6) { transition-delay: .15s; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(17, 17, 17, .18);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility 0s .4s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out); }

@media (max-width: 420px) {
  .nav__bar { height: 58px; }
  .brand { padding-left: 16px; font-size: 18px; white-space: nowrap; }
  .nav__toggle { width: 56px; }
  .nav__end { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__panel, .nav__links a, .nav-scrim { transition: none !important; }
}

/* ---------- Gradient mesh ---------- */
.mesh {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.mesh::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .08; mix-blend-mode: multiply;
}
.mesh__blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.mesh__blob--lavender { background: var(--lavender); }
.mesh__blob--pink { background: var(--pink); }
.mesh__blob--mint { background: var(--mint); }
.mesh__blob--peach { background: var(--peach); }

.mesh--hero { inset: 0; }
.mesh--hero .mesh__blob { filter: blur(80px); }
.mesh--hero .mesh__blob--lavender { width: 62%; height: 80%; left: -12%; top: -22%; }
.mesh--hero .mesh__blob--pink { width: 52%; height: 72%; right: -10%; top: -12%; }
.mesh--hero .mesh__blob--peach { width: 46%; height: 60%; right: 6%; bottom: -18%; }
.mesh--hero .mesh__blob--mint { width: 50%; height: 62%; left: 14%; bottom: -24%; }

/* ---------- Hero: gradient canvas, copy left and image right, anchored low ---------- */
.hero { padding: var(--bleed) var(--bleed) 0; }
.hero__canvas {
  position: relative; overflow: hidden;
  border-radius: var(--radius-panel);
  background: #F6F1F5;
  isolation: isolate;
}
.hero__canvas::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: .05; mix-blend-mode: multiply;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-content: center; align-items: center; gap: 0 clamp(32px, 5vw, 80px);
  min-height: min(calc(100svh - var(--bleed) * 2), 880px);
  padding: clamp(112px, 14vh, 140px) var(--panel-inline) clamp(28px, 3.4vw, 48px);
}
.hero__title {
  max-width: 20ch;
  font: 500 clamp(44px, 4.4vw, 76px)/.98 var(--font-display);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title-soft { color: #57515C; }
.hero__title-ink { color: var(--ink); }
.hero__row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid rgba(17, 17, 17, .12);
}
.hero__lede {
  max-width: 46ch;
  font-size: clamp(17px, 1.4vw, 19px);
  color: #4F4B57;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { margin: 0; }
/* Hero illustration: a site, the enquiry it brings in, and the automatic reply */
.hero-scene {
  position: relative; overflow: hidden;
  container-type: inline-size;
  aspect-ratio: 4 / 5; max-height: 640px; width: 100%;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), var(--shadow-lift);
}
.hero-scene__site {
  position: absolute; inset: 7% 14% 24% 7%;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 50px -20px rgba(17, 17, 17, .3);
}
.hero-scene__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #ECE9F0;
}
.hero-scene__dots { display: flex; gap: 4px; }
.hero-scene__dots i { width: 7px; height: 7px; border-radius: 50%; background: #D9D5DF; }
.hero-scene__url {
  flex: 1; padding: 3px 10px; border-radius: 99px;
  background: #F3F1F6; color: #57535F; font-size: clamp(10px, 2.4cqi, 12px);
}
.hero-scene__page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 3cqi; padding: 4.5cqi; }
.hero-scene__nav { display: flex; align-items: center; gap: 2cqi; }
.hero-scene__nav span { width: 7cqi; height: 1.4cqi; border-radius: 99px; background: #D9D5DF; }
.hero-scene__nav .hero-scene__logo { width: 4cqi; height: 4cqi; margin-right: auto; border-radius: 50%; background: var(--ink); }
.hero-scene__media {
  flex: 1; min-height: 32px; border-radius: 12px;
  background: linear-gradient(135deg, var(--peach), var(--pink) 45%, var(--lavender));
}
.hero-scene__title { width: 72%; height: 3.6cqi; border-radius: 6px; background: var(--ink); }
.hero-scene__line { width: 52%; height: 1.8cqi; border-radius: 99px; background: #C9C5CF; }
.hero-scene__cta {
  align-self: flex-start;
  padding: 1.8cqi 3.4cqi; border-radius: 99px;
  background: var(--ink); color: var(--surface);
  font-size: clamp(10px, 2.6cqi, 13px); font-weight: 500;
}
.hero-scene__note {
  position: absolute; right: 5%; bottom: 17%;
  display: flex; align-items: center; gap: 12px;
  width: min(68%, 300px);
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 44px -18px rgba(17, 17, 17, .35);
}
.hero-scene__icon {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--lavender), var(--pink));
}
.hero-scene__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.hero-scene__note-text { display: grid; gap: 2px; font-size: clamp(11px, 2.8cqi, 13px); line-height: 1.3; color: #57535F; }
.hero-scene__note-text strong { font-size: clamp(13px, 3.3cqi, 15px); font-weight: 600; color: var(--ink); }
.hero-scene__auto {
  position: absolute; left: 7%; bottom: 5%;
  display: flex; align-items: center; gap: 8px;
  margin: 0; padding: 8px 14px 8px 8px;
  border-radius: 99px;
  background: var(--ink); color: var(--surface);
  font-size: clamp(11px, 2.8cqi, 13px); font-weight: 500;
  box-shadow: 0 18px 34px -16px rgba(17, 17, 17, .45);
}
.hero-scene__check { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #3FA877; }
.hero-scene__check::after {
  content: ""; position: absolute; left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: solid var(--surface); border-width: 0 1.75px 1.75px 0;
  rotate: 45deg;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(44px, 9vw, 80px); }
  .hero__media { margin-top: 40px; }
  .hero-scene { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .hero-scene { aspect-ratio: 1 / 1; }
  .hero__grid { padding-block: 120px 24px; min-height: min(calc(100svh - var(--bleed) * 2), 760px); }
  .hero__title { font-size: clamp(40px, 11.5vw, 60px); }
}

/* ---------- Motion ---------- */
@keyframes drift-a { to { transform: translate3d(6%, 8%, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-8%, 5%, 0) scale(.94); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes press { 50% { scale: .92; } }
@keyframes pop-in {
  from { opacity: 0; translate: 0 14px; scale: .96; }
  to { opacity: 1; translate: none; scale: 1; }
}
@keyframes spark {
  50% { transform: rotate(45deg) scale(1.15); }
}

@media (prefers-reduced-motion: no-preference) {
  .mesh__blob { animation: drift-a 22s ease-in-out infinite alternate; }
  .mesh__blob:nth-child(2n) { animation-name: drift-b; animation-duration: 26s; }
  .mesh__blob:nth-child(3) { animation-duration: 30s; animation-delay: -8s; }

  .hero__title span,
  .hero__row,
  .hero__media { animation: rise 1s var(--ease-out) both; }
  .hero__media { animation-delay: .24s; }
  /* the button is pressed, the enquiry arrives, the reply goes out */
  .hero-scene__cta { animation: press .4s ease-in-out 1.15s; }
  .hero-scene__note { animation: pop-in .7s var(--ease-out) 1.5s both; }
  .hero-scene__auto { animation: pop-in .7s var(--ease-out) 2.3s both; }
  .hero__title-ink { animation-delay: .08s !important; }
  .hero__row { animation-delay: .18s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.section--bleed { max-width: none; padding-inline: var(--bleed); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section__title {
  font: 500 clamp(36px, 4.5vw, 60px)/1.02 var(--font-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section__lede {
  max-width: 48ch; margin-top: 14px;
  color: var(--ink-2);
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .section__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Radovi ---------- */
.works {
  display: grid; gap: 20px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
}
.work {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 12px 12px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.work--lead { grid-row: span 2; }
.work__media {
  display: block; flex: 1;
  width: 100%; height: 100%;
  min-height: 220px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 10px);
  background: var(--bg);
}
.work__media--top { object-position: top; }
.work--lead .work__media { aspect-ratio: auto; min-height: 420px; }

.work__meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 10px;
}
.work__title { font: 500 clamp(28px, 2.6vw, 36px)/1.05 var(--font-display); letter-spacing: -.015em; }
.work--lead .work__title { font-size: clamp(32px, 3.4vw, 46px); }
.work__kind { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sticker {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink);
  rotate: -6deg;
  box-shadow: 0 6px 14px -6px rgba(17, 17, 17, .25);
  transition: rotate .5s var(--ease-out);
}
.sticker--pink { background: linear-gradient(120deg, #F6C9E3, var(--lavender)); }
.sticker--mint { background: linear-gradient(120deg, #B8E8D2, #E3F0C8); }
.sticker--peach { background: linear-gradient(120deg, #FFD3BB, var(--pink)); }
@media (hover: hover) {
  .work:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #DDD8D2, var(--shadow-lift); }
  .work:hover .sticker { rotate: -9deg; }
}
@media (max-width: 860px) {
  .works { grid-template-columns: 1fr; }
  .work--lead { grid-row: auto; }
  .work--lead .work__media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .work__meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Usluge ---------- */
.services {
  /* 2 × 2; the 1px gaps show the line colour through as dividers */
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.service {
  position: relative;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--surface);
  isolation: isolate;
}
.service::before {
  /* a soft wash of the gradient that brightens on hover */
  content: ""; position: absolute; inset: 0 0 auto; height: 70%; z-index: -1;
  opacity: .55;
  transition: opacity .6s var(--ease-out);
}
.service--lavender::before { background: radial-gradient(90% 70% at 15% 0%, var(--lavender), transparent 70%); }
.service--pink::before { background: radial-gradient(90% 70% at 15% 0%, var(--pink), transparent 70%); }
.service--mint::before { background: radial-gradient(90% 70% at 15% 0%, var(--mint), transparent 70%); }
.service--peach::before { background: radial-gradient(90% 70% at 15% 0%, var(--peach), transparent 70%); }
.service__icon {
  width: 36px; height: 36px;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service__title {
  margin: clamp(40px, 5vw, 72px) 0 10px;
  font: 500 clamp(28px, 2.6vw, 34px)/1.05 var(--font-display);
  letter-spacing: -.025em;
}
.service p { color: var(--ink-2); max-width: 40ch; }
@media (hover: hover) { .service:hover::before { opacity: 1; } }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service__title { margin-top: 32px; }
}

/* ---------- Proces: cards stack as you scroll ---------- */
.steps {
  --stack-top: 104px;
  --stack-step: 22px;
  display: grid; gap: clamp(20px, 3vw, 32px);
  margin: 0; padding: 0; list-style: none;
}
.step {
  --stack: 0;
  position: sticky;
  top: calc(var(--stack-top) + var(--i) * var(--stack-step));
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  min-height: clamp(220px, 20vw, 260px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: calc(var(--radius-card) + 8px);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(220, 211, 255, .55), transparent 100%),
    radial-gradient(420px 280px at 0% 100%, rgba(255, 227, 211, .45), transparent 100%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 -12px 40px -24px rgba(17, 17, 17, .18);
  isolation: isolate;
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--stack) * .05));
  filter: brightness(calc(1 - var(--stack) * .06));
  will-change: transform;
}
.step__lead { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 120px); align-self: stretch; justify-content: space-between; }
.step__num {
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.step__title {
  /* stays a step below .section__title so the h2 leads */
  font: 500 clamp(40px, 4.2vw, 56px)/.95 var(--font-display);
  letter-spacing: -.035em;
}
.step__body { display: grid; gap: 22px; max-width: 46ch; }
.step__text { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.step__gets {
  display: grid; gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px;
}
.step__gets span { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.step:not(.step--dark) .step__num,
.step:not(.step--dark) .step__gets { color: #5C5853; }

.step--dark {
  /* a quiet pastel sheen along the top edge rather than a glowing halo */
  background:
    linear-gradient(160deg, rgba(220, 211, 255, .16), rgba(248, 217, 236, .06) 35%, transparent 60%),
    var(--ink);
  color: var(--surface);
  box-shadow: 0 -12px 40px -24px rgba(17, 17, 17, .5);
}
.step--dark .step__num,
.step--dark .step__gets { color: #BDB8C6; }
.step--dark .step__gets { border-top-color: rgba(255, 255, 255, .14); }
.step--dark .step__gets span { color: var(--surface); }
.step--dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); opacity: .09; mix-blend-mode: screen;
}

@media (max-width: 760px) {
  .steps { --stack-top: 84px; --stack-step: 14px; }
  .step { grid-template-columns: 1fr; align-items: start; gap: 16px; min-height: 0; padding: 24px; }
  .step__lead { gap: 12px; }
  .step__title { font-size: clamp(30px, 8vw, 34px); }
  .step__body { gap: 12px; }
  .step__text { font-size: 17px; }
  .step__gets { padding-top: 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .step { transform: none; filter: none; }
}

/* ---------- Kako radimo ---------- */
.principles__panel {
  position: relative; overflow: hidden;
  padding: var(--panel-pad-y) var(--panel-inline);
  border-radius: var(--radius-panel);
  background: #121113;
  color: var(--surface);
  isolation: isolate;
}
.principles__glow {
  position: absolute; inset: 0; z-index: -1;
  /* soft pastel light falling in from the top, fading out before the vignettes */
  background:
    linear-gradient(180deg, rgba(220, 211, 255, .14), rgba(248, 217, 236, .05) 40%, transparent 65%),
    linear-gradient(0deg, rgba(205, 239, 224, .06), transparent 30%);
}
.principles__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .09; mix-blend-mode: screen;
}
.principles__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.principles__lede { max-width: 40ch; color: #BDB8C6; }

.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { display: flex; flex-direction: column; }
.principles__grid { column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; }
.principle__word {
  margin: 28px 4px 0;
  font: 500 clamp(30px, 3.4vw, 46px)/1 var(--font-display);
  letter-spacing: -.035em;
}
.principle > p { margin: 10px 4px 0; color: #BDB8C6; max-width: 32ch; }

/* Vignettes: small pieces of interface that show each principle */
.vignette {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  border-radius: calc(var(--radius-card) - 10px);
  color: var(--ink);
}
.vignette::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .06; mix-blend-mode: multiply;
}
.vignette--lavender { background: linear-gradient(150deg, var(--lavender), var(--pink)); }
.vignette--mint { background: linear-gradient(150deg, var(--mint), #E6EEF8 60%, var(--lavender)); }
.vignette--pink { background: linear-gradient(150deg, var(--pink), var(--peach)); }

.mini-doc, .mini-browser {
  width: min(100%, 260px);
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px -14px rgba(17, 17, 17, .28);
}
.mini-doc__title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.mini-doc__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #3D3A44; }
.mini-doc__list li { display: flex; align-items: center; gap: 10px; }
.tick {
  position: relative; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink);
}
.tick::after {
  content: ""; position: absolute; left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: solid var(--surface); border-width: 0 1.75px 1.75px 0;
  rotate: 45deg;
}

/* A page that loads in one quick sweep: skeleton, then content */
.mini-browser { padding: 0; overflow: hidden; }
.mini-browser__bar {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #ECE9F0;
}
.mini-browser__dots { display: flex; gap: 4px; }
.mini-browser__dots i { width: 7px; height: 7px; border-radius: 50%; background: #D9D5DF; }
.mini-browser__url {
  flex: 1; padding: 3px 10px; border-radius: 99px;
  background: #F3F1F6; color: #57535F; font-size: 11px;
}
.mini-browser__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, #A99BE0, #6FC4A0);
  transform-origin: left; opacity: 0;
}
.mini-page { display: grid; gap: 7px; padding: 14px 14px 4px; }
.mini-page > span { position: relative; display: block; border-radius: 6px; }
.mini-page > span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: #ECEAF0; opacity: 0;
}
.mini-page__media { height: 46px; background: linear-gradient(120deg, var(--lavender), var(--mint)); }
.mini-page__title { width: 70%; height: 11px; margin-top: 4px; background: var(--ink); }
.mini-page__line { height: 6px; background: #C9C5CF; }
.mini-page__line--short { width: 55%; }
.mini-page__cta { width: 64px; height: 18px; margin-top: 3px; border-radius: 99px !important; background: var(--ink); }
.mini-browser__status {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 14px;
  font-size: 13px; font-weight: 500; color: #3D3A44;
}
.mini-browser__status .tick { width: 18px; height: 18px; background: #2E8A60; }
.mini-browser__status .tick::after { left: 6.5px; top: 3.5px; width: 4.5px; height: 8px; }

.mini-chat { display: grid; gap: 8px; width: min(100%, 270px); }
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px; line-height: 1.4;
  box-shadow: 0 10px 24px -14px rgba(17, 17, 17, .3);
}
.bubble--in { justify-self: start; background: rgba(255, 255, 255, .92); border-bottom-left-radius: 6px; }
.bubble--out { justify-self: end; background: var(--ink); color: var(--surface); border-bottom-right-radius: 6px; }
.bubble--typing {
  justify-self: start; display: flex; gap: 4px;
  padding: 12px 14px; background: rgba(255, 255, 255, .92); border-bottom-left-radius: 6px;
}
.bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: #8A8592; }

@media (max-width: 900px) {
  .principles__grid { grid-template-columns: 1fr; }
  .principles__head { flex-direction: column; align-items: flex-start; }
  .vignette { aspect-ratio: auto; padding: 28px 20px; }
}

/* Each vignette plays once when its card scrolls in */
@keyframes tick-in { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes load-bar { 0% { scale: 0 1; opacity: 1; } 75% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
@keyframes skeleton-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes status-in { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: none; } }
@keyframes bubble-in { from { opacity: 0; translate: 0 8px; scale: .96; } to { opacity: 1; translate: none; scale: 1; } }
@keyframes dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -3px; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .principle .tick,
  .js .principle .bubble { animation-play-state: paused; }
  .js .principle .tick { animation: tick-in .5s var(--ease-out) both paused; }
  .js .principle .mini-doc__list li:nth-child(1) .tick { animation-delay: .35s; }
  .js .principle .mini-doc__list li:nth-child(2) .tick { animation-delay: .6s; }
  .js .principle .mini-doc__list li:nth-child(3) .tick { animation-delay: .85s; }
  .js .principle .mini-browser__progress { animation: load-bar .9s var(--ease-out) .3s both paused; }
  .js .principle .mini-page > span::after { animation: skeleton-out .35s ease-out .75s both paused; }
  .js .principle .mini-page > span:nth-child(2)::after { animation-delay: .82s; }
  .js .principle .mini-page > span:nth-child(3)::after { animation-delay: .89s; }
  .js .principle .mini-page > span:nth-child(4)::after { animation-delay: .96s; }
  .js .principle .mini-page > span:nth-child(5)::after { animation-delay: 1.03s; }
  .js .principle .mini-browser__status { animation: status-in .4s var(--ease-out) 1.15s both paused; }
  .js .principle .mini-browser__status .tick { animation-delay: 1.2s; }
  .js .principle .bubble--in { animation: bubble-in .6s var(--ease-out) .3s both paused; }
  .js .principle .bubble--out { animation: bubble-in .6s var(--ease-out) 1.1s both paused; }
  .js .principle .bubble--typing { animation: bubble-in .6s var(--ease-out) 1.8s both paused; }
  .js .principle.is-in .tick,
  .js .principle.is-in .mini-browser__progress,
  .js .principle.is-in .mini-page > span::after,
  .js .principle.is-in .mini-browser__status,
  .js .principle.is-in .bubble { animation-play-state: running; }
  .bubble--typing span { animation: dot 1.2s ease-in-out 2.4s 4; }
  .bubble--typing span:nth-child(2) { animation-delay: .15s; }
  .bubble--typing span:nth-child(3) { animation-delay: .3s; }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (min-height: 640px) { .faq__head { position: sticky; top: 120px; } }
.faq__link {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: rgba(17, 17, 17, .25); text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}
.faq__link:hover { text-decoration-color: var(--ink); }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  border-radius: 26px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease-out), background .4s;
}
.faq__item[open] {
  /* gradient hairline border on the open question */
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-soft);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 500; font-size: 17px; line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: inherit;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { padding: 18.5px 22.5px; }
.faq__chevron {
  flex: none; position: relative;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg);
  transition: background .3s, rotate .45s var(--ease-out);
}
.faq__chevron::before {
  content: ""; position: absolute; left: 50%; top: 45%;
  width: 7px; height: 7px;
  border: solid var(--ink); border-width: 0 1.5px 1.5px 0;
  translate: -50% -50%; rotate: 45deg;
}
.faq__item[open] .faq__chevron { rotate: 180deg; background: var(--lavender); }
.faq__item p {
  padding: 0 22.5px 22px;
  color: var(--ink-2);
  max-width: 60ch;
}
@media (hover: hover) { .faq__item:not([open]):hover { box-shadow: inset 0 0 0 1px #D6D1CB; } }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* smooth open where supported */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Kontakt ---------- */
.contact { padding-bottom: 0; }
.contact__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: var(--panel-pad-y) var(--panel-inline);
  /* bottom corners square: the footer continues this panel */
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background:
    radial-gradient(60% 80% at 0% 0%, var(--lavender), transparent 70%),
    radial-gradient(50% 70% at 100% 10%, var(--pink), transparent 70%),
    radial-gradient(60% 80% at 80% 100%, var(--mint), transparent 70%),
    radial-gradient(50% 60% at 20% 100%, var(--peach), transparent 70%),
    #F7F1F4;
  isolation: isolate;
}
.contact__card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); opacity: .1; mix-blend-mode: multiply;
}
.contact__title {
  font: 500 clamp(40px, 5vw, 68px)/1 var(--font-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.contact__lede { max-width: 38ch; margin-top: 18px; color: #4F4B57; font-size: 18px; }
.contact__alt { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 28px; font-size: 15px; color: #4F4B57; }
.contact__alt[hidden] { display: none; }
.contact__alt a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(17, 17, 17, .3); text-underline-offset: 4px; }
.contact__alt a:hover { text-decoration-color: var(--ink); }

/* What happens after sending: three short reassurances */
.next__title { margin-top: clamp(28px, 3vw, 40px); font-size: 14px; font-weight: 600; }
.next {
  counter-reset: next;
  display: grid; gap: 10px;
  max-width: 40ch; margin: 12px 0 0; padding: 0; list-style: none;
  font-size: 16px; line-height: 1.45; color: #3D3A44;
}
.next li { counter-increment: next; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.next li::before {
  content: counter(next);
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}


.form {
  position: relative;
  display: grid; gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 60px -24px rgba(17, 17, 17, .22);
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field__opt { color: var(--ink-2); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font: 400 16px/1.4 var(--font-text);
  color: var(--ink);
  caret-color: #6A4FB8;
  transition: border-color .2s, box-shadow .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:hover,
.field textarea:hover { border-color: #D6D1CB; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #A99BE0;
  box-shadow: 0 0 0 4px rgba(220, 211, 255, .7);
}
.field input[aria-invalid="true"] { border-color: #C2413A; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 65, 58, .15); }
.field__error { font-size: 13.5px; color: #B0352E; min-height: 0; }
.field__error:empty { display: none; }
.form__submit { width: 100%; margin-top: 6px; cursor: pointer; }
.form__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form__privacy { font-size: 13.5px; line-height: 1.45; color: #5C5853; text-align: center; }
.form__status { font-size: 15px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-error { color: #B0352E; }
.form.is-sent .field,
.form.is-sent .form__submit,
.form.is-sent .form__privacy,
.form.is-sent .form__status { display: none; }
.form__done {
  display: grid; justify-items: start; gap: 10px;
  padding: clamp(16px, 2vw, 24px) 4px;
  outline: none;
}
.form__done[hidden] { display: none; }
.form__done-title { font: 500 clamp(28px, 2.6vw, 34px)/1.1 var(--font-display); letter-spacing: -.025em; }
.form__done-text { color: var(--ink-2); max-width: 32ch; }
.form__done .btn { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .form__done:not([hidden]) { animation: rise .8s var(--ease-out) both; }
}
@media (max-width: 900px) { .contact__card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--bleed) var(--bleed); }
.footer__card {
  position: relative; overflow: hidden;
  container-type: inline-size;
  padding: 0 var(--panel-inline) clamp(24px, 2.4vw, 32px);
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  /* top edge repeats the contact card's bottom ellipses so the seam disappears;
     bottom echoes the hero's lavender and pink */
  background:
    radial-gradient(60% 80% at 80% 0%, var(--mint), transparent 70%),
    radial-gradient(50% 60% at 20% 0%, var(--peach), transparent 70%),
    radial-gradient(55% 90% at 10% 100%, var(--lavender), transparent 70%),
    radial-gradient(55% 90% at 90% 100%, var(--pink), transparent 70%),
    #F7F1F4;
  isolation: isolate;
}
.footer__card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); opacity: .1; mix-blend-mode: multiply;
}
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, .12);
  font-size: 14px; color: #4F4B57;
}
.footer__bar[hidden] { display: none; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.footer__links a:hover { color: var(--ink); }

/* Big wordmark across the bottom of the closing panel */
.footer__wordmark {
  position: relative;
  margin-top: clamp(28px, 5vw, 72px);
  font: 600 19.4cqi/.9 var(--font-display);
  letter-spacing: -.055em;
  white-space: nowrap;
  color: var(--ink);
}
/* while the link bar is hidden, the wordmark carries the divider itself */
.footer__bar[hidden] + .footer__wordmark {
  margin-top: 0;
  padding-top: clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(17, 17, 17, .12);
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; translate: 0 12px;
    transition: opacity .9s var(--ease-out) var(--reveal-delay, 0s), translate .9s var(--ease-out) var(--reveal-delay, 0s), transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  }
  .js [data-reveal].is-in { opacity: 1; translate: none; }
}
