/* ------------------------------------------------------------------
   Aurius — design system v2
   Dark engineering-studio aesthetic. Orange is the only accent.
   ------------------------------------------------------------------ */

/* Fonts: self-hosted, latin + latin-ext (covers Slovak and German) ----- */

@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  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: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
  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;
}

:root {
  --bg: #0b0c0f;
  --bg-elevated: #111318;
  --surface: #15171c;
  --surface-2: #1c1f25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f1efe8;
  --text-soft: rgba(241, 239, 232, 0.72);
  --muted: #8f8e88;
  --orange: #f05a28;
  --orange-soft: rgba(240, 90, 40, 0.16);
  --paper: #f3f1ea;
  --paper-line: rgba(11, 12, 15, 0.12);
  --ink: #0b0c0f;
  --ink-soft: rgba(11, 12, 15, 0.62);

  --font-sans: 'Space Grotesk Variable', 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--orange); color: #fff; }

/* Layout primitives ------------------------------------------------ */

.wrap {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section-head {
  display: grid;
  gap: 28px 48px;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .h2 { grid-column: 2; }
.section-head .intro { grid-column: 2; max-width: 56ch; }

.label {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  gap: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label::before {
  background: var(--orange);
  border-radius: 1px;
  content: '';
  display: inline-block;
  height: 10px;
  width: 10px;
}

.label b { color: var(--text); font-weight: 500; }

.h1, .h2, .h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h1 { font-size: clamp(44px, 7.4vw, 108px); line-height: 0.96; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }

.accent { color: var(--orange); }
.soft { color: var(--text-soft); }
.muted { color: var(--muted); }
.intro { color: var(--text-soft); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Buttons ---------------------------------------------------------- */

.btn {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 12px;
  line-height: 1;
  padding: 16px 22px;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { border-color: var(--text); transform: translateY(-1px); }
.btn svg { height: 14px; width: 14px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: #ff6a36; border-color: #ff6a36; }

.btn-sm { font-size: 13px; padding: 11px 16px; }

/* Header ----------------------------------------------------------- */

.site-header {
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(11, 12, 15, 0.72);
  border-bottom: 1px solid var(--line);
  inset: 0 0 auto 0;
  position: fixed;
  z-index: 60;
}

.site-header .wrap {
  align-items: center;
  display: flex;
  gap: 24px;
  height: var(--header-h);
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand-tag { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; gap: 6px; }
.site-nav a {
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { background: var(--surface-2); color: var(--text); }

.header-actions { align-items: center; display: flex; gap: 10px; }

.skip-link {
  background: var(--orange);
  border-radius: 0 0 8px 0;
  color: #fff;
  left: 0;
  padding: 12px 16px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 0.2s;
  z-index: 100;
}
.skip-link:focus { transform: none; }

/* Hero ------------------------------------------------------------- */

.hero {
  overflow: clip;
  padding-block: calc(var(--header-h) + clamp(64px, 10vw, 128px)) clamp(64px, 8vw, 110px);
  position: relative;
}

.hero::after {
  /* The whole Aurius symbol behind the pipeline card, sized to the hero below the header. It drifts slowly. */
  animation: hero-mark 14s ease-in-out infinite alternate, hero-mark-pulse 6s ease-in-out infinite;
  aspect-ratio: 16.86 / 15.35;
  background: url(/images/aurius-logo-orange.svg?v=2) no-repeat center / contain;
  content: '';
  height: calc((100% - var(--header-h)) * 0.78);
  opacity: 0.07;
  pointer-events: none;
  position: absolute;
  right: 7vw;
  top: calc(var(--header-h) + (100% - var(--header-h)) * 0.11);
}
@keyframes hero-mark {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-30px, 16px) rotate(-10deg) scale(1.03); }
  100% { transform: translate(20px, -14px) rotate(7deg) scale(0.97); }
}
/* A short double flash every few seconds. Opacity does the work; the hue stays orange. */
@keyframes hero-mark-pulse {
  0%, 30%, 100% { filter: none; opacity: 0.07; }
  6% { filter: brightness(1.15) saturate(1.1); opacity: 0.14; }
  13% { filter: none; opacity: 0.07; }
  19% { filter: brightness(1.08); opacity: 0.11; }
}

.hero .wrap {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { display: grid; gap: 30px; }
.hero-copy .h1 { margin-top: 6px; }
/* Slovak and German titles are longer; smaller type keeps them at three lines like English. */
.hero-copy .h1:is(:lang(sk), :lang(de)) { font-size: clamp(36px, 5.6vw, 80px); }
.hero-copy .intro { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Pipeline card */

.pipeline {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
}

.pipeline-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 8px;
  letter-spacing: 0.06em;
  padding: 14px 18px;
}
.pipeline-bar i { background: var(--line-strong); border-radius: 50%; display: block; height: 9px; width: 9px; }
.pipeline-bar i:first-child { background: var(--orange); }
.pipeline-bar span { margin-left: 8px; }

.pipeline ol { counter-reset: step; display: grid; margin: 0; padding: 12px 8px; }
.pipeline li {
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  counter-increment: step;
  display: grid;
  gap: 14px;
  grid-template-columns: 24px 1fr auto;
  padding: 12px 12px;
}
.pipeline li::before { color: var(--muted); content: '0' counter(step); }
.pipeline li em { color: var(--orange); font-style: normal; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.pipeline li[data-active] { background: var(--orange-soft); color: var(--text); }
.pipeline li[data-active]::before { color: var(--orange); }

.pipeline-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 10px;
  justify-content: space-between;
  padding: 14px 18px;
}
.pipeline-footer .meter { background: var(--line); border-radius: 999px; flex: 1; height: 3px; overflow: hidden; }
.pipeline-footer .meter i { animation: fill 2.4s var(--ease) 0.6s both; background: var(--orange); display: block; height: 100%; width: 100%; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Stats ------------------------------------------------------------ */

.stats {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats > div { padding: 32px 0; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.stats strong { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats strong sup { color: var(--orange); font-size: 0.5em; top: -0.8em; }
.stats span { color: var(--muted); display: block; font-size: 14px; margin-top: 10px; }

/* About ------------------------------------------------------------ */

.about-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr);
}
.about-grid .h2 { max-width: 14ch; }
.about-body { display: grid; gap: 22px; max-width: 64ch; }
.about-body .lead { color: var(--text); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.35; }
.about-body p:not(.lead) { color: var(--text-soft); }
.about-meta {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 12px;
  letter-spacing: 0.06em;
  margin-top: 14px;
  padding-top: 22px;
  text-transform: uppercase;
}
.about-meta img { height: 18px; }
.about-range { display: grid; gap: 14px; margin-top: 6px; }
.about-range .mono { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.about-range ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.about-range li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
}

/* Services --------------------------------------------------------- */

.services-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.service {
  background: var(--bg);
  display: grid;
  gap: 22px;
  grid-template-rows: auto 1fr auto;
  min-height: 340px;
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  transition: background 0.3s var(--ease);
}
.service:hover { background: var(--bg-elevated); }
.service .mono { color: var(--orange); }
.service p { color: var(--text-soft); font-size: 15px; }
.service .h3 { margin-top: 32px; }
.service-icon { height: 40px; width: 40px; color: var(--text); }
.service-icon svg { height: 100%; width: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* Work ------------------------------------------------------------- */

.work { background: var(--bg-elevated); border-block: 1px solid var(--line); }

.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-bottom: 28px;
  overflow: hidden;
}
.case:nth-of-type(even) .case-visual { order: 2; }

.case-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  position: relative;
}
.case-visual { padding: clamp(24px, 4vw, 48px); }
.case-visual .brand-mark { display: none; }
.shot {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  transform: rotate(-1.5deg) translateY(4px);
  transition: transform 0.6s var(--ease);
  width: 100%;
}
.case:hover .shot { transform: none; }
.shot-bar { align-items: center; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); display: flex; font-family: var(--font-mono); font-size: 11px; gap: 6px; height: 30px; padding: 0 12px; }
.shot-bar i { background: var(--line-strong); border-radius: 50%; display: block; height: 8px; width: 8px; }
.shot-bar i:first-child { background: var(--orange); }
.shot-bar span { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The stage takes the ratio of the tallest image in the set; images are contained, never cropped. */
.shot-stage { aspect-ratio: 1 / var(--ratio, 0.625); position: relative; width: 100%; }
.shot-stage img { display: block; height: 100%; inset: 0; object-fit: contain; object-position: top center; position: absolute; width: 100%; }
.shot.is-photo { background: none; border: 0; border-radius: 16px; }
.shot.is-rotating .shot-stage img { animation: slide calc(var(--slides) * 5s) ease-in-out infinite; animation-delay: calc((var(--i) - var(--slides)) * 5s); opacity: 0; }
@keyframes slide { 0%, 28% { opacity: 1; } 36%, 92% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .shot.is-rotating .shot-stage img { opacity: 0; } .shot.is-rotating .shot-stage img:first-child { opacity: 1; } }
.case-intrak .shot.is-screen { height: min(560px, 80vh); margin-inline: auto; width: auto; }
.case-intrak .shot.is-screen .shot-stage { height: calc(100% - 30px); width: auto; }
.shot-badge { align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.85); display: flex; height: clamp(76px, 8vw, 112px); justify-content: center; left: clamp(12px, 2.4vw, 32px); padding: clamp(12px, 1.4vw, 20px); position: absolute; top: clamp(12px, 2.4vw, 32px); width: clamp(76px, 8vw, 112px); z-index: 2; }
.shot-badge img { height: 100%; object-fit: contain; width: 100%; }

.case-argos .case-visual { background: radial-gradient(circle at 70% 40%, #15202c, #0e1116 70%); }
.case-argos .shot.is-photo { box-shadow: none; max-width: 560px; }
.case-airberus .case-visual { background: radial-gradient(circle at 50% 50%, #1f2329, #101216 70%); }
.case-exigo .case-visual { background: radial-gradient(circle at 60% 40%, #1d2128, #0f1115 70%); }
.case-bmwroadshow .case-visual { background: linear-gradient(150deg, #171c26, #0d1016 70%); }
.case-intrak .case-visual { background: radial-gradient(circle at 30% 20%, #1c2027, #0f1115 70%); }

.case-body { display: grid; gap: 28px; padding: clamp(28px, 4vw, 56px); }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.case-meta .mono { color: var(--orange); text-transform: uppercase; }
.case-meta .mono + .mono { color: var(--muted); text-transform: none; }
.case-body .h2 { font-size: clamp(36px, 4vw, 56px); }
.case-body dl { display: grid; gap: 20px; }
.case-body dt { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 8px; text-transform: uppercase; }
.case-body dd { color: var(--text-soft); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-body .stack { align-items: baseline; border-top: 1px solid var(--line); color: var(--text-soft); display: flex; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; gap: 8px 14px; padding-top: 18px; }
.case-body .stack dt { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; margin: 0; text-transform: uppercase; }
.case-body .stack dd { color: var(--text-soft); font-size: 12px; margin: 0; }
.case-body .stack dd + dd::before { color: var(--muted); content: '·'; margin-right: 14px; }
.tags li { border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-soft); font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; }
.case-body .btn { justify-self: start; }

/* Clients (light break) -------------------------------------------- */

.clients { background: var(--paper); color: var(--ink); }
.clients .label { color: var(--ink-soft); }
.clients .label b { color: var(--ink); }
.clients .intro { color: var(--ink-soft); }
.logo-wall {
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.client-logo { align-items: center; aspect-ratio: 4 / 3; background: var(--paper); display: flex; justify-content: center; padding: 8px; }
.client-logo img { filter: grayscale(1) contrast(1.05); height: 100%; object-fit: contain; opacity: 0.7; transform: scale(1.35); transition: filter 0.3s, opacity 0.3s, transform 0.3s var(--ease); width: 100%; }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.42); }
.client-cta { padding: 0; }
.client-cta a { align-items: center; background: var(--ink); color: var(--paper); display: flex; font-size: 14px; font-weight: 500; gap: 8px; height: 100%; justify-content: center; letter-spacing: -0.01em; padding: 16px; text-align: center; text-decoration: none; transition: background 0.25s; width: 100%; }
.client-cta a:hover { background: var(--orange); color: #fff; }

/* Contact ---------------------------------------------------------- */

.contact { overflow: clip; position: relative; }
.contact::after {
  background: radial-gradient(closest-side, rgba(240, 90, 40, 0.22), transparent);
  content: '';
  filter: blur(50px);
  height: 700px;
  left: -10%;
  pointer-events: none;
  position: absolute;
  top: 10%;
  width: 700px;
}
.contact .wrap { position: relative; z-index: 1; }
.contact .h1 { margin: 28px 0 32px; }
.contact .intro { max-width: 48ch; }
.mail-link {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  display: inline-flex;
  font-size: clamp(22px, 3.6vw, 48px);
  font-weight: 500;
  gap: 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 56px;
  padding-bottom: 14px;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.mail-link:hover { border-color: var(--orange); color: var(--orange); }
.mail-link svg { flex: none; height: 0.7em; width: 0.7em; }

.contact-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  padding-top: 32px;
}
.contact-grid dt { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 8px; text-transform: uppercase; }
.contact-grid dd { font-size: 16px; }
.contact-grid a { text-decoration: none; }
.contact-grid a:hover { color: var(--orange); }

/* Contact form ----------------------------------------------------- */

.contact-grid-wrap { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 64px; }
.contact-form { display: grid; gap: 18px; }
.contact-form h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; }
.field span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field textarea {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { background: var(--surface-2); border-color: var(--orange); outline: none; }
.field-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-challenge:empty { display: none; } /* Turnstile only shows itself when it needs the visitor */
.form-footer { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.form-footer .btn[disabled] { cursor: progress; opacity: 0.7; }
.form-privacy { color: var(--muted); font-size: 13px; }
.form-privacy a { color: var(--text-soft); text-decoration: none; }
.form-status { background: rgba(63, 182, 122, 0.12); border: 1px solid rgba(63, 182, 122, 0.4); border-radius: var(--radius-sm); font-size: 15px; padding: 14px 16px; }
.form-status.is-error { background: var(--orange-soft); border-color: rgba(240, 90, 40, 0.5); }
.form-status.is-note { background: var(--surface-2); border-color: var(--line-strong); }

.contact-grid-compact { grid-template-columns: 1fr 1fr; margin-top: 40px; }
.form-title { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.legal-line { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; line-height: 1.8; margin-top: 40px; }
.legal-line span + span::before { content: ' · '; }

/* Privacy page ----------------------------------------------------- */

.prose { max-width: 70ch; }
.prose .h1 { font-size: clamp(38px, 5.5vw, 76px); margin: 20px 0 16px; }
.prose .updated { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.prose .intro { margin-top: 28px; }
.prose section { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
.prose h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.prose p { color: var(--text-soft); }
.prose p + p { margin-top: 14px; }
.prose .back { display: inline-flex; margin-top: 48px; }

/* Footer ----------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.site-footer .wrap { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 16px 32px; justify-content: space-between; }
.site-footer img { height: 24px; opacity: 0.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.site-footer .legal-line { border-top: 1px solid var(--line); width: 100%; font-style: normal; margin-top: 4px; padding-top: 20px; }

/* Language switcher ------------------------------------------------ */

.language-switcher {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}
.language-switcher a {
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 8px 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.language-switcher a:hover { color: var(--text); }
.language-switcher a[aria-current='page'] { background: var(--text); color: var(--ink); }

/* Mobile menu ------------------------------------------------------ */

.menu-button { display: none; }
@media (max-width: 900px) { .menu-button { display: inline-flex; } }

.menu-button {
  align-items: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
  z-index: 80;
}
.menu-button span { display: grid; gap: 5px; width: 16px; }
.menu-button i { background: var(--text); display: block; height: 1.5px; transition: transform 0.3s var(--ease); }
.menu-button[aria-expanded='true'] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded='true'] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  animation: menu-fade 0.3s var(--ease);
  background: var(--bg);
  display: grid;
  grid-template-rows: 1fr auto;
  inset: 0;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  position: fixed;
  z-index: 55; /* under the fixed header, so its close button stays visible */
}
.menu[hidden] { display: none; }
.menu-links { display: grid; gap: 4px; align-content: start; }
.menu-links li { animation: menu-item 0.5s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 80ms); }
.menu-links a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 500;
  gap: 18px;
  letter-spacing: -0.03em;
  padding: 18px 0;
  text-decoration: none;
}
.menu-index { color: var(--orange); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.menu-footer { display: grid; gap: 24px; }
.menu-footer .btn { justify-self: start; }
.menu-langs { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.menu-langs .mono { color: var(--muted); text-transform: uppercase; }
.menu-langs a { color: var(--text-soft); font-size: 15px; text-decoration: none; }
.menu-langs a[aria-current='page'] { color: var(--orange); }

@keyframes menu-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-item { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Reveal ----------------------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal][data-visible='true'] { opacity: 1; transform: none; }
[data-reveal][data-delay='1'] { transition-delay: 0.08s; }
[data-reveal][data-delay='2'] { transition-delay: 0.16s; }
[data-reveal][data-delay='3'] { transition-delay: 0.24s; }

/* Responsive ------------------------------------------------------- */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service:last-child { grid-column: 1 / -1; min-height: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-nav, .header-actions > .btn, .header-actions > .language-switcher { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .pipeline { max-width: 520px; }
  .hero::after { bottom: 40px; height: auto; right: 10%; top: auto; width: min(76%, 520px); }
  .section-head, .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-head .h2, .section-head .intro { grid-column: 1; }
  .case { grid-template-columns: 1fr; }
  .case:nth-of-type(even) .case-visual { order: 0; }
  .case-visual { min-height: 320px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-tag { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stats > div { padding: 22px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service .h3 { margin-top: 12px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .client-logo { padding: 6px; }
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .shot { transform: none; }
  .mail-link { word-break: break-all; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
