:root {
  --ink: #25221d;
  --muted: #625d55;
  --paper: #ffffff;
  --line: rgba(37, 34, 29, 0.18);
  --accent: #315a49;
  --wash: #f6f4ef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

p,
h1,
h2,
h3 {
  margin: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.8rem;
  z-index: 5;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(920px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-mark rect {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
}

.brand-mark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: square;
}

.brand-mark circle {
  fill: var(--accent);
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a,
.site-footer nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}


.landing {
  position: relative;
  min-height: clamp(480px, 68vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.landing-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(37, 34, 29, 0.92), rgba(37, 34, 29, 0.66) 44%, rgba(37, 34, 29, 0.22)),
    url("assets/hero-reading-room.jpg");
  background-size: cover;
  background-position: center;
}

.landing-inner {
  position: relative;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  color: var(--white);
}

.landing-kicker {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
}

.landing h1 {
  max-width: 820px;
  margin-top: 1rem;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.landing-tagline {
  max-width: 610px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.4;
}

.landing-link {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--white);
  font-weight: 700;
  text-decoration-color: var(--white);
}

.page-shell {
  padding: 4rem 0 1rem;
}

.page-section {
  padding: 0 0 4.8rem;
}

.page-section + .page-section {
  padding-top: 0.4rem;
}

h1,
h2 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.section-rule {
  height: 3px;
  margin: 1.45rem 0 0.95rem;
  background: var(--ink);
}

.section-lede {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.35;
}

.prose {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.04rem;
}

.prose p {
  margin-top: 0.95rem;
}

.section-subhead,
.thread-code,
.issue-kicker {
  margin-top: 1.15rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.mission-list,
.detail-list {
  max-width: 850px;
  margin: 0.35rem 0 0;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.mission-list li,
.detail-list li {
  padding-left: 0.25rem;
  margin-top: 0.3rem;
}

.thread-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.thread {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.05rem 1rem 1.05rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.thread-code {
  margin-top: 0.2rem;
}

.thread-body p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.table-wrap {
  max-width: 850px;
  margin-top: 0.45rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.deadline-table th {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.deadline-table td {
  text-align: center;
}

.deadline-table td:first-child {
  color: var(--accent);
  font-weight: 700;
  text-align: left;
}

.board-table th {
  width: 29%;
  color: var(--accent);
  font-size: 0.92rem;
}

.board-table td:nth-child(2) {
  width: 27%;
  color: var(--ink);
  font-weight: 700;
}

.board-table td:last-child {
  color: var(--muted);
}

.issue-notice {
  max-width: 850px;
  margin: 1rem 0 1.8rem;
  padding: 1.2rem 1.4rem 1.3rem;
  border: 3px solid var(--ink);
  text-align: center;
}

.issue-notice .issue-kicker {
  margin-top: 0;
}

.issue-notice h3 {
  margin-top: 0.55rem;
  font-size: 1.7rem;
}

.issue-notice p {
  max-width: 720px;
  margin: 0.55rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-top: 0.35rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 96px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .main-nav,
  .site-footer nav {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .landing {
    min-height: 560px;
  }

  .landing-inner {
    padding: 5rem 0 4rem;
  }

  .landing h1 {
    font-size: clamp(2.7rem, 12vw, 4.8rem);
  }

  .page-shell {
    padding-top: 3rem;
  }

  .thread {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  table {
    min-width: 620px;
  }

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

@media (max-width: 480px) {
  .header-inner,
  .landing-inner,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 920px);
  }

  h1,
  h2 {
    font-size: clamp(2.05rem, 13vw, 3rem);
  }

  .page-section {
    padding-bottom: 3.6rem;
  }

  .issue-notice {
    text-align: left;
    padding: 1rem;
  }

  .issue-notice p {
    margin-left: 0;
  }
}
