@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-500-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-500-italic-site.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-variable-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f5f7f5;
  --bg-panel: #e9f1ee;
  --ink: #0e1b22;
  --ink-soft: #43575b;
  --ink-faint: #566a6d;
  --brand-deep: #14323f;
  --brand-deep-2: #0b2029;
  --accent: #2e9e93;
  --accent-dark: #1f786f;
  --accent-soft: #cfeae6;
  --gold: #92702f;
  --gold-soft: #efe3cb;
  --line: rgb(14 27 34 / 13%);
  --line-strong: rgb(14 27 34 / 25%);
  --shadow: 0 20px 60px -30px rgb(11 32 41 / 35%);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #bf8e30;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 3px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding-inline: 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: var(--gold);
  content: "";
  flex: 0 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

.lede {
  max-width: 650px;
  font-size: 1.14rem;
  line-height: 1.68;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--brand-deep);
  color: #f3f7f6;
}

.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--brand-deep);
}

.btn--ghost:hover {
  border-color: var(--brand-deep);
  transform: translateY(-2px);
}

.btn--light {
  background: #f5f9f8;
  color: var(--brand-deep);
}

.btn--light:hover {
  background: var(--accent-soft);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(245 247 245 / 92%);
  backdrop-filter: saturate(160%) blur(10px);
}

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

.logo {
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--brand-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background: radial-gradient(1100px 480px at 82% -10%, rgb(46 158 147 / 14%), transparent 60%), linear-gradient(180deg, #f7f9f7 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 i {
  color: var(--accent-dark);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-figure {
  position: relative;
  width: 100%;
  justify-self: end;
  margin: 0;
  padding: 30px 26px 22px;
  border-radius: 6px;
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand-deep-2) 100%);
  box-shadow: var(--shadow);
}

.hero-figure svg {
  width: 100%;
  height: auto;
}

.hero-figure figcaption {
  margin-top: 14px;
  color: rgb(255 255 255 / 68%);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.layer-label {
  fill: rgb(255 255 255 / 68%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.layer-label--vessel {
  fill: rgb(255 190 190 / 82%);
}

.layer-line {
  stroke: rgb(255 255 255 / 28%);
  stroke-width: 1;
}

.molecule {
  animation: permeate 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.pulse-ring {
  animation: pulse-ring 4.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes permeate {
  0% { opacity: 1; transform: translateY(0); }
  68%, 82% { opacity: 1; transform: translateY(151px); }
  100% { opacity: 0; transform: translateY(151px); }
}

@keyframes pulse-ring {
  0%, 68% { r: 5; opacity: 0.9; }
  78%, 100% { r: 13; opacity: 0; }
}

.section {
  padding: 96px 0;
}

.section--panel {
  background: var(--bg-panel);
}

.section-head {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-intro {
  margin-top: 22px;
  font-size: 1.04rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.fact-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.91rem;
}

.fact-list span:first-child {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-list span:last-child {
  color: var(--brand-deep);
  font-weight: 600;
  text-align: right;
}

.pipeline-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.pipeline-card:last-of-type {
  border-bottom: 1px solid var(--line);
}

.pipeline-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.pipeline-meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.development-notice {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 48px;
  margin-top: 36px;
  padding: 28px 30px;
  border-left: 3px solid var(--gold);
  background: #eef2ef;
}

.development-notice h3 {
  font-size: 1.15rem;
}

.development-notice p {
  font-size: 0.91rem;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.comp-card {
  display: grid;
  grid-template-rows: auto auto minmax(9em, 1fr) auto;
  padding: 38px 32px;
  background: var(--bg);
}

.glyph {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--accent-dark);
}

.comp-card h3 {
  min-height: 2.6em;
  margin-bottom: 12px;
}

.comp-card p {
  font-size: 0.91rem;
}

.kontakt {
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand-deep-2) 100%);
  color: #eaf1ef;
}

.kontakt h2 {
  color: #f5f9f8;
}

.kontakt .eyebrow {
  color: var(--accent-soft);
}

.kontakt .eyebrow::before {
  background: var(--gold-soft);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 56px;
}

.kontakt p {
  color: rgb(234 241 239 / 82%);
}

.contact-lede {
  max-width: 520px;
  margin-top: 20px;
}

.kontakt-card {
  padding: 30px 32px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 6px;
  background: rgb(255 255 255 / 5%);
}

.k-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.91rem;
}

.k-row:last-child {
  border-bottom: 0;
}

.k-row span:first-child {
  color: rgb(234 241 239 / 65%);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.k-row span:last-child {
  font-weight: 600;
  text-align: right;
}

.k-row a {
  color: #f5f9f8;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 68px 0 32px;
  background: #0b1a20;
  color: rgb(234 241 239 / 74%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.footer-logo {
  margin-bottom: 14px;
  color: #f5f9f8;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
}

.footer-brand p {
  max-width: 320px;
  color: rgb(234 241 239 / 64%);
  font-size: 0.88rem;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: rgb(234 241 239 / 58%);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.footer-col a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: rgb(234 241 239 / 84%);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: rgb(234 241 239 / 52%);
  font-size: 0.78rem;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(234 241 239 / 32%);
  text-underline-offset: 4px;
}

.footer-credit a:hover {
  color: var(--accent-soft);
  text-decoration-color: currentColor;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: var(--brand-deep);
  box-shadow: 0 10px 26px rgb(7 24 31 / 22%);
  color: #fff;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.js .back-to-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.js .back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mono {
  font-family: var(--mono);
}

.js .reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.page-hero {
  padding: 74px 0 52px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 320px at 85% -15%, rgb(46 158 147 / 13%), transparent 60%), #f7f9f7;
}

.page-hero .lede {
  margin-top: 18px;
}

.legal-section {
  padding: 68px 0 96px;
}

.legal-layout {
  display: block;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 46px 0 14px;
  font-size: 1.72rem;
}

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

.legal-content h3 {
  margin: 28px 0 10px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.legal-content li {
  margin-bottom: 7px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.address-block {
  color: var(--ink-soft);
  font-style: normal;
}

.launch-blocker {
  display: inline-block;
  margin: 2px 0;
  padding: 2px 6px;
  border: 1px solid #9a6816;
  border-radius: 2px;
  background: #fff1cf;
  color: #633e06;
  font-family: var(--mono);
  font-size: 0.82em;
  font-weight: 600;
}

.legal-warning {
  margin-bottom: 32px;
  padding: 18px 20px;
  border-left: 3px solid #9a6816;
  background: #fff6df;
}

.legal-warning p {
  color: #513a16;
  font-size: 0.92rem;
}

.error-page {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding: 72px 0;
  background: radial-gradient(900px 420px at 70% 0%, rgb(46 158 147 / 13%), transparent 60%), var(--bg);
}

.error-card {
  max-width: 700px;
  text-align: center;
}

.error-code {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-card .lede {
  margin: 22px auto 0;
}

.error-card .hero-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    order: -1;
    max-width: 620px;
  }

  .about-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-card,
  .development-notice {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .comp-card {
    grid-template-rows: auto;
  }

  .comp-card h3 {
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .wrap {
    padding-inline: 20px;
  }

  .js .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 20px 30px -28px rgb(11 32 41 / 45%);
  }

  .js .nav-links.open {
    display: flex;
  }

  .js .nav-links a {
    display: flex;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .no-js .header-inner {
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .no-js .header-inner nav {
    width: 100%;
    order: 3;
  }

  .no-js .nav-links {
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .nav-contact {
    display: none;
  }

  .js .nav-toggle {
    display: block;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 56px 0 62px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-figure {
    padding: 18px 14px 16px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .pipeline-card {
    padding: 34px 0;
  }

  .comp-card {
    padding: 32px 24px;
  }

  .kontakt-card {
    padding: 24px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .page-hero {
    padding: 54px 0 40px;
  }

  .legal-section {
    padding: 50px 0 72px;
  }
}

@media (max-width: 520px) {
  .fact-list li,
  .k-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .fact-list span:last-child,
  .k-row span:last-child {
    text-align: left;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-family: sans-serif;
  }

  .page-hero,
  .legal-section {
    padding: 20px 0;
    background: #fff;
  }

  .wrap {
    max-width: none;
    padding: 0;
  }

  a {
    color: #000;
  }
}
