:root {
  --navy: #0a1929;
  --navy-mid: #1a2a4a;
  --navy-soft: #243b5c;
  --accent: #c9a227;
  --accent-hover: #ddb83a;
  --accent-bright: #e4c84a;
  --accent-deep: #a6851f;
  --accent-dark: #7a6414;
  --accent-muted: #b8962e;
  --accent-soft: #f0e6b8;
  --accent-pale: #faf6e8;
  --light-blue: #4a90c8;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --text: #1c2738;
  --muted: #5a6b7f;
  --border: #d8e0ea;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 12px 40px rgba(10, 25, 41, 0.12);
  --radius: 4px;
  --header-h: 72px;
  --hero-band-min: 10.75rem;
  --font: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a {
  color: var(--light-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 24, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
}

.site-nav > a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a.active,
.site-nav > a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
  text-decoration: none;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--border);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 35%, white);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-compact {
  min-height: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 144, 200, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(160deg, #061018 0%, var(--navy) 45%, var(--navy-mid) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
}

.hero-content {
  position: relative;
  padding: 4rem 0 5rem;
  animation: rise 0.7s ease both;
}

.hero-compact .hero-content {
  padding: 3.25rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav > a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.site-nav > a.nav-cta:hover,
.site-nav > a.nav-cta[aria-current="page"] {
  background: var(--accent-hover);
  color: var(--navy) !important;
  text-decoration: none;
}

/* Compact intro / page hero — shared band height */
.intro,
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(var(--hero-band-min) + var(--header-h));
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 2.15rem) 0 2.15rem;
  background: linear-gradient(160deg, #061018 0%, var(--navy) 48%, var(--navy-mid) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.intro-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.intro-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.intro-inner,
.page-hero > .container {
  position: relative;
  z-index: 1;
  padding: 0;
  animation: rise 0.55s ease both;
}

.intro-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-title,
.page-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.intro-title {
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.intro-for {
  margin: 0;
  max-width: none;
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

/* Home trust strip */
.section-trust {
  background: var(--white);
  border-bottom: 1px solid rgba(15, 35, 58, 0.08);
  padding: 2.5rem 0;
}

.trust-inner {
  max-width: 42rem;
}

.trust-inner h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.trust-text {
  margin: 0 0 1.35rem;
  color: var(--muted);
  line-height: 1.65;
}

.trust-facts {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.trust-facts dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.trust-facts dd {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.trust-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.trust-linkedin:hover,
.trust-linkedin:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.trust-linkedin img {
  display: block;
  opacity: 0.9;
}

.section-lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.55;
}

.section-proof,
.section-team {
  background: #f7f9fb;
  border-top: 1px solid rgba(15, 35, 58, 0.06);
}

.proof-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.35rem;
}

.proof-list li {
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--accent);
}

.proof-sector {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof-problem,
.proof-delivered {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-delivered {
  margin-top: 0.35rem;
  color: var(--text);
}

.team-roles {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .team-roles {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.team-roles h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.team-roles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-steps li + li {
  margin-top: 0.45rem;
}

.section-head-inline {
  margin-bottom: 1.25rem;
}

.section-head-services {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.section-head-services h2 {
  margin: 0;
  padding-top: 0.1rem;
  white-space: nowrap;
}

.service-frameworks {
  min-width: 0;
}

.service-frameworks-footer {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 35, 58, 0.1);
}

.service-frameworks-lead {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-frameworks-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.service-frameworks-tags li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.55rem 0.22rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--navy));
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--off-white) 92%, var(--white));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
}

.service-frameworks-list {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section-head-services-solo {
  grid-template-columns: 1fr;
}

.about-thin-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 3rem;
  align-items: start;
}

.about-etymology {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.about-thin-lead > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
}

.about-thin-lead > p:last-child {
  margin-bottom: 0;
}

.about-presence {
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent);
  color: var(--text) !important;
}

.about-thin-split {
  display: grid;
  gap: 1.25rem;
}

.about-thin-split .about-split-item,
.about-thin-split article {
  padding-top: 0.85rem;
  border-top: 2px solid var(--accent);
}

.about-thin-split .about-split-item > .mobile-collapse-summary .mobile-collapse-summary-text,
.about-thin-split h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-thin-split .mobile-collapse-panel > p,
.about-thin-split p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
}

.about-why-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-why-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2.5rem;
}

.about-why-item {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--accent);
}

.about-why-item > .mobile-collapse-summary .mobile-collapse-summary-text,
.about-why-item dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-why-item .mobile-collapse-panel > p,
.about-why-item dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-audience {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

.about-heading {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.about-side > p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.audience-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
}

.audience-cta h2 {
  margin: 0 0 0.5rem;
}

.audience-cta p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: var(--white);
}

#services,
#contact {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.contact-head {
  margin-bottom: 1.25rem;
}

.contact-audience {
  margin-top: 0.75rem;
}

.contact-form-wrap h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-lead {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.section-services {
  padding: 2rem 0 1.25rem;
}

.section.section-contact {
  padding: 1.25rem 0 2.5rem;
}

.section.section-contact-page {
  padding: 2.75rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(10, 25, 41, 0.035) 0%, transparent 7rem),
    var(--white);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 2.75rem 4rem;
  align-items: start;
}

.section.section-contact-page .contact-form-wrap h2 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.contact-aside {
  padding-top: 0.35rem;
}

.contact-facts {
  display: grid;
  gap: 1.25rem;
}

.contact-fact {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-fact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 35, 58, 0.42);
}

.contact-fact-value {
  color: var(--text);
  line-height: 1.55;
  text-decoration: none;
}

a.contact-fact-value {
  color: var(--navy);
  font-weight: 500;
}

a.contact-fact-value:hover,
a.contact-fact-value:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.contact-fact-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.contact-fact-stack a {
  display: inline;
  width: fit-content;
  max-width: 100%;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.contact-fact-stack a:hover,
.contact-fact-stack a:focus-visible {
  color: var(--accent);
}

a[data-email-link] {
  display: inline;
  width: fit-content;
  max-width: 100%;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

a[data-email-link]:hover,
a[data-email-link]:focus-visible {
  color: var(--accent);
}

.contact-fact-meta {
  color: rgba(15, 35, 58, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

a.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.contact-social-icon:hover,
a.contact-social-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}

.contact-social-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

a.contact-fact-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-fact-social img {
  display: block;
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

a.contact-fact-social:hover img,
a.contact-fact-social:focus-visible img {
  opacity: 1;
}

/* Imprint band under the form — three columns, no tall right rail */
.contact-imprint {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 35, 58, 0.1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  align-items: start;
}

.contact-imprint-col {
  min-width: 0;
}

.company-imprint-title {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 35, 58, 0.38);
}

.company-imprint-line {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.company-imprint-strong {
  color: var(--navy);
  font-weight: 600;
}

.company-imprint-sub {
  margin-top: -0.1rem;
  font-size: 0.86rem;
}

.company-imprint-k {
  display: block;
  margin: 0 0 0.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 35, 58, 0.42);
}

.company-imprint-v {
  display: block;
  color: var(--muted);
  word-break: break-word;
}

.company-imprint-note {
  margin: 0.65rem 0 0;
  color: rgba(15, 35, 58, 0.5);
  font-size: 0.84rem;
  line-height: 1.45;
}

.page-hero-contact .page-lead {
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form,
.admin-login-form,
.create-form {
  display: grid;
  gap: 1.05rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-mid);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: #fbfcfd;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: color-mix(in srgb, var(--border) 55%, var(--navy-mid));
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--light-blue) 55%, var(--navy));
  background: var(--white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--light-blue) 28%, transparent);
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form .btn-primary {
  color: var(--navy);
  justify-self: start;
  margin-top: 0.35rem;
  min-width: 10.5rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert p {
  margin: 0.2rem 0;
}

.alert-success {
  background: #e8f8ef;
  color: var(--success);
  border: 1px solid #abefc6;
}

.alert-error {
  background: #fef3f2;
  color: var(--danger);
  border: 1px solid #fecdca;
}

.section.about-thin {
  padding: 2.5rem 0;
}

.section.about-why {
  padding: 1.75rem 0 2.5rem;
}

.section-muted {
  background: var(--off-white);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section h2,
.page-hero + .section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-lead,
.about-main {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.split-item {
  padding: 1.5rem 0;
  border-top: 2px solid var(--accent);
}

.split-item h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.split-item p {
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.service-item {
  width: 100%;
  height: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.2rem;
  border-top: 1px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  background: color-mix(in srgb, var(--off-white) 88%, var(--white));
  cursor: pointer;
  animation: rise 0.55s ease both;
  transition:
    background 0.2s ease,
    border-top-color 0.2s ease;
}

.services-grid .service-item:nth-child(1) { animation-delay: 0s; }
.services-grid .service-item:nth-child(2) { animation-delay: 0.08s; }
.services-grid .service-item:nth-child(3) { animation-delay: 0.16s; }
.services-grid .service-item:nth-child(4) { animation-delay: 0.24s; }
.services-grid .service-item:nth-child(5) { animation-delay: 0.32s; }
.services-grid .service-item:nth-child(6) { animation-delay: 0.40s; }
.services-grid .service-item:nth-child(7) { animation-delay: 0.48s; }
.services-grid .service-item:nth-child(8) { animation-delay: 0.56s; }
.services-grid .service-item:nth-child(9) { animation-delay: 0.64s; }
.services-grid .service-item:nth-child(10) { animation-delay: 0.72s; }
.services-grid .service-item:nth-child(n+11) { animation-delay: 0.80s; }

.service-item:hover {
  background: color-mix(in srgb, var(--off-white) 55%, var(--accent) 8%);
  border-top-color: var(--accent-hover);
}

.service-item-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-title {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.service-index {
  display: none;
}

.service-title-text {
  position: static;
  padding-left: 0;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

/* Stretch link hit-area across the whole tile */
.service-title-text::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

a.service-title-text:hover,
a.service-title-text:focus-visible,
.service-item:hover .service-title-text {
  color: inherit;
  text-decoration: none;
}

.service-title-text::before {
  display: none;
}

.service-item p,
.service-description {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
}

.service-deliverables {
  margin-top: 0.95rem;
}

.service-deliverables-rule {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
}

.service-deliverables-rule::before,
.service-deliverables-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(15, 35, 58, 0.16);
}

.service-deliverables-label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.service-deliverables-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand strong {
  color: var(--white);
  letter-spacing: 0.08em;
}

.footer-imprint {
  grid-column: 1 / -1;
  margin: 0;
  order: 4;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-self: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.65);
}

.footer-ops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-self: stretch;
}

.footer-ops a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer-ops a:hover {
  color: var(--accent);
  text-decoration: none;
}

.page-hero-legal .page-lead {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
}

.page-prose {
  max-width: 42rem;
}

.section-service-detail {
  padding-top: 2.25rem;
  padding-bottom: 3.5rem;
  background: var(--white);
}

.service-detail {
  display: grid;
  gap: 2.75rem;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.service-detail-body p {
  margin: 0;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--off-white);
  border-top: 2px solid rgba(15, 35, 58, 0.18);
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: none;
}

.service-detail-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.service-panel {
  display: block;
  min-height: 100%;
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--off-white);
  border-top: 2px solid rgba(15, 35, 58, 0.18);
}

.service-panel > .mobile-collapse-summary {
  margin-bottom: 0.7rem;
}

.service-panel > .mobile-collapse-summary .mobile-collapse-summary-text,
.service-panel h2 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.3;
}

.service-panel .mobile-collapse-panel > p,
.service-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.service-panel-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.service-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
}

.service-detail-engagement > .mobile-collapse-summary .mobile-collapse-summary-text,
.service-detail-engagement h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.3;
}

.service-steps-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-steps-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem 1.25rem;
  min-height: 100%;
  background: var(--off-white);
  border-top: 1px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
}

.service-step-num {
  display: block;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  line-height: 1;
}

.service-step-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--navy);
}

.service-detail-cta-copy {
  flex: 1;
  min-width: 0;
}

.service-detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  max-width: 40rem;
}

.service-detail-cta .btn-primary {
  flex-shrink: 0;
}

.section-legal {
  padding: 2.5rem 0 4rem;
  background: var(--white);
}

.legal-content {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  letter-spacing: 0;
}

.legal-content h2,
.legal-section > .mobile-collapse-summary .mobile-collapse-summary-text {
  margin: 1.85rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.legal-content h2:first-child,
.legal-content > .legal-section:first-child > .mobile-collapse-summary .mobile-collapse-summary-text {
  margin-top: 0;
}

.legal-content p,
.legal-section .mobile-collapse-panel > p {
  margin: 0 0 0.95rem;
  color: var(--text);
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
}

.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.65;
}

.legal-list li + li {
  margin-top: 0.35rem;
}

.legal-content-charter h2,
.legal-content-charter .legal-section > .mobile-collapse-summary .mobile-collapse-summary-text {
  font-size: 1.02rem;
}

/* Collapsible sections: open on desktop, closed on mobile via JS */
.mobile-collapse {
  margin: 0;
}

.mobile-collapse-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
}

.mobile-collapse-summary::-webkit-details-marker {
  display: none;
}

.mobile-collapse-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-collapse-chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.2em;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mobile-collapse[open] > .mobile-collapse-summary .mobile-collapse-chevron {
  transform: rotate(225deg);
  margin-top: 0.45em;
}

.mobile-collapse-panel {
  margin-top: 0.55rem;
}

.service-frameworks.mobile-collapse > .mobile-collapse-summary .mobile-collapse-summary-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

@media (min-width: 861px) {
  .mobile-collapse > .mobile-collapse-summary {
    cursor: default;
    pointer-events: none;
  }

  .mobile-collapse-chevron {
    display: none;
  }

  /* Show body even if details lacks [open] (no-JS / before sync) */
  .mobile-collapse > .mobile-collapse-panel {
    display: block !important;
  }

  .about-thin-split .about-split-item > .mobile-collapse-summary {
    margin-bottom: 0.4rem;
  }

  .about-why-item > .mobile-collapse-summary {
    margin-bottom: 0.35rem;
  }

  .service-frameworks.mobile-collapse > .mobile-collapse-summary {
    margin-bottom: 0.45rem;
  }

  .service-detail-engagement > .mobile-collapse-summary .mobile-collapse-summary-text {
    margin-bottom: 0.75rem;
  }

  .legal-section > .mobile-collapse-summary .mobile-collapse-summary-text {
    display: block;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .service-detail-body,
  .service-detail-panels {
    grid-template-columns: 1fr;
  }

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

  .contact-imprint {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2.25rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 1rem;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav > a.nav-cta {
    justify-content: center;
    margin: 0.75rem 0.5rem 0.25rem;
  }

  .lang-switch {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.5rem 0.25rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .split,
  .contact-layout,
  .about-grid,
  .about-thin-grid,
  .about-why-list,
  .section-head-services,
  .service-detail-body,
  .service-detail-panels,
  .service-steps-grid {
    grid-template-columns: 1fr;
  }

  /* Home catalogue: title tiles in two columns, no body copy */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.65rem;
  }

  .service-item {
    padding: 0.85rem 0.75rem 0.9rem;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .service-item-body {
    display: none;
  }

  .service-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.3;
    text-align: center;
    width: 100%;
  }

  .service-index {
    display: none;
  }

  .service-title-text {
    padding-left: 0;
    position: static;
    text-align: center;
  }

  .mobile-collapse > .mobile-collapse-summary {
    padding: 0.15rem 0;
  }

  .about-thin-split .about-split-item > .mobile-collapse-summary .mobile-collapse-summary-text,
  .about-why-item > .mobile-collapse-summary .mobile-collapse-summary-text {
    margin: 0;
  }

  .legal-section {
    border-top: 1px solid var(--border);
    padding: 0.35rem 0 0.15rem;
  }

  .legal-section > .mobile-collapse-summary .mobile-collapse-summary-text {
    margin: 0.65rem 0;
  }

  .legal-content > .legal-section:first-child {
    border-top: 0;
  }

  .service-detail-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .service-detail-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .contact-layout {
    gap: 2.25rem;
  }

  .contact-form .btn-primary {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
  }

  .contact-imprint {
    margin-top: 1.85rem;
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-imprint {
    order: 0;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }

  .intro-inner {
    padding: 0;
  }

  .intro,
  .page-hero {
    min-height: calc(11.25rem + var(--header-h));
    padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
  }

  .intro-for {
    white-space: normal;
    max-width: 36rem;
  }

  .intro-title,
  .page-hero h1 {
    white-space: normal;
    max-width: none;
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .intro-title {
    max-width: 18ch;
  }

  .section.section-services {
    padding: 1.5rem 0 1rem;
  }

  .section.section-contact {
    padding: 1rem 0 2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 0 4rem;
  }
}
