:root {
  color-scheme: dark;
  --ink: #f4f0ec;
  --muted: #c7b9b7;
  --line: rgba(220, 210, 204, 0.24);
  --paper: #151515;
  --white: #ffffff;
  --smoke: #2e3032;
  --rose: #8c6b68;
  --plum: #4b3f45;
  --silver: #d8d2cc;
  --graphite: #1f2023;
  --shadow: 0 32px 110px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 8%, rgba(140, 107, 104, 0.36), transparent 31rem),
    radial-gradient(circle at 7% 20%, rgba(216, 210, 204, 0.13), transparent 24rem),
    linear-gradient(145deg, #111113 0%, #252326 44%, #171719 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/constraint-seal.png") center 110px / min(72vw, 760px) auto no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.9);
  opacity: 0.11;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(18, 18, 20, 0.74);
  border-bottom: 1px solid rgba(216, 210, 204, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--silver);
  border-radius: 50%;
  background: url("assets/constraint-seal.png") center / cover;
  box-shadow: 0 0 18px rgba(216, 210, 204, 0.24);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 73px));
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 64px);
}

.banner-ornament {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(96vw, 1380px);
  height: min(620px, calc(100% - 28px));
  transform: translateX(-50%);
  opacity: 0.28;
  overflow: hidden;
  pointer-events: none;
}

.banner-ornament::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111113 0%, transparent 18%, transparent 82%, #111113 100%);
  content: "";
}

.banner-ornament img {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(0.45) contrast(1.04) brightness(0.92);
  mix-blend-mode: screen;
  object-fit: cover;
  object-position: center top;
}

.hero-copy,
.section,
.feature,
.contact,
.footer {
  max-width: 1180px;
}

.hero-copy {
  width: min(100%, 920px);
  isolation: isolate;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

h1 {
  max-width: 980px;
  font-size: clamp(2.9rem, 6.7vw, 5.5rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.hero-text,
.contact p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-text {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(0.86rem, 1.15vw, 0.98rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 0 20px;
  border: 1px solid rgba(216, 210, 204, 0.42);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.button.primary {
  background: linear-gradient(135deg, rgba(216, 210, 204, 0.95), rgba(143, 132, 128, 0.92));
  color: #171719;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver);
}

.hero-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 860px);
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(216, 210, 204, 0.22);
  border-radius: 8px;
  background: rgba(216, 210, 204, 0.14);
}

.hero-structure a {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(18, 18, 20, 0.68);
}

.hero-structure span {
  color: rgba(216, 210, 204, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-structure strong {
  color: var(--silver);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(216, 210, 204, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 40% 12%, rgba(216, 210, 204, 0.22), transparent 34%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.seal-image {
  width: min(100%, 420px);
  margin: 0 auto -18px;
  border-radius: 50%;
  filter: grayscale(0.25) contrast(1.06);
  opacity: 0.9;
}

.signal-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(216, 210, 204, 0.24);
  border-radius: 8px;
  background: rgba(16, 16, 18, 0.52);
}

.signal-card.large {
  min-height: 250px;
}

.signal-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.signal-card strong {
  display: block;
  max-width: 380px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.6vw, 3.2rem);
  line-height: 1;
}

.mini-grid,
.cards,
.note-list,
.repository-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.section,
.feature,
.contact {
  margin: 0 auto;
  padding: 74px clamp(20px, 5vw, 64px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.card,
.note-list article,
.repository-grid article,
.status-panel {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028)),
    rgba(20, 20, 22, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.repository-grid article {
  display: flex;
  flex-direction: column;
}

.repository-grid a {
  width: fit-content;
  margin-top: auto;
  border-bottom: 1px solid rgba(216, 210, 204, 0.58);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zenodo-panel {
  margin-top: 74px;
  scroll-margin-top: 112px;
}

.research-arcs {
  margin-top: 26px;
}

.research-arcs > .section-heading {
  margin-bottom: 26px;
}

.research-arcs > .section-heading h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.foundation-order {
  margin-top: 74px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(216, 210, 204, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(rgba(15, 15, 17, 0.7), rgba(15, 15, 17, 0.84)),
    url("assets/banner.jpg") center / cover;
  box-shadow: var(--shadow);
}

.compact-heading {
  margin-bottom: 22px;
}

.anchor-target {
  display: block;
  height: 1px;
  scroll-margin-top: 112px;
}

.corpus-search {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(280px, 0.45fr);
  gap: clamp(18px, 4vw, 34px);
  margin-top: 24px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(216, 210, 204, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 210, 204, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028)),
    rgba(16, 16, 18, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.corpus-search h3 {
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.02;
}

.corpus-search p:not(.eyebrow),
.search-meta {
  color: var(--muted);
}

.search-control {
  display: grid;
  gap: 10px;
  align-content: start;
}

.search-control label {
  color: rgba(216, 210, 204, 0.74);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-control input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(216, 210, 204, 0.32);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(12, 12, 14, 0.72);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.search-control input:focus {
  border-color: rgba(244, 240, 236, 0.78);
  box-shadow: 0 0 0 3px rgba(216, 210, 204, 0.12);
}

.search-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.search-result {
  display: grid;
  grid-template-columns: minmax(140px, 0.26fr) minmax(0, 1fr) minmax(160px, 0.22fr);
  gap: 14px;
  min-height: 58px;
  align-items: center;
  border: 1px solid rgba(216, 210, 204, 0.24);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(16, 16, 18, 0.46);
}

.search-result:hover {
  background: rgba(216, 210, 204, 0.08);
}

.search-result span {
  color: rgba(216, 210, 204, 0.68);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result strong {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.18;
}

.search-result em {
  color: rgba(216, 210, 204, 0.72);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.pillar-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(216, 210, 204, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(16, 16, 18, 0.74);
  backdrop-filter: blur(10px);
}

.primary-pillar {
  border-color: rgba(244, 240, 236, 0.44);
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 210, 204, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(16, 16, 18, 0.78);
}

.pillar-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.02;
}

.card h3,
.pillar-card h3,
.arc-focus-copy h3,
.anchor-paper h3,
.doi-card h3,
.project-card h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.pillar-card .plain,
.pillar-card .technical {
  color: var(--muted);
}

.pillar-card .plain {
  margin-top: 22px;
  font-size: 1.05rem;
}

.pillar-card .technical {
  margin-top: 12px;
}

.pillar-card > a,
.pillar-links a {
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-card > a {
  width: fit-content;
  margin-top: auto;
  border-bottom: 1px solid rgba(216, 210, 204, 0.58);
  padding-top: 22px;
}

.pillar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.pillar-links a {
  min-height: 38px;
  border: 1px solid rgba(216, 210, 204, 0.32);
  border-radius: 999px;
  padding: 9px 12px;
}

.dependency-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 210, 204, 0.2);
  border-radius: 8px;
  background: rgba(216, 210, 204, 0.16);
}

.dependency-strip span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(16, 16, 18, 0.82);
  color: var(--silver);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.arc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.arc-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.025)),
    rgba(16, 16, 18, 0.7);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.featured-arc {
  background:
    linear-gradient(rgba(18, 18, 20, 0.58), rgba(18, 18, 20, 0.78)),
    url("assets/banner.jpg") center / cover;
}

.arc-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  line-height: 1.02;
}

.arc-card .plain,
.arc-card .technical {
  color: var(--muted);
}

.arc-card .plain {
  margin-top: 22px;
  font-size: 1.05rem;
}

.arc-card .technical {
  margin-top: 12px;
  font-size: 0.95rem;
}

.arc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.arc-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(216, 210, 204, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--silver);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.arc-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.arc-focus-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.74fr);
  gap: clamp(20px, 4vw, 38px);
  min-height: 440px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(216, 210, 204, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.028)),
    rgba(16, 16, 18, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.standard-model-card {
  border-color: rgba(244, 240, 236, 0.44);
  background:
    linear-gradient(rgba(18, 18, 20, 0.5), rgba(18, 18, 20, 0.82)),
    url("assets/banner.jpg") center / cover;
}

.millennium-card,
.unification-card {
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 210, 204, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.028)),
    rgba(16, 16, 18, 0.74);
}

.certificate-closure-card {
  grid-template-columns: minmax(330px, 0.5fr) minmax(0, 0.82fr);
  border-color: rgba(244, 240, 236, 0.42);
  background:
    radial-gradient(circle at 18% 8%, rgba(216, 210, 204, 0.18), transparent 34%),
    linear-gradient(rgba(18, 18, 20, 0.56), rgba(18, 18, 20, 0.84)),
    url("assets/banner.jpg") center / cover;
}

.mind-agency-card {
  grid-template-columns: minmax(320px, 0.54fr) minmax(0, 0.72fr);
}

.arc-focus-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.mind-agency-card .arc-focus-copy h3 {
  font-size: clamp(1.75rem, 3.1vw, 3.15rem);
  line-height: 1.05;
}

.mind-agency-card .arc-paper-groups {
  gap: 24px;
}

.certificate-closure-card .arc-focus-copy h3 {
  font-size: clamp(1.9rem, 3.4vw, 3.55rem);
  line-height: 1.03;
}

.certificate-groups {
  gap: 20px;
}

.arc-focus-copy .plain,
.arc-focus-copy .technical {
  color: var(--muted);
}

.arc-focus-copy .plain {
  margin-top: 24px;
  font-size: 1.06rem;
}

.arc-focus-copy .technical {
  margin-top: 12px;
}

.arc-paper-groups,
.paper-chip-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.arc-paper-groups {
  gap: 18px;
}

.arc-paper-groups h4 {
  margin: 0 0 10px;
  color: var(--silver);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.paper-chip-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.paper-chip-list a {
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  border: 1px solid rgba(216, 210, 204, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.paper-chip-list.prominent a {
  background:
    linear-gradient(145deg, rgba(244, 240, 236, 0.15), rgba(255, 255, 255, 0.035)),
    rgba(15, 15, 17, 0.6);
  border-color: rgba(216, 210, 204, 0.4);
}

.paper-chip-list.quiet a {
  min-height: 48px;
  background: rgba(16, 16, 18, 0.42);
  color: rgba(216, 210, 204, 0.76);
  font-size: 0.78rem;
}

.millennium-series-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid rgba(216, 210, 204, 0.2);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 12, 0.36);
}

.millennium-series-panel h4 {
  margin: 0 0 10px;
  color: var(--silver);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.yang-mills-subseries {
  border-top: 1px solid rgba(216, 210, 204, 0.22);
  padding-top: 16px;
}

.seven-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.triptych-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.five-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.pair-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.yang-mills-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.foundation-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.certificate-spine-list {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.realization-module-list {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.realization-module-list a {
  min-height: 86px;
}

.themed-shelves {
  margin-top: 74px;
}

.shelf {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 18, 0.62);
  overflow: hidden;
}

.shelf summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--silver);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 1;
}

.shelf-body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.48fr);
  gap: 20px;
  padding: 0 24px 24px;
}

.anchor-paper {
  padding: 22px;
  border: 1px solid rgba(216, 210, 204, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(20, 20, 22, 0.72);
}

.anchor-paper h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
  line-height: 1.04;
}

.anchor-paper .plain,
.anchor-paper .technical {
  color: var(--muted);
}

.anchor-paper a {
  display: inline-block;
  margin-top: 14px;
  color: var(--silver);
  font-weight: 900;
}

.shelf-links {
  display: grid;
  align-content: start;
  border: 1px solid rgba(216, 210, 204, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.shelf-links a {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(216, 210, 204, 0.16);
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 800;
}

.shelf-links a:last-child {
  border-bottom: 0;
}

.shelf-links a:hover {
  background: rgba(216, 210, 204, 0.08);
}

.major-papers {
  margin-top: 74px;
}

.topic-routes {
  margin-top: 74px;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.topic-card {
  min-height: 300px;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 0.7fr);
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 210, 204, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028)),
    rgba(16, 16, 18, 0.72);
}

.topic-links {
  align-self: start;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.topic-card .paper-chip-list a {
  min-height: 64px;
}

.doi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.doi-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 20, 0.7);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.highlight-doi {
  grid-column: span 2;
  min-height: 320px;
  background:
    linear-gradient(rgba(18, 18, 20, 0.58), rgba(18, 18, 20, 0.76)),
    url("assets/banner.jpg") center / cover;
}

.doi-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.65rem);
  line-height: 1.05;
}

.doi-card p:not(.repo-type),
.doi-note {
  color: var(--muted);
}

.doi-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.doi-card div {
  min-width: 0;
}

.doi-card dt {
  color: rgba(216, 210, 204, 0.7);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.doi-card dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.doi-card dd a {
  color: var(--silver);
  font-weight: 800;
}

.doi-note a {
  color: var(--silver);
  font-weight: 800;
}

.doi-note {
  max-width: 820px;
  margin: 18px 0 0;
}

.paper-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 18, 0.56);
  overflow: hidden;
}

.paper-table a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.paper-table a:last-child {
  border-bottom: 0;
}

.paper-table a:hover {
  background: rgba(216, 210, 204, 0.08);
}

.paper-table span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1.7vw, 1.42rem);
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.paper-table strong {
  color: var(--silver);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.github-projects {
  padding-top: 98px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(16, 16, 18, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.featured-project {
  grid-column: span 2;
}

.project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.05;
}

.project-card p:not(.repo-type) {
  color: var(--muted);
}

.project-card a,
.compact-projects a {
  width: fit-content;
  border-bottom: 1px solid rgba(216, 210, 204, 0.58);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card span {
  color: rgba(216, 210, 204, 0.68);
  font-size: 0.82rem;
}

.more-projects {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 18, 0.58);
}

.more-projects summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--silver);
  font-weight: 900;
  text-transform: uppercase;
}

.compact-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  padding: 0 24px 24px;
}

.repo-type {
  margin: 0 0 42px;
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  min-height: auto;
  margin-top: 16px;
}

.status-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-panel strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.1;
}

.card-number {
  display: inline-flex;
  margin-bottom: 60px;
  color: var(--silver);
  font-weight: 900;
}

.card p,
.feature-list p,
.note-list p {
  color: var(--muted);
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.16);
}

.feature-seal {
  position: absolute;
  right: clamp(18px, 7vw, 90px);
  bottom: -180px;
  width: min(56vw, 620px);
  opacity: 0.16;
  pointer-events: none;
}

.feature-seal img {
  width: 100%;
  filter: grayscale(0.2) contrast(1.1);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list div {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.notes {
  padding-top: 92px;
}

.contact {
  margin-bottom: 44px;
  border-radius: 8px;
  border: 1px solid rgba(216, 210, 204, 0.32);
  background:
    linear-gradient(rgba(18, 18, 20, 0.52), rgba(18, 18, 20, 0.7)),
    url("assets/banner.jpg") center / cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact .button {
  margin-top: 26px;
  background: var(--silver);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 64px) 42px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .cards,
  .note-list,
  .repository-grid,
  .status-panel,
  .project-list,
  .compact-projects,
  .corpus-search,
  .pillar-grid,
  .arc-focus-card,
  .arc-grid,
  .shelf-body,
  .topic-card-grid,
  .doi-list {
    grid-template-columns: 1fr;
  }

  .dependency-strip {
    grid-template-columns: 1fr;
  }

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

  .paper-chip-list,
  .seven-list,
  .yang-mills-list,
  .five-list,
  .pair-list,
  .triptych-list {
    grid-template-columns: 1fr;
  }

  .search-result {
    grid-template-columns: 1fr;
  }

  .search-result em {
    text-align: left;
  }

  .featured-project,
  .highlight-doi {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .paper-table a {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 3.1rem;
  }
}
