/* Starwit site theme — follows the Starwit Impress master (templates/WAS-Workshop.odp) */

@font-face {
  font-family: "Inter Local";
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* deck palette */
  --navy: #0b1b2e;
  --navy-2: #13263d;
  --ink: #1c2733;
  --muted: #5b6b7d;
  --muted-dark: #9fb3c8;
  --panel: #f2f5f9;
  --white: #ffffff;
  --line: #dde4ec;
  --blue: #1eb4e7;
  --orange: #f48326;
  --yellow: #ffcb04;
  /* accessible variants for small text on light backgrounds */
  --blue-text: #0a6f96;
  --orange-text: #b04f06;
  --chapter-gradient: linear-gradient(135deg, #78ccfd 0%, #b9e3fd 45%, #eef8ff 100%);
  --accent-bar: linear-gradient(90deg, var(--blue) 0 48%, transparent 48% 56%, var(--orange) 56% 76%, transparent 76% 84%, var(--yellow) 84% 100%);
  --signet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cg fill='%231e8fd0' fill-opacity='.55'%3E%3Cpolygon points='201,429 198.9,37.8 531.5,232.1'/%3E%3Cpolygon points='199.4,233.4 28.1,134.3 198.9,37.8' opacity='.7'/%3E%3Cpolygon points='201,428.5 29.4,329.1 199.4,233.4' opacity='.85'/%3E%3Cpolygon points='372.2,528.4 201,428.5 371,327' opacity='.7'/%3E%3Cpolygon points='531.5,232.1 359.9,132.3 530.7,30.8' opacity='.85'/%3E%3C/g%3E%3C/svg%3E");
  --sans: "Inter Local", Inter, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 7vw, 112px);
  --frame-color: var(--navy);
}

* { box-sizing: border-box; }
html { background: var(--white); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
h1 { margin-bottom: 22px; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
h1 em, h2 em { font-style: normal; color: var(--blue-text); }

/* deck title marker: blue / orange / yellow dash above headings */
h1::before, .section-heading h2::before, .prose h2::before {
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  display: block;
  background: var(--accent-bar);
  content: "";
}

/* deck label: small, spaced, uppercase */
.eyebrow { margin: 0 0 14px; color: var(--orange-text); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-number { margin-right: 12px; color: var(--ink); letter-spacing: .04em; }

/* viewfinder corner brackets */
.frame { position: relative; }
.frame::after {
  --s: 30px;
  --t: 2px;
  position: absolute;
  inset: clamp(14px, 2.4vw, 30px);
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--frame-color) 0 0) left top / var(--s) var(--t),
    linear-gradient(var(--frame-color) 0 0) left top / var(--t) var(--s),
    linear-gradient(var(--frame-color) 0 0) right top / var(--s) var(--t),
    linear-gradient(var(--frame-color) 0 0) right top / var(--t) var(--s),
    linear-gradient(var(--frame-color) 0 0) left bottom / var(--s) var(--t),
    linear-gradient(var(--frame-color) 0 0) left bottom / var(--t) var(--s),
    linear-gradient(var(--frame-color) 0 0) right bottom / var(--s) var(--t),
    linear-gradient(var(--frame-color) 0 0) right bottom / var(--t) var(--s);
  background-repeat: no-repeat;
  content: "";
}
.frame > * { position: relative; z-index: 1; }

/* ---------- header (white content-slide bar) ---------- */
.site-header { position: relative; z-index: 2; min-height: 76px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark { width: 34px; aspect-ratio: 1; display: inline-block; overflow: hidden; background: url("logo-starwit.svg") center / contain no-repeat; color: transparent; font-size: 0; }
.brand-light { color: var(--muted); font-weight: 400; }
.main-nav { display: flex; gap: clamp(20px, 4vw, 48px); font-size: 14px; font-weight: 600; }
.main-nav a { white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 160ms ease, color 160ms ease; }
.main-nav a:hover { border-color: var(--blue); }

/* ---------- buttons & links ---------- */
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; transition: background 160ms ease, color 160ms ease; }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-2); }
.button-light { background: var(--blue); color: var(--navy); }
.button-light:hover { background: var(--yellow); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-text); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--navy); }
.arrow { color: var(--orange); font-size: 20px; transition: transform 160ms ease; }
a:hover .arrow { transform: translate(3px, -3px); }

/* ---------- home hero (title slide over video) ---------- */
.home-hero {
  --frame-color: #ffffffb0;
  min-height: min(760px, calc(100svh - 76px));
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
}
.home-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(11 27 46 / 96%) 0%, rgb(11 27 46 / 82%) 45%, rgb(11 27 46 / 30%) 100%);
  content: "";
}
.home-hero > .home-hero-video { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { width: 100%; max-width: 880px; animation: rise-in 600ms ease-out both; }
.home-hero .eyebrow { color: var(--orange); }
.home-hero h1 { max-width: 860px; font-size: clamp(46px, 7.5vw, 100px); line-height: 1; letter-spacing: -.04em; }
.home-hero h1::before { width: 56px; height: 5px; margin-bottom: 26px; }
.home-hero h1 em { color: var(--blue); }
.hero-deck { max-width: 620px; margin-bottom: 32px; color: var(--muted-dark); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.home-hero .button-dark { background: var(--blue); color: var(--navy); }
.home-hero .button-dark:hover { background: var(--yellow); }
.home-hero .text-link { color: var(--white); }
.home-hero .text-link:hover { color: var(--blue); }
.hero-index { max-width: 640px; margin-top: clamp(48px, 7vw, 90px); padding-top: 16px; display: flex; gap: 16px; border-top: 1px solid #ffffff40; color: var(--muted-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hero-index span:first-child { color: var(--yellow); font-weight: 700; }

/* ---------- home sections ---------- */
.section-block { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-heading { margin-bottom: 36px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading h2 { max-width: 640px; margin-bottom: 0; }

/* products: navy product cards with bracket icons (deck "Unsere Produkte") */
.product-overview { background: var(--white); }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.feature-link { --accent: var(--blue); min-height: 220px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--navy); color: var(--white); transition: background 160ms ease, transform 160ms ease; }
.feature-link:nth-child(4n+2) { --accent: var(--orange); }
.feature-link:nth-child(4n+3) { --accent: var(--yellow); }
.feature-link:hover { background: var(--navy-2); transform: translateY(-3px); }
.feature-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  background:
    linear-gradient(var(--accent) 0 0) left top / 11px 3px,
    linear-gradient(var(--accent) 0 0) left top / 3px 11px,
    linear-gradient(var(--accent) 0 0) right top / 11px 3px,
    linear-gradient(var(--accent) 0 0) right top / 3px 11px,
    linear-gradient(var(--accent) 0 0) left bottom / 11px 3px,
    linear-gradient(var(--accent) 0 0) left bottom / 3px 11px,
    linear-gradient(var(--accent) 0 0) right bottom / 11px 3px,
    linear-gradient(var(--accent) 0 0) right bottom / 3px 11px,
    radial-gradient(circle, var(--accent) 0 5px, transparent 5.5px) center / 100% 100%;
  background-repeat: no-repeat;
}
.feature-tag { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.feature-link strong { font-size: 21px; font-weight: 700; line-height: 1.2; }
.feature-link .arrow { margin-top: auto; color: var(--accent); }

/* updates: white rows on the light deck panel */
.update-overview { background: var(--panel); }
.update-list { display: grid; gap: 10px; }
.update-line { min-height: 68px; padding: 14px 22px; display: grid; grid-template-columns: minmax(110px, .3fr) 1fr auto; align-items: center; gap: 18px; background: var(--white); border-left: 4px solid var(--blue); transition: border-color 160ms ease; }
.update-line:nth-child(3n+2) { border-color: var(--orange); }
.update-line:nth-child(3n+3) { border-color: var(--yellow); }
.update-line > span:first-child { color: var(--orange-text); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.update-line strong { font-size: 16px; font-weight: 600; }
.update-line:hover strong { color: var(--blue-text); }

/* closing band: quote slide */
.closing-band { --frame-color: #ffffff60; padding: clamp(72px, 9vw, 110px) var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 18px 42px; align-items: end; background: var(--navy); color: var(--white); }
.closing-band::before { position: relative; z-index: 1; grid-column: 1 / -1; width: 58px; height: 46px; margin: 0 0 14px 8px; background: linear-gradient(90deg, var(--orange) 0 38%, transparent 38% 62%, var(--orange) 62% 100%); transform: skewX(-16deg); content: ""; }
.closing-band .eyebrow { grid-column: 1 / -1; order: 1; margin: 0; color: var(--muted-dark); }
.closing-band h2 { max-width: 760px; margin: 0; }
.closing-band h2 em { color: var(--yellow); }

/* ---------- listing intros: chapter slide ---------- */
.page-intro {
  min-height: 380px;
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(52px, 7vw, 84px);
  overflow: hidden;
  background: var(--signet) right max(4vw, 24px) center / clamp(220px, 34vw, 460px) no-repeat, var(--chapter-gradient);
}
.page-intro .eyebrow { color: var(--navy); }
.page-intro h1 { max-width: 760px; }
.page-intro h1 em { color: var(--navy); }
.page-intro > p:last-child { max-width: 560px; margin-bottom: 0; color: var(--ink); font-size: 18px; }

/* products listing: cards with number, like the use-case slides */
.product-directory { padding: clamp(40px, 6vw, 72px) var(--gutter) 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: var(--white); }
.product-row { position: relative; padding: 0; display: flex; flex-direction: column; background: var(--panel); transition: transform 160ms ease; }
.product-row:hover { transform: translateY(-3px); }
.product-card-image { order: -1; overflow: hidden; background: var(--navy); }
.product-card-image img { width: 100%; aspect-ratio: 1.8; object-fit: cover; transition: transform 300ms ease; }
.product-row:hover .product-card-image img { transform: scale(1.03); }
.product-number { position: absolute; top: 0; left: 0; padding: 10px 14px; background: var(--navy); color: var(--yellow); font-size: 15px; font-weight: 800; letter-spacing: .06em; }
.product-card-copy { padding: 22px 24px 8px; display: grid; gap: 6px; }
.product-card-copy .eyebrow { margin-bottom: 0; }
.product-card-copy strong { font-size: 24px; font-weight: 700; line-height: 1.2; }
.product-card-copy > span:last-child { color: var(--muted); font-size: 14px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.product-row > .arrow { padding: 6px 24px 22px; }

/* updates listing */
.updates-grid { padding: clamp(40px, 6vw, 72px) var(--gutter) 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: var(--panel); }
.update-card { min-width: 0; display: flex; flex-direction: column; align-items: start; background: var(--white); transition: transform 160ms ease; }
.update-card:hover { transform: translateY(-3px); }
.update-card-image { width: 100%; overflow: hidden; background: var(--navy); }
.update-card-image img { width: 100%; aspect-ratio: 1.8; object-fit: cover; transition: transform 300ms ease; }
.update-card:hover .update-card-image img { transform: scale(1.03); }
.update-card-meta { width: 100%; padding: 18px 22px 6px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.update-card-meta time { color: var(--orange-text); }
.update-card > strong { padding: 0 22px; margin-bottom: 8px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.update-summary { padding: 0 22px; margin-bottom: 16px; color: var(--muted); font-size: 14px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.update-card > .text-link { margin-top: auto; padding: 0 22px 22px; }

/* ---------- detail pages ---------- */
.detail-hero { padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(44px, 6vw, 70px); background: var(--navy); color: var(--white); }
.detail-hero .eyebrow { color: var(--orange); }
.detail-hero h1 { max-width: 920px; font-size: clamp(36px, 5vw, 62px); }
.detail-hero h1 em { color: var(--blue); }
.detail-deck { max-width: 740px; margin-bottom: 0; color: var(--muted-dark); font-size: 18px; }
.update-detail-hero { background: var(--signet) right max(4vw, 24px) center / clamp(180px, 26vw, 360px) no-repeat, var(--chapter-gradient); color: var(--ink); }
.update-detail-hero .eyebrow { color: var(--navy); }
.update-detail-hero time { margin-left: 10px; color: var(--ink); font-weight: 600; }

.prose { max-width: 860px; margin: 0 auto; padding: 48px 28px 56px; color: #34404d; }
.prose h2 { margin: 48px 0 16px; color: var(--ink); font-size: clamp(26px, 3vw, 34px); }
.prose h3 { margin: 34px 0 12px; color: var(--ink); font-size: 21px; }
.prose p, .prose li { font-size: 16px; line-height: 1.8; }
.prose a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--blue); content: ""; }
.prose ol { padding-left: 24px; }
.prose ol li::marker { color: var(--orange-text); font-weight: 700; }
.prose figure { margin: 30px 0; }
.prose img { width: 100%; height: auto; }
.prose figcaption { padding-top: 8px; color: var(--muted); font-size: 12px; }
.prose iframe { width: 100%; min-height: 360px; border: 0; }
.prose blockquote { margin: 28px 0; padding: 18px 24px; background: var(--panel); border-left: 4px solid var(--orange); }
.back-link { margin: 0 var(--gutter) 72px; display: inline-flex; color: var(--blue-text); font-size: 14px; font-weight: 700; }
.back-link:hover { color: var(--navy); }

/* ---------- product slide show (inside the white content column) ---------- */
.slideshow { max-width: 860px; margin: 0 auto 64px; padding: 8px 28px 0; background: var(--white); color: var(--ink); }
.slideshow-head { margin: 0 0 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.slideshow-head .eyebrow { color: var(--orange-text); }
.slideshow-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.slideshow-head h2::before { width: 38px; height: 4px; margin-bottom: 18px; display: block; background: var(--accent-bar); content: ""; }
.slideshow-controls { display: none; align-items: center; gap: 14px; }
.slideshow.is-ready .slideshow-controls { display: flex; }
.slideshow-controls button { width: 46px; height: 46px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); font: 700 18px/1 var(--sans); cursor: pointer; transition: background 160ms ease, color 160ms ease, opacity 160ms ease; }
.slideshow-controls button:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.slideshow-controls button:disabled { opacity: .3; cursor: default; }
.slideshow-controls button:focus-visible, .slideshow-track:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.slideshow-count { min-width: 64px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-align: center; }
.slideshow-track { margin: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slideshow-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide a { display: block; border: 1px solid var(--line); }
.slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--panel); }
.slide figcaption { padding-top: 12px; display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.slide figcaption span { color: var(--orange-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; }
.slideshow-dots { margin: 16px 0 0; display: none; gap: 8px; }
.slideshow.is-ready .slideshow-dots { display: flex; }
.slideshow-dots span { width: 22px; height: 4px; background: var(--line); cursor: pointer; transition: background 160ms ease, width 160ms ease; }
.slideshow-dots span.is-active { width: 38px; background: var(--accent-bar); }

/* ---------- footer (slide footer line) ---------- */
.site-footer { padding: 26px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; background: var(--navy); color: var(--muted-dark); font-size: 12px; }
.site-footer > span { margin-right: auto; }
.site-footer a:hover { color: var(--white); }
.brand-footer { color: var(--white); font-size: 13px; }
.brand-footer .brand-mark { width: 28px; }
.site-footer a:focus-visible { outline-color: var(--yellow); }

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

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

@media (max-width: 760px) {
  .site-header { min-height: 64px; }
  .brand-light { display: none; }
  .home-hero { min-height: min(680px, calc(100svh - 64px)); padding-top: 76px; padding-bottom: 64px; }
  .home-hero::before { background: linear-gradient(90deg, rgb(11 27 46 / 92%), rgb(11 27 46 / 60%)); }
  .hero-index { margin-top: 44px; }
  .section-heading { align-items: start; flex-direction: column; }
  .update-line { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .update-line > span:first-child { grid-column: 1 / -1; }
  .closing-band { grid-template-columns: 1fr; }
  .closing-band .button { justify-self: start; }
  .page-intro { min-height: 0; background-size: 0 0, auto; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-link { min-height: 170px; padding: 20px 16px 16px; }
  .feature-icon { margin-bottom: 10px; }
  .feature-link strong { font-size: 18px; }
  .product-directory, .updates-grid { grid-template-columns: 1fr; }
  .update-detail-hero { background-size: 0 0, auto; }
  .slideshow-head { align-items: start; flex-direction: column; }
  .slideshow { padding-right: 20px; padding-left: 20px; }
  .slide figcaption { font-size: 13px; }
  .prose { padding-right: 20px; padding-left: 20px; }
  .prose iframe { min-height: 240px; }
  .site-footer > span { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .home-hero-video { display: none; }
}

/* ---------- about us ---------- */
.team-photo { margin: clamp(40px, 6vw, 72px) 0 0; padding: 0 var(--gutter); }
.team-photo img { width: 100%; height: auto; }
.team-photo figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; }
.founding-team { background: var(--white); }
.team-story { max-width: 760px; margin-bottom: 40px; color: #34404d; font-size: 17px; line-height: 1.8; }
.founder-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.founder-card { --accent: var(--blue); min-height: 210px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--navy); color: var(--white); transition: background 160ms ease, transform 160ms ease; }
.founder-card:nth-child(2) { --accent: var(--orange); }
.founder-card:nth-child(3) { --accent: var(--yellow); }
.founder-card:hover { background: var(--navy-2); transform: translateY(-3px); }
.founder-card strong { font-size: 24px; font-weight: 700; line-height: 1.2; }
.founder-link { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; color: var(--muted-dark); font-size: 13px; font-weight: 600; }
.founder-link .arrow { color: var(--accent); }
@media (max-width: 760px) {
  .main-nav { gap: 16px; font-size: 13px; }
  .brand { gap: 8px; }
  .founder-list { grid-template-columns: 1fr; }
  .founder-card { min-height: 160px; }
}

/* ---------- photo grid in posts (portrait photos side by side) ---------- */
.prose .photo-grid { margin: 34px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prose .photo-grid figure { margin: 0; }
.prose .photo-grid img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 760px) {
  .prose .photo-grid { grid-template-columns: 1fr; }
}

/* ---------- code & wide media in prose ---------- */
.prose code { padding: 1px 6px; background: var(--panel); color: var(--ink); font: 600 .9em/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.prose pre { margin: 18px 0 24px; padding: 16px 20px; overflow-x: auto; background: var(--navy); color: var(--white); }
.prose pre code { padding: 0; background: none; color: inherit; font-weight: 500; }
.prose figcaption code { font-size: .95em; }
.prose figure.wide { width: min(1200px, 100vw - 2 * var(--gutter)); margin-left: 50%; transform: translateX(-50%); }
.prose figure.wide img, .prose figure.wide video { width: 100%; height: auto; display: block; background: var(--navy); }
.prose figure.wide > a { display: block; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .prose figure.wide { width: calc(100vw - 40px); }
}

/* ---------- embedded video player (e.g. media.ccc.de) ---------- */
.prose .video-embed iframe { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; background: var(--navy); }

/* ---------- small portrait next to text ---------- */
.prose figure.portrait { float: right; width: 160px; margin: 6px 0 16px 28px; }
.prose figure.portrait img { width: 100%; height: auto; display: block; }
.prose figure.portrait figcaption { margin-top: 8px; }
.prose h2 { clear: both; }
@media (max-width: 560px) { .prose figure.portrait { width: 120px; margin-left: 18px; } }
