:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-2: #0f0f0f;
  --ink: #f5f5f5;
  --muted: #c9c3b6;
  --quiet: #8f8777;
  --gold: #d4af37;
  --gold-2: #c69c3a;
  --gold-dim: rgba(212, 175, 55, 0.28);
  --line: rgba(212, 175, 55, 0.18);
  --panel: rgba(255, 255, 255, 0.025);
  --panel-strong: rgba(255, 255, 255, 0.045);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.11), transparent 28rem),
    linear-gradient(180deg, #050505 0%, var(--bg) 34%, #090806 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.38;
}

body,
a,
button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 5;
  transform: translateY(-140%);
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-word {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.3em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 104px 16px 64px;
  border-bottom: 1px solid var(--line);
}

.hero-frame {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.opening-line {
  max-width: 760px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.7vw, 1.34rem);
  line-height: 1.55;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo-large {
  width: clamp(210px, 50vw, 380px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 38px rgba(212, 175, 55, 0.14));
}

.brand-logo-small {
  width: 62px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.08));
}

.symbol-reading {
  max-width: 760px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: var(--quiet);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.45rem, 11vw, 6.35rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.slogan {
  margin: 0 auto 24px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 3.5vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.24rem);
}

.hero-button,
.continue-actions a,
.article-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-2);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-button,
.continue-actions a:first-child {
  background: linear-gradient(180deg, #d9b95b 0%, var(--gold-2) 100%);
  color: #111;
  padding: 12px 22px;
}

.hero-button:hover,
.continue-actions a:first-child:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 13vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  max-width: 850px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.9rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.manifesto-section,
.work-section,
.continue-section {
  text-align: center;
}

.manifesto-section h2,
.work-section h2,
.continue-section h2 {
  margin-inline: auto;
}

.manifesto-copy,
.work-panel {
  max-width: 790px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.04rem, 2.5vw, 1.22rem);
}

.manifesto-copy p,
.work-panel p {
  margin-bottom: 18px;
}

.work-panel {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), transparent);
}

.mechanisms-section h2,
.library-section h2 {
  max-width: 760px;
}

.mechanism-grid,
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mechanism-grid,
.article-grid {
  margin-top: 36px;
}

.mechanism-card,
.article-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.mechanism-card {
  min-height: 176px;
  padding: 24px;
}

.mechanism-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.mechanism-card h3,
.article-card h3 {
  font-weight: 400;
  line-height: 1.18;
}

.mechanism-card h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 1.55rem;
}

.mechanism-card p,
.article-card p,
.continue-section p {
  color: var(--muted);
}

.article-card {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-cover {
  width: calc(100% + 48px);
  margin: -24px -24px 22px;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.02));
}

.article-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.28rem;
}

.article-card p {
  margin-bottom: 24px;
  font-size: 0.96rem;
}

.article-card a {
  width: fit-content;
  min-height: auto;
  margin-top: auto;
  border: 0;
  color: var(--gold);
  justify-content: flex-start;
  letter-spacing: 0.08em;
  text-transform: none;
}

.article-card a:hover,
.continue-actions a:last-child:hover {
  color: var(--gold-2);
}

.continue-section p {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 1.1rem;
}

.continue-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.continue-actions a {
  width: min(100%, 300px);
  padding: 12px 18px;
}

.continue-actions a:last-child {
  background: transparent;
  color: var(--gold);
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 54px;
  display: grid;
  gap: 22px;
  color: var(--quiet);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-copy p {
  margin-bottom: 5px;
}

.footer-copy a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 720px) {
  .site-header {
    padding-top: 30px;
  }

  .nav {
    display: flex;
  }

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

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

  .continue-actions {
    flex-direction: row;
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (min-width: 1040px) {
  .mechanism-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .mechanism-card {
    min-height: 210px;
    padding: 18px;
  }

  .mechanism-card h3 {
    font-size: 1.22rem;
  }

  .mechanism-card p {
    font-size: 0.9rem;
  }

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


