:root {
  /* MedInPlain design system: typography */
  --font-sans: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-symbol: Georgia, serif;
  --type-body: 1rem;
  --type-caption: 0.78rem;
  --type-small: 0.88rem;
  --type-body-compact: 0.94rem;
  --type-body-large: 1.05rem;
  --type-lead: clamp(1.08rem, 2vw, 1.3rem);
  --type-card-title: clamp(1.25rem, 2.3vw, 1.55rem);
  --type-heading-3: clamp(1.25rem, 2vw, 1.5rem);
  --type-heading-2: clamp(2rem, 4vw, 3.25rem);
  --type-section-title-compact: var(--type-heading-2);
  --type-page-title: clamp(2.25rem, 4vw, 3.5rem);
  --weight-page-title: 700;
  --leading-body: 1.65;
  --leading-heading: 1.08;
  --tracking-heading: -0.045em;
  /* MedInPlain design system: layout */
  --space-section: clamp(4.5rem, 8vw, 5.5rem);
  --space-section-compact: clamp(3rem, 5vw, 3.625rem);
  --page-gutter: 40px;
  --image-hero-height: clamp(22rem, 30vw, 25rem);
  --blue-950: #0b2f67;
  --blue-900: #10458f;
  --blue-800: #1459b8;
  --blue-700: #1672d4;
  --blue-500: #36a8e5;
  --blue-100: #e6f4ff;
  --blue-50: #f3f9ff;
  --green-700: #2f8e2d;
  --green-600: #43a936;
  --green-500: #78c82c;
  --green-100: #eaf8df;
  --ink: #18304f;
  --muted: #5d7088;
  --line: #dce8f3;
  --paper: #ffffff;
  --cream: #fffaf4;
  --rose: #fff4f2;
  --warning: #b84232;
  --warning-bg: #fff2ef;
  --shadow-sm: 0 8px 24px rgba(22, 70, 118, 0.08);
  --shadow-md: 0 18px 50px rgba(22, 70, 118, 0.13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdff;
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(54, 168, 229, 0.08), transparent 28rem),
    radial-gradient(circle at 90% 22%, rgba(120, 200, 44, 0.07), transparent 24rem);
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--blue-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-950);
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(22, 114, 212, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue-950);
  color: white;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - var(--page-gutter)), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 232, 243, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-950);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 48px;
  border-radius: 10px;
  background-color: transparent;
  background-image: url("../images/logo.png");
  background-position: 50% 28%;
  background-repeat: no-repeat;
  background-size: 350%;
}

.brand-name-blue {
  color: var(--blue-900);
}

.brand-name-green {
  color: var(--green-600);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--blue-50);
  color: var(--blue-800);
}

.nav-search {
  display: inline-flex;
  margin-left: 8px;
  align-items: center;
  gap: 7px;
  padding: 10px 15px !important;
  background: var(--blue-900) !important;
  color: white !important;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--blue-950);
  cursor: pointer;
}

.menu-button svg {
  width: 23px;
  height: 23px;
  margin: auto;
}

main {
  min-height: 62vh;
}

.section {
  padding: var(--space-section) 0;
}

.section-sm {
  padding: var(--space-section-compact) 0;
}

.section-tint {
  border-block: 1px solid var(--line);
  background: rgba(243, 249, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue-800);
  font-size: var(--type-caption);
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--blue-950);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

h1 {
  margin-bottom: 24px;
  font-size: var(--type-page-title);
}

h2 {
  margin-bottom: 18px;
  font-size: var(--type-heading-2);
}

h3 {
  margin-bottom: 10px;
  font-size: var(--type-heading-3);
}

p {
  margin-top: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: 1.65;
}

.section-heading {
  display: flex;
  margin-bottom: 32px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading > div {
  max-width: 720px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button-row {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 0;
  border-radius: 15px;
  background: var(--blue-900);
  box-shadow: 0 10px 22px rgba(16, 69, 143, 0.18);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 0 13px 28px rgba(16, 69, 143, 0.25);
  color: white;
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
  box-shadow: none;
  color: var(--blue-900);
}

.button-secondary:hover {
  color: var(--blue-950);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -25%;
  width: 54vw;
  height: 54vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 168, 229, 0.12), transparent 66%);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 86px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
}

.hero h1 span {
  color: var(--green-600);
}

.hero-copy .lead {
  max-width: 680px;
}

.hero-art {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(180, 214, 238, 0.7);
  border-radius: 40px 40px 120px 40px;
  background:
    radial-gradient(circle at 82% 18%, rgba(120, 200, 44, 0.22), transparent 28%),
    linear-gradient(145deg, #eef8ff, #fff8f4);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-art::before {
  top: 38px;
  right: 42px;
  width: 72px;
  height: 72px;
  border: 2px dashed rgba(54, 168, 229, 0.38);
}

.hero-art::after {
  bottom: 56px;
  left: 44px;
  width: 34px;
  height: 34px;
  background: rgba(120, 200, 44, 0.22);
}

.hero-art img {
  position: absolute;
  right: -7%;
  bottom: -10px;
  width: 108%;
  max-height: 96%;
  object-fit: contain;
  object-position: bottom;
}

.hero-note {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 28px;
  max-width: 210px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  color: var(--blue-950);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.search-panel {
  max-width: 760px;
  margin-top: 32px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-form svg {
  width: 23px;
  height: 23px;
  margin-left: 9px;
  color: var(--blue-700);
  flex: none;
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: 12px 6px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-form button {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 13px;
  background: var(--blue-900);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.hero-actions {
  margin-top: 32px;
}

.quick-links {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.quick-links a {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-900);
  text-decoration: none;
}

.trust-row {
  display: grid;
  margin-top: 34px;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--green-100);
  color: var(--green-700);
  place-items: center;
  flex: none;
}

.series-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-card {
  position: relative;
  display: grid;
  min-height: 300px;
  padding: 32px;
  border: 1px solid rgba(181, 213, 236, 0.72);
  border-radius: var(--radius-lg);
  color: var(--ink);
  grid-template-columns: minmax(0, 1.12fr) minmax(140px, 0.88fr);
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.series-card:hover {
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transform: translateY(-4px);
}

.series-card:nth-child(1) {
  background: linear-gradient(135deg, #eef8ff, #fffaf6);
}

.series-card:nth-child(2) {
  background: linear-gradient(135deg, #f1faed, #eef8ff);
}

.series-card:nth-child(3) {
  background: linear-gradient(135deg, #fff4f2, #fffaf7);
}

.series-card:nth-child(4) {
  background: linear-gradient(135deg, #f3f1ff, #eef8ff);
}

.series-copy {
  position: relative;
  z-index: 2;
  align-self: start;
}

.series-number {
  display: inline-grid;
  width: fit-content;
  height: 35px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-800);
  font-size: 0.84rem;
  font-weight: 850;
  place-items: center;
}

.series-copy p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.94rem;
}

.series-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--blue-800);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.series-card img {
  position: absolute;
  right: -5%;
  bottom: -8%;
  width: 48%;
  height: 92%;
  object-fit: contain;
  object-position: bottom right;
}

.series-card-organs img {
  right: 1%;
  bottom: 4%;
  width: 40%;
  height: 86%;
  border-radius: 50%;
  object-fit: cover;
}

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

.content-card {
  position: relative;
  display: flex;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-card:hover {
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transform: translateY(-4px);
}

.content-card[hidden] {
  display: none;
}

.card-visual {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(54, 168, 229, 0.24), transparent 38%),
    #0b1c2c;
  overflow: hidden;
}

.card-visual::before {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  width: 74px;
  height: 74px;
  border: 2px dashed rgba(54, 168, 229, 0.3);
  border-radius: 50%;
  content: "";
}

.series-organe .card-visual {
  background: linear-gradient(145deg, #edf9eb, #ecf8ff);
}

.series-warnzeichen .card-visual {
  background: linear-gradient(145deg, #fff0ed, #fff9f7);
}

.series-vergleich .card-visual {
  background: linear-gradient(145deg, #f2efff, #eef8ff);
}

.card-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-play {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 18px rgba(22, 70, 118, 0.14);
  color: var(--blue-950);
  font-size: 0.79rem;
  font-weight: 850;
}

.card-play-icon {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--blue-800);
  color: white;
  font-size: 0.62rem;
  place-items: center;
}

.card-body {
  display: flex;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.card-series {
  margin-bottom: 7px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-body h3 {
  margin-bottom: 9px;
}

.card-body p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-meta {
  display: flex;
  margin-top: auto;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
}

.library-hero,
.page-hero {
  padding: 66px 0 52px;
}

.library-hero h1,
.page-hero h1 {
  max-width: 820px;
}

.library-tools {
  position: sticky;
  z-index: 20;
  top: 78px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.94);
  backdrop-filter: blur(15px);
}

.library-search {
  display: grid;
  align-items: center;
  gap: 14px;
  grid-template-columns: minmax(240px, 1fr) auto;
}

.library-categories {
  display: grid;
  gap: 46px;
}

.library-category {
  scroll-margin-top: 160px;
}

.library-category[hidden] {
  display: none;
}

.library-category-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.library-category-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.library-category-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.folder-label,
.category-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.folder-label {
  margin-bottom: 8px;
  color: var(--blue-700);
}

.folder-label::before {
  content: "▰";
  color: var(--green-600);
  font-size: 0.7rem;
}

.category-count {
  padding: 7px 11px;
  background: var(--blue-50);
  color: var(--blue-900);
  white-space: nowrap;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 22px;
  height: 22px;
  color: var(--blue-700);
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 11px 16px 11px 50px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  color: var(--ink);
}

.filter-tabs {
  display: flex;
  max-width: 100%;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-tab {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.is-active {
  border-color: var(--blue-800);
  background: var(--blue-900);
  color: white;
}

.results-meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  padding: 52px 22px;
  border: 1px dashed #b8cee0;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.detail-hero {
  padding: 62px 0 38px;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 25px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  align-items: start;
  gap: clamp(36px, 7vw, 90px);
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.video-shell {
  position: sticky;
  top: 112px;
  max-width: 440px;
  margin-inline: auto;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow-md);
}

.video-shell video {
  width: 100%;
  max-height: 72vh;
  border-radius: 21px;
  background: #0b1c2c;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.detail-copy h1 {
  margin-bottom: 20px;
}

.series-pill {
  display: inline-flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.79rem;
  font-weight: 850;
}

.detail-intro {
  color: var(--muted);
  font-size: 1.17rem;
}

.fact-box,
.notice-box,
.contact-card {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

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

.fact-list li {
  position: relative;
  padding-left: 31px;
}

.fact-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.notice-box {
  border-color: #f0c9c1;
  background: var(--warning-bg);
}

.notice-box h3 {
  color: #8f3024;
}

.medical-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  overflow: hidden;
}

.medical-details summary {
  padding: 22px 24px;
  color: var(--blue-950);
  font-weight: 850;
  cursor: pointer;
}

.details-content {
  padding: 0 24px 24px;
  color: var(--muted);
}

.details-content p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 52px;
  font-size: 2rem;
}

.prose h3 {
  margin-top: 32px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.feature-grid {
  display: grid;
  margin-top: 36px;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  place-items: center;
}

.about-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.about-art {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--blue-100), #fff8f4);
  overflow: hidden;
}

.about-art img {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 110%;
  height: 96%;
  object-fit: contain;
  object-position: bottom;
}

.about-hero {
  padding-bottom: clamp(76px, 9vw, 122px);
}

.about-hero-copy {
  max-width: 680px;
}

.about-hero h1 {
  max-width: 780px;
}

.about-hero-note {
  display: inline-flex;
  margin: 26px 0 0;
  padding: 10px 15px;
  border: 1px solid #cfe3f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-950);
  font-size: 0.92rem;
  font-weight: 750;
}

.about-art::before,
.about-art::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
}

.about-art::before {
  top: 38px;
  right: 42px;
  width: 92px;
  height: 92px;
  background: rgba(120, 200, 44, 0.16);
}

.about-art::after {
  bottom: 38px;
  left: 34px;
  width: 62px;
  height: 62px;
  background: rgba(54, 168, 229, 0.16);
}

.about-art img {
  z-index: 1;
}

.about-art-note {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 30px;
  max-width: 230px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}

.about-art-note strong {
  color: var(--blue-950);
}

.about-origin-section {
  background: white;
}

.about-story-grid {
  display: grid;
  gap: clamp(42px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.about-story-heading {
  align-self: start;
}

.about-story-heading h2 {
  max-width: 520px;
}

.about-story-copy {
  max-width: 720px;
}

.about-story-copy > p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-quote {
  margin: 34px 0 0;
  padding: 24px 28px;
  border: 0;
  border-left: 5px solid var(--green-500);
  border-radius: 0 18px 18px 0;
  background: var(--green-100);
  color: var(--blue-950);
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
  font-weight: 850;
  line-height: 1.35;
}

.about-evidence-card {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #d7e8f5;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.about-evidence-intro {
  display: grid;
  align-items: end;
  gap: 22px 60px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
}

.about-evidence-intro h2 {
  margin-bottom: 0;
}

.about-evidence-intro p:last-child {
  margin: 0;
  color: var(--muted);
}

.about-facts {
  display: grid;
  margin-top: 42px;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-fact {
  display: grid;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  gap: 5px;
}

.about-fact:nth-child(2) {
  background: var(--green-100);
}

.about-fact strong {
  color: var(--blue-900);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.about-fact:nth-child(2) strong {
  color: var(--green-700);
}

.about-fact span {
  max-width: 430px;
  color: var(--muted);
}

.about-source {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.about-source a {
  color: inherit;
}

.about-steps {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-step {
  display: grid;
  padding: 30px 30px 10px 0;
  gap: 18px;
  grid-template-columns: auto 1fr;
}

.about-step + .about-step {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.about-step > span {
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-step h3,
.about-step p {
  margin-top: 0;
}

.about-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-purpose-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-purpose-card {
  min-height: 360px;
  padding: clamp(30px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
}

.about-purpose-card h2 {
  max-width: 490px;
}

.about-purpose-card p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.about-vision-card {
  background: var(--blue-950);
  color: white;
}

.about-vision-card .eyebrow,
.about-vision-card p:last-child {
  color: #d8eafb;
}

.about-mission-card {
  background: var(--green-100);
}

.about-mission-card .eyebrow {
  color: var(--green-700);
}

.about-promise {
  display: flex;
  padding: 28px 34px;
  border: 1px solid #cee1f2;
  border-radius: var(--radius-md);
  background: white;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  grid-column: 1 / -1;
}

.about-promise span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.about-promise strong {
  color: var(--blue-950);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  text-align: right;
}

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

.about-principles-grid .feature-card {
  padding: 24px;
}

.about-principles-grid .feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-audience-grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.about-audience-grid .lead {
  color: var(--muted);
}

.about-audience-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-audience-list li {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}

.about-audience-list li:first-child {
  padding-top: 0;
}

.about-audience-list strong {
  color: var(--blue-950);
}

.about-audience-list span {
  color: var(--muted);
}

.about-team-grid {
  display: grid;
  margin-top: 40px;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-team-card {
  display: grid;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  gap: 24px;
  grid-template-columns: auto 1fr;
}

.about-team-initials {
  display: grid;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 1.2rem;
  font-weight: 900;
  place-items: center;
}

.about-team-initials-green {
  background: var(--green-100);
  color: var(--green-700);
}

.about-team-card h3 {
  margin-top: 5px;
}

.about-team-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.about-future-card {
  display: grid;
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-950), #155aa8);
  color: white;
  gap: clamp(40px, 8vw, 90px);
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
}

.about-future-card .eyebrow,
.about-future-card p {
  color: #d8eafb;
}

.about-future-card h2 {
  color: white;
}

.about-journey {
  display: grid;
  margin: 0;
  padding: 0;
  align-content: center;
  list-style: none;
}

.about-journey li {
  position: relative;
  display: grid;
  padding: 5px 0 26px 35px;
  gap: 2px;
}

.about-journey li:not(:last-child)::before {
  position: absolute;
  top: 12px;
  bottom: -6px;
  left: 7px;
  width: 2px;
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.about-journey li::after {
  position: absolute;
  top: 10px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--green-500);
  content: "";
}

.about-journey span {
  color: #bcd5ed;
  font-size: 0.82rem;
}

.about-journey strong {
  font-size: 1.12rem;
}

.about-cta {
  max-width: 900px;
  text-align: center;
}

.about-cta > p:not(.eyebrow) {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.about-cta .button-row {
  justify-content: center;
}

.about-cta .about-cta-note {
  margin-top: 32px;
  font-size: 0.78rem;
}

.contact-card {
  max-width: 700px;
}

.contact-link {
  display: inline-flex;
  margin-top: 8px;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 850;
}

.legal-placeholder {
  padding: 18px 20px;
  border: 2px solid #e7a83c;
  border-radius: 15px;
  background: #fff8e9;
  color: #714b12;
}

.legal-updated {
  margin-top: 18px;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 50px;
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
  background: #f1f7fc;
}

.footer-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
}

.footer-brand p {
  max-width: 460px;
  margin-top: 18px;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 14px;
  color: var(--blue-950);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-900);
}

.footer-disclaimer {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #d0dfeb;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 1000px) {
  .menu-button {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-md);
    align-items: stretch;
    flex-direction: column;
  }

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

  .main-nav a {
    padding: 12px 14px;
  }

  .nav-search {
    margin: 8px 0 0;
    justify-content: center;
  }

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

  .hero-art {
    min-height: 480px;
  }

  .hero-art img {
    right: 0;
    left: 0;
    width: 100%;
    margin: auto;
  }

  .detail-grid {
    gap: 50px;
  }

  .video-shell {
    position: relative;
    top: auto;
  }

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

  .library-search {
    grid-template-columns: 1fr;
  }

  .library-category-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 52px;
    height: 43px;
  }

  .section {
    padding: 66px 0;
  }

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

  .hero-grid {
    gap: 42px;
  }

  .hero-art {
    min-height: 400px;
    border-radius: 28px 28px 76px 28px;
  }

  .hero-note {
    top: 20px;
    left: 18px;
  }

  .search-form button {
    padding-inline: 13px;
  }

  .quick-links {
    display: none;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .series-grid,
  .content-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .series-card {
    min-height: 280px;
    padding: 25px;
    grid-template-columns: 1fr 0.7fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .library-tools {
    top: 70px;
  }

  .filter-tabs {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .detail-hero {
    padding-top: 42px;
  }

  .video-shell {
    max-width: 390px;
  }

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

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 5px;
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 46px;
    height: 39px;
  }

  .series-card {
    min-height: 300px;
    grid-template-columns: 1fr;
  }

  .series-copy {
    max-width: 70%;
  }

  .series-card img {
    width: 54%;
  }

  .search-form button {
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .search-form button::after {
    content: "→";
    font-size: 1.2rem;
  }
}

/* Combined library filters and site-wide social links */
.library-search {
  align-items: center;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1.58fr);
}

.library-filter-group {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.library-filter-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.library-filter-row .library-filter-group {
  flex: 1 1 auto;
}

.library-filter-row > .library-filter-group .filter-tabs {
  flex-wrap: nowrap;
  overflow-x: visible;
  scrollbar-width: none;
}

.library-filter-row > .library-filter-group .filter-tab {
  min-height: 44px;
  padding-inline: 9px;
  font-size: 0.78rem;
}

.library-filter-label {
  color: var(--blue-950);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialty-filter {
  position: relative;
  flex: 0 0 auto;
}

.specialty-filter summary {
  list-style: none;
}

.specialty-filter summary::-webkit-details-marker {
  display: none;
}

.specialty-filter-toggle {
  display: inline-flex;
  min-height: 44px;
  width: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-900);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.specialty-filter-toggle [data-specialty-current] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.specialty-filter-toggle svg {
  width: 20px;
  height: 20px;
}

.specialty-filter[open] .specialty-filter-toggle {
  border-color: var(--blue-800);
  background: var(--blue-900);
  color: white;
}

.specialty-filter-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(560px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  gap: 9px;
  background: white;
  box-shadow: var(--shadow-md);
}

.specialty-filter-panel .filter-tabs {
  flex-wrap: wrap;
  overflow: visible;
}

.card-labels {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.card-labels .card-series {
  margin-bottom: 0;
}

.card-specialty {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.6fr 0.7fr 0.55fr;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--blue-900);
}

.social-links svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.contact-socials {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.contact-socials > p {
  margin-bottom: 13px;
  color: var(--muted);
}

.social-links-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links-contact a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--blue-900);
}

@media (max-width: 820px) {
  .library-search {
    grid-template-columns: 1fr;
  }

  .library-search > .search-input-wrap {
    grid-row: auto;
  }

  .library-filter-row > .library-filter-group .filter-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 1000px) {

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

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

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

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

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* 2026 editorial refresh */
:root {
  --blue-950: #0a326c;
  --blue-900: #0d4f9e;
  --blue-800: #1267be;
  --green-600: #45ad39;
  --ink: #102f58;
  --muted: #58708d;
  --line: #d6e5f1;
  --coral: #ef806e;
  --violet: #8d78d2;
  --amber: #eda958;
  --aqua: #4bb8b0;
  --soft-blue: #edf7ff;
  --soft-mint: #f0f9ec;
  --soft-rose: #fff2ef;
  --soft-violet: #f4f0ff;
  --shadow-md: 0 22px 60px rgba(24, 71, 112, 0.14);
}

body {
  background: #fcfdff;
}

.site-header {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(194, 216, 233, 0.72);
}

.nav-search svg {
  width: 17px;
  height: 17px;
}

.information-ribbon {
  position: relative;
  z-index: 90;
  border-bottom: 1px solid #dcebd5;
  background: #f3faef;
  color: #466348;
  font-size: 0.76rem;
  line-height: 1.4;
}

.information-ribbon .container {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.information-ribbon-icon,
.information-card-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green-600);
  color: white;
  font-weight: 900;
}

.hero {
  overflow: hidden;
  padding: 86px 0 0;
  background:
    radial-gradient(circle at 12% 26%, rgba(70, 172, 231, 0.14), transparent 25rem),
    radial-gradient(circle at 90% 12%, rgba(120, 200, 44, 0.15), transparent 28rem),
    linear-gradient(145deg, #fafdff 0%, #f5faff 60%, #fbfff7 100%);
}

.hero::after {
  opacity: 0.45;
}

.hero-grid {
  min-height: 550px;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

.hero h1 span,
.library-hero h1 span {
  color: var(--green-600);
}

.hero-copy .lead {
  max-width: 690px;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
}

.hero-search {
  max-width: 680px;
  margin-top: 32px;
}

.hero-search > label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 18px;
  border: 1px solid #c9deed;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(33, 82, 127, 0.13);
}

.hero-search-field svg {
  width: 24px;
  height: 24px;
  color: var(--blue-800);
}

.hero-search-field input {
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.hero-search-field button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--blue-900);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.hero-art {
  min-height: 510px;
  border: 1px solid rgba(119, 185, 223, 0.45);
  border-radius: 47% 53% 42% 58% / 44% 40% 60% 56%;
  background:
    linear-gradient(155deg, rgba(225, 244, 255, 0.95), rgba(240, 249, 230, 0.9) 54%, rgba(255, 239, 235, 0.92));
  box-shadow: 0 30px 75px rgba(36, 93, 137, 0.16);
  transform: rotate(1.5deg);
}

.hero-art img {
  height: 93%;
  transform: rotate(-1.5deg);
}

.hero-note {
  z-index: 3;
  top: 38px;
  left: 30px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(40, 72, 100, 0.12);
  transform: rotate(-3deg);
}

.hero-orbit {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(38, 80, 117, 0.14);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-orbit-one {
  right: -12px;
  bottom: 104px;
  width: 74px;
  height: 74px;
  background: var(--coral);
}

.hero-orbit-two {
  top: 82px;
  right: -22px;
  width: 66px;
  height: 66px;
  background: var(--violet);
}

.hero .trust-row {
  position: relative;
  z-index: 5;
  display: grid;
  margin-top: 62px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 -8px 32px rgba(27, 79, 124, 0.06);
}

.hero .trust-item {
  display: grid;
  min-width: 0;
  padding: 23px 30px;
  grid-template-columns: auto 1fr;
  column-gap: 13px;
  border-right: 1px solid var(--line);
  color: var(--blue-950);
}

.hero .trust-item:last-child { border-right: 0; }
.hero .trust-item small { grid-column: 2; color: var(--muted); font-weight: 600; }
.hero .trust-icon { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 13px; font-size: 0.72rem; }

.topic-worlds {
  background:
    radial-gradient(circle at 90% 20%, rgba(141, 120, 210, 0.09), transparent 25rem),
    #f3f9fd;
}

.series-grid {
  grid-template-columns: repeat(12, 1fr);
}

.series-card {
  grid-column: span 6;
  min-height: 340px;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 16px 42px rgba(30, 77, 118, 0.1);
}

.series-card-was-ist { background: linear-gradient(135deg, #e8f5ff, #f8fcff); }
.series-card-organe { background: linear-gradient(135deg, #fff0ec, #fff9f7); }
.series-card-warnzeichen { background: linear-gradient(135deg, #fff5df, #fffaf1); }
.series-card-a-vs-b { background: linear-gradient(135deg, #f0ebff, #faf8ff); }
.series-card-fachbegriffe { background: linear-gradient(135deg, #eaf8e7, #f7fcf5); }
.series-card-wie-entsteht { background: linear-gradient(135deg, #e8f8f5, #f7fcfb); }
.series-card-therapie { background: linear-gradient(135deg, #e8f8f5, #fff8f3); }
.series-number { background: rgba(255,255,255,0.82); }
.series-copy { max-width: 64%; }
.series-copy h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.series-card img { right: -18px; width: 48%; max-height: 91%; }

.featured-story {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  border-radius: 34px;
  background: var(--blue-950);
  box-shadow: 0 26px 70px rgba(11, 47, 103, 0.2);
  color: white;
}

.featured-visual {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: center;
  overflow: hidden;
  background: #071d32;
}

.featured-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(10, 50, 108, 0.92));
  content: "";
}

.featured-visual img { height: 100%; width: 100%; object-fit: contain; }
.featured-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 10px 14px; border-radius: 999px; background: white; color: var(--blue-950); font-size: 0.78rem; font-weight: 900; }
.featured-copy { display: flex; padding: clamp(42px, 6vw, 76px); flex-direction: column; justify-content: center; }
.featured-copy h2 { color: white; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.featured-copy .lead { color: #c8d9ec; }
.featured-copy .eyebrow { color: #91d7ff; }
.featured-copy .button { align-self: flex-start; margin-top: 28px; background: white; color: var(--blue-950); box-shadow: none; }

.mini-facts,
.content-format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-facts span,
.content-format-row span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #dbe9f7;
  font-size: 0.77rem;
  font-weight: 750;
}

.latest-section { background: #fff; }
.content-card { border-radius: 25px; }
.card-visual { min-height: 238px; }
.card-body { padding: 24px; }

.philosophy-section {
  overflow: hidden;
  background: linear-gradient(130deg, #eff8ff, #f5fbf0 58%, #fff5f1);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.philosophy-art {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 46% 54% 51% 49% / 42% 44% 56% 58%;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-md);
}

.philosophy-art img { position: absolute; right: -5%; bottom: 0; width: 93%; max-height: 90%; object-fit: contain; }
.art-caption { position: absolute; z-index: 2; top: 35px; left: 35px; padding: 15px 18px; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); color: var(--blue-950); line-height: 1.4; transform: rotate(-2deg); }

.approach-list { margin: 34px 0; padding: 0; list-style: none; }
.approach-list li { display: grid; padding: 18px 0; grid-template-columns: 48px 1fr; gap: 16px; border-top: 1px solid rgba(137, 170, 194, 0.35); }
.approach-list li > span { color: var(--green-600); font-size: 0.78rem; font-weight: 900; }
.approach-list strong { color: var(--blue-950); font-size: 1.05rem; }
.approach-list p { margin: 3px 0 0; color: var(--muted); font-size: 0.95rem; }

.information-card {
  display: grid;
  padding: clamp(30px, 5vw, 54px);
  grid-template-columns: auto 1fr;
  gap: 24px;
  border: 1px solid #cee2c4;
  border-radius: 28px;
  background: #fbfff8;
}

.information-card h2 { max-width: 850px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.information-card p:last-child { max-width: 900px; margin-bottom: 0; color: var(--muted); }
.information-card-icon { width: 48px; height: 48px; font-family: var(--font-symbol); font-size: 1.25rem; }

.library-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 350px;
  background: #f9fcff;
}

.library-hero::before,
.library-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.library-hero::before {
  z-index: -2;
  background: url("/assets/images/library-knowledge-cosmos.jpg") center / cover no-repeat;
  opacity: 0.72;
}

.library-hero::after {
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(249, 252, 255, 0.98) 0%,
    rgba(249, 252, 255, 0.9) 34%,
    rgba(249, 252, 255, 0.5) 58%,
    rgba(249, 252, 255, 0.12) 82%
  );
}

.library-hero-grid {
  display: grid;
  min-height: 232px;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.library-hero-grid > div {
  max-width: 760px;
}

.library-hero h1 {
  max-width: 800px;
  margin-inline: auto;
}

.library-hero .lead {
  max-width: 680px;
  margin-inline: auto;
}
.library-hero-note { width: 235px; padding: 25px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,0.85); box-shadow: var(--shadow-sm); }
.library-hero-note > span { display: block; color: var(--green-600); font-size: 3rem; font-weight: 900; line-height: 1; }
.library-hero-note strong { display: block; margin-top: 8px; color: var(--blue-950); }
.library-hero-note p { margin: 5px 0 0; color: var(--muted); font-size: 0.84rem; }
.library-tools { box-shadow: 0 12px 28px rgba(39, 83, 122, 0.06); }

.detail-hero { padding-bottom: 82px; }
.detail-grid { align-items: center; }
.content-format-row { margin-top: 28px; }
.content-format-row span { background: var(--blue-50); color: var(--blue-900); }

.detail-knowledge { border-top: 1px solid var(--line); background: #fff; }
.knowledge-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(45px, 8vw, 100px); }
.knowledge-main h2 { max-width: 650px; }
.fact-list-large { display: grid; gap: 0; }
.fact-list-large li { padding: 19px 0 19px 45px; border-top: 1px solid var(--line); font-size: 1.04rem; }
.fact-list-large li::before { top: 18px; left: 3px; width: 28px; height: 28px; }
.knowledge-side { padding: 30px; border-radius: 27px; background: var(--soft-blue); align-self: start; }
.tag-cloud { display: flex; margin-bottom: 28px; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 7px 11px; border: 1px solid #c9e0ef; border-radius: 999px; background: #fff; color: var(--blue-900); font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.individual-note { display: grid; padding-top: 24px; grid-template-columns: 30px 1fr; gap: 12px; border-top: 1px solid #cadfea; }
.individual-note > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--green-600); color: #fff; font-family: var(--font-symbol); font-weight: 800; }
.individual-note strong { color: var(--blue-950); }
.individual-note p { margin: 5px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.sources-section { background: #f7fafc; }
.medical-details summary { display: flex; align-items: center; justify-content: space-between; }
.medical-details summary small { color: var(--muted); font-weight: 600; }

/* Pilot detail page: complete video companion content */
.pilot-detail > .detail-knowledge,
.pilot-detail > .sources-section {
  display: none;
}

.detail-grid-pilot {
  align-items: start;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.breadcrumb-series {
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900) !important;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.detail-media-column {
  display: grid;
  width: min(100%, calc(40.5vh + 22px));
  max-width: 440px;
  margin-inline: auto;
  gap: 14px;
}

.detail-media-column .video-shell {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0;
}

.detail-media-column .video-shell video {
  width: 100%;
  max-height: none;
  background: transparent;
}

.detail-media-column .transcript-details {
  width: 100%;
  border-radius: 20px;
}

.detail-media-column .transcript-details summary {
  padding: 18px 20px;
  font-size: 0.92rem;
}

.detail-summary {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-summary h2 {
  max-width: 620px;
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
}

.fact-list-compact {
  margin-top: 12px;
  gap: 0;
}

.fact-list-compact li {
  padding: 12px 0 12px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.fact-list-compact li::before {
  top: 13px;
  left: 1px;
  width: 24px;
  height: 24px;
}

.detail-visuals {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}

.explanation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.explanation-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.explanation-image {
  display: grid;
  min-height: 330px;
  padding: 18px 12px 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(54, 168, 229, 0.12), transparent 48%),
    var(--blue-50);
  place-items: center;
}

.explanation-image img {
  width: 100%;
  height: 330px;
  object-fit: contain;
}

.explanation-card figcaption {
  padding: 19px 20px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.reading-section {
  background: #f7fafc;
}

.reading-grid {
  display: grid;
  max-width: 940px;
  gap: 18px;
}

.transcript-copy {
  max-width: 760px;
  color: var(--ink);
}

.transcript-copy p {
  line-height: 1.75;
}

.disclaimer-card {
  display: grid;
  padding: 24px;
  border: 1px solid #c9e0ef;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
  grid-template-columns: 32px 1fr;
  gap: 14px;
}

.disclaimer-card > span {
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--blue-900);
  color: #fff;
  font-family: var(--font-symbol);
  font-weight: 800;
  place-items: center;
}

.disclaimer-card h2 {
  margin: 1px 0 7px;
  font-size: 1.05rem;
}

.disclaimer-card p {
  margin: 0;
  color: var(--muted);
}

.source-details {
  background: rgba(255, 255, 255, 0.72);
}

.source-list {
  display: grid;
  margin: 4px 0 0;
  padding-left: 20px;
  gap: 10px;
}

.source-list li {
  color: var(--muted);
}

.source-list a {
  color: var(--blue-800);
}

@media (max-width: 1000px) {
  .hero { padding-top: 56px; }
  .hero-grid { min-height: 0; }
  .hero-art { min-height: 430px; }
  .series-card { grid-column: span 12; }
  .featured-story { grid-template-columns: 0.8fr 1.2fr; }
  .philosophy-grid { grid-template-columns: 0.9fr 1.1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .detail-grid-pilot { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: 44px; }
  .explanation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-side { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 28px; }
  .knowledge-side .eyebrow { grid-column: 1; }
  .tag-cloud { grid-column: 1; }
  .individual-note { grid-column: 2; grid-row: 1 / 3; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid #cadfea; }
}

@media (max-width: 720px) {
  .information-ribbon { font-size: 0.69rem; }
  .information-ribbon .container { padding-block: 7px; text-align: left; }
  .nav-search { margin: 6px 0 0 !important; }
  .hero { padding-top: 42px; }
  .hero-search-field { grid-template-columns: auto 1fr; }
  .hero-search-field button { grid-column: 1 / -1; width: 100%; }
  .hero-art { min-height: 390px; margin-top: 15px; }
  .hero-orbit { display: none; }
  .hero .trust-row { margin-top: 40px; grid-template-columns: 1fr; border-radius: 20px 20px 0 0; }
  .hero .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .series-card { min-height: 330px; }
  .series-copy { max-width: 72%; }
  .series-card img { right: -42px; width: 53%; opacity: 0.9; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-visual { min-height: 420px; }
  .featured-visual::after { background: linear-gradient(0deg, rgba(10,50,108,0.9), transparent 34%); }
  .featured-copy { padding: 38px 26px 44px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-art { min-height: 410px; }
  .library-hero-grid { grid-template-columns: 1fr; }
  .library-hero-note { width: 100%; }
  .knowledge-side { display: block; }
  .detail-grid-pilot { grid-template-columns: 1fr; }
  .breadcrumb-series { margin-left: 0; }
  .detail-summary { margin-top: 32px; padding-top: 28px; }
  .explanation-grid { grid-template-columns: 1fr; }
  .explanation-image { min-height: 360px; }
  .explanation-image img { height: 360px; }
  .disclaimer-card { grid-template-columns: 28px 1fr; padding: 20px; }
  .individual-note { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid #cadfea; border-left: 0; }
  .medical-details summary { display: block; }
  .medical-details summary small { display: block; margin-top: 4px; }
  .information-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .library-hero {
    min-height: 360px;
  }

  .library-hero::before {
    background-image: url("/assets/images/library-knowledge-cosmos-mobile.jpg");
    background-position: center;
    background-size: cover;
    opacity: 0.76;
  }

  .library-hero::after {
    background: radial-gradient(
      ellipse at center,
      rgba(249, 252, 255, 0.94) 0%,
      rgba(249, 252, 255, 0.84) 38%,
      rgba(249, 252, 255, 0.5) 68%,
      rgba(249, 252, 255, 0.14) 100%
    );
  }
}

/* Targeted composition refinements */
.hero-art {
  min-height: 520px;
  border-radius: 38% 62% 46% 54% / 45% 39% 61% 55%;
  transform: none;
}

.hero-art img {
  right: 4%;
  bottom: 0;
  width: auto;
  height: 88%;
  max-height: none;
  transform: none;
  object-fit: contain;
}

.hero-note {
  top: 42px;
  left: 42px;
  width: max-content;
  max-width: 220px;
  transform: none;
}

.hero .trust-row {
  gap: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero .trust-item {
  min-height: 104px;
  padding: 21px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(28, 76, 117, 0.08);
}

.hero .trust-item:nth-child(2) {
  background: rgba(243, 250, 239, 0.96);
}

.hero .trust-item:nth-child(3) {
  background: rgba(245, 242, 255, 0.96);
}

.hero .trust-item:last-child {
  border-right: 1px solid var(--line);
}

.hero .trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--blue-100);
  color: var(--blue-900);
}

.hero .trust-item:nth-child(2) .trust-icon {
  background: var(--green-100);
  color: var(--green-700);
}

.hero .trust-item:nth-child(3) .trust-icon {
  background: #e9e2ff;
  color: #7359bd;
}

.hero .trust-icon svg {
  width: 24px;
  height: 24px;
}

.series-card {
  isolation: isolate;
  min-height: 350px;
  padding: 34px;
}

.series-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 44%, rgba(255, 255, 255, 0.35) 68%, transparent 100%);
  content: "";
  pointer-events: none;
}

.series-copy {
  max-width: 60%;
}

.series-card img,
.series-card-organs img {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  opacity: 1;
  object-fit: cover;
  object-position: center;
}

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

.content-card {
  display: grid;
  min-height: 330px;
  grid-template-columns: 36% minmax(0, 1fr);
}

.card-visual {
  width: 100%;
  min-height: 330px;
  height: 100%;
  aspect-ratio: auto;
  background: #eef6fb;
}

.card-visual::before {
  display: none;
}

.series-organe .card-visual,
.series-warnzeichen .card-visual,
.series-vergleich .card-visual {
  background: #eef6fb;
}

.card-thumbnail {
  object-fit: cover;
}

.card-play {
  right: 10px;
  bottom: 10px;
  left: 10px;
  justify-content: center;
  padding: 7px 9px;
  font-size: 0.72rem;
}

.card-body {
  min-width: 0;
  padding: 26px 24px;
}

.card-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.48rem);
}

.card-body p {
  line-height: 1.55;
}

.card-meta {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  flex-direction: column;
}

.philosophy-art {
  min-height: 520px;
  border-radius: 43% 57% 49% 51% / 40% 45% 55% 60%;
}

.philosophy-art img {
  right: 3%;
  bottom: 0;
  width: auto;
  height: 86%;
  max-width: 88%;
  max-height: none;
  object-fit: contain;
}

.art-caption {
  top: 38px;
  left: 38px;
  max-width: calc(100% - 76px);
  transform: none;
}

@media (max-width: 1000px) {
  .hero-art {
    min-height: 480px;
  }

  .hero-art img {
    right: 8%;
    left: auto;
    width: auto;
    height: 88%;
  }

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

  .series-copy {
    max-width: 64%;
  }
}

@media (max-width: 720px) {
  .hero-art {
    min-height: 430px;
    border-radius: 35% 65% 45% 55% / 42% 38% 62% 58%;
  }

  .hero-art img {
    right: 0;
    height: 84%;
  }

  .hero-note {
    top: 30px;
    left: 30px;
  }

  .hero .trust-row {
    gap: 12px;
  }

  .hero .trust-item {
    border: 1px solid var(--line);
  }

  .series-card {
    min-height: 340px;
  }

  .series-card img {
    right: auto;
    width: 100%;
    opacity: 1;
  }

  .series-card::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88) 50%, rgba(255,255,255,0.18) 82%);
  }

  .series-copy {
    max-width: 64%;
  }

  .content-card {
    min-height: 285px;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .card-visual {
    width: 100%;
    min-height: 285px;
  }

  .card-body {
    padding: 21px 18px;
  }

  .card-body p {
    font-size: 0.86rem;
  }

  .philosophy-art {
    min-height: 440px;
  }

  .philosophy-art img {
    right: 2%;
    height: 82%;
  }
}

@media (max-width: 430px) {
  html,
  body {
    overflow-x: hidden;
  }

  .library-hero-grid > *,
  .library-category-heading > *,
  .content-card,
  .card-body {
    min-width: 0;
    max-width: 100%;
  }

  .library-hero h1,
  .library-hero .lead,
  .library-category-heading h2,
  .library-category-heading p,
  .card-body h3 {
    overflow-wrap: anywhere;
  }

  .content-card {
    width: 100%;
    min-height: 252px;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .card-visual {
    width: 100%;
    min-height: 252px;
  }

  .card-play {
    right: 8px;
    left: 8px;
    gap: 5px;
    font-size: 0.65rem;
  }

  .card-play-icon {
    width: 21px;
    height: 21px;
  }

  .card-body {
    padding: 18px 15px;
  }

  .card-body p {
    display: none;
  }

  .card-meta span:first-child {
    display: none;
  }

  .series-copy {
    max-width: 70%;
  }
}

/* Homepage composition follow-up */
.hero {
  padding-bottom: 0;
}

.hero .trust-row {
  margin-top: 56px;
  padding-bottom: 76px;
}

.decorative-medical {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(28, 76, 117, 0.12);
  color: var(--blue-800);
}

.decorative-medical svg {
  width: 28px;
  height: 28px;
}

.decorative-heart {
  right: 44px;
  bottom: 72px;
  color: var(--coral);
  transform: rotate(5deg);
}

.decorative-plus {
  top: 62px;
  right: 58px;
  width: 44px;
  height: 44px;
  color: var(--green-600);
  transform: rotate(-7deg);
}

.decorative-search {
  right: 38px;
  bottom: 148px;
  width: 48px;
  height: 48px;
  color: var(--violet);
  transform: rotate(-4deg);
}

.hero-art {
  padding: 0;
}

.hero-note {
  top: 54px;
  left: 54px;
  width: auto;
  max-width: calc(100% - 170px);
}

.series-card::after {
  z-index: 1;
}

.series-copy {
  z-index: 3;
}

.latest-section .container {
  max-width: 1040px;
  margin-inline: auto;
}

.content-grid {
  gap: 18px;
}

.content-card {
  min-height: 360px;
  grid-template-columns: 40% minmax(0, 1fr);
  padding: 10px;
}

.card-visual {
  min-height: 340px;
  overflow: hidden;
  border-radius: 17px;
}

.card-thumbnail {
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 13px;
  object-fit: contain;
}

.card-play {
  right: 20px;
  bottom: 20px;
  left: 20px;
}

.card-body {
  padding: 28px 24px;
}

.philosophy-art {
  padding: 0;
}

.philosophy-art .art-caption {
  top: 54px;
  left: 54px;
  max-width: calc(100% - 150px);
}

.philosophy-art .decorative-heart {
  right: 42px;
  bottom: 68px;
}

.philosophy-art .decorative-search {
  right: 38px;
  bottom: 146px;
}

.philosophy-art .decorative-plus {
  top: 58px;
  right: 54px;
}

@media (max-width: 720px) {
  .hero .trust-row {
    margin-top: 34px;
    padding-bottom: 58px;
  }

  .hero-note,
  .philosophy-art .art-caption {
    top: 38px;
    left: 38px;
    max-width: calc(100% - 120px);
  }

  .decorative-heart {
    right: 30px;
    bottom: 50px;
  }

  .decorative-search {
    right: 28px;
    bottom: 126px;
  }

  .decorative-plus {
    top: 42px;
    right: 36px;
  }

  .content-card {
    min-height: 310px;
    grid-template-columns: 44% minmax(0, 1fr);
    padding: 8px;
  }

  .card-visual {
    min-height: 294px;
  }

  .card-body {
    padding: 22px 16px;
  }
}

@media (max-width: 430px) {
  .hero-art img {
    right: 0;
    left: 0;
    width: 100%;
    height: 76%;
    margin: 0 auto;
    transform: none;
    object-position: center bottom;
  }

  .philosophy-art img {
    right: 0;
    left: 0;
    width: 100%;
    height: 78%;
    margin: 0 auto;
    transform: none;
    object-position: center bottom;
  }

  .hero-note,
  .philosophy-art .art-caption {
    top: 34px;
    left: 34px;
    max-width: calc(100% - 128px);
  }

  .decorative-medical {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .decorative-medical svg {
    width: 23px;
    height: 23px;
  }

  .decorative-plus {
    top: 42px;
    right: 42px;
    width: 38px;
    height: 38px;
  }

  .decorative-search {
    right: 28px;
    bottom: 122px;
  }

  .decorative-heart {
    right: 42px;
    bottom: 58px;
  }

  .content-card {
    min-height: 286px;
    grid-template-columns: 46% minmax(0, 1fr);
  }

  .card-visual {
    min-height: 270px;
  }

  .card-body {
    padding: 20px 13px;
  }
}

@media (max-width: 1000px) {
  .about-art {
    min-height: 470px;
  }

  .about-story-grid,
  .about-audience-grid,
  .about-future-card {
    grid-template-columns: 1fr;
  }

  .about-evidence-intro {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

  .about-team-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-hero {
    padding-top: 54px;
  }

  .about-hero-note {
    border-radius: 18px;
  }

  .about-art {
    min-height: 390px;
  }

  .about-art-note {
    top: 24px;
    left: 22px;
  }

  .about-facts,
  .about-steps,
  .about-purpose-grid,
  .about-principles-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-step {
    padding: 24px 0;
  }

  .about-step + .about-step {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-purpose-card {
    min-height: 0;
  }

  .about-promise {
    align-items: start;
    flex-direction: column;
  }

  .about-promise strong {
    text-align: left;
  }

  .about-team-card {
    gap: 18px;
  }
}

@media (max-width: 430px) {
  .about-art {
    min-height: 340px;
  }

  .about-art-note {
    max-width: 190px;
    font-size: 0.75rem;
  }

  .about-art img {
    right: -8%;
    left: auto;
    width: 116%;
    height: 92%;
  }

  .about-evidence-card,
  .about-purpose-card,
  .about-future-card {
    border-radius: 24px;
  }

  .about-fact {
    padding: 22px;
  }

  .about-team-card {
    border-radius: 24px;
  }
}

/* About page: editorial, image-led layout */
.about-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: clamp(92px, 12vw, 150px) 0;
  background: #edf6fc;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.about-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/images/about-understanding-hero-v2.png") center / cover no-repeat;
  content: "";
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at center, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.93) 30%, rgba(248, 252, 255, 0.38) 62%, rgba(237, 246, 252, 0.08) 100%);
  content: "";
}

.about-hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-hero-copy {
  max-width: 920px;
}

.about-hero h1 {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.about-hero h1 span {
  color: var(--green-600);
}

.about-hero .lead {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: #47617d;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.about-hero-note {
  margin-top: 28px;
  padding: 11px 18px;
  border-color: rgba(16, 69, 143, 0.13);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(22, 70, 118, 0.08);
  backdrop-filter: blur(12px);
}

.about-story-heading h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  line-height: 1.05;
}

.about-story-copy > p {
  font-size: 1.08rem;
}

.about-story-copy em {
  color: var(--ink);
  font-style: normal;
  font-weight: 850;
}

.about-evidence-layout {
  display: grid;
  gap: 38px;
}

.about-evidence-intro {
  max-width: 920px;
  align-items: start;
  grid-template-areas:
    "eyebrow"
    "heading"
    "copy";
  grid-template-columns: minmax(0, 1fr);
}

.about-evidence-intro .eyebrow {
  margin-bottom: 0;
  grid-area: eyebrow;
}

.about-evidence-intro h2 {
  grid-area: heading;
}

.about-evidence-intro > p:last-child {
  max-width: 780px;
  grid-area: copy;
}

.about-facts {
  margin-top: 0;
  border-top: 1px solid #cbddea;
  border-bottom: 1px solid #cbddea;
  gap: 0;
}

.about-fact,
.about-fact:nth-child(2) {
  padding: 32px clamp(20px, 4vw, 48px);
  border-radius: 0;
  background: transparent;
}

.about-fact:first-child {
  padding-left: 0;
}

.about-fact + .about-fact {
  border-left: 1px solid #cbddea;
}

.about-fact strong {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.about-source {
  margin-top: -16px;
}

.about-belief-section {
  padding: clamp(88px, 12vw, 150px) 0;
  background: var(--blue-950);
  color: white;
}

.about-belief-inner {
  max-width: 1040px;
  text-align: center;
}

.about-belief-inner .eyebrow {
  color: #94cff1;
}

.about-belief-inner blockquote {
  max-width: 1020px;
  margin: 20px auto 30px;
  border: 0;
  color: white;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.about-belief-inner > p:last-child {
  max-width: 730px;
  margin: 0 auto;
  color: #c9dff2;
  font-size: 1.06rem;
}

.about-purpose-layout {
  display: grid;
  gap: 52px;
}

.about-vision-statement {
  max-width: 1030px;
}

.about-vision-statement h2 {
  margin-bottom: 0;
  color: var(--blue-950);
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  line-height: 1.05;
}

.about-mission-row {
  display: grid;
  padding-top: 38px;
  border-top: 1px solid #cbddea;
  align-items: start;
  gap: 40px 80px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.about-mission-row h3 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

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

.about-promise-line {
  margin: 0;
  padding: 25px 30px;
  border-left: 5px solid var(--green-500);
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue-950);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 850;
}

.about-promise-line span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-700);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-principles-grid {
  display: grid;
  margin-top: 44px;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-principle {
  padding: 28px 28px 0 0;
  border-top: 2px solid var(--line);
}

.about-principle + .about-principle {
  padding-left: 28px;
}

.about-principle > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  place-items: center;
}

.about-principle:nth-child(even) > span {
  background: var(--green-100);
  color: var(--green-700);
}

.about-principle p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-future-card {
  background:
    linear-gradient(105deg, rgba(11, 47, 103, 0.98) 0%, rgba(16, 69, 143, 0.95) 58%, rgba(20, 89, 184, 0.9) 100%);
}

@media (max-width: 1000px) {
  .about-hero {
    min-height: 590px;
  }

  .about-evidence-intro,
  .about-mission-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .about-evidence-intro {
    grid-template-areas:
      "eyebrow"
      "heading"
      "copy";
  }

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

  .about-principle:nth-child(3),
  .about-principle:nth-child(4) {
    margin-top: 34px;
  }
}

@media (max-width: 720px) {
  .about-hero {
    min-height: 560px;
    padding: 90px 0;
  }

  .about-hero::before {
    background-position: 44% center;
  }

  .about-hero::after {
    background: rgba(248, 252, 255, 0.88);
  }

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

  .about-fact,
  .about-fact:first-child,
  .about-fact:nth-child(2) {
    padding: 24px 0;
  }

  .about-fact + .about-fact {
    border-top: 1px solid #cbddea;
    border-left: 0;
  }

  .about-belief-inner {
    text-align: left;
  }

  .about-principle,
  .about-principle + .about-principle {
    margin-top: 28px;
    padding: 24px 0 0;
  }

  .about-principle:first-child {
    margin-top: 0;
  }
}

/* Mobile-first composition: keep the useful content close to the first viewport. */
.information-ribbon-short {
  display: none;
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 58px;
  }

  .brand {
    font-size: 1.02rem;
  }

  .brand-mark {
    width: 43px;
    height: 36px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    padding-top: 10px;
  }

  .information-ribbon {
    font-size: 0.68rem;
  }

  .information-ribbon .container {
    min-height: 32px;
    padding-block: 5px;
    gap: 7px;
    line-height: 1.25;
  }

  .information-ribbon-icon {
    width: 18px;
    height: 18px;
    font-size: 0.68rem;
  }

  .information-ribbon-long {
    display: none;
  }

  .information-ribbon-short {
    display: inline;
  }

  .section {
    padding: 46px 0;
  }

  .section-sm {
    padding: 36px 0;
  }

  .section-heading {
    margin-bottom: 24px;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  /* Homepage */
  .hero {
    padding: 24px 0 0;
  }

  .hero-grid {
    gap: 18px;
  }

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

  .hero-copy .lead {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-search {
    margin-top: 21px;
  }

  .hero-search > label {
    margin-bottom: 7px;
    font-size: 0.78rem;
  }

  .hero-search-field {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 5px 6px 5px 13px;
    border-radius: 16px;
  }

  .hero-search-field svg {
    width: 20px;
    height: 20px;
  }

  .hero-search-field input {
    padding: 9px 0;
    font-size: 0.88rem;
  }

  .hero-search-field button {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    grid-column: auto;
    border-radius: 11px;
    font-size: 0.8rem;
  }

  .hero-art {
    min-height: 154px;
    margin-top: 2px;
    border-radius: 24px;
  }

  .hero-art img {
    right: 4px;
    left: auto;
    width: auto;
    height: 150px;
    object-position: right bottom;
  }

  .hero-note {
    top: 29px;
    left: 22px;
    max-width: 150px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .hero-art .decorative-medical {
    display: none;
  }

  .hero .trust-row {
    margin-top: 14px;
    padding-bottom: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .hero .trust-item {
    display: grid;
    min-height: 58px;
    padding: 9px 6px;
    place-items: center;
    text-align: center;
  }

  .hero .trust-icon,
  .hero .trust-item small {
    display: none;
  }

  .hero .trust-item strong {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .topic-worlds .section-heading p:not(.eyebrow),
  .topic-worlds .section-heading .text-link {
    display: none;
  }

  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .series-card {
    min-height: 168px;
    padding: 15px;
    grid-column: auto;
    border-radius: 21px;
  }

  .series-card::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.58) 62%, rgba(255, 255, 255, 0.12));
  }

  .series-copy {
    max-width: 100%;
  }

  .series-copy h3 {
    max-width: 135px;
    font-size: 1.12rem;
    line-height: 1.08;
  }

  .series-copy p,
  .series-arrow {
    display: none;
  }

  /* Reusable mobile content cards */
  .content-grid {
    gap: 11px;
  }

  .content-card {
    min-height: 146px;
    padding: 6px;
    grid-template-columns: 40% minmax(0, 1fr);
    border-radius: 19px;
  }

  .card-visual {
    min-height: 134px;
    border-radius: 14px;
  }

  .card-thumbnail {
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 11px;
  }

  .card-play {
    right: 8px;
    bottom: 8px;
    left: auto;
    width: 31px;
    height: 31px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .card-play-icon {
    width: 22px;
    height: 22px;
    font-size: 0.62rem;
  }

  .card-body {
    padding: 13px 11px;
  }

  .card-labels {
    margin-bottom: 7px;
  }

  .card-specialty,
  .card-body p,
  .card-meta span:first-child {
    display: none;
  }

  .card-series {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .card-body h3 {
    margin-bottom: 7px;
    font-size: clamp(0.98rem, 4.4vw, 1.16rem);
    line-height: 1.18;
  }

  .card-meta {
    padding-top: 9px;
    justify-content: flex-end;
    font-size: 0.72rem;
  }

  .philosophy-art {
    display: none;
  }

  .approach-list {
    margin: 24px 0;
  }

  /* Library */
  .library-hero {
    min-height: 0;
    padding: 30px 0 24px;
  }

  .library-hero-grid {
    min-height: 0;
  }

  .library-hero h1 {
    margin-bottom: 12px;
  }

  .library-hero .lead {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .library-tools {
    top: 58px;
    padding: 9px 0;
  }

  .library-search {
    gap: 8px;
  }

  .search-input {
    min-height: 46px;
    padding-left: 45px;
  }

  .library-filter-row {
    gap: 7px;
  }

  .library-filter-row > .library-filter-group .filter-tabs {
    margin-inline: 0;
    padding-inline: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .library-filter-row > .library-filter-group .filter-tab,
  .filter-tab {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .specialty-filter-toggle {
    width: 38px;
    min-height: 38px;
    padding: 7px 8px;
  }

  .library-categories {
    gap: 34px;
  }

  .library-category-heading {
    margin-bottom: 14px;
    gap: 6px;
  }

  .library-category-heading h2 {
    margin-bottom: 4px;
    font-size: 1.55rem;
  }

  .library-category-heading p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  /* Detail pages: title and context first, then the video. */
  .detail-hero {
    padding: 23px 0 38px;
  }

  .breadcrumbs {
    margin-bottom: 19px;
    gap: 6px;
    font-size: 0.74rem;
  }

  .detail-grid,
  .detail-grid-pilot {
    gap: 0;
  }

  .detail-copy {
    display: contents;
  }

  .detail-copy .series-pill {
    order: 0;
    justify-self: start;
  }

  .detail-copy h1 {
    margin: 0 0 12px;
    order: 1;
  }

  .detail-intro {
    margin: 0 0 15px;
    order: 2;
    font-size: 1rem;
  }

  .content-format-row {
    margin: 0 0 22px;
    order: 3;
  }

  .content-format-row span {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .content-format-row span:nth-child(n + 3) {
    display: none;
  }

  .detail-media-column {
    width: min(100%, 340px);
    margin-inline: auto;
    order: 4;
    gap: 10px;
  }

  .detail-media-column .video-shell,
  .video-shell {
    padding: 7px;
    border-radius: 23px;
  }

  .video-shell video {
    border-radius: 17px;
  }

  .detail-summary {
    margin-top: 28px;
    padding-top: 24px;
    order: 5;
  }

  .detail-summary h2 {
    font-size: 1.45rem;
  }

  .fact-list-compact li {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
  }

  .explanation-grid {
    display: grid;
    margin-inline: -14px;
    padding: 0 14px 12px;
    grid-template-columns: none;
    grid-auto-columns: minmax(270px, 82vw);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .explanation-card {
    scroll-snap-align: start;
  }

  .explanation-image,
  .explanation-image img {
    min-height: 280px;
    height: 280px;
  }

  .disclaimer-card {
    padding: 17px;
  }

  /* About and secondary pages */
  .about-hero {
    min-height: 0;
    padding: 54px 0;
  }

  .about-hero .lead {
    font-size: 1rem;
  }

  .about-hero-note {
    margin-top: 20px;
  }

  .about-belief-section {
    padding: 62px 0;
  }

  .about-belief-inner blockquote {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .page-hero {
    padding: 38px 0 32px;
  }

  .site-footer {
    padding-top: 48px;
  }
}

@media (max-width: 390px) {
  .series-grid {
    gap: 8px;
  }

  .series-card {
    min-height: 156px;
    padding: 13px;
  }

  .series-copy h3 {
    font-size: 1.02rem;
  }

  .hero-search-field button {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .hero-search-field button::after {
    content: "→";
    font-size: 1rem;
  }
}

/* WissensKick Daily project page */
.footer-grid {
  gap: 32px;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(125px, 0.68fr));
}

.wkd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgb(215 173 74 / 24%), transparent 27%),
    linear-gradient(135deg, #fbf6eb 0%, #f3e9d3 64%, #efe1c2 100%);
  color: #111d3a;
}

.wkd-hero::before {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(17 29 58 / 9%);
  border-radius: 50%;
  content: "";
  inset: auto auto -245px -125px;
}

.wkd-hero-grid {
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.76fr);
  gap: clamp(40px, 7vw, 100px);
}

.wkd-hero-copy {
  position: relative;
  z-index: 2;
  padding: 82px 0;
}

.wkd-hero .eyebrow,
.wkd-download-card .eyebrow {
  color: #96721d;
}

.wkd-hero h1 {
  max-width: 760px;
  margin: 10px 0 25px;
  color: #0e1934;
}

.wkd-hero h1 span {
  color: #96721d;
}

.wkd-hero .lead {
  max-width: 660px;
  color: #505970;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.wkd-store-links {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.wkd-store-link {
  display: inline-flex;
  min-width: 170px;
  padding: 10px 17px;
  border: 1px solid #0e1934;
  border-radius: 13px;
  align-items: center;
  gap: 11px;
  background: #0e1934;
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.wkd-store-link:hover {
  background: #26324e;
  color: #fff;
  transform: translateY(-2px);
}

.wkd-store-link svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.wkd-store-link span {
  display: grid;
  line-height: 1.05;
}

.wkd-store-link small {
  margin-bottom: 3px;
  font-size: 0.65rem;
}

.wkd-store-link strong {
  font-size: 1rem;
}

.wkd-hero-visual {
  position: relative;
  display: flex;
  height: 720px;
  align-self: end;
  align-items: end;
  justify-content: center;
}

.wkd-device {
  position: relative;
  width: min(100%, 350px);
  padding: 9px;
  border: 1px solid #3e4350;
  border-radius: 52px;
  background: linear-gradient(145deg, #272b34, #080a0f 60%, #343944);
  box-shadow:
    0 30px 60px rgb(17 29 58 / 23%),
    inset 0 0 0 1px rgb(255 255 255 / 14%);
}

.wkd-device-screen {
  overflow: hidden;
  border-radius: 43px;
  background: #f7efd9;
}

.wkd-device-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.wkd-device-button {
  position: absolute;
  left: -5px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #171a21;
  box-shadow: inset 1px 0 rgb(255 255 255 / 16%);
}

.wkd-device-button-top {
  top: 24%;
  height: 58px;
}

.wkd-device-button-bottom {
  top: 35%;
  height: 88px;
}

.wkd-intro-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.wkd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(45px, 9vw, 130px);
}

.wkd-intro-grid h2,
.wkd-section-heading h2,
.wkd-showcase-heading h2,
.wkd-download-card h2 {
  color: #111d3a;
  letter-spacing: -0.04em;
}

.wkd-intro-grid h2 {
  max-width: 520px;
  font-size: clamp(2.45rem, 4.2vw, 4.5rem);
  line-height: 1.02;
}

.wkd-intro-copy {
  color: #4f5970;
  font-size: 1.08rem;
}

.wkd-intro-copy p + p {
  margin-top: 20px;
}

.wkd-purpose-section {
  padding: 0 0 110px;
}

.wkd-purpose-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid #e7d6b3;
  border-radius: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #faf4e8;
}

.wkd-purpose-grid article {
  position: relative;
  display: flex;
  min-height: 360px;
  padding: clamp(32px, 5vw, 64px);
  flex-direction: column;
  justify-content: center;
}

.wkd-purpose-grid article + article {
  border-left: 1px solid #e7d6b3;
  background: #111d3a;
  color: #dce1ed;
}

.wkd-purpose-grid h2 {
  max-width: 520px;
  margin: 12px 0 18px;
  color: #111d3a;
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.wkd-purpose-grid article + article h2 {
  color: #fff;
}

.wkd-purpose-grid article > p:last-child {
  max-width: 560px;
  color: #667086;
}

.wkd-purpose-grid article + article > p:last-child {
  color: #b6bfd1;
}

.wkd-features-section {
  padding-top: 110px;
  padding-bottom: 120px;
  background: #f5f7fa;
}

.wkd-section-heading {
  display: flex;
  margin-bottom: 52px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.wkd-section-heading > p {
  max-width: 390px;
  color: #667086;
}

.wkd-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wkd-feature-grid article {
  min-height: 290px;
  padding: 28px;
  border: 1px solid #e0e5ec;
  border-radius: 22px;
  background: #fff;
}

.wkd-feature-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 55px;
  border-radius: 15px;
  place-items: center;
  background: #f6e8c8;
  color: #111d3a;
  font-size: 1.25rem;
  font-weight: 900;
}

.wkd-feature-grid h3 {
  margin-bottom: 10px;
  color: #111d3a;
}

.wkd-feature-grid p {
  color: #667086;
  font-size: 0.94rem;
}

.wkd-showcase-section {
  padding-top: 115px;
  padding-bottom: 120px;
  overflow: hidden;
  background: #111d3a;
}

.wkd-showcase-heading {
  max-width: 790px;
  margin-bottom: 60px;
}

.wkd-showcase-heading .eyebrow {
  color: #d8ad4a;
}

.wkd-showcase-heading h2 {
  color: #fff;
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  line-height: 1;
}

.wkd-story-list {
  display: grid;
  gap: 34px;
}

.wkd-app-story {
  display: grid;
  min-height: 700px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 32px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(50px, 9vw, 130px);
  background:
    radial-gradient(circle at 88% 20%, rgb(216 173 74 / 12%), transparent 28%),
    rgb(255 255 255 / 4%);
}

.wkd-app-story:nth-child(even) {
  background:
    radial-gradient(circle at 12% 20%, rgb(216 173 74 / 12%), transparent 28%),
    rgb(255 255 255 / 4%);
}

.wkd-app-story:nth-child(even) .wkd-story-copy {
  order: 2;
}

.wkd-app-story:nth-child(even) .wkd-device {
  order: 1;
}

.wkd-story-copy {
  max-width: 570px;
}

.wkd-story-copy .eyebrow {
  color: #d8ad4a;
}

.wkd-story-copy h3 {
  margin: 12px 0 22px;
  color: #fff;
  font-size: var(--type-heading-2);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.wkd-story-copy > p:last-child {
  color: #adb7ca;
  font-size: 1.04rem;
}

.wkd-device-story {
  width: min(100%, 340px);
  justify-self: center;
  box-shadow:
    0 34px 70px rgb(0 0 0 / 38%),
    inset 0 0 0 1px rgb(255 255 255 / 14%);
}

.wkd-download-section {
  padding-top: 110px;
  padding-bottom: 70px;
}

.wkd-download-card {
  display: grid;
  padding: clamp(32px, 6vw, 76px);
  border: 1px solid #e7d6b3;
  border-radius: 30px;
  align-items: center;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 75px);
  background:
    radial-gradient(circle at 15% 50%, rgb(216 173 74 / 18%), transparent 28%),
    #faf4e8;
}

.wkd-download-card > img {
  width: 160px;
  height: 160px;
  border-radius: 38px;
  box-shadow: 0 18px 35px rgb(17 29 58 / 16%);
}

.wkd-download-card h2 {
  margin: 6px 0 12px;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.wkd-download-card > div > p:not(.eyebrow) {
  max-width: 650px;
  color: #5d667b;
}

.wkd-legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 92px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(circle at 88% 8%, rgb(215 173 74 / 22%), transparent 25rem),
    linear-gradient(135deg, #fbf6eb 0%, #f3e9d3 64%, #efe1c2 100%);
  color: #111d3a;
}

.wkd-legal-hero::before {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(17 29 58 / 9%);
  border-radius: 50%;
  content: "";
  inset: auto auto -245px -125px;
}

.wkd-legal-shell {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(34px, 7vw, 96px);
}

.wkd-legal-heading {
  position: sticky;
  top: 28px;
}

.wkd-legal-app {
  display: inline-flex;
  margin-bottom: 36px;
  align-items: center;
  gap: 14px;
  color: #111d3a;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.wkd-legal-app img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  box-shadow: 0 12px 26px rgb(17 29 58 / 15%);
}

.wkd-legal-heading .eyebrow {
  color: #96721d;
}

.wkd-legal-heading h1 {
  margin: 10px 0 18px;
  color: #0e1934;
  hyphens: auto;
}

.wkd-legal-heading > p:last-child {
  color: #5d667b;
}

.wkd-legal-card {
  max-width: none;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid #e7d6b3;
  border-radius: 30px;
  background: rgb(255 252 245 / 92%);
  box-shadow: 0 24px 60px rgb(17 29 58 / 9%);
}

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

.wkd-legal-card h2 {
  color: #111d3a;
  font-size: var(--type-heading-3);
}

.wkd-legal-card a:not(.button) {
  color: #6f5414;
  font-weight: 700;
  text-decoration-color: #d8ad4a;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.wkd-legal-links {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e7d6b3;
}

.wkd-legal-links .button {
  background: #0e1934;
  color: #fff;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  .wkd-legal-shell {
    grid-template-columns: 1fr;
  }

  .wkd-legal-heading {
    position: static;
  }

  .wkd-legal-app {
    margin-bottom: 24px;
  }
}

@media (max-width: 820px) {
  .wkd-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wkd-hero-copy {
    padding: 60px 0 34px;
  }

  .wkd-hero-visual {
    height: auto;
    padding-top: 36px;
    align-self: auto;
    align-items: flex-start;
  }

  .wkd-device-hero {
    width: min(100%, 305px);
  }

  .wkd-app-story {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .wkd-app-story:nth-child(even) .wkd-story-copy,
  .wkd-app-story:nth-child(even) .wkd-device {
    order: initial;
  }

  .wkd-intro-grid,
  .wkd-purpose-grid {
    grid-template-columns: 1fr;
  }

  .wkd-purpose-grid article + article {
    border-top: 1px solid #e7d6b3;
    border-left: 0;
  }

  .wkd-section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .footer-grid,
  .wkd-feature-grid {
    grid-template-columns: 1fr;
  }

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

  .wkd-hero-copy {
    padding-top: 44px;
  }

  .wkd-store-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wkd-store-link {
    min-width: 0;
    padding: 10px 12px;
  }

  .wkd-hero-visual {
    height: auto;
  }

  .wkd-device-hero {
    width: min(100%, 280px);
  }

  .wkd-device {
    padding: 7px;
    border-radius: 43px;
  }

  .wkd-device-screen {
    border-radius: 36px;
  }

  .wkd-intro-section,
  .wkd-features-section,
  .wkd-showcase-section,
  .wkd-download-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .wkd-purpose-section {
    padding-bottom: 76px;
  }

  .wkd-purpose-grid article {
    min-height: 0;
    padding: 34px 26px;
  }

  .wkd-feature-grid article {
    min-height: 0;
  }

  .wkd-feature-grid article > span {
    margin-bottom: 32px;
  }

  .wkd-story-list {
    gap: 20px;
  }

  .wkd-app-story {
    padding: 30px 24px;
    border-radius: 24px;
    gap: 34px;
  }

  .wkd-story-copy h3 {
    margin-bottom: 16px;
  }

  .wkd-device-story {
    width: min(100%, 280px);
  }

  .wkd-download-card {
    grid-template-columns: 1fr;
  }

  .wkd-download-card > img {
    width: 120px;
    height: 120px;
    border-radius: 29px;
  }
}

@media (max-width: 430px) {
  .wkd-store-links {
    grid-template-columns: 1fr;
  }
}

/* DESIGN SYSTEM CONTRACT
   Keep this final in the file. New typography must use semantic tokens. */

.site-page :is(button, input, textarea, select) {
  font-family: inherit;
}

.site-page--library .library-hero,
.site-page--about .about-hero {
  min-height: var(--image-hero-height);
  padding-block: 0;
}

.site-page--library .library-hero-grid {
  min-height: var(--image-hero-height);
}

.site-page .page-hero {
  padding-block: 3rem 2.5rem;
}

.site-page--detail .detail-hero {
  padding-block: 3rem;
}

.site-page--about .about-hero .eyebrow,
.site-page--library .library-hero .eyebrow {
  margin-bottom: 0.625rem;
}

.site-page--about .about-hero .page-title,
.site-page--library .library-hero .page-title {
  margin-bottom: 1rem;
}

.site-page--about .about-hero-note {
  margin-top: 1rem;
}

@media (min-width: 721px) {
  .site-page--home .hero {
    padding-top: 3.75rem;
  }

  .site-page--home .hero-grid {
    min-height: 28.75rem;
  }

  .site-page--home .hero-art {
    min-height: 26.875rem;
  }

  .site-page--home .hero .trust-row {
    margin-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .site-page--project .wkd-hero-grid {
    min-height: 37.5rem;
  }

  .site-page--project .wkd-hero-copy {
    padding-block: 3.75rem;
  }
}

.site-page .page-title {
  font-family: var(--font-sans);
  font-size: var(--type-page-title);
  font-weight: var(--weight-page-title);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}

.site-page--home .hero .lead,
.site-page--library .library-hero .lead,
.site-page--detail .detail-intro,
.site-page--contact .page-hero .lead,
.site-page--standard .page-hero .lead {
  font-size: var(--type-lead);
}

.site-page :is(
  .content-card .card-series,
  .content-card .card-specialty,
  .detail-copy .series-pill,
  .library-tools .filter-tab,
  .breadcrumbs .breadcrumb-series
) {
  font-size: var(--type-caption);
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 28px;
    --space-section: 2.875rem;
    --space-section-compact: 2.25rem;
    --type-page-title: clamp(1.875rem, 7.5vw, 2.25rem);
    --type-heading-2: clamp(1.8rem, 8vw, 2.35rem);
    --type-section-title-compact: clamp(1.75rem, 7vw, 2.1rem);
    --type-lead: 0.92rem;
    --image-hero-height: 15.5rem;
  }

  .site-page .page-hero {
    padding-block: 1.875rem 1.625rem;
  }

  .site-page--detail .detail-hero {
    padding-block: 1.5rem 2rem;
  }

  .site-page--about .about-hero::before {
    background-position: 86% center;
    background-size: auto 100%;
  }

  .site-page--about .about-hero::after {
    background: linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(248, 252, 255, 0.9) 58%, rgba(248, 252, 255, 0.7) 100%);
  }

  .site-page--about .about-hero .lead,
  .site-page--about .about-hero-note {
    display: none;
  }

  .site-page--about .about-origin-section {
    padding-block: 2rem;
  }

  .site-page--about .about-story-grid {
    gap: 1.5rem;
  }

  .site-page--about .about-story-heading h2 {
    margin-bottom: 0;
    font-size: var(--type-section-title-compact);
    line-height: var(--leading-heading);
  }
}
