:root {
  --ink: #eef1ed;
  --muted: #b8c3bd;
  --paper: #0f1614;
  --surface: #1a2622;
  --surface-2: #223029;
  --cream: #f3f1ec;
  --cream-2: #e9e5dc;
  --ink-dark: #14201d;
  --muted-dark: #4f5b56;
  --teal: #164846;
  --teal-deep: #0c2d2b;
  --teal-glow: rgba(22, 72, 70, 0.55);
  --mint: #dfe9e2;
  --copper: #d49a75;
  --copper-deep: #9c5737;
  --copper-light: #d49a75;
  --sage: #6f8a79;
  --container: 1040px;
  --gutter: 24px;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  --shadow-light: 0 1px 2px rgba(20, 32, 29, 0.06), 0 18px 40px -22px rgba(20, 32, 29, 0.35);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 120, "SOFT" 30;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 3.25rem;
  line-height: 1.05;
}

.page-hero h1 {
  font-size: 2.9rem;
}

html[lang="de"] h1 {
  font-size: 3rem;
  hyphens: auto;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.005em;
}

p {
  margin-bottom: 14px;
}

/* Header: transparent over the hero, solid once the page scrolls. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  background: transparent;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(15, 22, 20, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0 68%, var(--copper-deep) 68% 100%);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Column. Sections break out of it for full-width bands. */

main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* Hero. */

.hero,
.page-hero {
  position: relative;
  margin-top: -64px;
  padding: 120px 0 56px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(900px 420px at 18% 0%, var(--teal-glow), transparent 70%),
    radial-gradient(600px 320px at 92% 30%, rgba(156, 87, 55, 0.22), transparent 70%),
    linear-gradient(180deg, #121b18 0%, var(--paper) 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
}

.hero-figure {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.hero-copy,
.page-hero-inner {
  max-width: 860px;
}

.eyebrow,
.section-kicker,
.service-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal) 0 68%, var(--copper-deep) 68% 100%);
  flex: 0 0 auto;
}

.hero-lede,
.page-hero p {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.97rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(156, 87, 55, 0.8);
}

.button.primary:hover {
  background: #b0653f;
  border-color: #b0653f;
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--copper);
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link::after {
  content: "\2192";
}

.text-link:hover {
  color: #fff;
  gap: 12px;
}

/* Sections as full-width bands. */

.section,
.signal-band,
.contact-section {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px calc(50vw - 50%);
}

.signal-band {
  padding-top: 0;
  padding-bottom: 56px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-copy,
.pov-wrap p,
.contact-section p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.pov-wrap p,
.contact-section p {
  max-width: 760px;
  margin-bottom: 0;
}

/* Band variants. */

.pov-section,
.contact-section,
.architecture-section {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(212, 154, 117, 0.16), transparent 70%),
    var(--teal-deep);
}

.pov-section h2,
.contact-section h2 {
  max-width: 900px;
  font-size: 2.3rem;
}

.services-section,
.method-section {
  background: var(--cream);
  color: var(--ink-dark);
}

.services-section h2,
.services-section h3,
.method-section h2,
.method-section h3 {
  color: var(--ink-dark);
}

.services-section .section-copy,
.method-section .section-copy {
  color: var(--muted-dark);
}

.services-section .section-kicker,
.method-section .section-kicker {
  color: var(--copper-deep);
}

.proof-section {
  background: var(--surface);
}

/* Highlights under the hero: three statements, no boxes. */

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.metric {
  padding-top: 20px;
  border-top: 2px solid var(--copper-deep);
}

.metric-value,
.metric-label {
  display: block;
}

.metric-value {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Numbered focus list: large numerals, no rules. */

.fit-list {
  display: grid;
  gap: 22px;
}

.fit-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.fit-list.labeled .fit-item {
  grid-template-columns: 110px 1fr;
}

.fit-item p {
  margin: 0;
  padding-top: 6px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.fit-code {
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  color: var(--copper);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.fit-list.labeled .fit-code {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 10px;
}

/* Cards: solid surfaces with depth, no hairlines. */

.package-grid,
.deliverable-grid,
.brief-grid,
.proof-grid,
.method-grid,
.service-cards,
.research-links,
.architecture-flow,
.process-grid {
  display: grid;
  gap: 18px;
}

.package-grid,
.proof-grid,
.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card.featured {
  grid-column: span 2;
}

.deliverable-grid,
.brief-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.architecture-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.package-card,
.service-card,
.method-block,
.deliverable,
.brief-card,
.proof-card,
.research-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.package-card::before,
.service-card::before,
.method-block::before,
.deliverable::before,
.brief-card::before,
.proof-card::before,
.research-links a::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 44px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--copper-deep);
}

.services-section .package-card,
.services-section .deliverable,
.method-section .method-block {
  background: #fff;
  box-shadow: var(--shadow-light);
}

.services-section .package-card.featured {
  background: linear-gradient(135deg, #ffffff 0%, #eef3ef 100%);
}

.package-card p,
.service-card p,
.method-block p,
.deliverable p,
.proof-card p,
.process-step p,
.flow-node p,
.brief-card span,
.research-links span {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.services-section .package-card p,
.services-section .deliverable p,
.method-section .method-block p {
  color: var(--muted-dark);
}

.services-section .service-topline {
  color: var(--copper-deep);
}

.package-card .service-topline {
  margin-bottom: 10px;
}

.package-card h3 {
  font-size: 1.2rem;
}

.package-card a {
  margin-top: 16px;
  color: var(--copper-deep);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  width: fit-content;
}

.package-card a::after {
  content: " \2192";
}

.package-card a:hover {
  color: var(--ink-dark);
}

.brief-card:hover,
.research-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}

.service-card span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 650;
}

.proof-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brief-card {
  gap: 6px;
  text-decoration: none;
}

.research-links a {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.research-links strong {
  color: #fff;
  font-size: 1.05rem;
}

.research-links strong::after {
  content: " \2192";
  color: var(--copper);
}

/* Operating rhythm: numerals over titles, no boxes. */

.architecture-section h2 {
  max-width: 900px;
  margin-bottom: 40px;
  font-size: 2.3rem;
}

.process-step,
.flow-node {
  position: relative;
  padding: 24px 0 0;
}

.process-step::before,
.flow-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--copper);
}

.process-step span,
.flow-node span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  color: var(--copper);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
}

.process-step strong,
.flow-node strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 650;
}

.process-step.accent,
.flow-node.accent {
  padding: 24px 20px 20px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--ink-dark);
}

.process-step.accent::before,
.flow-node.accent::before {
  left: 20px;
}

.process-step.accent::before,
.flow-node.accent::before {
  background: var(--copper-deep);
}

.process-step.accent span,
.flow-node.accent span {
  color: var(--copper-deep);
}

.process-step.accent strong,
.flow-node.accent strong {
  color: var(--ink-dark);
}

.process-step.accent p,
.flow-node.accent p {
  color: #3f4b46;
}

/* Lists. */

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.services-section .check-list li,
.method-section .check-list li {
  color: var(--ink-dark);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal) 0 68%, var(--copper-deep) 68% 100%);
}

.phase-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.phase-strip li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.phase-strip li:last-child {
  background: var(--mint);
  color: var(--ink-dark);
}

.phase-strip span {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  color: var(--copper);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.phase-strip li:last-child span {
  color: var(--copper-deep);
}

.phase-offers {
  margin-top: 28px;
}

/* Contact band. */

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.contact-button {
  color: #fff;
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  box-shadow: 0 10px 24px -10px rgba(156, 87, 55, 0.8);
}

.contact-button:hover {
  background: #b0653f;
  border-color: #b0653f;
  transform: translateY(-1px);
}

/* Footer. */

.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 36px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  color: var(--muted);
  font-size: 0.92rem;
  background: #0a100e;
}

.site-footer span {
  margin-right: auto;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.site-footer a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--copper);
}

/* Legal pages. */

.legal-copy {
  max-width: 720px;
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 1.4rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-copy a {
  color: var(--copper);
}

/* Reveal on scroll. */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .brief-card,
  .research-links a,
  .nav a::after {
    transition: none;
  }
}

/* Responsive. */

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    padding-bottom: 10px;
    background: var(--paper);
  }

  .hero,
  .page-hero {
    margin-top: 0;
    padding: 48px 0 40px;
  }

  h1,
  .page-hero h1,
  html[lang="de"] h1 {
    font-size: 2.3rem;
  }

  h2,
  .pov-section h2,
  .contact-section h2,
  .architecture-section h2 {
    font-size: 1.65rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    display: none;
  }

  .section,
  .contact-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .signal-band,
  .section-grid,
  .architecture-flow,
  .process-grid,
  .proof-grid,
  .method-grid,
  .deliverable-grid,
  .brief-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-grid {
    gap: 28px;
  }

  .signal-band {
    gap: 20px;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-card.featured {
    grid-column: span 2;
  }

}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .nav {
    gap: 0 16px;
    font-size: 0.88rem;
  }

  .nav a[href="capability.html"],
  .nav a[href="/internal"] {
    display: none;
  }

  h1,
  .page-hero h1,
  html[lang="de"] h1 {
    font-size: 2rem;
  }

  .hero-lede,
  .page-hero p {
    font-size: 1.05rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    white-space: normal;
    text-align: center;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    grid-column: span 1;
  }

  .package-card,
  .service-card,
  .method-block,
  .deliverable,
  .brief-card,
  .proof-card,
  .research-links a {
    padding: 20px 20px 18px;
  }

  .fit-item {
    grid-template-columns: 48px 1fr;
  }

  .fit-code {
    font-size: 1.6rem;
  }

  .phase-strip {
    grid-template-columns: 1fr;
  }
}
