/* Kohlert Consulting — Design System 2026
   Palette: Navy (Engineering) · Amber (Signal) · Steel greys
   Fonts: Manrope (Headlines) · Inter (Text) */

:root {
  --navy: #0b1b2b;
  --navy-2: #12283f;
  --navy-3: #1b3a58;
  --ink: #16212c;
  --muted: #5a6876;
  --line: #dde3e9;
  --line-2: #eef1f4;
  --bg: #ffffff;
  --bg-2: #f4f6f8;
  --accent: #e2a23a;
  --accent-ink: #b77b18;
  --accent-soft: #fbf1dc;
  --teal: #2c8fa8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 27, 43, .08);
  --shadow-lg: 0 24px 60px rgba(11, 27, 43, .16);
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1180px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--grey { background: var(--bg-2); }
.section--navy { background: var(--navy); color: #d9e1ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: .9rem;
}
.section--navy .kicker { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #b7c4d2; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { background: #f0b352; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(226, 162, 58, .35); }
.btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--navy); color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: '\2192'; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(11, 27, 43, .08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; color: var(--navy); }
.brand__tag { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: .4rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav__toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #1f4468 0%, transparent 60%), linear-gradient(160deg, #0b1b2b 0%, #10253a 60%, #0b1b2b 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 90%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding: 4rem 0 5rem; }
.hero .kicker { color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 1.2rem; color: #b7c4d2; max-width: 56ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__tags li { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: .38rem .8rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #d9e1ea; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #8fa2b6; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.hero__scroll::after { content: ''; width: 1px; height: 34px; background: linear-gradient(#8fa2b6, transparent); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: .5; } }

/* Hero SVG animation */
.art-sensor { animation: sensorScan 4.5s ease-in-out infinite; }
@keyframes sensorScan { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(150px); } }
.art-profile { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawProfile 3.2s ease-out .4s forwards; }
@keyframes drawProfile { to { stroke-dashoffset: 0; } }
.art-roll { animation: rollSpin 9s linear infinite; transform-box: fill-box; transform-origin: center; }
.art-roll--ccw { animation-direction: reverse; }
.art-film { stroke-dasharray: 6 8; animation: filmFlow 1.6s linear infinite; }
@keyframes filmFlow { to { stroke-dashoffset: -28; } }
@keyframes rollSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .art-sensor, .art-roll, .art-film, .hero__scroll::after { animation: none; }
  .art-profile { stroke-dashoffset: 0; animation: none; }
  html { scroll-behavior: auto; }
}

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat__num sup { font-size: 1.2rem; color: var(--accent-ink); vertical-align: top; margin-left: .1em; }
.stat__label { font-size: .92rem; color: var(--muted); margin-top: .5rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--accent); display: grid; place-items: center; margin-bottom: .4rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: .5rem; }
.check-list li { position: relative; padding-left: 1.6rem; margin: .35rem 0; font-size: .97rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .5rem; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.section--navy .check-list li::before { background: var(--accent); }

/* Scope band (Verfahren × Wertschöpfung) */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.scope__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.scope__col h3 { display: flex; align-items: center; gap: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.chips li { font-family: var(--font-head); font-weight: 700; font-size: 1rem; background: var(--navy); color: #fff; padding: .55rem 1.05rem; border-radius: 999px; }
.chips--light li { background: var(--accent-soft); color: var(--accent-ink); }

/* Data flow (Industrie 4.0) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1.2rem; margin-top: 2.5rem; }
.flow__node { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.flow__node h4 { color: #fff; margin-bottom: .4rem; }
.flow__node p { color: #b7c4d2; font-size: .95rem; margin: 0; }
.flow__node--accent { background: var(--accent); border-color: var(--accent); }
.flow__node--accent h4, .flow__node--accent p { color: var(--navy); }
.flow__arrow { color: var(--accent); font-size: 1.6rem; text-align: center; }
.flow__stack { display: grid; gap: .8rem; }
.flow__stack .flow__node { padding: 1rem 1.2rem; }

/* Projects */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; margin-bottom: 2rem; }
.feature__media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.feature__media img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feature__media img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.feature__docs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.project { position: relative; overflow: hidden; padding: 0; }
.project__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__img img { transform: scale(1.04); }
.project__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.project__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .8rem; }
.project__meta span { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 999px; }
.project__meta span.is-partner { color: var(--accent-ink); border-color: var(--accent-soft); background: var(--accent-soft); }

/* Publications */
.book { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.book img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.book__meta { color: var(--muted); font-size: .92rem; margin-bottom: .8rem; }

/* People */
.person { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.person img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.person__role { font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); margin-bottom: .8rem; }
.timeline { border-left: 2px solid var(--line); margin: 1.2rem 0 0; padding-left: 1.4rem; display: grid; gap: .9rem; }
.timeline li { position: relative; font-size: .97rem; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.4rem - 6px); top: .5rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); }
.team-photo { border-radius: var(--radius); overflow: hidden; margin-top: 2rem; box-shadow: var(--shadow-lg); }
.team-photo img { width: 100%; }

/* Testimonial */
.quote { display: grid; grid-template-columns: 140px 1fr; gap: 2rem; align-items: center; max-width: 900px; margin-inline: auto; }
.quote img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, .15); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.45; color: #fff; }

.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: #b7c4d2; }
.quote cite strong { color: #fff; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.partners li { font-family: var(--font-head); font-weight: 700; color: #8fa2b6; letter-spacing: .04em; font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.contact__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact__item svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: .2rem; }
.contact__item strong { display: block; color: #fff; font-family: var(--font-head); }
.contact__item a:hover { color: var(--accent); }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); }
.form h3 { margin-bottom: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }

/* Subpages */
.page-hero { background: var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #b7c4d2; }
.breadcrumb { font-size: .85rem; color: #8fa2b6; margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: #fff; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: #2b3743; }
.prose ol, .prose ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.solutions li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; color: var(--navy); display: flex; gap: .7rem; align-items: center; }
.solutions li::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: var(--radius); padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: 1.8rem; }
.cta-band p { color: #b7c4d2; margin: 0; }
.cta-band .btn { flex: none; }

/* Footer */
.footer { background: #071320; color: #8fa2b6; padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #8fa2b6; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul li { margin: .45rem 0; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 3.5rem 0 4rem; }
  .hero__art { max-width: 620px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .nav__toggle { display: block; }
  .brand__tag { display: none; }
  .grid-3, .grid-2, .scope, .solutions, .contact, .form__row { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person img { max-width: 320px; }
  .book { grid-template-columns: 1fr; }
  .book img { max-width: 220px; }
  .quote { grid-template-columns: 1fr; text-align: center; }
  .quote img { margin-inline: auto; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.4rem 1rem; }
  .stat__num { font-size: 1.9rem; }
  .card, .feature, .form, .scope__col, .person, .book { padding: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Contact on light background */
.section:not(.section--navy) .contact__item strong { color: var(--navy); }
.section:not(.section--navy) .contact__item { color: var(--ink); }
.section:not(.section--navy) .contact__item a:hover { color: var(--accent-ink); }
.form { border: 1px solid var(--line); }

/* Fixes v2 */
.nav__links a.nav__cta { color: #fff; }
.nav__links a.nav__cta::after { display: none; }
.hero__inner > *, .grid-2 > *, .grid-3 > *, .split > *, .contact > *, .feature > *, .person > *, .book > *, .quote > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 560px) { h1 { hyphens: manual; } }

/* People: stacked full-width cards */
.people { display: grid; gap: 1.5rem; }
.people .person { grid-template-columns: 280px 1fr; }
.people .person img { max-width: 280px; }
.people .timeline { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
@media (max-width: 860px) { .people .person { grid-template-columns: 1fr; } .people .timeline { grid-template-columns: 1fr; } }

/* Clickable chips / tags / meta */
.hero__tags li, .chips li, .project__meta span, .partners li { padding: 0; }
.hero__tags li a { display: inline-block; padding: .38rem .8rem; transition: background .18s ease, border-color .18s ease; }
.hero__tags li:hover { border-color: var(--accent); }
.hero__tags li:hover a { color: var(--accent); }
.chips li a { display: inline-block; padding: .55rem 1.05rem; transition: background .18s ease; }
.chips li:hover { background: var(--navy-3); }
.chips--light li:hover { background: var(--accent); }
.chips--light li:hover a { color: var(--navy); }
.chips--hero li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.chips--hero li:hover { background: var(--accent); }
.chips--hero li:hover a { color: var(--navy); }
.project__meta a { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 999px; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.project__meta a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.project__meta a.is-partner { color: var(--accent-ink); border-color: var(--accent-soft); background: var(--accent-soft); }
.project__meta a.is-partner:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.partners li a:hover { color: #fff; }
.solutions li a { color: inherit; }
.solutions li:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.solutions li a::after { content: ' \2192'; color: var(--accent-ink); }
.cta-band--light { background: #fff; border: 1px solid var(--line); }
.cta-band--light h2 { color: var(--navy); }
.cta-band--light p { color: var(--muted); }

/* FAQ page */
.faq-nav { margin-top: 1.5rem; }
.faq-group { margin-bottom: 3.5rem; }
.faq-group > .kicker { display: block; border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: 2rem; }
.faq-topic { scroll-margin-top: calc(var(--nav-h) + 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 1.5rem; }
.faq-topic:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.faq-topic h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.faq-topic .lead { font-size: 1.05rem; margin-bottom: 1.2rem; }
.faq-topic details { border-top: 1px solid var(--line-2); }
.faq-topic details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-topic summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 1rem 2.2rem 1rem 0; position: relative; }
.faq-topic summary::-webkit-details-marker { display: none; }
.faq-topic summary::after { content: '+'; position: absolute; right: .2rem; top: .85rem; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; transition: transform .2s ease; }
.faq-topic details[open] summary::after { content: '\2013'; }
.faq-topic details p { margin: 0 0 1.1rem; color: #2b3743; }
.faq-topic details a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .faq-topic { padding: 1.3rem; } }
.check-list li a { color: inherit; border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease; }
.check-list li a:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.project__img img[src$=".svg"] { object-fit: cover; }

/* Language switcher */
.nav__right { display: flex; align-items: center; gap: .6rem; }
.nav__lang, .footer__lang { display: inline-flex; gap: .15rem; }
.nav__lang a, .footer__lang a { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .5rem; border-radius: 6px; color: var(--muted); }
.nav__lang a:hover { color: var(--navy); background: var(--bg-2); }
.nav__lang a.is-current { color: var(--navy); background: var(--accent-soft); }
.footer__lang { margin-top: 1rem; }
.footer__lang a { color: #8fa2b6; }
.footer__lang a:hover { color: #fff; }
.footer__lang a.is-current { color: var(--accent); }
@media (min-width: 861px) { .nav__right { order: 3; } .nav__links { order: 2; } .nav__inner { gap: 1.4rem; } }
@media (max-width: 1180px) { .nav__links { gap: 1.2rem; } .nav__links a { font-size: .9rem; } .nav__cta { padding: .7rem 1.1rem; } }
html[lang="ru"] .nav__links a { font-size: .88rem; }
html[lang="ru"] .brand__tag, html[lang="en"] .brand__tag { letter-spacing: .03em; }

/* Nav density (3 languages) */
.nav__links a, .brand__tag { white-space: nowrap; }
.nav__inner { gap: 1.2rem; }
.nav__links { gap: 1.4rem; }
@media (max-width: 1320px) and (min-width: 861px) { .brand__tag { display: none; } .nav__links { gap: 1.1rem; } .nav__links a { font-size: .9rem; } .nav__cta { padding: .65rem 1rem; font-size: .9rem; } }
@media (max-width: 1040px) and (min-width: 861px) { .brand__name { font-size: .95rem; } .nav__links { gap: .9rem; } .nav__links a { font-size: .86rem; } .nav__lang a { padding: .25rem .35rem; } }

/* Packages */
.pkg { position: relative; }
.pkg__step { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--accent); line-height: 1; }
.pkg__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--muted); margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line-2); }
.pkg .btn { align-self: flex-start; margin-top: .6rem; }
.tool .btn, .tool .link-arrow { margin-top: auto; align-self: flex-start; }

/* Case studies teaser + download */
.split--top { align-items: start; }
.case-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.case-list a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.case-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.case-list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.case-list span { color: var(--muted); font-size: .95rem; }
.download { background: var(--navy); color: #d9e1ea; border-radius: var(--radius); padding: 2rem; }
.download .kicker { color: var(--accent); }
.download h3 { color: #fff; font-size: 1.35rem; }
.download p { color: #b7c4d2; }
.download .field label { color: #b7c4d2; }
.download .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.download .form__note { color: #8fa2b6; }
.download .form__note a { color: #d9e1ea; text-decoration: underline; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field select { font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.form__status { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form__status.is-ok { background: #e7f6ec; color: #14532d; }
.form__status.is-error { background: #fdecec; color: #7f1d1d; }
.form__status a { font-weight: 700; text-decoration: underline; color: inherit; }
.form [type=submit][disabled] { opacity: .6; cursor: wait; }

/* Articles */
.article-card { text-decoration: none; }
.article-card h3 { font-size: 1.2rem; }
.article-card .link-arrow { margin-top: auto; }
.article-meta { color: #8fa2b6; font-size: .9rem; margin-top: .5rem; }
.prose.article { max-width: 780px; }
.prose.article .cta-band { margin-top: 3rem; }
.prose.article ol li, .prose.article ul li { margin: .45rem 0; }

/* Case study pages */
.case { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; margin-bottom: 2rem; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.case:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.case__media img { border-radius: var(--radius-sm); width: 100%; }
.case__body h2 { font-size: 1.5rem; }
.case__body h3 { font-size: 1.05rem; margin-top: 1.4rem; color: var(--accent-ink); }
.case__facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0 0 .6rem; padding: .8rem 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.case__facts div { display: flex; flex-direction: column; }
.case__facts dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case__facts dd { margin: 0; font-weight: 600; color: var(--navy); font-size: .95rem; }
.case__note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.case__note a { color: var(--accent-ink); text-decoration: underline; }

/* Partner tiles */
.partners--tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partners--tiles li a { display: block; padding: 1.1rem 1.2rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); transition: border-color .18s ease, background .18s ease; }
.partners--tiles li a:hover { border-color: var(--accent); background: rgba(255, 255, 255, .09); }
.partners--tiles strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; }
.partners--tiles span { display: block; color: #8fa2b6; font-size: .85rem; font-weight: 400; margin-top: .2rem; letter-spacing: 0; }
@media (max-width: 1080px) { .partners--tiles { grid-template-columns: repeat(2, 1fr); } .case { grid-template-columns: 1fr; } .case__media img { max-width: 420px; } }
@media (max-width: 560px) { .partners--tiles { grid-template-columns: 1fr; } .download, .case { padding: 1.4rem; } }
.field[hidden] { display: none; }
