:root {
  color-scheme: dark;
  --panel: rgba(10, 17, 24, 0.78);
  --panel-strong: rgba(18, 27, 37, 0.92);
  --line: rgba(230, 238, 244, 0.14);
  --text: #e7eef3;
  --muted: #9aa8b3;
  --accent: #b7d3c6;
  --accent-strong: #d7f2e3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 15% 20%, rgba(135, 176, 145, 0.12), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(134, 185, 214, 0.14), transparent 18%),
    radial-gradient(circle at 75% 75%, rgba(211, 184, 150, 0.1), transparent 24%),
    linear-gradient(180deg, #091018 0%, #0a141d 42%, #081018 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 50% -10%, rgba(183, 211, 198, 0.06), transparent 36%) no-repeat,
    url("./topo.svg") repeat;
  background-size: auto, 960px 640px;
}

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

a:hover {
  color: var(--accent-strong);
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar {
  padding: 10px 0 22px;
}

.brand {
  display: inline-block;
}

.signal-wordmark {
  display: block;
  width: min(356px, 72vw);
  height: auto;
}

.topnav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.section,
.footer {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 28px;
  margin-top: 10px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 6px;
}

.hero-copy h1,
.journal-feature h2,
.section-heading h2,
.activity-card h3,
.schedule-item h3,
.social-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 56ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #0b1117;
  font-weight: 700;
  background: var(--accent-strong);
}

.club-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.club-details li {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.club-details strong,
.club-details span {
  display: block;
}

.club-details strong {
  color: var(--accent-strong);
  font-size: 0.88rem;
  line-height: 1.25;
}

.club-details span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-panel {
  display: grid;
}

.journal-link,
.journal-feature {
  height: 100%;
}

.journal-link {
  display: block;
  border-radius: 20px;
}

.journal-feature,
.activity-card,
.schedule-item,
.social-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
}

.journal-feature {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.journal-feature::after,
.journal-feature img,
.journal-feature figcaption {
  position: absolute;
  inset: 0;
}

.journal-feature::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, transparent 18%, rgba(7, 13, 19, 0.2) 45%, rgba(7, 13, 19, 0.96) 100%);
}

.journal-feature img {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-feature figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 38px);
}

.panel-label,
.social-card-label {
  font-weight: 700;
  text-transform: uppercase;
}

.panel-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.journal-feature h2 {
  max-width: 10ch;
  margin: 12px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.journal-feature figcaption > p:not(.panel-label) {
  max-width: 38ch;
  margin: 16px 0 0;
  color: rgba(231, 238, 243, 0.78);
}

.journal-cta,
.social-card-action {
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 700;
}

.journal-cta {
  width: fit-content;
  margin-top: 22px;
}

.journal-cta > span,
.social-card-action span {
  display: inline-block;
  margin-left: 0.2em;
  transition: transform 180ms ease;
}

.journal-link:hover,
.social-card:hover,
.social-card:focus-visible {
  color: var(--text);
}

.journal-link:hover .journal-feature,
.journal-link:focus-visible .journal-feature,
.social-card:hover,
.social-card:focus-visible {
  border-color: rgba(215, 242, 227, 0.4);
  transform: translateY(-2px);
}

.journal-link:focus-visible,
.social-card:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.journal-link:hover .journal-cta > span,
.journal-link:focus-visible .journal-cta > span,
.social-card:hover .social-card-action span,
.social-card:focus-visible .social-card-action span {
  transform: translate(2px, -2px);
}

.section {
  padding: 26px 28px 30px;
  margin-top: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.94;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.activity-card {
  grid-column: span 2;
  min-height: 354px;
  overflow: hidden;
}

.activity-card:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.activity-card > img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #202932;
}

.activity-card-copy,
.social-card {
  padding: 20px;
}

.activity-card h3,
.schedule-item h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.activity-card p,
.schedule-item p,
.social-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.activity-source {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.activity-source a {
  text-decoration: underline;
  text-decoration-color: rgba(154, 168, 179, 0.45);
  text-underline-offset: 0.25em;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.day {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  background: rgba(24, 36, 48, 0.96);
}

.social-card-label {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.social-card h3 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.social-card-action {
  padding-top: 18px;
}

.footer {
  padding: 18px 22px;
  margin-top: 22px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .journal-feature,
  .journal-cta > span,
  .social-card,
  .social-card-action span {
    transition: none;
  }
}

@media (max-width: 1000px) {
  .hero,
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 18px;
  }

  .activity-card,
  .activity-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }

  .activity-card:last-child {
    grid-column: 2 / span 4;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 10px;
  }

  .topbar,
  .footer,
  .section-heading,
  .schedule-item {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .topbar {
    gap: 16px;
  }

  .hero,
  .section {
    padding: 20px;
  }

  .hero,
  .club-details,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .journal-feature {
    min-height: 520px;
  }

  .activity-card,
  .activity-card:nth-last-child(-n + 2),
  .activity-card:last-child {
    grid-column: 1 / -1;
  }

  .activity-card > img {
    height: 210px;
  }

  .activity-source {
    text-align: left;
  }

  .schedule-item {
    gap: 10px;
  }
}
