:root {
  --black: #050505;
  --charcoal: #0b0b0b;
  --panel: #11100f;
  --line: rgba(219, 211, 194, 0.16);
  --text: #d7d0c2;
  --muted: #898276;
  --soft: #b9af9d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -18rem, rgba(185, 175, 157, 0.12), transparent 34rem),
    linear-gradient(180deg, #070707 0%, #0a0a09 48%, #040404 100%);
  font-family: "Althera", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: 0.18;
  background-image:
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 74% 48%, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent 0 21px, rgba(255, 255, 255, 0.04) 22px, transparent 23px);
  background-size: 180px 180px, 230px 230px, 46px 100%;
  mix-blend-mode: soft-light;
}

body::after {
  opacity: 0.11;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 32%, rgba(0, 0, 0, 0.12) 63%, transparent);
  animation: static-shift 7s steps(3, end) infinite;
}

.page-shell {
  width: min(100%, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 24px 26px;
}

.cover-section {
  position: relative;
  display: flex;
  min-height: clamp(420px, 70vh, 760px);
  margin: 0 calc(50% - 50vw) 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}

.cover-section::before,
.cover-section::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.cover-section::before {
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.42) 18%, rgba(5, 5, 5, 0.12) 50%, rgba(5, 5, 5, 0.42) 82%, #050505 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.14) 0%, transparent 42%, #050505 100%);
}

.cover-section::after {
  background:
    radial-gradient(ellipse at center, transparent 0 34%, rgba(5, 5, 5, 0.54) 72%, #050505 100%),
    linear-gradient(180deg, transparent 60%, #050505 100%);
}

.cover-frame {
  position: relative;
  width: 100%;
  height: clamp(420px, 70vh, 760px);
  overflow: visible;
}

.cover-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) sepia(0.08) saturate(0.62) contrast(1.18) brightness(0.47);
  mix-blend-mode: luminosity;
  opacity: 0.92;
  transform: scale(1.04);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 38%, rgba(0, 0, 0, 0.82) 50%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 0 38%, rgba(0, 0, 0, 0.82) 50%, transparent 76%);
}

.manifesto {
  width: min(100%, 790px);
  margin: 0 auto;
  padding: 42px 0 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto p {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.82;
  text-wrap: pretty;
}

.manifesto p:last-child {
  margin-bottom: 0;
}

.signature {
  color: var(--soft);
  text-align: right;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 132px;
  padding: 46px 0 8px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  width: 108px;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: var(--soft);
  text-decoration: none;
  background: rgba(18, 17, 16, 0.82);
  border: 1px solid rgba(215, 208, 194, 0.14);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: #ded7c8;
  background: rgba(26, 25, 23, 0.94);
  border-color: rgba(215, 208, 194, 0.34);
  transform: translateY(-2px);
  outline: none;
}

.social-link img {
  width: 27px;
  height: 27px;
  display: block;
  opacity: 0.92;
  filter: grayscale(1);
}

.social-link span {
  color: var(--muted);
  font-family: "Althera", Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
}

.corner-mark {
  position: absolute;
  right: 0;
  bottom: 4px;
  margin: 0;
  color: rgba(215, 208, 194, 0.42);
  font-family: "Althera", Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
}

@keyframes static-shift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -4px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0 16px 24px;
  }

  .cover-section {
    min-height: clamp(360px, 58vh, 540px);
    margin-bottom: 34px;
  }

  .cover-frame {
    height: clamp(360px, 58vh, 540px);
  }

  .cover-art {
    transform: scale(1.24);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 34%, rgba(0, 0, 0, 0.78) 48%, transparent 76%);
    mask-image: radial-gradient(ellipse at center, #000 0 34%, rgba(0, 0, 0, 0.78) 48%, transparent 76%);
  }

  .manifesto {
    padding: 32px 0 44px;
  }

  .manifesto p {
    font-size: 1.04rem;
    line-height: 1.76;
  }

  .site-footer {
    display: block;
    min-height: 0;
    padding-top: 34px;
  }

  .socials {
    gap: 10px;
  }

  .social-link {
    width: calc(50% - 5px);
    min-height: 76px;
  }

  .corner-mark {
    position: static;
    margin-top: 30px;
    text-align: right;
  }
}
