:root {
  --ink: #07111f;
  --ink-2: #111d2d;
  --paper: #efebe2;
  --paper-cool: #f7f5ee;
  --line: #d2c9ba;
  --muted: #596274;
  --muted-2: #7a7469;
  --bronze: #a87637;
  --steel: #53728d;
  --white: #fffaf0;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration-color: rgba(168, 118, 55, 0.55);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #6d481e;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 170, 107, 0.95);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98), rgba(17, 29, 45, 0.94)),
    var(--ink);
  color: var(--white);
  border-bottom: 3px solid rgba(168, 118, 55, 0.72);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 250, 240, 0.14);
}

.hero-inner,
.content,
.footer-inner {
  width: calc(100% - 48px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 82px 0 56px;
}

.site-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 240, 0.2);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 250, 240, 0.9);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #d7aa6b;
}

.hero-copy {
  max-width: min(760px, 100%);
}

.hero h1 {
  margin: 0;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: 0;
}

.hero .lead {
  margin: 26px 0 0;
  max-width: 760px;
  color: rgba(255, 250, 240, 0.84);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.32;
}

.hero .support {
  max-width: 680px;
  color: rgba(255, 250, 240, 0.68);
  margin-top: 18px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 250, 240, 0.04);
}

.button:hover {
  border-color: #d7aa6b;
  color: #d7aa6b;
}

.button.secondary {
  border-color: rgba(168, 118, 55, 0.8);
}

.system-mark {
  position: absolute;
  right: max(2rem, calc((100vw - var(--max)) / 2));
  top: 48px;
  width: min(420px, 34vw);
  opacity: 0.3;
  pointer-events: none;
}

.ring {
  fill: none;
  stroke: rgba(255, 250, 240, 0.12);
  stroke-width: 2;
  stroke-linecap: round;
  animation: rotateRing 72s linear infinite;
  transform-origin: 50% 50%;
}

.ring:nth-child(2) {
  animation-duration: 112s;
  animation-direction: reverse;
  stroke: rgba(168, 118, 55, 0.25);
}

.node-line {
  stroke: rgba(83, 114, 141, 0.32);
  stroke-width: 1;
}

.node {
  fill: rgba(215, 170, 107, 0.6);
}

@keyframes rotateRing {
  to {
    transform: rotate(360deg);
  }
}

.content {
  padding: 64px 0 92px;
}

.section {
  margin-top: 72px;
}

.section:first-child {
  margin-top: 0;
}

.section::before {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--ink);
}

h2,
h3 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.narrow {
  max-width: 760px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  min-height: 250px;
  border: 1px solid var(--line);
  background: rgba(247, 245, 238, 0.54);
  padding: 28px;
}

.card h3 {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(168, 118, 55, 0.55);
}

.card p {
  margin-top: 16px;
  color: #4c5565;
}

.pub-list {
  border-top: 1px solid var(--line);
  margin-top: 26px;
}

.pub-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pub-row time,
.pub-row .meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.pub-row strong {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.callout {
  max-width: 860px;
  margin-top: 36px;
  border: 1px solid rgba(168, 118, 55, 0.72);
  background: rgba(255, 250, 240, 0.36);
  padding: 24px 28px;
}

.callout h3 {
  margin-bottom: 8px;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.status-item {
  border-left: 3px solid var(--bronze);
  padding: 4px 0 4px 16px;
  color: #414b5a;
}

.page-head {
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid rgba(168, 118, 55, 0.72);
}

.page-head .hero-inner {
  padding: 42px 0 34px;
}

.page-head h1 {
  margin: 0;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.page-head p {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 250, 240, 0.76);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 48px;
}

.side-panel {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(247, 245, 238, 0.6);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0;
  font-size: 0.94rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ring {
    animation: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-inner,
  .content,
  .footer-inner {
    width: calc(100% - 32px);
    max-width: var(--max);
  }

  .hero-inner {
    padding: 56px 0 38px;
  }

  .system-mark {
    right: -90px;
    top: 24px;
    width: 280px;
    opacity: 0.16;
  }

  .site-nav {
    gap: 18px;
    margin-top: 40px;
  }

  .hero .lead {
    font-size: 1.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .grid,
  .status-list,
  .two-column {
    grid-template-columns: 1fr;
  }

  .pub-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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