:root {
  --coal: #090908;
  --graphite: #141512;
  --paper: #f8f4eb;
  --mist: #dfe8df;
  --line: rgba(248, 244, 235, 0.16);
  --line-dark: rgba(7, 9, 9, 0.18);
  --teal: #24b8a4;
  --saffron: #e8a529;
  --brick: #b95b35;
  --leaf: #6e9b63;
  --blue: #315d87;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-mono: "IBM Plex Mono", "Menlo", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 10% 12%, rgba(36, 184, 164, 0.11), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(232, 165, 41, 0.1), transparent 22rem),
    linear-gradient(145deg, #090908, #111410 58%, #10100d);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 8, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 650;
  color: rgba(248, 244, 235, 0.82);
}

.mark {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: 50%;
  position: relative;
  background: rgba(247, 243, 234, 0.06);
}

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

.mark::before {
  inset: 0.45rem;
  border: 2px solid var(--teal);
}

.mark::after {
  inset: 0.92rem;
  background: var(--saffron);
  box-shadow: 0 -0.75rem 0 -0.23rem var(--blue), 0.72rem 0.3rem 0 -0.28rem var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
}

.button.primary {
  background: var(--saffron);
  color: var(--coal);
  border-color: var(--saffron);
}

.button.ghost {
  background: rgba(247, 243, 234, 0.06);
}

.hero {
  min-height: calc(92vh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(20rem, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 6rem);
}

.witness-page .hero {
  min-height: auto;
  align-items: start;
  padding-top: clamp(3.5rem, 7vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.hero.compact {
  min-height: auto;
  padding-bottom: 3rem;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 234, 0.64);
  font-size: 0.76rem;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 1.01;
  max-width: 13ch;
}

.witness-page h1 {
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.08;
}

.lead {
  max-width: 42rem;
  color: rgba(248, 244, 235, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  margin: 1.5rem 0 0;
}

.nameplate {
  display: grid;
  gap: 0.35rem;
}

.nameplate strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
}

.nameplate span {
  color: rgba(248, 244, 235, 0.66);
}

.quiet-note {
  max-width: 41rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--teal);
  background: rgba(248, 244, 235, 0.055);
  color: rgba(248, 244, 235, 0.72);
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pill.warn {
  border-color: rgba(232, 165, 41, 0.72);
  color: #ffd67b;
}

.portrait-stack {
  position: relative;
  min-height: 29rem;
}

.visual-card,
.quote-card,
.review-card,
.artifact-card,
.index-card {
  border: 1px solid var(--line);
  background: rgba(248, 244, 235, 0.055);
  box-shadow: 0 1.1rem 3.5rem rgba(0, 0, 0, 0.18);
}

.visual-card {
  margin: 0;
  overflow: hidden;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card.hero-image {
  height: min(44vw, 25rem);
  opacity: 0.92;
}

.visual-card.offset {
  position: absolute;
  width: 58%;
  min-width: 14rem;
  right: -1rem;
  bottom: -1rem;
  height: 14rem;
  border-color: rgba(36, 184, 164, 0.42);
}

.approval-banner {
  margin: 0 clamp(1rem, 5vw, 6rem);
  padding: 1rem 1.15rem;
  border: 1px solid rgba(232, 165, 41, 0.32);
  background: rgba(232, 165, 41, 0.075);
  color: rgba(255, 232, 175, 0.86);
  font-weight: 600;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 6rem);
}

.section.light {
  background:
    linear-gradient(135deg, rgba(248, 244, 235, 0.98), rgba(223, 232, 223, 0.94)),
    var(--paper);
  color: var(--coal);
}

.section.light .eyebrow,
.section.light .muted {
  color: rgba(7, 9, 9, 0.62);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.body-copy {
  max-width: 48rem;
}

.body-copy p {
  font-size: 1.08rem;
  color: inherit;
}

.body-copy p:first-of-type {
  margin-top: 0;
}

.review-grid,
.artifact-grid,
.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review-card,
.artifact-card,
.index-card,
.quote-card {
  padding: 1.15rem;
}

.review-card strong,
.artifact-card strong,
.index-card strong {
  display: block;
  margin-bottom: 0.5rem;
}

.review-card span,
.artifact-card span,
.index-card span,
.muted {
  color: rgba(247, 243, 234, 0.68);
}

.section.light .review-card,
.section.light .artifact-card,
.section.light .index-card,
.section.light .quote-card {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line-dark);
  color: var(--coal);
}

.section.light .review-card span,
.section.light .artifact-card span,
.section.light .index-card span {
  color: rgba(7, 9, 9, 0.64);
}

.proof-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.proof-list li {
  padding-left: 1.35rem;
  position: relative;
}

.proof-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  position: absolute;
  left: 0;
  top: 0.62rem;
  background: var(--teal);
}

.quote-card {
  margin-top: 2rem;
  border-color: rgba(36, 184, 164, 0.34);
}

.quote-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.route-map {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.route-map span {
  border: 1px solid var(--line);
  padding: 0.8rem;
  background: rgba(247, 243, 234, 0.05);
}

.footer {
  padding: 2rem clamp(1rem, 5vw, 6rem);
  border-top: 1px solid var(--line);
  color: rgba(247, 243, 234, 0.62);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Humble witness sizing — first-person proof pages. Editorial scale, not launch scale. */
.erik.witness-page h1,
.christiane.witness-page h1,
.robert.witness-page h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.05rem);
  line-height: 1.1;
  max-width: 20ch;
}
.erik.witness-page h2,
.christiane.witness-page h2,
.robert.witness-page h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.14;
}
.erik.witness-page .lead,
.christiane.witness-page .lead,
.robert.witness-page .lead {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(248, 244, 235, 0.74);
}
.erik.witness-page .nameplate strong,
.christiane.witness-page .nameplate strong,
.robert.witness-page .nameplate strong {
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  font-weight: 600;
}
.erik.witness-page .hero-pullquote,
.christiane.witness-page .hero-pullquote,
.robert.witness-page .hero-pullquote {
  margin: 1.75rem 0 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--teal);
  max-width: 44rem;
}
.erik.witness-page .hero-pullquote p,
.christiane.witness-page .hero-pullquote p,
.robert.witness-page .hero-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.32;
  margin: 0;
  color: rgba(248, 244, 235, 0.9);
}
.erik.witness-page .hero-pullquote cite,
.christiane.witness-page .hero-pullquote cite,
.robert.witness-page .hero-pullquote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(248, 244, 235, 0.6);
}
.erik.witness-page .quote-card p,
.christiane.witness-page .quote-card p,
.robert.witness-page .quote-card p {
  font-size: clamp(1.04rem, 1.4vw, 1.26rem);
}
.erik.witness-page .body-copy p,
.erik.witness-page .witness-block p,
.christiane.witness-page .body-copy p,
.christiane.witness-page .witness-block p,
.robert.witness-page .body-copy p,
.robert.witness-page .witness-block p {
  font-size: 1.04rem;
  line-height: 1.62;
}

.christiane {
  --teal: #558f79;
  --saffron: #d99039;
  --brick: #b95b35;
  --blue: #4f6c8d;
}

.erik {
  --teal: #24b8a4;
  --saffron: #f0a92c;
  --brick: #cf6b39;
  --blue: #315d87;
}

.robert {
  --teal: #6e9b63;
  --saffron: #c69a46;
  --brick: #9f6445;
  --blue: #2f4858;
}

.robert .site-shell {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 14% 16%, rgba(110, 155, 99, 0.14), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(198, 154, 70, 0.11), transparent 22rem),
    linear-gradient(145deg, #080a0b, #111713 58%, #13110d);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.christiane .site-shell {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(85, 143, 121, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(185, 91, 53, 0.12), transparent 20rem),
    linear-gradient(145deg, #090b09, #151611 58%, #17110f);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

@media (max-width: 880px) {
  .topbar,
  .hero,
  .section-grid,
  .footer {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4.3rem);
  }

  .portrait-stack {
    min-height: 0;
    margin-top: 2rem;
  }

  .visual-card.hero-image {
    height: 22rem;
  }

  .visual-card.offset {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .review-grid,
  .artifact-grid,
  .index-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .nav a,
  .index-card {
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  }

  .button:hover,
  .nav a:hover,
  .index-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 165, 41, 0.7);
    background: rgba(247, 243, 234, 0.1);
  }
}
