@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

:root {
  --cream: #F2EEE8;
  --cream-2: #F8F4ED;
  --charcoal: #14181C;
  --navy: #0F2438;
  --navy-2: #071722;
  --taupe: #C9C1B2;
  --taupe-2: #A99D8D;
  --line: rgba(20, 24, 28, 0.22);
  --line-strong: rgba(20, 24, 28, 0.38);
  --muted: rgba(20, 24, 28, 0.66);
  --white-line: rgba(242, 238, 232, 0.28);
  --white-muted: rgba(242, 238, 232, 0.72);
  --container: 1160px;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --sans: "Inter", "IBM Plex Sans", Arial, sans-serif;
  --serif: "Source Serif 4", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(20,24,28,0.025) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--cream);
  background: var(--navy);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(15, 36, 56, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 238, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 108px;
  padding-block: 18px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 240px;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.triad-mark {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5.2;
  vector-effect: non-scaling-stroke;
}

.brand-word {
  font-family: var(--mono);
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: 0.09em;
  line-height: 1;
}

.brand-rule {
  display: block;
  width: 100%;
  border-top: 1px solid currentColor;
  margin-block: 7px 8px;
  opacity: 0.72;
}

.brand-subtitle {
  display: block;
  width: 100%;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.primary-nav a {
  padding-block: 8px;
  color: var(--charcoal);
}

.site-search {
  display: flex;
  align-items: center;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 237, 0.55);
}

.site-search input {
  width: 94px;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 10px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.site-search button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
}

.site-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nav-toggle {
  display: none;
}

.section-block {
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  min-height: 510px;
  align-items: center;
  gap: 56px;
  padding-block: clamp(60px, 8vw, 104px);
}

.eyebrow,
.section-heading h2,
.footer-links h2,
.newsletter h2,
.privacy-note h2 {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.featured h2 {
  margin: 18px 0 0;
  max-width: 630px;
  color: var(--navy);
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.short-rule {
  display: block;
  width: 48px;
  height: 6px;
  margin-block: 30px 24px;
  background: var(--taupe);
}

.hero-subhead {
  margin: 0;
  max-width: 480px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  color: var(--cream);
  background: var(--navy);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--charcoal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-drawing svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.wire-grid path,
.wire-guides,
.wire-rings,
.wire-ticks,
.hatch {
  fill: none;
  stroke: currentColor;
}

.hero-drawing {
  color: rgba(15, 36, 56, 0.22);
}

.wire-grid path {
  stroke-width: 0.7;
}

.wire-guides {
  stroke-width: 1.2;
  stroke-dasharray: 7 7;
}

.wire-rings {
  color: rgba(15, 36, 56, 0.33);
  stroke: currentColor;
  stroke-width: 2.2;
}

.wire-ticks {
  stroke-width: 1.3;
}

.taupe-block {
  fill: rgba(201, 193, 178, 0.52);
}

.hatch {
  stroke-width: 0.8;
}

.featured {
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.76), rgba(242, 238, 232, 0.96));
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(170px, 260px) minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: 42px;
}

.book-object {
  min-height: 245px;
  display: grid;
  place-items: center;
}

.book-cover-img {
  max-width: 220px;
  height: auto;
  border: 1px solid rgba(20, 24, 28, 0.12);
  box-shadow:
    10px 5px 0 #e8dfd3,
    14px 8px 0 rgba(20, 24, 28, 0.22);
  transform: perspective(760px) rotateY(-3deg);
}

.book-cover {
  position: relative;
  width: 170px;
  height: 240px;
  color: var(--cream);
  background: linear-gradient(90deg, var(--navy), #102b40);
  border: 1px solid rgba(20, 24, 28, 0.54);
  box-shadow:
    10px 5px 0 #e8dfd3,
    14px 8px 0 rgba(20, 24, 28, 0.22);
  display: grid;
  place-items: center;
  text-align: center;
  transform: perspective(760px) rotateY(-3deg);
}

.book-cover span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.book-mark {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 44px;
  height: 44px;
  translate: -50% 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.6;
}

.featured h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
}

.featured-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.85;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-list svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  opacity: 0.72;
}

.topics,
.ledger,
.ethos {
  padding-block: 34px 46px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.section-heading h2 {
  color: var(--navy);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.topic-card,
.resource-card {
  border: 1px solid var(--line-strong);
  min-height: 214px;
  padding: 24px 18px 18px;
  background: rgba(248, 244, 237, 0.35);
}

.topic-card svg,
.resource-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.topic-card h3,
.resource-card h3,
.ethos-items h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.topic-card p,
.resource-card p,
.ethos-items p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.topic-card a,
.resource-card a {
  margin-top: auto;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 237, 0.28);
}

.ledger-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-family: var(--mono);
  color: var(--navy);
}

.ledger-table th,
.ledger-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
}

.ledger-table th {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-table td {
  letter-spacing: 0.02em;
}

.ledger-table tbody tr:last-child td {
  border-bottom: 0;
}

.ledger-table td:first-child {
  width: 30%;
}

.ledger-table a {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.dots i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
}

.dots i.empty {
  background: transparent;
  opacity: 0.55;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.dark-section {
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(242,238,232,0.04) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, var(--navy), var(--navy-2));
}

.tools {
  padding-block: 36px 46px;
  border-bottom: 0;
}

.dark-heading h2,
.dark-heading .text-link {
  color: var(--cream);
}

.inverted {
  color: var(--cream);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.resource-card {
  color: var(--cream);
  border-color: var(--white-line);
  background: rgba(242, 238, 232, 0.025);
}

.resource-card h3,
.resource-card a {
  color: var(--cream);
}

.resource-card p {
  color: var(--white-muted);
}

.ethos-grid {
  display: grid;
  grid-template-columns: 120px minmax(230px, 1fr) 2.2fr;
  gap: 28px;
  align-items: center;
}

.mini-grid-art {
  width: 106px;
  aspect-ratio: 1;
  opacity: 0.48;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15,36,56,0.18) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(rgba(15,36,56,0.18) 1px, transparent 1px) 0 0 / 20px 20px;
}

.about-copy h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
}

.ethos-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}

.ethos-items article {
  min-height: 120px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.site-footer {
  padding-block: 42px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr 1.25fr;
  gap: 36px;
}

.footer-lockup .brand-rule {
  display: none;
}

.footer-lockup .triad-mark {
  width: 36px;
  height: 36px;
}

.footer-lockup .brand-word {
  font-size: 24px;
}

.footer-lockup .brand-subtitle {
  margin-top: 6px;
  text-align: left;
}

.footer-brand p,
.newsletter p,
.privacy-note p {
  margin: 18px 0 0;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h2,
.newsletter h2,
.privacy-note h2 {
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-links a,
.privacy-note a {
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 12px;
}

.newsletter-row {
  display: flex;
  min-height: 42px;
  margin-top: 18px;
  border: 1px solid var(--white-line);
}

.newsletter-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--cream);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
}

.newsletter-row input::placeholder {
  color: var(--white-muted);
}

.newsletter-row button {
  padding: 0 14px;
  border: 0;
  border-left: 1px solid var(--white-line);
  color: var(--cream);
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--white-line);
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 11px;
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom nav a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-bottom nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .primary-nav,
  .site-search {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .primary-nav {
    justify-content: space-between;
  }

  .site-search {
    max-width: 240px;
  }

  .hero-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .hero-drawing {
    max-width: 620px;
    opacity: 0.9;
  }

  .featured-grid {
    align-items: start;
  }

  .feature-list {
    max-width: 520px;
  }

  .topic-grid,
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ethos-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ethos-items {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 84px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .brand-word {
    font-size: 24px;
  }

  .triad-mark {
    width: 36px;
    height: 36px;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-rule {
    margin-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 38px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 1px;
    margin-inline: auto;
    background: currentColor;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    padding-block: 11px;
    border-bottom: 1px solid var(--line);
  }

  .site-search {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 48px 34px;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .topic-grid,
  .resource-grid,
  .ethos-items,
  .ethos-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topic-card,
  .resource-card {
    min-height: auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ethos-items {
    border-left: 0;
  }

  .ethos-items article {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

/* ── Inner Page Styles ─────────────────────────────────── */

.page-header {
  padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow {
  margin-bottom: 6px;
}

.page-header h1 {
  margin: 14px 0 0;
  color: var(--navy);
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.page-header .lead {
  margin: 18px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
}

/* ── Prose Content (About, Legal) ─────────────────────── */

.prose {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

.prose h2 {
  margin: 48px 0 16px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
}

.prose li {
  margin-bottom: 8px;
}

.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--taupe);
  background: rgba(248, 244, 237, 0.5);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--taupe);
}

.prose a:hover {
  text-decoration-color: var(--navy);
}

.prose .legal-date {
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(248, 244, 237, 0.4);
  font-size: 12px;
  color: var(--muted);
}

/* ── FAQ Accordion ────────────────────────────────────── */

.faq-section {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq-section summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 200ms ease;
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section .faq-answer {
  padding: 0 0 22px 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.faq-section .faq-answer p {
  margin: 0 0 12px;
}

.faq-section .faq-answer a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--taupe);
}

/* ── Contact Form ─────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  max-width: 960px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

.contact-info h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info p {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}

.contact-info a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--taupe);
}

.contact-reasons {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-reasons li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.contact-reasons li span {
  color: var(--taupe-2);
  flex-shrink: 0;
}

.contact-form h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 244, 237, 0.35);
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: border-color 160ms ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--navy);
  color: var(--cream);
  background: var(--navy);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--charcoal);
}

/* ── Resources Page ───────────────────────────────────── */

.resources-content {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

.resource-block {
  margin-bottom: 56px;
}

.resource-block h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-block > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}

.reading-list {
  list-style: none;
  counter-reset: reading;
  padding: 0;
  margin: 0;
}

.reading-item {
  counter-increment: reading;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.reading-item::before {
  content: counter(reading, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: var(--taupe-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.reading-item h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.reading-item .reading-author {
  margin: 4px 0 0;
  color: var(--taupe-2);
  font-family: var(--mono);
  font-size: 12px;
  font-style: italic;
}

.reading-item p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.prompt-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: rgba(248, 244, 237, 0.35);
}

.prompt-card p {
  margin: 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  font-style: italic;
}

.glossary-list {
  margin: 0;
  padding: 0;
}

.glossary-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.glossary-entry dt {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.glossary-entry dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}

/* ── Articles Index ───────────────────────────────────── */

.articles-content {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

.article-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.article-date {
  color: var(--taupe-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.article-entry h3 {
  margin: 0;
}

.article-entry h3 a {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.article-entry h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.article-meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CTA Banner (shared) ─────────────────────────────── */

.page-cta {
  padding-block: clamp(48px, 7vw, 80px);
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.76), rgba(242, 238, 232, 0.96));
}

.page-cta h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.page-cta p {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
}

.page-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.button-outline {
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
}

.button-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ── Inner Page Responsive ────────────────────────────── */

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .article-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .article-date {
    order: -1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .text-link,
  .topic-card,
  .resource-card,
  .site-search button,
  .newsletter-row button {
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  }

  .topic-card:hover,
  .resource-card:hover {
    transform: translateY(-2px);
  }
}
