:root {
  color-scheme: dark;
  --bg: #101113;
  --ink: #f3efe6;
  --muted: #b9c1bc;
  --line: rgba(243, 239, 230, 0.22);
  --accent: #67d5b5;
  --accent-2: #e7b45a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(103, 213, 181, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 78%, rgba(231, 180, 90, 0.14), transparent 30rem),
    linear-gradient(135deg, #101113 0%, #1a1d1f 47%, #121718 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(2rem, 6vw, 5rem);
  place-items: center;
}

.announcement {
  width: min(100%, 72rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 9vw, 7rem) 0;
}

.announcement .hero-summary {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.5;
}

.announcement .hero-thesis {
  max-width: 54rem;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.announcement .hero-thesis strong {
  color: var(--accent);
}

.eyebrow,
.byline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 1rem 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.25rem, 12vw, 10.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.home-directory,
.interior {
  background: #f1ede3;
  color: #171a19;
}

.home-directory {
  padding: clamp(5rem, 10vw, 9rem) clamp(2rem, 6vw, 5rem);
}

.content-wrap {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.section-kicker,
.page-card span,
.chapter-number,
.masthead a,
.part-label {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker,
.page-card span,
.chapter-number,
.part-label {
  color: #267d69;
}

h2,
h3,
.page-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.home-directory h2 {
  max-width: 14ch;
  margin: 0.75rem 0 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
}

.lede {
  max-width: 48rem;
  color: #4c5551;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.5;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: rgba(23, 26, 25, 0.18);
  border: 1px solid rgba(23, 26, 25, 0.18);
}

.page-card {
  display: flex;
  min-height: 17rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: #f1ede3;
  text-decoration: none;
  flex-direction: column;
  transition: background 160ms ease, color 160ms ease;
}

.page-card--wide {
  grid-column: 1 / -1;
  min-height: 14rem;
}

.page-card strong {
  max-width: 18ch;
  margin: auto 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.page-card small {
  max-width: 40rem;
  color: #59615e;
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-card:hover,
.page-card:focus-visible {
  background: #17352f;
  color: #f3efe6;
}

.page-card:hover small,
.page-card:focus-visible small {
  color: #c9d3cf;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: #101113;
}

.masthead a {
  text-decoration: none;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
}

.masthead nav a {
  color: var(--muted);
  font-size: 0.68rem;
}

.interior {
  min-height: 100vh;
  padding-bottom: 7rem;
}

.page-hero {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem);
  background: #101113;
  color: var(--ink);
}

.page-hero > div,
.chapter-list,
.prose-block {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 13ch;
  margin-top: 1.5rem;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.page-hero .lede {
  color: var(--muted);
}

.chapter-list,
.prose-block {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.chapter {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(23, 26, 25, 0.2);
}

.chapter h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.chapter p,
.prose-block p,
.principles li {
  max-width: 52rem;
  color: #4c5551;
  line-height: 1.7;
}

.chapter .claim {
  color: #171a19;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.premise-panel {
  width: min(100%, 72rem);
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: #17352f;
  color: #f3efe6;
}

.premise-panel .section-kicker {
  color: var(--accent);
}

.premise-panel h2 {
  max-width: 20ch;
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
}

.premise-panel p {
  max-width: 52rem;
  color: #d2dbd7;
  font-size: 1.08rem;
  line-height: 1.7;
}

.premise-panel strong {
  color: #fff;
}

.example-grid,
.domain-grid,
.sensory-grid {
  display: grid;
  gap: 1px;
  margin: 2rem 0 0;
  padding: 1px;
  background: rgba(23, 26, 25, 0.18);
  list-style: none;
}

.example-grid,
.domain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sensory-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.example-grid li,
.domain-grid li,
.sensory-grid li {
  padding: 1.15rem;
  background: #e8e2d5;
  color: #26302d;
  line-height: 1.45;
}

.sensory-grid li {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.bridge-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2.5rem 0;
  padding: 1px;
  background: rgba(23, 26, 25, 0.2);
}

.bridge-sequence p {
  margin: 0;
  padding: 1.5rem;
  background: #e8e2d5;
  color: #171a19;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.bridge-sequence strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #267d69;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concept-note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #67a995;
}

.prose-block + .prose-block {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.progression {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
}

.progression li {
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(23, 26, 25, 0.22);
}

.prose-block h2 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.principles {
  padding-left: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 3rem), 72rem);
  margin: 5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(23, 26, 25, 0.2);
}

.site-footer a {
  font-weight: 700;
}

.byline {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 680px) {
  .page-shell {
    place-items: end start;
  }

  .announcement {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: clamp(2.6rem, 10.8vw, 4.25rem);
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.5rem);
  }

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

  .page-card--wide {
    grid-column: auto;
  }

  .masthead nav {
    display: none;
  }

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

  .example-grid,
  .domain-grid,
  .sensory-grid,
  .bridge-sequence {
    grid-template-columns: 1fr;
  }
}
