/* ============================================================
   NISCO · Design System v3
   Aesthetic: editorial + computational, soft gradient noise
   Black canvas · warm amber accent · geometric sans + mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-soft: #161616;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --ink: #f4f1ea;
  --ink-dim: rgba(244,241,234,0.62);
  --ink-mute: rgba(244,241,234,0.42);
  --amber: #d9a574;
  --amber-bright: #efbf86;
  --amber-deep: #8a5a2b;
  --grid: 1.25rem;

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: "Inter", system-ui, sans-serif;

  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  background: var(--bg);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--amber); color: #0a0a0a; }

/* ---------- Typography ---------- */
.mono { font-family: var(--mono); font-feature-settings: "ss01"; }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
.label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.label .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p  { text-wrap: pretty; }

/* Italic accent for editorial feel */
em.accent, .accent-italic {
  font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--amber);
}

/* ---------- Layout primitives ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

section { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow .num {
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}
.eyebrow .bar {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Floating mini-header ---------- */
.nav-bar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.45rem 0.45rem 1rem;
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: top 0.4s var(--ease), background 0.3s var(--ease);
}
.nav-bar.scrolled {
  background: rgba(10,10,10,0.85);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--line);
}
.nav-logo img { height: 18px; width: auto; }
.nav-logo .wordmark {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}
.nav-links a.active {
  color: var(--amber);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.95rem;
  background: var(--amber);
  color: #0a0a0a;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--amber-bright); transform: translateY(-1px); }
.nav-cta::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s;
}
.nav-cta:hover::after { transform: translateX(2px); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  padding: 0 0.5rem 0 0.75rem;
  border-left: 1px solid var(--line);
}
.nav-lang a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding: 0.25rem;
}
.nav-lang a.active { color: var(--ink); }

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-mobile-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile-toggle span:nth-child(1) { top: 18px; }
.nav-mobile-toggle span:nth-child(2) { top: 22px; }
.nav-mobile-toggle span:nth-child(3) { top: 26px; }

/* ---------- Side scroll-index ---------- */
.scroll-index {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: auto;
}
.scroll-index a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink-mute);
  transition: color 0.3s;
  white-space: nowrap;
}
.scroll-index a .num { font-variant-numeric: tabular-nums; min-width: 1.5em; }
.scroll-index a .tick {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: width 0.3s, opacity 0.3s, background 0.3s;
}
.scroll-index a .tx { opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.scroll-index a:hover .tx, .scroll-index a.active .tx { opacity: 1; transform: translateX(0); }
.scroll-index a.active { color: var(--ink); }
.scroll-index a.active .tick { width: 32px; opacity: 1; background: var(--amber); }

/* ---------- Shader canvas (background) ---------- */
.shader-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.shader-bg canvas { width: 100%; height: 100%; display: block; }
.shader-bg::after {
  /* film grain overlay */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem var(--pad) 3.5rem;
  overflow: hidden;
  background: var(--bg);
}
.hero .shader-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: calc(100%/12) 100%, 100% 8rem;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}

.hero-corners { position: absolute; inset: 1.5rem; pointer-events: none; z-index: 2; }
.hero-corners > div {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--ink-dim);
  border-style: solid;
  border-width: 0;
}
.hero-corners .tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hero-corners .tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero-corners .bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hero-corners .br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero-meta-top {
  position: absolute;
  top: 5.5rem;
  left: var(--pad);
  right: var(--pad);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta-top .left, .hero-meta-top .right {
  display: flex; flex-direction: column; gap: 0.35rem;
}
.hero-meta-top .right { text-align: right; align-items: flex-end; }
.hero-meta-top span.amber { color: var(--amber); }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 2.5rem;
  font-weight: 400;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.95s var(--ease) forwards;
}
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.hero-sub p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 32ch;
}
.hero-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 46ch;
}
.hero-copy p {
  max-width: none;
}
.hero-sub .hero-agency-note {
  font-size: 0.95rem;
  color: rgba(244,241,234,0.76);
}
.hero-sub .cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn.primary {
  background: var(--amber);
  color: #0a0a0a;
  border-color: var(--amber);
}
.btn.primary:hover { background: var(--amber-bright); border-color: var(--amber-bright); }

.btn.ghost { border-color: var(--line); color: var(--ink-dim); }
.btn.ghost:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------- Marquee/ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--bg);
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: tick 40s linear infinite;
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
}
.ticker-track span { display: inline-flex; align-items: center; gap: 3rem; }
.ticker-track .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Section header ---------- */
.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
}
.section-divider {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-divider .shader-bg { z-index: 0; }
.section-divider-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
  padding: 0 var(--pad);
  font-weight: 400;
}
.section-divider-content em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}
.section-head .meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.section-head .lede {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 260px;
}
.service-card:hover { background: var(--bg-soft); }
.service-card .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}
.service-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.service-card p { color: var(--ink-dim); margin: 0; max-width: 36ch; }
.service-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.service-card:hover .more { color: var(--amber); }
.service-card .more .arrow { transition: transform 0.2s; }
.service-card:hover .more .arrow { transform: translateX(4px); }

/* ---------- Agency support ---------- */
.agency-panel {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.agency-copy,
.agency-use-cases {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.agency-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.agency-copy h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.agency-copy p {
  color: var(--ink-dim);
  margin: 0;
  max-width: 50ch;
}
.agency-use-cases {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  align-content: center;
}
.agency-use-cases li {
  color: var(--ink-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.agency-use-cases li::before {
  content: "+";
  color: var(--amber);
  font-family: var(--mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step {
  background: var(--bg);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}
.process-step .step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.process-step h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}
.process-step p { color: var(--ink-dim); font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* ---------- Showcase ---------- */
.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.showcase-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.showcase-media img, .showcase-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}
.showcase-media .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 60%, rgba(217,165,116,0.1));
  pointer-events: none;
}
.showcase-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.showcase-text h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.showcase-text p { color: var(--ink-dim); font-size: 1.05rem; max-width: 48ch; }

/* ---------- Cases ---------- */
.cases {
  display: grid;
  gap: 4rem;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.case:nth-child(even) .case-media { order: 2; }
.case-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.case-media video, .case-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.case-media .award {
  position: absolute;
  bottom: 1rem; right: 1rem;
  width: 128px; height: 64px;
  overflow: hidden;
  object-fit: contain;  
}
.case-meta { display: flex; flex-direction: column; gap: 1.25rem; }
.case-meta .case-num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}
.case-meta h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.case-meta p { color: var(--ink-dim); margin: 0; max-width: 48ch; }
.case-meta .specs {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0.5rem 0 0.25rem;
  flex-wrap: wrap;
}
.case-meta .spec {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.case-meta .spec .k {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.case-meta .spec .v {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.about-photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
.about-photo .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.4rem 0.7rem;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.about-text { display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
.about-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.about-text h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.about-text p { color: var(--ink-dim); font-size: 1.05rem; max-width: 48ch; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1rem;
}
.about-stat {
  background: var(--bg);
  padding: 1.25rem;
}
.about-stat .v {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-stat .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.25rem;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.price-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 380px;
  position: relative;
}
.price-card.featured { background: var(--bg-soft); }
.price-card.featured::before {
  content: "Most projects";
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 0.3rem 0.6rem;
  background: rgba(217,165,116,0.1);
  border: 1px solid rgba(217,165,116,0.3);
  border-radius: 999px;
}
.price-card .tier {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.price-card .amount {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.price-card .amount .from {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 400;
}
.price-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
}
.price-card p { color: var(--ink-dim); font-size: 0.9rem; margin: 0; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.price-card li {
  font-size: 0.875rem;
  color: var(--ink-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.price-card li::before {
  content: "+";
  color: var(--amber);
  font-family: var(--mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Testimonials ---------- */
.testimonial-rail {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease);
}
.testimonial {
  flex: 0 0 calc(50% - 0.75rem);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 280px;
}
.testimonial .quote-mark {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--amber);
  font-style: italic;
}
.testimonial p { color: var(--ink); font-size: 1.05rem; line-height: 1.5; margin: 0; }
.testimonial .meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial .meta .name { font-family: var(--mono); font-size: 0.875rem; color: var(--ink); }
.testimonial .meta .role { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); }

.test-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}
.test-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--mono);
}
.test-controls button:hover { background: var(--ink); color: var(--bg); }

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--amber); }
.faq-q .chev {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--amber);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 1.75rem;
  color: var(--ink-dim);
  max-width: 70ch;
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-a-inner strong { color: var(--ink); }

/* ---------- Insights ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.insight {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  transition: background 0.3s;
}
.insight:hover { background: var(--bg-soft); }
.insight .meta {
  display: flex;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.insight .meta .tag { color: var(--amber); }
.insight h3 {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
}
.insight .read {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.insight.stub::after {
  content: "Coming soon";
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 0.25rem 0.5rem;
  background: rgba(217,165,116,0.1);
  border: 1px solid rgba(217,165,116,0.3);
  border-radius: 999px;
}
.insight { position: relative; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-text h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.contact-text h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.contact-text p { color: var(--ink-dim); font-size: 1.05rem; max-width: 42ch; margin-bottom: 2rem; }
.contact-info {
  display: flex; flex-direction: column; gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  font-family: var(--mono);
  font-size: 0.875rem;
}
.contact-info .row { display: flex; justify-content: space-between; gap: 1rem; }
.contact-info .row .k {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6875rem;
}
.contact-info .row .v { color: var(--ink); }
.contact-info a:hover { color: var(--amber); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 1rem 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-form select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.contact-form select option {
  background: var(--bg);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--amber);
}
.contact-form input::placeholder,
.contact-form select,
.contact-form textarea::placeholder {
  color: var(--ink-mute);
  font-family: var(--mono);
}
.contact-form .form-note {
  margin: 0.25rem 0 0;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.contact-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}
.contact-form .check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--amber); }
.contact-form .check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.contact-form button {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: var(--bg);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .wordmark {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}
.footer-brand .wordmark em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.footer-brand p { color: var(--ink-dim); max-width: 32ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  color: var(--ink-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.footer-bottom .socials { display: flex; gap: 1rem; }
.footer-bottom .socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.2s; }
.footer-bottom .socials a:hover { border-color: var(--amber); }
.footer-bottom .socials img { width: 14px; height: 14px; filter: invert(1) opacity(0.7); }
.footer-bottom .socials a:hover img { filter: invert(74%) sepia(34%) saturate(380%) hue-rotate(346deg) brightness(91%) contrast(89%); opacity: 1; }

/* ---------- Subpage hero ---------- */
.subhero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}
.subhero .shader-bg { z-index: 0; }
.subhero-media {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.4;
}
.subhero-media img, .subhero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.subhero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.9) 90%);
}
.subhero-content { position: relative; z-index: 3; max-width: 1100px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.6rem;
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { color: var(--ink-mute); }

.subhero h1 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.subhero h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.subhero p { color: var(--ink-dim); font-size: 1.15rem; max-width: 52ch; margin-bottom: 2rem; }

/* ---------- Subpage content ---------- */
.subpage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subpage-stat {
  background: var(--bg);
  padding: 2.5rem var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subpage-stat .v {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.subpage-stat .k {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.subpage-prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem var(--pad);
}
.subpage-prose h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 3rem 0 1.5rem;
}
.subpage-prose h2:first-child { margin-top: 0; }
.subpage-prose h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.subpage-prose p { color: var(--ink-dim); font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.25rem; }
.subpage-prose strong { color: var(--ink); font-weight: 500; }
.subpage-prose ul, .subpage-prose ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  counter-reset: li;
}
.subpage-prose ul li, .subpage-prose ol li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-dim);
  line-height: 1.55;
  font-size: 1rem;
}
.subpage-prose ul li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  color: var(--amber);
  font-family: var(--mono);
}
.subpage-prose ol { counter-reset: li; }
.subpage-prose ol li {
  counter-increment: li;
  padding-left: 3rem;
}
.subpage-prose ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.subpage-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 2rem 0;
}
.subpage-cards .card {
  background: var(--bg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.subpage-cards .card h3 {
  font-size: 1.15rem;
  font-weight: 500;
}
.subpage-cards .card p { color: var(--ink-dim); font-size: 0.9rem; margin: 0; }

.subpage-cta {
  margin: 4rem 0 0;
  padding: 3rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.subpage-cta h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.subpage-cta h3 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--amber);
}
.subpage-cta p { color: var(--ink-dim); margin: 0 0 1rem; }

.video-reel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.video-reel-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.video-reel-item video { width: 100%; height: 100%; object-fit: cover; }
.video-reel-item .label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ---------- Legal page ---------- */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 12rem var(--pad) 6rem;
}
.legal-wrap h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}
.legal-wrap h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; font-weight: 500; }
.legal-wrap h3 { font-size: 1.1rem; margin: 1.75rem 0 0.75rem; font-weight: 500; }
.legal-wrap p, .legal-wrap li { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.65; }
.legal-wrap p { margin: 0 0 1rem; }
.legal-wrap a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(217,165,116,0.3); }
.legal-wrap ul { padding-left: 1.5rem; margin: 0 0 1rem; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .scroll-index { display: none; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-bar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0; right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1rem;
  }
  .nav-bar{
    width: 95vw;
    justify-content: space-between;
  }
  .nav-bar .nav-logo{
    border-right: none;
  }
  .nav-bar.open .nav-links a { display: block; width: 100%; padding: 0.9rem 1rem; }

  .hero { padding-top: 5.5rem; }
  .hero-meta-top { display: none; }
  .hero h1 {
    font-size: clamp(2.1rem, 9.2vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.025em;
  }
  .hero h1 .line { overflow: visible; }
  .hero h1 .word {
    max-width: 100%;
    overflow-wrap: normal;
  }
  .hero-sub { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-copy { gap: 0.5rem; }
  .hero-sub .hero-agency-note { display: none; }
  .hero-sub .cta-row { justify-content: flex-start; }

  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr !important; }
  .agency-panel { grid-template-columns: 1fr; }
  .agency-use-cases { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase, .case, .about, .contact-wrap { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-media { order: 0; }
  .pricing { grid-template-columns: 1fr; }
  .insights { grid-template-columns: 1fr; }
  .subpage-cards { grid-template-columns: 1fr; }
  .subpage-stats { grid-template-columns: 1fr; }
  .video-reel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem; }
  .testimonial { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; }

  .about .about-stats{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-bar {
    width: calc(100vw - 1rem);
    top: 0.5rem;
  }
  .nav-lang,
  .nav-cta {
    display: none;
  }
  /* Keep language switch + CTA reachable from the open mobile menu — they'd
     otherwise have no path back once hidden from the compact bar below. */
  .nav-bar.open {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
  .nav-bar.open .nav-lang {
    display: flex;
    order: 1;
  }
  .nav-bar.open .nav-cta {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
  }
  .hero-sub p { max-width: none; }
  .btn {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .section-divider-content {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================
   SUBPAGE HERO
   ============================================ */
.hero.subpage-hero {
  min-height: 70vh;
  height: auto;
  padding-top: 9rem;
  padding-bottom: 4rem;
}
.hero.subpage-hero .hero-content {
  margin-top: 0;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-top: 9rem;
  padding-bottom: 6rem;
  position: relative;
}
.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,180,80,0.04), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}
.legal-page > .wrap {
  position: relative;
  z-index: 1;
}
.legal-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.legal-block h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.legal-block h3 {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal-block p {
  color: var(--ink-dim);
  line-height: 1.65;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}
.legal-block p:last-child {
  margin-bottom: 0;
}
.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-block ul li {
  color: var(--ink-dim);
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}
.legal-block ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--amber);
}
.legal-block a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--amber) 30%, transparent);
  transition: border-color 0.2s ease;
}
.legal-block a:hover {
  border-bottom-color: var(--amber);
}


/* ============================================================
   v2 · Studio-Fassung
   ------------------------------------------------------------
   Leitgedanke: die Arbeit trägt die Seite, nicht der Rahmen.
   Entfernt das Vokabular, das die Seite wie eine Vorlage
   aussehen ließ: Mono-Versalien-Labels, Koordinaten,
   Eck-Haarlinien, Index-Strang, Shader, Serifen-Kursive.
   Eine Schriftfamilie (Archivo), Kontrast über Stärke,
   Breite und Fläche statt über Dekoration.
   Aktiv nur bei <body class="v2">.
   ============================================================ */

body.v2 {
  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "Archivo", system-ui, sans-serif;
  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);
  font-family: var(--body);
}

/* ---------- 1. Dekoration entfernen ---------- */
body.v2 .shader-bg,
body.v2 .hero-grid,
body.v2 .hero-corners,
body.v2 .hero-meta-top,
body.v2 .scroll-index,
body.v2 .eyebrow .num,
body.v2 .eyebrow .bar,
body.v2 .label .dot,
body.v2 .hero-eyebrow .pulse,
body.v2 .service-card .num,
body.v2 .case-num,
body.v2 .price-card .amount,
body.v2 .price-card .tier { display: none !important; }
body.v2 .price-card.featured::before { display: none !important; }

/* ---------- 2. Typografie ---------- */
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4 {
  font-family: var(--display);
  font-weight: 450;
  font-variation-settings: "wdth" 100;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
/* Die Überschrift schreit nicht mehr. Groß wird die Arbeit, nicht der Text. */
body.v2 h1 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.06; }
body.v2 h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
body.v2 h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; }
body.v2 p  { font-size: 1rem; line-height: 1.62; }

/* Akzent ohne Serife: Kontrast über Stärke und Farbe */
body.v2 em.accent,
body.v2 .accent-italic,
body.v2 h1 em, body.v2 h2 em, body.v2 h3 em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-variation-settings: "wdth" 108;
  color: var(--amber);
  letter-spacing: -0.015em;
}

/* Labels: keine Mono-Versalien mehr */
body.v2 .eyebrow,
body.v2 .label,
body.v2 .hero-eyebrow {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-mute);
  gap: 0.5rem;
}
body.v2 .specs .k {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.8125rem;
}
body.v2 .specs .v { font-family: var(--body); font-size: 0.9375rem; }

/* ---------- 3. Hero: Arbeit statt Rahmen ---------- */
body.v2 .hero { position: relative; overflow: hidden; }
body.v2 .hero-media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
body.v2 .hero-media video,
body.v2 .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92);
}
body.v2 .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 46%, rgba(10,10,10,0.28) 100%),
    linear-gradient(to top, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0) 42%);
}
body.v2 .hero-content { position: relative; z-index: 2; max-width: clamp(20rem, 52vw, 46rem); }
body.v2 .hero h1 .line { overflow: visible; }   /* Fix: Reveal-Maske beschnitt die Zeile */
body.v2 .nav-cta { white-space: nowrap; }       /* Fix: "Projekt starten" brach um */
body.v2 .case-meta .btn, body.v2 .case-meta .btn.primary { display: inline-flex; width: auto; align-self: start; }
@media (min-width: 900px) { body.v2 .hero-sub { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 2rem; align-items: end; } }
@media (max-width: 899px) { body.v2 .hero-sub { grid-template-columns: 1fr; } body.v2 .hero-content { max-width: 100%; } }
body.v2 .hero-sub { margin-top: 1.75rem; }
body.v2 .hero-copy p { color: var(--ink-dim); max-width: 52ch; }
body.v2 .hero-agency-note { font-size: 0.9375rem; color: var(--ink-mute); }

/* ---------- 4. Flächen statt Karten ---------- */
body.v2 .service-card,
body.v2 .price-card,
body.v2 .agency-panel {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 1.5rem 0 0;
  box-shadow: none;
}
body.v2 .price-card.featured {
  background: transparent;
  border-top-color: var(--amber);
  transform: none;
}
body.v2 .service-card p, body.v2 .price-card p { color: var(--ink-dim); }
body.v2 .price-card ul, body.v2 .service-card ul { color: var(--ink-mute); }

/* ---------- 5. Arbeiten groß ---------- */
body.v2 .case { gap: 2.5rem; }
body.v2 .case-media { border-radius: 2px; overflow: hidden; }
body.v2 .case-media video, body.v2 .case-media img { width: 100%; }
body.v2 .case-meta h3 { margin-top: 0.25rem; }
body.v2 .case-meta p { color: var(--ink-dim); max-width: 58ch; }

/* ---------- 6. Bedienelemente ruhiger ---------- */
body.v2 .btn {
  border-radius: 2px;
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9375rem;
}
body.v2 .nav-cta { border-radius: 2px; font-family: var(--body); letter-spacing: 0; }
body.v2 .nav-links a, body.v2 .nav-lang a {
  font-family: var(--body);
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 0.9375rem;
  white-space: nowrap;          /* Fix: "Über mich" brach auf zwei Zeilen um */
}
body.v2 .nav-links { flex-wrap: nowrap; }
body.v2 .section-divider-content { font-family: var(--display); font-weight: 400; }

/* ---------- 7. Sticky-Navigation: Anker nicht mehr verdecken ---------- */
body.v2 section[id] { scroll-margin-top: 6.5rem; }

/* ---------- 8. Ruhigere Abstände ---------- */
body.v2 .section { padding-block: clamp(4rem, 9vw, 8rem); }
/* Kopfzeilen linksbuendig statt gegeneinander gesetzt: ruhiger, editorialer */
body.v2 .section-head {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  align-items: start;
  max-width: 62rem;
}
body.v2 .section-head h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  text-align: left;
}

@media (max-width: 1100px) {
  body.v2 .nav-links a, body.v2 .nav-lang a { font-size: 0.875rem; }
}

/* v2 · Nachtrag: Lesbarkeit auf Mobil, Versalien in den Karten */
@media (max-width: 899px) {
  body.v2 .hero-media::after {
    background: linear-gradient(to top, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.80) 52%, rgba(10,10,10,0.55) 100%);
  }
}
body.v2 .service-card a,
body.v2 .case-meta .btn,
body.v2 .btn.ghost {
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: var(--body);
  font-size: 0.9375rem;
}

/* ============================================================
   v2 · zweiter Durchgang: die verbliebenen Versalien-Labels,
   zu enge Raster und der Serifen-Rest im Footer.
   ============================================================ */

/* 1. Keine Versalien-Mikrolabels mehr, egal in welcher Komponente */
body.v2 .step-num,
body.v2 .about-stat .k,
body.v2 .insight .meta,
body.v2 .insight .tag,
body.v2 .insight .read,
body.v2 .testimonial .role,
body.v2 .testimonial .company,
body.v2 .footer-col h4,
body.v2 .case-media .tagline,
body.v2 .badge, body.v2 .pill, body.v2 .chip {
  font-family: var(--body) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-size: 0.8125rem;
  font-weight: 400;
}
body.v2 .footer-col h4 { font-size: 0.875rem; color: var(--ink-mute); }

/* 2. Prozess: sechs Spalten waren auf jeder Breite zu eng */
body.v2 .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { body.v2 .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { body.v2 .process-grid { grid-template-columns: 1fr; } }
body.v2 .process-step { padding: 1.75rem; }
body.v2 .process-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }

/* 3. Journal: vier Artikel in drei Spalten liessen ein leeres Feld stehen */
body.v2 .insights { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 700px) { body.v2 .insights { grid-template-columns: 1fr; } }
body.v2 .insight h3 { font-size: 1.125rem; line-height: 1.3; }

/* 4. Kennzahlen: "Jahrgangsbester" sprengte die Reihe */
body.v2 .about-stat .v {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

/* 5. Footer-Signet: ohne Instrument Serif fiel das em auf Georgia zurueck */
body.v2 .wordmark { font-family: var(--display); font-weight: 450; }
body.v2 .wordmark em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-variation-settings: "wdth" 108;
  color: var(--amber);
}

/* v2 · Nachtrag: kein Serifen-Rueckfall mehr.
   Instrument Serif ist nicht mehr geladen, jedes uebersehene <em>
   fiel sonst auf Georgia zurueck (Footer-Signet, Trennbaender). */
body.v2 em,
body.v2 .section-divider-content em,
body.v2 i {
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-variation-settings: "wdth" 108;
  color: var(--amber);
}
body.v2 strong em, body.v2 em strong { font-weight: 500; }

/* v2 · Nachtrag: die letzten Versalien-Reste, per DOM-Durchlauf gefunden */
body.v2 .more,
body.v2 .more .arrow,
body.v2 .about-photo .tag,
body.v2 .row .k {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-family: var(--body) !important;
}
body.v2 .more { font-size: 0.9375rem; font-weight: 500; }
body.v2 .row .k { font-size: 0.8125rem; color: var(--ink-mute); }

/* v2 · Rollout: dekorative Zaehler (DLV 01, USE 02, FMT 03, OUT 04, SVC, CASE)
   laufen alle ueber .num und verschwinden damit auf allen Seiten. */
body.v2 .num { display: none !important; }

/* Unterseiten-Hero: ohne Shader war ein 70vh hohes Feld nur noch Leere.
   Er wird zum Titelblock statt zum leeren Bildschirm. */
body.v2 .hero.subpage-hero {
  min-height: 0;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  border-bottom: 1px solid var(--line);
}

/* v2 · Unterseiten: ohne Button-Reihe braucht der Hero-Text keine zweite Spalte */
@media (min-width: 900px) {
  body.v2 .hero-sub:not(:has(.cta-row)) { grid-template-columns: 1fr; }
  body.v2 .subpage-hero .hero-content { max-width: clamp(20rem, 58vw, 50rem); }
  body.v2 .subpage-hero .hero-copy p,
  body.v2 .subpage-hero .hero-sub > p { max-width: 62ch; }
}

/* ============================================================
   v2 · Abstände vereinheitlichen
   ------------------------------------------------------------
   Vorher gemessen: Kartenflächen mit 24 / 28 / 32 / 36 px Innenmaß,
   Raster mit 1 px / 24 px / 64 px Abstand, das Prozessraster
   112 px breiter als der Satzspiegel, dazu Rahmen und Flächen,
   die nach dem Entfernen der Karten übrig geblieben sind.
   ============================================================ */

/* 1. Ein Innenmaß für alle Kartenflächen */
body.v2 .service-card,
body.v2 .price-card,
body.v2 .process-step,
body.v2 .insight,
body.v2 .testimonial {
  padding: 1.75rem 0 0;
  min-height: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
}
body.v2 .price-card.featured { border-top-color: var(--amber); }

/* 2. Echte Abstände statt der 1-px-Haarlinie.
      Die Haarlinie sitzt jetzt auf der Karte, nicht im Raster. */
body.v2 .services-grid,
body.v2 .pricing,
body.v2 .process-grid,
body.v2 .insights,
body.v2 .about-stats {
  gap: 2.25rem 2.75rem;
  background: transparent;
  border: 0;
}
body.v2 .testimonial-track { gap: 2.75rem; }

/* 3. Das Prozessraster stand ausserhalb des Satzspiegels */
body.v2 .process-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* 4. Ruhigerer Vertikalrhythmus: vorher 256 px zwischen zwei Abschnitten */
body.v2 .section { padding-block: clamp(3.5rem, 6vw, 6rem); }
body.v2 .section[style*="padding-top"] { padding-top: clamp(3.5rem, 6vw, 6rem) !important; }

/* 5. Kennzahlen ohne Rasterflächen brauchen eigene Trennung */
body.v2 .about-stat { padding: 1.25rem 0 0; border-top: 1px solid var(--line-strong); }

/* v2 · Agenturblock: der innere Kasten schob den Text 36 px gegen die
   Leistungsspalten ein, obwohl beide auf derselben Achse sitzen sollen. */
body.v2 .agency-panel > * { padding-inline: 0; }
body.v2 .agency-panel > *:first-child { padding-top: 0; }

/* ============================================================
   v2 · Kopfleiste angleichen
   ------------------------------------------------------------
   Die Leiste lief auf border-radius 999px, der Button darin auf 2px.
   Eine Pillenleiste mit eckigem Knopf darin passt weder zusammen
   noch zur eckigen Sprache des restlichen Entwurfs.
   Alles auf denselben kleinen Radius.
   ============================================================ */
body.v2 .nav-bar,
body.v2 .nav-bar.scrolled,
body.v2 .nav-links a,
body.v2 .nav-lang a,
body.v2 .nav-cta,
body.v2 .nav-mobile-toggle { border-radius: 2px; }

/* Der linke Sonderabstand stammte aus der Pillenform, in der das Logo
   sonst an der Rundung geklebt hätte. Bei einer Kante entfällt er. */
body.v2 .nav-bar { padding: 0.5rem 0.75rem; }

/* ============================================================
   v2 · Artikelbausteine
   Vergleichstabelle, Bildbeispiele mit Bildunterschrift,
   Zwischenüberschriften und FAQ-Block für die Journal-Artikel.
   ============================================================ */

body.v2 .subpage-prose h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
}

/* Tabelle: auf schmalen Schirmen scrollt sie in sich, nie die Seite */
body.v2 .tabelle-scroll {
  overflow-x: auto;
  margin: 0 0 2rem;
  border-top: 1px solid var(--line-strong);
}
body.v2 .vergleich {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
body.v2 .vergleich th,
body.v2 .vergleich td {
  text-align: left;
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
body.v2 .vergleich th {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
body.v2 .vergleich td { color: var(--ink-dim); }
body.v2 .vergleich td:first-child { color: var(--ink); width: 30%; }
body.v2 .vergleich tr:last-child td { border-bottom: 0; }

/* Bildbeispiel im Fließtext */
body.v2 .beispiel {
  margin: 2.5rem 0;
}
body.v2 .beispiel img,
body.v2 .beispiel video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
body.v2 .beispiel figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
body.v2 .beispiel figcaption a { color: var(--amber); }
body.v2 .beispiel-paar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  body.v2 .beispiel-paar { grid-template-columns: 1fr; }
}

/* FAQ am Artikelende */
body.v2 .artikel-faq { border-top: 1px solid var(--line-strong); margin-top: 3rem; padding-top: 0.5rem; }
body.v2 .artikel-faq h3 { margin-top: 1.75rem; }
body.v2 .artikel-faq p { margin-bottom: 0; }

/* v2 · Auf schmalen Schirmen ist nicht erkennbar, dass die Vergleichstabelle
   seitlich scrollt. Der Hinweis steht als data-Attribut am Element,
   damit er in beiden Sprachen stimmt. */
@media (max-width: 640px) {
  body.v2 .tabelle-scroll::after {
    content: attr(data-hinweis);
    display: block;
    padding-top: 0.6rem;
    font-size: 0.8125rem;
    color: var(--ink-mute);
  }
}

/* v2 · Gepaarte Bildbeispiele auf ein gemeinsames Seitenverhaeltnis bringen.
   Vela-Close-up und NOCTRA haben unterschiedliche Formate und standen sonst
   ungleich hoch nebeneinander. */
body.v2 .beispiel-paar { align-items: start; }
body.v2 .beispiel-paar > figure img,
body.v2 .beispiel-paar > figure video {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* v2 · Das Logo ist jetzt ein Verweis auf die Startseite und muss
   sich wie der bisherige Container verhalten. */
body.v2 a.nav-logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
body.v2 a.nav-logo img { flex: 0 0 auto; height: 18px; width: auto; }
body.v2 a.nav-logo img { transition: opacity 0.25s var(--ease); }
body.v2 a.nav-logo:hover img { opacity: 0.7; }

/* v2 · Mobiles Menue: Der Inhalt der Seite lag ueber dem geoeffneten Panel,
   dadurch schien der Text hindurch. Fester Grund, eigener Stapelwert,
   dazu der eckige Radius wie in der uebrigen Leiste. */
@media (max-width: 960px) {
  body.v2 .nav-bar { z-index: 200; }
  body.v2 .nav-bar.open .nav-links {
    background: #0a0a0a;
    backdrop-filter: none;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    padding: 0.5rem 0;
    z-index: 201;
    box-shadow: 0 24px 48px rgba(0,0,0,0.6);
  }
  body.v2 .nav-bar.open .nav-links a { padding: 0.85rem 1.25rem; }
}

/* v2 · Kennzahlenreihe: fest drei Spalten liess den vierten Eintrag
   in eine zweite Zeile rutschen. Jetzt verteilt sie sich nach Platz. */
body.v2 .about-stats { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }

/* v2 · Raster mit genau vier Eintraegen als 2x2 statt 3+1.
   Betrifft nur diesen Fall, sechsteilige Prozessraster bleiben dreispaltig. */
@media (min-width: 901px) {
  body.v2 .process-grid:has(> .process-step:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v2 · Der ZONE-Film liegt im Hochformat 9:16. Im querformatigen
   Showcase-Rahmen wurde er so hart beschnitten, dass nur Hintergrund
   sichtbar blieb. Hier bekommt er seinen eigenen Rahmen. */
body.v2 #echtzeit .showcase-media,
body.v2 #realtime .showcase-media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0d0d0d;
  border-radius: 2px;
}
body.v2 #echtzeit .showcase-media video,
body.v2 #realtime .showcase-media video {
  width: auto;
  max-width: 100%;
  max-height: 30rem;
  aspect-ratio: 500 / 888;
  object-fit: contain;
}
body.v2 #echtzeit .showcase-media .scrim,
body.v2 #realtime .showcase-media .scrim { display: none; }
