body {
  padding-top: 88px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wordmark-mark {
  width: 48px;
  height: 48px;
  display: block;
}

.wordmark-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 36px;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ochre);
}

.site-nav a.active {
  color: var(--ochre);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 40px;
  margin-top: 120px;
}

.colophon {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 38ch;
}

@media (max-width: 920px) {
  .site-footer .frame {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 720px) {
  .wordmark-text { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .site-footer .wordmark-text { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.hero-headline {
  font-size: clamp(64px, 10.5vw, 168px);
  margin-bottom: 80px;
}
.hero-headline .line { display: block; }
.hero-headline .line-2 { padding-left: 18%; }
.hero-headline .line-3 { padding-left: 6%; }
.hero-headline .amp {
  color: var(--ochre);
  font-style: italic;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.hero-foot .lede {
  font-size: 21px;
  line-height: 1.5;
  max-width: 52ch;
  color: var(--ink-soft);
}
.hero-foot .lede em {
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s ease, color 0.3s ease;
}
.cta-link:hover { gap: 18px; color: var(--ochre); border-color: var(--ochre); }
.cta-arrow { font-family: var(--font-display); font-size: 18px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-headline .line {
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-headline .line-1 { animation-delay: 0.2s; }
.hero-headline .line-2 { animation-delay: 0.45s; }
.hero-headline .line-3 { animation-delay: 0.7s; }

.hero-meta, .hero-foot {
  opacity: 0;
  animation: fadeUp 1s ease forwards 1s;
}

@media (max-width: 920px) {
  .hero-headline .line-2, .hero-headline .line-3 { padding-left: 0; }
  .hero-foot { grid-template-columns: 1fr; }
}

/* ---------- Thesis & Motif ---------- */

section.thesis, section.motif {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
}
.section-tag .num { color: var(--ochre); }

.thesis-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.thesis-headline {
  font-size: clamp(44px, 6vw, 88px);
}
.thesis-headline .ital { color: var(--ochre); }
.thesis-body {
  padding-top: 12px;
}
.thesis-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 48ch;
}
.thesis-body p em {
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}

.motif-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.motif-header h2 { font-size: clamp(40px, 5vw, 72px); }
.motif-header h2 .ital { color: var(--ochre); }
.motif-header p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.motif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.motif-card {
  border: 1px solid var(--rule);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: var(--paper);
}
.motif-card.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.motif-card.dark .micro { color: rgba(243, 238, 229, 0.5); }
.motif-card.dark .motif-figure { color: var(--ochre); }

.motif-figure {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(96px, 14vw, 176px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--ochre);
  margin: 32px 0;
}
.motif-figure .unit {
  font-size: 0.32em;
  letter-spacing: 0;
  opacity: 0.75;
  margin-left: 8px;
}
.motif-card p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 36ch;
}

@media (max-width: 920px) {
  .thesis-grid, .motif-header, .motif-grid { grid-template-columns: 1fr; gap: 40px; }
  section.thesis, section.motif { padding: 80px 0; }
}

/* ---------- Program teaser & Closing ---------- */

section.program-teaser, section.closing {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
}

.teaser-card {
  display: block;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 64px;
  transition: background 0.4s ease, border-color 0.4s ease;
  position: relative;
}
.teaser-card:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.teaser-card:hover .teaser-meta .micro,
.teaser-card:hover .teaser-lede { color: rgba(243, 238, 229, 0.75); }
.teaser-card:hover .teaser-title .ital,
.teaser-card:hover .teaser-foot .cta-arrow { color: var(--ochre); }

.teaser-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.teaser-title {
  font-size: clamp(56px, 8vw, 120px);
  margin-bottom: 32px;
}
.teaser-title .ital { color: var(--ochre); transition: color 0.4s ease; }
.teaser-lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink-soft);
  margin-bottom: 56px;
  transition: color 0.4s ease;
}
.teaser-foot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

section.closing {
  padding: 160px 0;
}
.closing-headline {
  font-size: clamp(56px, 9vw, 144px);
  margin-bottom: 80px;
}
.closing-headline .ital { color: var(--ochre); }
.closing-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.closing-foot p {
  font-size: 19px;
  line-height: 1.5;
  max-width: 44ch;
  color: var(--ink-soft);
}

@media (max-width: 920px) {
  .teaser-card { padding: 40px 28px; }
  .teaser-meta { flex-direction: column; gap: 8px; margin-bottom: 32px; }
  .closing-foot { grid-template-columns: 1fr; }
  section.program-teaser, section.closing { padding: 80px 0; }
}

/* ---------- About: page head, what-we-do, structure ---------- */

section.page-head {
  padding: 80px 0 100px;
}
.page-head .micro-ochre { display: block; margin-bottom: 32px; }
.page-headline {
  font-size: clamp(56px, 9vw, 144px);
  margin-bottom: 56px;
}
.page-headline .ital { color: var(--ochre); }
.page-lede {
  font-size: 21px;
  line-height: 1.5;
  max-width: 56ch;
  color: var(--ink-soft);
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

section.what-we-do {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}

.wwd-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.wwd-lead h2 {
  font-size: clamp(40px, 5.5vw, 80px);
}
.wwd-lead h2 .ital { color: var(--ochre); }

.wwd-detail p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 48ch;
}
.wwd-detail p:first-child {
  font-size: 20px;
  color: var(--ink);
}

section.structure {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}

.record {
  border-top: 1px solid var(--ink);
}
.record-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.record-label {
  color: var(--ink-soft);
  padding-top: 4px;
}
.record-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 380;
  letter-spacing: -0.01em;
}

@media (max-width: 920px) {
  .wwd-grid { grid-template-columns: 1fr; gap: 40px; }
  .record-row { grid-template-columns: 1fr; gap: 4px; }
  section.what-we-do, section.structure { padding: 64px 0; }
}

/* ---------- Programs: numbers, arc, metrics ---------- */

section.numbers, section.arc, section.metrics {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.num-cell {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--rule);
}
.num-cell:last-child { border-right: none; padding-right: 0; }
.num-fig {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ochre);
  margin-bottom: 24px;
}
.num-fig .num-unit { font-size: 0.4em; opacity: 0.75; margin-left: 6px; }
.num-label { color: var(--ink-soft); margin-bottom: 12px; }
.num-cell p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 28ch;
}

.arc-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.arc-step {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.arc-when .micro { color: var(--ochre); margin-bottom: 8px; display: block; }
.arc-time {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 28px;
  letter-spacing: -0.015em;
}
.arc-name {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.arc-name .ital { color: var(--ochre); }
.arc-detail p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.metrics-headline {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 56px;
  max-width: 14ch;
}
.metrics-headline .ital { color: var(--ochre); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.metric {
  padding-right: 32px;
}
.metric-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}
.metric-num .metric-unit { color: var(--ochre); font-size: 0.5em; margin-left: 4px; }
.metric p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32ch;
}
.metrics-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}

@media (max-width: 920px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(2) { border-right: none; }
  .num-cell:nth-child(1), .num-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .arc-step { grid-template-columns: 1fr; gap: 16px; }
  .metrics-grid { grid-template-columns: 1fr; }
  section.numbers, section.arc, section.metrics { padding: 64px 0; }
}

/* ---------- Partner: contact email ---------- */

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.contact-email:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}
