/* Dominik Leininger preview · DOMINIK-PREVIEW-20260928 · WEB-PROCESS V1.1 */

:root {
  --paper: #f7f4ee;
  --ink: #243a33;
  --soft: #ebe7de;
  --line: #d5d9ce;
  --green: #324e42;
  --on-green: #fffdf6;
  --muted: #606b61;
  --warm: #9a6b2f;
  --on-warm: #fffdf6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, sans-serif;
  --space: 8px;
  --header: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #202521;
    --ink: #ecede5;
    --soft: #2c332e;
    --line: #4b574d;
    --green: #c9d7bc;
    --on-green: #1e3027;
    --muted: #b7c0b3;
    --warm: #e0b77a;
    --on-warm: #1e3027;
    color-scheme: dark;
  }
}

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

html {
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
  max-width: 65ch;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
}

a {
  color: var(--green);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.contact :focus-visible {
  outline-color: var(--on-green);
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 30;
  padding: 12px 16px;
  background: var(--green);
  color: var(--on-green);
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 48px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 12px;
  max-width: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro {
  margin-top: 16px;
}

.preview-banner {
  margin: 0;
  max-width: none;
  padding: 10px 24px;
  background: var(--green);
  color: var(--on-green);
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}

.brand {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.brand-sub {
  display: block;
  margin-top: 4px;
  max-width: none;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html:not(.js) .site-nav {
  padding: 8px 0 16px;
}

.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 8px 24px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 28px color-mix(in srgb, var(--ink) 12%, transparent);
}

.js .site-nav.is-open {
  display: flex;
}

.js .site-nav a {
  width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-section {
  padding-bottom: 24px;
}

.portrait {
  margin: 0;
  width: min(100%, 640px, calc(60vh * 0.8));
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  justify-self: start;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-copy p {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: var(--on-green);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  text-underline-offset: 3px;
}

.pillars {
  padding-top: 24px;
}

.pillars-grid {
  display: grid;
  gap: 32px;
}

.pillar h3 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.2;
}

.motto {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.motto blockquote {
  margin: 0;
}

.motto p {
  max-width: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.5vw, 28px);
  line-height: 1.35;
}

.motto figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--soft);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.card[aria-expanded="true"] {
  border-color: var(--green);
}

.card-faces {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-face {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
}

.card-action {
  display: none;
  margin-top: auto;
  padding-top: 8px;
  min-height: 44px;
  align-items: center;
  color: var(--green);
  font-size: 15px;
}

.card-num {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.card-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

.card-copy {
  font-size: 17px;
  line-height: 1.65;
}

.js .card-faces {
  display: grid;
}

.js .card-face {
  grid-area: 1 / 1;
}

.js .card-action {
  display: inline-flex;
}

.js .card-back {
  opacity: 0;
}

.js .card[aria-expanded="true"] .card-front {
  opacity: 0;
}

.js .card[aria-expanded="true"] .card-back {
  opacity: 1;
}

.panels {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.panel,
.emphasis-block,
.boundary,
.fee,
.profile {
  border-radius: 6px;
}

.panel,
.emphasis-block,
.profile,
.fee {
  background: var(--soft);
  padding: 24px;
}

.panel h3,
.emphasis-block h3,
.boundary h3 {
  margin-bottom: 16px;
}

.panel p + p,
.emphasis-block p + p,
.about-main p + p,
.faq-body p + p {
  margin-top: 16px;
}

.emphasis-block,
.boundary {
  margin-top: 16px;
}

.boundary {
  padding: 24px;
  border: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.35;
}

.keywords {
  margin-top: 16px;
  max-width: none;
  font-size: 14px;
  color: var(--muted);
}

.fee {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 32px;
}

.fee-line {
  max-width: none;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
}

.badge {
  display: inline-block;
  margin: 0;
  max-width: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--on-warm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.about-grid {
  display: grid;
  gap: 32px;
}

.pullquote {
  margin: 24px 0;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--green);
}

.pullquote p {
  max-width: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 28px);
  line-height: 1.3;
}

.about-main h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.profile {
  align-self: start;
}

.profile ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.profile li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.profile li:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-grid {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}

.track {
  position: relative;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.track li {
  position: relative;
  padding: 0 0 28px 32px;
}

.track li:last-child {
  padding-bottom: 0;
}

.track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--line);
}

.track li.is-current::before {
  background: var(--green);
  box-shadow: none;
}

.when {
  margin: 0;
  max-width: none;
  font-size: 14px;
  color: var(--muted);
}

.what {
  margin: 4px 0 0;
  max-width: none;
}

.now {
  display: inline-block;
  margin-left: 8px;
  color: var(--green);
  font-size: 14px;
}

.research {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.research li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.research li:last-child {
  border-bottom: 1px solid var(--line);
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}

.research h3 {
  margin: 12px 0 8px;
}

.citation,
.talk-title {
  font-size: 14px;
  line-height: 1.55;
}

.citation {
  color: var(--muted);
}

.talk-title {
  margin-top: 8px;
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq-list {
  margin-top: 24px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::marker {
  content: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--green);
}

.faq[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 0 24px;
}

.faq-body .badge {
  margin-bottom: 16px;
}

.contact {
  background: var(--green);
  color: var(--on-green);
}

.contact h2,
.contact p {
  color: inherit;
}

.contact .button {
  margin-top: 24px;
  background: var(--on-green);
  color: var(--green);
}

.status {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--on-green) 55%, transparent);
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-name {
  margin: 0 0 4px;
  max-width: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
}

.footer-role {
  margin: 0;
  max-width: none;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.legal-actions button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-status {
  margin-top: 8px;
  padding-top: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js .card-face {
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .js .card-back {
    transform: translateY(8px);
  }

  .js .card[aria-expanded="true"] .card-front {
    transform: translateY(-8px);
  }

  .js .card[aria-expanded="true"] .card-back {
    transform: none;
  }
}

@media (min-width: 601px) {
  .hero {
    grid-template-columns: 11fr 9fr;
    column-gap: 40px;
  }

  .hero-copy {
    order: -1;
  }

  .portrait {
    width: 100%;
    max-width: 640px;
    justify-self: end;
  }

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

@media (min-width: 961px) {
  .wrap {
    width: min(1120px, 86%);
  }

  .section {
    padding: 72px 0;
  }

  .hero-section {
    padding-bottom: 32px;
  }

  .pillars {
    padding-top: 32px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px 20px;
    width: auto;
    padding: 0;
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .js .site-nav a {
    width: auto;
  }

  .pillars-grid,
  .panels,
  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
  }

  .timeline-grid {
    gap: 64px;
  }
}

@media (forced-colors: active) {
  .card,
  .button,
  .nav-toggle,
  .badge {
    border: 1px solid ButtonText;
  }

  .card[aria-expanded="true"] {
    border-color: Highlight;
  }
}
