/* Nobcode Developers — design system
   Dark header/footer, light content, single accent, monospace for
   headings/UI labels, system sans for body copy. */

:root {
  --ink: #0f0812;
  --ink-soft: #4b2a57;
  --paper: #ffffff;
  --paper-dim: #f8f6f9;
  --line: #e6e8eb;
  --dark: #140a1b;
  --dark-soft: #1e1029;
  --dark-line: #3a2350;
  --accent: #6c158d;
  --accent-2: #5f8402;
  --accent-ink: #f6eefa;
  --on-dark: #f6f4f7;
  --on-dark-dim: #bfa9cc;
  --red: #a2bd0d; /* brand green (logo); only the hero particles use it */
  --radius: 10px;
  --max: 1120px;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.9em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 0.08s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108,21,141,0.35);
}
.btn-primary:hover {
  background: #871bac;
  box-shadow: 0 6px 22px rgba(108,21,141,0.55), 0 0 12px rgba(135,27,172,0.3);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(108,21,141,0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.btn-on-dark {
  background: var(--on-dark);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.btn-on-dark:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Header */
.site-header {
  background: var(--dark);
  color: var(--on-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--dark-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--on-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}
.brand .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 0 14px rgba(108,21,141,0.5), 0 0 0 1px rgba(108,21,141,0.4);
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--on-dark-dim);
  font-size: 0.92rem;
  font-family: var(--mono);
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), left 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
  left: 0;
}
.nav-item {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-item .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--dark-soft);
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
  z-index: 100;
  animation: submenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes submenuFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Invisible bridge: spans the area between the parent menu item and the dropdown to prevent mouseleave */
.nav-item .submenu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  display: block;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-open .submenu {
  display: block;
}
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--on-dark-dim);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.submenu a:hover {
  background: rgba(108,21,141,0.16);
  color: #ffffff;
  transform: translateX(4px);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 0.78rem;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(20,10,27,0.4);
}
.lang-switch a {
  text-decoration: none;
  color: var(--on-dark-dim);
  padding: 5px 10px;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-switch a.is-active {
  background: var(--on-dark);
  color: var(--dark);
}
.lang-switch a:not(.is-active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  color: var(--on-dark);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-item { padding-bottom: 0; margin-bottom: 0; }
  .nav-item .submenu { position: static; display: block; box-shadow: none; border: none; padding: 0 0 0 12px; background: none; }
  .nav-item .submenu::before { content: none; display: none; }
  .nav-item:hover .submenu { display: block; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 0.55em 1em; font-size: 0.8rem; }
}

/* Hero */
.hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: 96px 0 84px;
}
.hero .wrap { }
.hero h1 { color: var(--on-dark); max-width: 16ch; }
.hero .lede { color: var(--on-dark-dim); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-strip {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--on-dark-dim);
  letter-spacing: 0.02em;
}

/* Page hero (non-home, shorter) */
.page-hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--on-dark); }
.page-hero .lede { color: var(--on-dark-dim); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumb {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--on-dark-dim);
  margin-bottom: 18px;
}
.crumb a { color: var(--on-dark-dim); text-decoration: none; }
.crumb a:hover { color: var(--on-dark); }

/* Sections */
section { padding: 76px 0; }
.section-alt { background: var(--paper-dim); }
.section-head { max-width: 62ch; margin-bottom: 44px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(108,21,141,0.45);
  box-shadow: 0 18px 36px rgba(20,10,27,0.1), 0 0 0 1px rgba(108,21,141,0.15);
}
.section-alt .card { background: var(--paper); }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent-ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0; font-size: 0.96rem; }
.card .tag {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.card-link:hover { color: var(--accent); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}
.step .num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { font-size: 0.86rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.feature-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--ink-soft);
}

/* Stats */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--ink);
}
.stat span { font-size: 0.85rem; color: var(--ink-soft); }

/* CTA band */
.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--on-dark); margin-bottom: 0.3em; }
.cta-band p { color: var(--on-dark-dim); margin: 0; }

/* Product hero specific */
.product-overview { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .product-overview { grid-template-columns: 1fr; } }

/* Job listing */
.job {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.job + .job { margin-top: 14px; }
.job h3 { margin-bottom: 6px; }
.job p { margin: 0; font-size: 0.92rem; }
.job-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }

/* Article card */
.article {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.article:first-child { padding-top: 0; }
.article .meta { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-detail .card-icon { margin-bottom: 0; }
.contact-detail h4 { margin-bottom: 2px; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; }
.contact-detail p { margin: 0; font-size: 0.92rem; }

form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 3px; }
.checkbox-row label { text-transform: none; font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0; color: var(--ink-soft); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-dim);
  padding: 64px 0 36px;
  margin-top: 56px;
  border-top: 1px solid var(--dark-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-line);
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-grid a {
  color: var(--on-dark-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-grid a:hover {
  color: #ffffff;
}
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.footer-brand .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.footer-brand p {
  color: var(--on-dark-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}
.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark-dim);
  font-size: 0.78rem;
  font-family: var(--mono);
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social-links a:hover {
  background: rgba(108,21,141,0.25);
  border-color: rgba(108,21,141,0.6);
  color: #ffffff;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--on-dark-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  text-decoration: none;
  color: var(--on-dark-dim);
  transition: color 0.15s ease;
}
.footer-bottom a:hover {
  color: #ffffff;
}
@media (max-width: 560px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Agency-style homepage sections */

/* Interactive Background Creature (Anime.js) */
.creature-wrapper, #creature-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.creature, #creature {
  font-size: clamp(1.4px, 0.22vh, 2.6px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150em;
  height: 150em;
  flex-wrap: wrap;
  pointer-events: none;
}
.creature div, #creature div {
  transform-style: preserve-3d;
  position: relative;
  width: 4em;
  height: 4em;
  margin: 3em;
  border-radius: 2em;
  will-change: transform;
  mix-blend-mode: plus-lighter;
  background: var(--red);
}

.hero-big {
  padding: 100px 0 0;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 45% 20%, #361542 0%, #140a1b 55%, #100514 100%);
  color: var(--on-dark);
  border-bottom: 1px solid var(--dark-line);
}
.hero-big .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
  position: relative;
  z-index: 2;
}
@media (max-width: 940px) {
  .hero-big .wrap { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
}
.hero-big .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e59cff;
  background: rgba(108,21,141,0.18);
  border: 1px solid rgba(220,124,255,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.4rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.hero-big .eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5cc1a;
  box-shadow: 0 0 8px #b5cc1a;
}
.hero-big h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.7em;
  text-shadow: 0 2px 18px rgba(15,5,18,0.75);
}
.hero-big .rotator {
  display: inline-flex;
  position: relative;
  color: #b5cc1a;
  text-shadow: 0 0 24px rgba(181,204,26,0.5);
  font-weight: 700;
  vertical-align: bottom;
}
.hero-big .rotator span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.45s ease, transform 0.45s ease;
  position: absolute;
  left: 0;
  white-space: nowrap;
}
.hero-big .rotator span.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}
.hero-big .lede {
  color: #e1c9ea;
  font-size: 1.22rem;
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(15,5,18,0.65);
}
.hero-big .hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-big .btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(108,21,141,0.45);
  font-weight: 600;
  padding: 0.9em 1.6em;
}
.hero-big .btn-primary:hover {
  background: #871bac;
  box-shadow: 0 6px 24px rgba(108,21,141,0.65);
  transform: translateY(-2px);
}
.hero-big .btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.9em 1.6em;
}
.hero-big .btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}
.hero-big .blob-cluster {
  opacity: 0.35;
  filter: blur(20px);
}
.hero-visual {
  width: 100%;
  max-width: 440px;
  height: 440px;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,21,141,0.28) 0%, rgba(95,132,2,0.14) 45%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  opacity: 0.7;
  /* Radial mask: soft opacity from full center to 0 at edges, removing cut borders */
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0) 95%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0) 95%);
  z-index: 1;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual:hover .hero-visual-img {
  opacity: 0.78;
  transform: scale(1.02);
}
.hero-visual .tag-float {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(25,9,31,0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 3;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
  cursor: default;
}
.hero-visual .tag-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 12px rgba(108,21,141,0.35);
  border-color: rgba(220,124,255,0.55);
}
.hero-visual .tag-float.t1 { top: 8%; left: 4%; }
.hero-visual .tag-float.t2 { top: 48%; right: -2%; }
.hero-visual .tag-float.t3 { bottom: 8%; left: 8%; }

.marquee {
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  overflow: hidden;
  background: var(--dark);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--on-dark-dim);
  padding: 20px 36px;
  white-space: nowrap;
}
.marquee-track span b { color: var(--on-dark); font-weight: 600; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.statement {
  padding: 96px 0;
  text-align: center;
}
.statement h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  max-width: 20ch;
  margin: 0 auto 0.5em;
}
.statement p.lede { margin: 0 auto 2em; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .stat b { font-size: 2.4rem; }

/* Portfolio-style horizontal showcase */
.work-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.work-scroll::-webkit-scrollbar { height: 6px; }
.work-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.work-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.work-card:hover .thumb { transform: scale(1.02); }
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.thumb .glyph, .tile-media .glyph {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(25,9,31,0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 2;
  letter-spacing: 0.04em;
}
.thumb-1 { background: #160b1f; }
.thumb-2 { background: #141806; }
.thumb-3 { background: #1d0a24; }
.thumb-4 { background: #1d0a24; }
.work-card h3 { margin-bottom: 0.2em; font-size: 1.05rem; }
.work-card .meta { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* Discipline / culture blocks (honest stand-in for team headshots) */
.discipline {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 14px;
  border-radius: 10px;
  border-top: 1px solid var(--dark-line);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.discipline:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}
.discipline:last-child { border-bottom: 1px solid var(--dark-line); }
.discipline .avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dark-soft);
  border: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}
.discipline h4 { color: var(--on-dark); margin-bottom: 0.2em; }
.discipline p { color: var(--on-dark-dim); margin: 0; font-size: 0.92rem; }

.discipline-grid { gap: 0 48px; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .section-head .lede { color: var(--on-dark-dim); }
.section-dark h2 { color: var(--on-dark); }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.06s; }
.reveal-2 { transition-delay: 0.12s; }
.reveal-3 { transition-delay: 0.18s; }
.reveal-4 { transition-delay: 0.24s; }

/* Full-bleed photographic sections */
.photo-hero {
  position: relative;
  min-height: 480px;
  height: 480px;
  max-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--dark);
}
.photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(0,0,0,1) 35%, rgba(0,0,0,0.65) 65%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(0,0,0,1) 35%, rgba(0,0,0,0.65) 65%, rgba(0,0,0,0) 100%);
  z-index: 0;
}
.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,27,0.35) 0%, rgba(20,10,27,0.7) 60%, rgba(20,10,27,0.96) 100%);
  z-index: 1;
}
.photo-hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; padding-top: 200px; }
.photo-hero h1 { color: var(--on-dark); }
.photo-hero .lede { color: var(--on-dark-dim); }

.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 860px) { .split-photo { grid-template-columns: 1fr; } }
.split-photo .photo-col {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.split-photo .photo-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.split-photo .photo-col:hover img { transform: scale(1.04); }
.split-photo .text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}
@media (max-width: 860px) { .split-photo .text-col { padding: 48px 24px; } }

.image-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 21 / 9;
}
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(108,21,141,0.35), rgba(13,7,15,0.55));
  mix-blend-mode: multiply;
}
.image-band .band-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.85rem;
  background: rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
}

/* Abstract decorative blob cluster (original, non-representational) */
.blob-cluster {
  position: absolute;
  width: 260px;
  height: 260px;
  pointer-events: none;
  z-index: 0;
}
.blob-cluster span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(95,132,2,0.9), rgba(108,21,141,0.35) 60%, transparent 75%);
  filter: blur(0.5px);
}
.blob-cluster span:nth-child(1) { width: 130px; height: 130px; top: 0; left: 40px; }
.blob-cluster span:nth-child(2) { width: 90px; height: 90px; top: 90px; left: 130px; opacity: 0.85; }
.blob-cluster span:nth-child(3) { width: 70px; height: 70px; top: 140px; left: 10px; opacity: 0.7; }
.blob-cluster span:nth-child(4) { width: 46px; height: 46px; top: 30px; left: 170px; opacity: 0.6; }
.blob-cluster.corner-tl { top: -60px; left: -60px; }
.blob-cluster.corner-br { bottom: -80px; right: -60px; transform: scale(0.85); }

/* Bright 2x2 stat-card grid */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 560px) { .stat-cards { grid-template-columns: 1fr; } }
.stat-card {
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--dark-soft);
  border: 1px solid var(--dark-line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(108,21,141,0.45);
}
.stat-card.is-accent {
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
}
.stat-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark); opacity: 0.5; margin-bottom: 20px; }
.stat-card b { display: block; font-family: var(--mono); font-size: 2.1rem; color: var(--on-dark); margin-bottom: 6px; }
.stat-card span { font-size: 0.86rem; color: var(--on-dark-dim); }
.stat-card.is-accent span { color: rgba(255,255,255,0.85); }

/* Stacked hero headline, agency-style */
.stack-heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.6em; }
.stack-heading .stack-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.8rem, 5.2vw, 3.4rem);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--on-dark);
}
.stack-heading .stack-line .chip-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}
.stack-heading .stack-line:nth-child(2) { color: var(--accent-2); padding-left: 30px; }
.stack-heading .stack-line:nth-child(3) { padding-left: 60px; }
@media (max-width: 640px) {
  .stack-heading .stack-line:nth-child(2) { padding-left: 12px; }
  .stack-heading .stack-line:nth-child(3) { padding-left: 24px; }
}

/* 2x2 work image grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }
.work-grid .work-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.work-grid .work-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(108,21,141,0.4);
  box-shadow: 0 16px 36px rgba(20,10,27,0.12);
}
.work-grid .work-tile .tile-media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.work-grid .work-tile .tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-grid .work-tile:hover .tile-media img { transform: scale(1.05); }
.work-grid .work-tile .tile-body { padding: 18px 20px; }
.work-grid .work-tile h3 { margin-bottom: 0.2em; font-size: 1rem; }
.work-grid .work-tile .meta { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-soft); }

/* Tech-stack strip (honest stand-in for client logos) */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.tech-strip span {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
}

/* Bright accent CTA band variant */
.cta-band.is-bright {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}
.cta-band.is-bright h2, .cta-band.is-bright p { color: #fff; }
.cta-band.is-bright p { opacity: 0.9; }
.section-bright {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) { .section-bright { padding: 40px 24px; } }
.section-bright h2 { color: #fff; }
.section-bright .lede { color: rgba(255,255,255,0.85); }
.section-bright .eyebrow { color: rgba(255,255,255,0.95); }
.section-bright .discipline { border-top-color: rgba(255,255,255,0.18); }
.section-bright .discipline:last-child { border-bottom-color: rgba(255,255,255,0.18); }
.section-bright .discipline .avatar { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); color: #fff; }
.section-bright .discipline h4 { color: #fff; }
.section-bright .discipline p { color: rgba(255,255,255,0.82); }
.section-bright .btn-ghost-dark { border-color: rgba(255,255,255,0.5); color: #fff; }
.section-bright .btn-ghost-dark:hover { border-color: #fff; }
.btn-on-accent { color: var(--accent); }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
.h2-sm { font-size: 1.3rem; }
.mt-tight { margin-top: 0.6em; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Legal Documents & Compliance Styling (Impressum, Datenschutz, AGB, Disclaimer)
   ========================================================================== */
.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.legal-nav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.legal-nav-btn {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--paper);
  transition: all 0.15s ease;
}
.legal-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.legal-nav-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
@media (max-width: 680px) {
  .legal-card { padding: 24px 20px; }
  .legal-wrapper { padding: 36px 16px 64px; }
}
.legal-card h2 {
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line);
}
.legal-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.legal-card h4 {
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  margin: 1.2em 0 0.4em;
}
.legal-card p, .legal-card li {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}
.legal-card ul, .legal-card ol {
  padding-left: 24px;
  margin: 0 0 1.2em;
}
.legal-card li {
  margin-bottom: 0.4em;
}
.legal-card strong {
  color: var(--ink);
}
.legal-box {
  background: var(--paper-dim);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
  font-size: 0.9rem;
}
.legal-box p:last-child {
  margin-bottom: 0;
}
.legal-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 12px 18px;
  background: var(--paper-dim);
  border-radius: 6px;
}
.legal-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(108,21,141,0.12);
  color: var(--accent);
  font-weight: 600;
}

/* Compact navigation: keep logo, language switch and menu visible on small phones. */
@media(max-width:620px){
  .site-header .nav{flex-wrap:nowrap;gap:8px;padding:12px 14px;max-width:100%;}
  .site-header .brand{font-size:clamp(.72rem,3.2vw,.95rem);gap:6px;white-space:nowrap;min-width:0;}
  .site-header .brand .brand-logo{width:25px;height:25px;}
  .site-header .nav-cta{gap:4px;flex-shrink:0;margin-left:auto;}
  .site-header .nav-cta>.btn{display:none;}
  .site-header .lang-switch{font-size:.7rem;padding:2px;}
  .site-header .lang-switch a{padding:4px 6px;}
  .site-header .nav-toggle{flex:0 0 35px;width:35px;height:35px;}
}

/* Company site quality release 2026-11-02: keyboard navigation and responsive hero */
.skip-link {position:fixed;top:8px;left:8px;z-index:9999;transform:translateY(-160%);background:#fff;color:#211127;padding:12px 16px;border-radius:8px;box-shadow:0 3px 14px #0004;}
.skip-link:focus {transform:translateY(0);outline:3px solid #6c158d;}
@media(max-width:600px) {
 .hero-big .wrap {grid-template-columns:minmax(0,1fr);}
 .hero-big h1 {font-size:clamp(1.75rem,7vw,2.2rem);line-height:1.18;max-width:100%;}
 .hero-big .rotator {display:block;max-width:100%;}
 .hero-big .rotator span {white-space:normal;max-width:100%;overflow-wrap:break-word;}
}
