:root {
  color-scheme: light;
  --ink: #11120f;
  --ink-soft: #34362f;
  --muted: #67695e;
  --paper: #f7f6f1;
  --paper-strong: #fffefa;
  --line: rgba(17, 18, 15, 0.13);
  --olive: #7b7d4d;
  --olive-dark: #5d6038;
  --red: #b3312b;
  --shadow: 0 20px 55px rgba(17, 18, 15, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(123, 125, 77, 0.13), transparent 28%),
    linear-gradient(180deg, #edebe4 0%, var(--paper) 46%, #ebe9e1 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

.page-shell {
  width: min(100%, 1120px);
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 18px;
}

.hero {
  position: relative;
  min-height: 342px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 32px 22px;
  color: #fffefa;
  background:
    linear-gradient(90deg, rgba(17, 18, 15, 0.9), rgba(17, 18, 15, 0.54)),
    linear-gradient(180deg, #4a4c48 0%, #171814 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(17, 18, 15, 0.82));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 18vw, 7.4rem);
  line-height: 0.82;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: #a4a76a;
}

.hero p {
  max-width: 34rem;
  margin: 24px 0 0;
  color: rgba(255, 254, 250, 0.9);
  font-size: clamp(1.05rem, 2.8vw, 1.32rem);
  line-height: 1.45;
}

.skyline {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.skyline span {
  position: absolute;
  bottom: 0;
  display: block;
  background: rgba(255, 254, 250, 0.16);
}

.needle {
  left: 66%;
  width: 4px;
  height: 220px;
  transform: translateX(-50%);
}

.needle::before {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 94px;
  height: 13px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.2);
  transform: translateX(-50%);
}

.needle::after {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 1px;
  height: 36px;
  content: "";
  background: rgba(255, 254, 250, 0.32);
  transform: translateX(-50%);
}

.tower-a {
  left: 8%;
  width: 44px;
  height: 96px;
}

.tower-b {
  left: 18%;
  width: 58px;
  height: 132px;
}

.tower-c {
  right: 17%;
  width: 68px;
  height: 118px;
}

.tower-d {
  right: 5%;
  width: 42px;
  height: 156px;
}

.content {
  padding: 22px 16px 28px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.community-link,
.social-link {
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.community-link {
  margin-top: -52px;
  position: relative;
  z-index: 3;
  padding: 14px 14px;
  color: #fffefa;
  background:
    linear-gradient(135deg, rgba(123, 125, 77, 0.95), rgba(93, 96, 56, 0.95)),
    var(--olive);
  box-shadow: 0 18px 36px rgba(17, 18, 15, 0.24);
}

.community-link strong,
.social-link strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.community-link small,
.social-link small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 254, 250, 0.72);
  font-size: 0.88rem;
  line-height: 1.2;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.arrow {
  font-size: 2rem;
  line-height: 1;
}

.series {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0 16px;
  margin: 34px 0 30px;
}

.series .marker {
  grid-row: span 2;
  width: 4px;
  background: var(--red);
}

.series .label {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series h2,
.links h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.series > p {
  grid-column: 2;
  max-width: 34rem;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.48;
}

.links h2 {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 10px;
}

.social-link {
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.social-link small {
  color: var(--muted);
}

.social-link .arrow {
  color: var(--ink);
}

.community-link:hover,
.social-link:hover,
.community-link:focus-visible,
.social-link:focus-visible {
  transform: translateY(-2px);
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(123, 125, 77, 0.42);
  box-shadow: 0 12px 26px rgba(17, 18, 15, 0.1);
}

.community-link:focus-visible,
.social-link:focus-visible {
  outline: 3px solid rgba(179, 49, 43, 0.35);
  outline-offset: 3px;
}

.brand {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 780;
  background: #fff;
}

.facebook {
  color: #1877f2;
}

.instagram {
  color: #d6249f;
  font-size: 2rem;
}

.xbrand {
  color: #111;
}

.youtube {
  color: #ff0000;
  font-size: 1.35rem;
}

.tiktok {
  color: #111;
}

footer {
  width: min(100% - 36px, 1064px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
  padding: 22px 18px 32px;
  color: rgba(255, 254, 250, 0.82);
  background: #11120f;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
}

footer strong {
  color: #a4a76a;
  font-size: 1.3rem;
}

footer span {
  font-size: 0.94rem;
}

@media (min-width: 760px) {
  .page-shell {
    padding: 32px 28px 0;
  }

  .hero {
    min-height: 390px;
    padding: 42px 48px;
  }

  .hero h1 {
    font-size: clamp(5.6rem, 9vw, 8.2rem);
  }

  .content {
    padding: 28px 48px 44px;
  }

  .community-link {
    width: min(100%, 520px);
    margin: -50px auto 0;
    padding-inline: 18px;
  }

  .series {
    grid-template-columns: 4px minmax(220px, 1fr) minmax(260px, 0.8fr);
    align-items: center;
    margin: 48px 0 46px;
  }

  .series .marker {
    grid-row: 1;
    height: 64px;
  }

  .series > p {
    grid-column: 3;
    margin: 0;
  }

  .link-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .social-link {
    min-height: 148px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    padding: 16px 10px;
  }

  .social-link .arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .page-shell {
    padding: 10px;
  }

  .hero {
    min-height: 324px;
    padding: 26px 18px;
  }

  .content {
    padding-inline: 12px;
  }

  .community-link,
  .social-link {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
  }

  .brand,
  .icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
