@font-face {
  font-family: Anton;
  src: url("assets/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #34445c;
  --muted: #465870;
  --paper: #f9f6ee;
  --white: #fffdf8;
  --line: #c3ccd8;
  --dark: #404c60;
  --light: #eff3f9;
  --blue: #40546f;
  --accent: #a53b0d;
  --banner: #a7b3c5;
  --mono: "Cascadia Mono", Consolas, monospace;
  --radius: .2rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a53b0d; outline-offset: 4px; }
.dark :focus-visible, .top :focus-visible { outline-color: var(--light); }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); letter-spacing: .055em; text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.6vw, 2.42rem); letter-spacing: -.018em; }
p + p { margin-top: .8rem; }
section, footer { scroll-margin-top: 1rem; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.top, .dark { color: #fcfcfd; background: var(--dark); }
.top { border-bottom: 1px solid #657184; }
.top-inner, .top nav, .top-links, .actions { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.top-inner { min-height: 4.4rem; justify-content: space-between; padding-block: .65rem; }
.brand { text-decoration: none; font-weight: 760; letter-spacing: -.025em; }
.top-links { gap: .6rem clamp(.75rem, 3vw, 2rem); }
.top nav { gap: clamp(.75rem, 3vw, 2rem); }
.top nav a, .lang-switch { text-decoration: none; color: #eef2f7; font-size: .93rem; }
.top nav a:hover, .lang-switch:hover { text-decoration: underline; }
.lang-switch { display: inline-flex; align-items: center; min-height: 2rem; padding: .1rem .6rem; border: 1px solid #8794a8; border-radius: .3rem; font-weight: 650; }
.hero-shell { padding-block: clamp(1.25rem, 5vw, 4rem); background: linear-gradient(90deg, var(--dark) 0 32%, var(--paper) 32%); }
.hero { display: grid; grid-template-columns: minmax(13rem, 29%) minmax(0, 1fr); background: var(--banner); border: 1px solid #8d9aae; }
.hero-copy { grid-area: 1 / 2; align-self: center; padding: clamp(1.25rem, 5vw, 3.6rem); }
.label { font: .875rem/1.5 var(--mono); color: var(--blue); text-transform: uppercase; letter-spacing: .055em; }
.dark .label { color: var(--light); }
.hero h1 { font: 400 clamp(2.5rem, 6vw, 5.45rem)/1.08 Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .005em; margin: .16em 0 .25em; }
.hero h1 span { white-space: nowrap; text-transform: none; }
.hero .label { color: #2e3e55; font: 700 .96rem/1.5 Arial, Helvetica, sans-serif; }
.hero-lede { max-width: 48ch; color: #27374d; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.actions { margin-top: 1.5rem; }
.button { display: inline-block; padding: .72rem 1.12rem; background: var(--light); color: #28374e; border-radius: .3rem; font-weight: 760; text-decoration: none; }
.button:hover { background: #fff; }
.hero .button { background: var(--dark); color: white; }
.hero .button:hover { background: #28374e; }
.text-link { font-weight: 650; }
.hero-portrait { grid-area: 1 / 1; position: relative; min-height: 19rem; overflow: hidden; background: #deded8; }
.hero-portrait img { position: absolute; inset: 0; }
.hero-portrait img, .about-portrait { height: 100%; object-fit: cover; object-position: center 15%; }
.about-portrait { width: min(100%, 15rem); height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1rem; }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 1rem 2rem; margin-bottom: 1.85rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.section-heading p, .feature-copy > p:not(.label):not(.stack), .timeline p:not(.label), .split > div > p:not(.label), .about p { color: var(--muted); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.35rem, 4vw, 3.4rem); align-items: center; padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature + .feature { margin-top: 1.15rem; }
.feature h3 { margin: .45rem 0 .8rem; }
.feature .stack { margin-top: 1.1rem; }
.stack { color: var(--blue); font: .88rem/1.55 var(--mono); }
.source { color: #324b6b; font-weight: 685; display: inline-block; margin-top: .8rem; }
.sap-flow, .integration { padding: clamp(.85rem, 3vw, 1.35rem); background: #e9edf3; border: 1px solid var(--line); border-radius: .5rem; }
.sap-flow h4, .integration figcaption { margin: 0 0 .75rem; padding: 0; color: var(--ink); font-size: 1.1rem; line-height: 1.35; font-weight: 750; }
.flow-steps, .integration-flow { list-style: none; margin: 0; padding: 0; }
.flow-steps { display: grid; gap: .75rem; }
.flow-steps li, .integration-flow li { min-width: 0; position: relative; border: 1px solid #c9d2df; border-radius: .3rem; background: var(--white); }
.flow-steps li { display: grid; padding: .5rem .75rem; border-inline-start: .22rem solid var(--blue); }
.flow-steps li + li::before { content: ""; position: absolute; inset: -.8rem auto auto 1rem; height: .75rem; border-inline-start: 2px solid #7b8da6; }
.flow-steps span, .flow-recovery p, .integration p { color: var(--muted); font-size: .9rem; }
.flow-recovery { margin-top: .8rem; border-top: 1px solid var(--line); }
.flow-recovery summary { padding: .65rem .15rem; min-height: 44px; cursor: pointer; color: var(--blue); font-weight: 700; }
.flow-recovery p { padding: 0 .15rem .4rem; }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.15rem; margin-block: 1.15rem; }
.integration-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.integration-flow li { display: grid; place-items: center; padding: .45rem .22rem; text-align: center; font-weight: 700; font-size: clamp(.75rem, 1.5vw, .94rem); overflow-wrap: anywhere; }
.integration-flow li + li::before { content: ""; position: absolute; inset: 50% auto auto -.65rem; width: .6rem; border-top: 2px solid #7b8da6; }
.integration p { margin-top: .7rem; }
@media (max-width: 390px) {
  .integration-flow { grid-template-columns: 1fr; }
  .integration-flow li + li::before { inset: -.65rem auto auto calc(50% - 1px); width: 0; height: .6rem; border-top: 0; border-inline-start: 2px solid #7b8da6; }
}
.thesis { background: #e3e9f1; }
.metrics { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; margin: 1rem 0 .3rem; }
.metrics div { display: flex; flex-direction: column-reverse; }
.metrics dt { color: var(--muted); font-size: .85rem; }
.metrics dd { margin: 0; font-size: 1.55rem; font-weight: 780; }
.chart-area { min-width: 0; }
.chart-area figure { padding: .5rem; margin-top: .65rem; border: 1px solid var(--line); background: white; border-radius: .5rem; }
.chart-area img { height: clamp(13rem, 26vw, 20rem); object-fit: contain; }
figcaption { padding: .2rem .4rem; font-size: .875rem; color: var(--muted); }
.pipeline { border: 1px solid #c4cdda; border-radius: .55rem; background: #edf1f6; overflow: hidden; }
.pipeline details + details { border-top: 1px solid #c4cdda; }
.pipeline summary { padding: .8rem 1rem; color: #34445c; font-weight: 720; }
.pipeline summary:focus-visible { outline-offset: -4px; }
.pipeline p { padding: 0 1rem .9rem 1rem; color: var(--muted); }
.repo-section { background: #eef1f5; border-block: 1px solid var(--line); }
.repo-tools { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pills button { color: var(--ink); background: var(--white); border: 1px solid #aab7c7; padding: .47rem .74rem; border-radius: .32rem; font-size: .9rem; font-weight: 630; }
.pills button:hover { border-color: var(--blue); }
.pills button[aria-pressed="true"] { background: #404c60; color: white; border-color: #404c60; }
.search { display: grid; gap: .25rem; width: min(19rem, 100%); }
.search label, .result { color: var(--muted); font-size: .9rem; }
.search input { min-width: 0; width: 100%; background: var(--white); color: var(--ink); border: 1px solid #aab7c7; border-radius: .32rem; padding: .4rem .7rem; }
.result:not(:empty) { margin: .75rem 0 1rem; }
.repo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.repo-card { display: flex; flex-direction: column; min-height: 14rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--white); }
.repo-card h3 { font-size: 1.27rem; margin: .4rem 0; }
.repo-card > p:not(.label):not(.stack) { color: var(--muted); }
.repo-card .stack { margin-top: auto; padding-top: .65rem; }
.repo-card .source { margin-top: .55rem; }
.uml { margin-top: .55rem; }
.uml summary { font-weight: 650; }
.uml img { margin-top: .4rem; border: 1px solid var(--line); border-radius: .25rem; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1rem, 4vw, 4rem); }
.split h2 + p { margin-top: .65rem; }
.timeline { border-left: 1px solid #a6b2c4; padding-left: 1.5rem; }
.timeline article { position: relative; }
.timeline article + article { margin-top: 1.5rem; }
.timeline article::before { content: ""; position: absolute; left: -1.78rem; top: .38rem; width: .5rem; aspect-ratio: 1; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 .28rem var(--paper); }
.timeline h3 { color: var(--accent); margin: .35rem 0; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.timeline p + p { margin-top: .25rem; }
.about { border-top: 1px solid var(--line); }
.contact { border-top: 1px solid var(--line); background: #eef1f5; }
.contact-panel { padding: clamp(1.1rem, 4vw, 2.6rem); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.contact-heading { margin-bottom: 1.4rem; }
.contact-heading p { margin-top: .4rem; color: var(--muted); }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-method { display: grid; gap: .2rem; align-content: center; min-height: 4.75rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow-wrap: anywhere; }
.contact-method:hover { background: #eef1f5; border-color: var(--blue); }
.contact-method strong { color: var(--ink); line-height: 1.4; }
.contact-social { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.35rem; margin-top: .8rem; }
.contact-social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 650; }
.legal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.4rem; color: var(--muted); font-size: .9rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0 1.35rem; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.legal-nav a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.legal { max-width: 46rem; }
.legal h1 { font: 400 clamp(2.3rem, 6vw, 3.8rem)/1.08 Anton, Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .01em; margin: .3rem 0 1.4rem; }
.legal h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); letter-spacing: .04em; margin: 2.2rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.08rem; letter-spacing: 0; margin: 1.3rem 0 .35rem; }
.legal p, .legal li, .legal dd { color: var(--muted); }
.legal ul { padding-left: 1.2rem; margin: .5rem 0 0; }
.legal li + li { margin-top: .3rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.4rem; margin: .6rem 0 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal .lede { font-size: 1.1rem; color: var(--ink); }
.legal .note { margin-top: 2.2rem; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); font-size: .93rem; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 5; width: auto; height: auto; clip-path: none; padding: .5rem; background: white; }
@media (max-width: 850px) {
  .repo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .section-heading, .feature, .split { grid-template-columns: 1fr; }
  .hero-shell { background: var(--dark); }
  .hero-copy { grid-area: auto; }
  .hero-portrait { grid-area: auto; min-height: 0; aspect-ratio: 1.35; }
  .about-heading { margin-bottom: .65rem; }
  .top-inner { gap: .25rem 1rem; }
  .top nav { column-gap: .85rem; row-gap: 0; }
  .top nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .top-links { display: contents; }
  .lang-switch { order: 1; min-height: 2.5rem; }
  .top nav { order: 2; flex-basis: 100%; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd + dt { margin-top: .6rem; }
  .pills button { min-height: 44px; }
  .contact-methods { grid-template-columns: 1fr; }
  .section-heading { gap: .5rem; }
}
@media (max-width: 475px) {
  .repo-grid { grid-template-columns: 1fr; }
  .repo-card { min-height: 0; }
  .contact-method strong { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
