/* ========== Blindworks — Dark Tech ========== */
:root {
  --bg:       oklch(0.14 0.012 260);
  --bg-2:     oklch(0.17 0.014 260);
  --bg-3:     oklch(0.21 0.015 260);
  --line:     oklch(0.28 0.015 260);
  --line-soft:oklch(0.22 0.012 260 / 0.7);
  --fg:       oklch(0.96 0.008 95);
  --fg-dim:   oklch(0.72 0.012 95);
  --fg-dimmer:oklch(0.52 0.012 260);
  --accent:   oklch(0.85 0.16 165);
  --accent-hi:oklch(0.92 0.18 165);
  --accent-dim:oklch(0.85 0.16 165 / 0.15);
  --danger:   oklch(0.72 0.18 25);
  --warn:     oklch(0.82 0.14 75);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --w: 1440px;
  --pad: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  background:
    radial-gradient(1200px 800px at 80% -10%, oklch(0.22 0.03 260 / 0.6), transparent 60%),
    radial-gradient(1000px 700px at -10% 40%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--bg); }

/* Skip link */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;padding:.5rem .75rem;border-radius:.5rem;background:var(--accent);color:var(--bg);z-index:9999}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--fg-dim);
}
.label .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6); }
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark {
  width: 22px; height: 22px;
  display: block;
  flex-shrink: 0;
  color: var(--fg);
}
.logo-mark rect { fill: currentColor; }
.logo-mark rect.peak { fill: var(--accent); }
.logo-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.logo-word em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
}
.logo-sub {
  color: var(--fg-dimmer);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 14px;
  opacity: 0.5;
}
.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-links a {
  font-size: 13px; color: var(--fg-dim);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a::before {
  content: attr(data-num);
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-dimmer);
  margin-right: 6px;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex;
  font-family: var(--font-mono); font-size: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-2);
}
.lang-toggle button {
  padding: 6px 10px;
  color: var(--fg-dim);
  transition: all .2s;
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.lang-toggle button:not(.active):hover { color: var(--fg); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  transition: all .2s;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.nav-cta .arr { transition: transform .2s; }
.nav-cta:hover .arr { transform: translateX(3px); }

.mobile-menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px var(--accent);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
  background: var(--bg-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero shared ---------- */
.hero { position: relative; padding: 84px 0 96px; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(1000px 600px at 50% 30%, black 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

/* Hero — Terminal */
.hero-a {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(48px, 6.8vw, 104px);
}
.hero-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-title .strike { position: relative; color: var(--fg-dim); }
.hero-title .strike::after {
  content:''; position: absolute; left:-4px; right:-4px; top: 52%;
  height: 2px; background: var(--accent);
  transform-origin: left;
  animation: strike 1.2s 0.6s both cubic-bezier(.7,.1,.3,1);
}
@keyframes strike { from{ transform: scaleX(0)} to{transform: scaleX(1)}}

.hero-sub {
  margin-top: 32px;
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 48ch;
  line-height: 1.55;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-meta .n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-meta .l {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

/* Terminal window */
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,0.8),
    0 0 0 1px color-mix(in oklch, var(--accent) 10%, transparent);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  position: relative;
}
.terminal::before {
  content:''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,0.015) 2px 3px);
  border-radius: inherit;
}
.term-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.term-dot.r { background: oklch(0.65 0.16 25); border-color: transparent; }
.term-dot.y { background: oklch(0.82 0.14 80); border-color: transparent; }
.term-dot.g { background: oklch(0.75 0.13 155); border-color: transparent; }
.term-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.term-status {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-dim);
}
.term-body {
  padding: 20px 22px 22px;
  min-height: 360px;
  color: var(--fg);
}
.term-line { display: flex; gap: 10px; flex-wrap: wrap; }
.term-prompt { color: var(--accent); user-select:none; }
.term-host { color: var(--fg-dim); }
.term-comment { color: var(--fg-dimmer); padding-left: 18px; }
.term-out { color: var(--fg-dim); padding-left: 18px; }
.term-json { padding-left: 18px; }
.term-key { color: var(--accent); }
.term-str { color: oklch(0.82 0.12 80); }
.term-num { color: oklch(0.78 0.15 220); }
.term-caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: caret 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes caret { 50% { opacity: 0; } }

.term-row { display: none; }
.term-row.visible { display: block; }
.term-row.blank { height: 12px; }

/* ---------- Generic sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 48px;
  margin-bottom: 72px;
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.section-head h2 .em { color: var(--accent); font-style: italic; font-weight: 400; }
.section-head .kicker {
  color: var(--fg-dim);
  font-size: 18px;
  max-width: 56ch;
  line-height: 1.5;
  margin-top: 24px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 36px 32px 32px;
  position: relative;
  transition: background .25s;
  cursor: default;
  overflow: hidden;
}
.service:hover { background: var(--bg-2); }
.service .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.12em;
  display: flex; justify-content: space-between;
  margin-bottom: 24px;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.service h3 .em { color: var(--accent); }
.service p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
  max-width: 42ch;
}
.service .chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 24px;
}
.service .chip {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-dim);
  background: var(--bg-2);
  transition: all .2s;
}
.service:hover .chip { border-color: var(--line-soft); }
.service .chip:hover { color: var(--accent); border-color: var(--accent); }
.service .vis {
  position: absolute;
  right: 24px; top: 24px;
  width: 72px; height: 72px;
  opacity: 0.7;
}

/* Stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stack-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.stack-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -20px var(--accent);
}
.stack-card .tier {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-dim); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stack-card .name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; margin-top: 14px;
  letter-spacing: -0.01em;
}
.stack-card .desc {
  color: var(--fg-dim); font-size: 13px;
  margin-top: 6px; line-height: 1.5;
}
.stack-card .bar {
  height: 2px; background: var(--line); margin-top: 18px;
  position: relative; border-radius: 1px; overflow: hidden;
}
.stack-card .bar::after {
  content:''; position: absolute; left: 0; top:0; bottom: 0;
  width: var(--lvl, 80%);
  background: var(--accent);
}
.stack-card .yrs {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-dimmer); margin-top: 8px;
}

/* Case studies */
.cases { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.case {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 1fr 140px;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
  transition: padding .25s, background .25s;
  cursor: pointer;
  color: inherit;
}
.case:hover { padding-left: 16px; padding-right: 16px; background: var(--bg-2); }
.case .yr { font-family: var(--font-mono); color: var(--fg-dim); font-size: 13px; }
.case .title {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: -0.02em; line-height: 1.1;
}
.case .summary {
  color: var(--fg-dim); font-size: 14px; line-height: 1.5; max-width: 48ch;
}
.case .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case .tags span {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-dim);
}
.case .arr {
  justify-self: end;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .25s;
}
.case:hover .arr { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(-45deg); }

/* About / Since 2006 */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.timeline .t-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline .t-item::before {
  content:''; position: absolute; left: -32px; top: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line);
  transition: all .25s;
}
.timeline .t-item.active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent); }
.timeline .yr {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.1em;
}
.timeline .ev {
  font-family: var(--font-display); font-size: 18px;
  margin-top: 4px; line-height: 1.3;
}
.timeline .note {
  color: var(--fg-dim); font-size: 13px; margin-top: 4px;
}
.about .lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.about .lead .em { color: var(--accent); font-style: italic; }
.about .body {
  margin-top: 24px;
  font-size: 16px; line-height: 1.65; color: var(--fg-dim);
  max-width: 52ch;
}
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-stats .n { font-family: var(--font-display); font-size: 40px; letter-spacing: -0.02em; }
.about-stats .l { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }

/* Contact */
.contact {
  position: relative;
  padding: 120px 0 80px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.contact-big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 10vw, 150px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 14ch;
}
.contact-big .em { color: var(--accent); font-style: italic; font-weight: 400; }
.contact-big .dim { color: var(--fg-dim); }
.contact .tagline {
  margin-top: 32px;
  max-width: 56ch;
  color: var(--fg-dim);
  font-size: 18px;
  line-height: 1.5;
}
.contact-grid {
  margin-top: 72px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-grid .col h4 {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
  font-weight: 500;
}
.contact-grid .col .big {
  font-family: var(--font-display); font-size: 20px; line-height: 1.3;
}
.contact-grid .col .big a {
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: all .2s;
}
.contact-grid .col .big a:hover { color: var(--accent); border-color: var(--accent); }

/* Footer */
.foot {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim);
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--fg); }
.foot .pulse { display: inline-flex; gap: 8px; align-items: center; }
.foot .pulse .d { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.75 0.13 155); box-shadow: 0 0 8px oklch(0.75 0.13 155);}
.foot-socials { display: flex; gap: 14px; }
.foot-socials a { color: var(--fg-dim); transition: color .2s; }
.foot-socials a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .term-caret, .label .dot { animation: none; }
}

/* ---------- Language toggle ---------- */
html[lang="de"] [data-lang="en"] { display: none; }
html[lang="en"] [data-lang="de"] { display: none; }

/* ---------- Prose (legal, blog, marketing) ---------- */
.prose {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.7;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 2em 0 0.6em;
  line-height: 1.15;
}
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3.5vw, 40px); }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 17px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--accent); border-bottom: 1px solid color-mix(in oklch, var(--accent) 40%, transparent); transition: border-color .2s; }
.prose a:hover { border-color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-2); padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--line);
}
.prose pre {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px; overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code { background: transparent; border: 0; padding: 0; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding-left: 20px;
  margin: 1.5em 0; color: var(--fg); font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.page-wrap { padding: 80px 0 60px; }
.page-wrap .breadcrumb {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-dim); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-wrap .breadcrumb a { color: var(--accent); }

/* ---------- Cards (blog index, order pages, etc.) ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 40px;
}
.bw-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .25s;
  display: block;
  color: inherit;
}
.bw-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 20px 40px -30px var(--accent); }
.bw-card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.bw-card p { color: var(--fg-dim); font-size: 14px; line-height: 1.55; }
.bw-card .meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-dimmer);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 24px; }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-dim); margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px;
  color: var(--fg); font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--accent);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; }

/* Price card */
.price-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px;
  position: relative;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim); }
.price-card .price {
  font-family: var(--font-display); font-size: 48px; letter-spacing: -0.03em;
  margin: 12px 0 4px;
}
.price-card .price .unit { font-size: 14px; color: var(--fg-dim); font-family: var(--font-mono); }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg-dim); font-size: 14px; }
.price-card li::before { content: '✓'; color: var(--accent); margin-right: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --pad: 24px; }
  .hero-a, .about { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .case {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .case .summary { grid-column: 1 / -1; }
  .case .tags { grid-column: 1 / -1; }
  .case .arr { grid-column: 1 / -1; justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
}
