:root {
  --bg-top: #1f1f1f;
  --bg-bottom: #101010;
  --surface: #1a1a1a;
  --text: #f6f6f6;
  --text-muted: #cfcfcf;
  --stroke: #353535;
  --focus: #ffffff;
  --radius: 20px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  line-height: 1.35;
}

.hub {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 0.85rem 0.85rem 2.2rem;
}

.hero {
  margin-bottom: 0.95rem;
}

.hero-panel {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #2f2f2f;
}

.hero-media {
  position: relative;
  min-height: 34vh;
  max-height: 320px;
  background-image:
    linear-gradient(150deg, rgba(230, 230, 230, 0.18), rgba(25, 25, 25, 0.55)),
    url("./assets/69a1042c0141a.jpg");
  background-size: cover;
  background-position: center 28%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.78) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-align: center;
  padding: 0.8rem 0.85rem 0.9rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d8d8d8;
}

h1 {
  margin: 0.2rem 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.55rem, 6.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.07;
}

.subtitle {
  margin: 0.14rem 0 0;
  color: #d6d6d6;
  font-size: 0.9rem;
}

.intro {
  margin: 0.45rem auto 0;
  max-width: 38ch;
  color: #efefef;
  font-size: 0.8rem;
}

.links-list.hero-social {
  margin-top: 0.45rem;
  display: flex;
  gap: 0.52rem;
  overflow-x: auto;
  justify-content: center;
  scrollbar-width: thin;
  padding-bottom: 0.15rem;
}

.links-section {
  margin-top: 0.86rem;
}

h2 {
  margin: 0 0 0.58rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c4c4c4;
}

.links-list {
  display: grid;
  gap: 0.62rem;
}

.link-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  min-height: 86px;
  padding: 0.88rem 0.95rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 320ms ease forwards;
}

.link-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-1px);
  border-color: #eeeeee;
}

.link-card:active {
  transform: translateY(0);
}

.link-card-disabled {
  opacity: 0.86;
  cursor: default;
}

.link-card-disabled:hover,
.link-card-disabled:focus-visible {
  transform: none;
  border-color: var(--stroke);
}

.links-list.hero-social .social-icon-link {
  flex: 0 0 auto;
  width: 50px;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  background: rgba(10, 10, 10, 0.45);
}

.links-list.hero-social .social-icon-link:hover,
.links-list.hero-social .social-icon-link:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

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

.social-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card {
  min-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #2b2b2b;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 25%, rgba(0, 0, 0, 0.78) 94%),
    var(--card-image, linear-gradient(140deg, #4b4b4b, #1f1f1f));
  background-size: cover;
  background-position: center;
}

.feature-card::after {
  content: none;
}

.link-glyph {
  position: absolute;
  top: 0.7rem;
  left: 0.75rem;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: #0f0f0f;
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.8rem 0.85rem 0.75rem;
  text-align: center;
}

.link-label {
  margin: 0;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.link-description {
  margin: 0.22rem 0 0;
  font-size: 0.84rem;
  color: #ededed;
}

.link-meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9d9d9;
}

.note {
  margin: 1.1rem 0 0;
  text-align: center;
  color: #bfbfbf;
  font-size: 0.78rem;
}

.hub-footer {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.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;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .hub {
    padding: 1.2rem 1.2rem 2.7rem;
  }

  .hero-media {
    min-height: 40vh;
    max-height: 400px;
    background-position: center 22%;
  }

  .feature-card {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .link-card:hover,
  .link-card:focus-visible,
  .link-card:active {
    transform: none;
  }
}
