/* Landing family: rules shared by index and program (ADR 0006). Linked before the page <style> block; site.css follows the page styles. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
:root {
  --black: #0d0d0d;
  --white: #f5f5f3;
  --gray: #6e6e6e;
  --dim: rgba(13,13,13,0.5);
  --border: rgba(13,13,13,0.1);
}
body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
sup {
  font-family: 'DM Mono', monospace;
  font-size: 0.52em;
  font-weight: 300;
  vertical-align: super;
  letter-spacing: 0.02em;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0d0d0d;
}
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3rem;
  border-top: 1px solid rgba(13,13,13,0.14);
  position: relative;
}
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
h2 { margin-bottom: 0.75rem; }
h2 em { font-style: italic; }
.journey-wrap {
  max-width: 1500px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.journey-wrap svg {
  min-width: 640px;
  display: block;
}
.j-box { cursor: default; }
#diagramTip {
  display: none;
  position: fixed;
  z-index: 300;
  background: var(--white);
  border: 1px solid rgba(13,13,13,0.22);
  box-shadow: 0 4px 24px rgba(13,13,13,0.12);
  padding: 1.1rem 1.4rem;
  pointer-events: none;
  max-width: 300px;
}
#diagramTip.visible { display: block; }
.dtip-title {
  font-size: 1rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.dtip-body {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.02em;
  color: rgba(13,13,13,0.58);
  line-height: 1.75;
}
#program .section-inner { max-width: 1500px; }
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
  will-change: auto;
}
@media (max-width: 820px) {
  section { padding: 4.5rem 1.25rem; min-height: auto; }
  section:not(#hero)::before { left: 1.25rem; top: 1.25rem; }
  h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
}
@media (max-width: 380px) {
  section { padding: 4rem 1rem; }
  section:not(#hero)::before { left: 1rem; top: 1rem; }
}
