:root {
  color-scheme: dark;
  --bg: #090909;
  --surface: #111111;
  --text: #f5f3ef;
  --muted: #aaa7a1;
  --line: #292929;
  --red: #df261d;
  --red-bright: #ff3b2f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--red-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  color: #000;
  background: #fff;
  transform: translateY(-150%);
}

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

.site-header,
.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.brand-kca {
  color: var(--red-bright);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-place {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-nav,
.site-footer nav {
  display: flex;
  gap: clamp(16px, 4vw, 32px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-footer a[aria-current="page"] {
  color: var(--red-bright);
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  min-height: min(720px, calc(100svh - 82px));
  margin-inline: auto;
  padding: clamp(76px, 12vw, 150px) 0 clamp(72px, 10vw, 120px);
  align-content: center;
  justify-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: min(700px, 90vw);
  height: min(420px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 38, 29, 0.17), transparent 68%);
  filter: blur(18px);
}

.eyebrow,
.section-number {
  margin: 0 0 24px;
  color: var(--red-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.hero-logo {
  width: min(760px, 96%);
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.6));
}

.hero-copy {
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  font-weight: 750;
  letter-spacing: 0.16em;
}

.rule {
  width: 52px;
  height: 3px;
  margin: 30px 0 24px;
  background: var(--red);
}

.venue-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.identity {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto clamp(80px, 12vw, 150px);
  padding: clamp(34px, 6vw, 64px);
  grid-template-columns: 80px 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.72);
}

.identity h2,
.document-header h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.identity p:not(.section-number) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
}

.document-shell {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.document-header {
  padding-bottom: clamp(44px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
}

.document-header .lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
}

.document-body {
  counter-reset: section;
}

.document-body section {
  display: grid;
  padding: 42px 0;
  grid-template-columns: minmax(190px, 0.38fr) 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.document-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.document-body p {
  margin: 0;
  color: #cfccc6;
}

.document-body p + p {
  margin-top: 16px;
}

.document-body section > p,
.document-body section > div {
  grid-column: 2;
}

.effective-date {
  padding-top: 36px;
  text-align: right;
  font-size: 0.85rem;
}

.site-footer {
  min-height: 124px;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.not-found {
  display: grid;
  min-height: 100svh;
  padding: 40px 20px;
  place-content: center;
  justify-items: start;
}

.back-link {
  margin-top: 32px;
  color: var(--red-bright);
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 70px;
  }

  .brand-place {
    display: none;
  }

  .hero,
  .identity,
  .document-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: calc(100svh - 70px);
  }

  .identity,
  .document-body section {
    grid-template-columns: 1fr;
  }

  .identity {
    padding: 34px 24px;
  }

  .identity h2 {
    font-size: 2.2rem;
  }

  .document-body section {
    gap: 14px;
  }

  .document-body section > p,
  .document-body section > div {
    grid-column: 1;
  }

  .site-footer {
    padding: 30px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

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