@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f3f8ff;
  --bg-soft: #eaf3ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --ink: #102c5d;
  --ink-muted: rgba(16, 44, 93, 0.68);
  --accent: #1655b3;
  --accent-deep: #0c3d82;
  --accent-bright: #2f84eb;
  --accent-soft: #d8e9ff;
  --line: rgba(22, 85, 179, 0.14);
  --shadow: 0 18px 42px rgba(18, 65, 138, 0.1);
  --shadow-blue: 0 22px 54px rgba(12, 61, 130, 0.18);
  --radius-lg: 12px;
  --radius-md: 8px;
  --max-width: 1120px;
  --section-gap: 3.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(47, 132, 235, 0.08) 54% 55%, transparent 55% 100%),
    repeating-linear-gradient(90deg, rgba(22, 85, 179, 0.035) 0 1px, transparent 1px 128px),
    linear-gradient(145deg, rgba(22, 85, 179, 0.08) 0 18%, transparent 18% 100%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #f7fbff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(12, 61, 130, 0.08) 58% 58.45%, transparent 58.45% 100%),
    linear-gradient(135deg, transparent 0 65%, rgba(47, 132, 235, 0.1) 65% 65.35%, transparent 65.35% 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(47, 132, 235, 0.5);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.surface {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section[id] {
  scroll-margin-top: 6.5rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent-deep), transparent);
  opacity: 0.8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 22px rgba(18, 65, 138, 0.14);
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-title,
.brand-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.topbar-nav a {
  padding: 0.5rem 0.62rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: var(--accent-deep);
  background: rgba(22, 85, 179, 0.09);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1.08rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 14px 28px rgba(22, 85, 179, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 1.5rem;
  align-items: center;
  padding: 3.15rem 0 0.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  left: -5.8rem;
  top: 4.6rem;
  width: 5rem;
  height: 12.5rem;
  border-radius: 0 999px 999px 0;
  background:
    linear-gradient(180deg, rgba(22, 85, 179, 0.18), rgba(22, 85, 179, 0.02)),
    repeating-linear-gradient(180deg, transparent 0 1.05rem, rgba(22, 85, 179, 0.2) 1.05rem 1.18rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.eyebrow-compact {
  margin-bottom: 0.45rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.section-heading h2,
.meeting-card h2 {
  margin-bottom: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 4.4rem;
  color: var(--ink);
  text-shadow: 0 12px 36px rgba(12, 61, 130, 0.08);
}

.hero-text {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.6rem 0 1.45rem;
}

.hero-info div {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-info div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
}

.hero-info dt {
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-info dd {
  margin: 0;
  font-weight: 700;
}

.hero-logo-card {
  display: grid;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  justify-self: end;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(12, 61, 130, 0.95), rgba(22, 85, 179, 0.86)),
    #ffffff;
  box-shadow: var(--shadow-blue);
  isolation: isolate;
  overflow: hidden;
}

.hero-logo-card::before,
.hero-logo-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-card::before {
  inset: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: logo-spin 16s linear infinite;
}

.hero-logo-card::after {
  width: 150%;
  height: 150%;
  background:
    conic-gradient(from 90deg, transparent 0 18%, rgba(255, 255, 255, 0.2) 18% 22%, transparent 22% 100%);
  animation: logo-spin 12s linear infinite reverse;
  opacity: 0.7;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 6px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 24px 44px rgba(12, 61, 130, 0.24);
}

.club-signal {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.signal-card {
  display: grid;
  min-height: 7.2rem;
  align-content: space-between;
  padding: 1.1rem;
  border: 1px solid rgba(22, 85, 179, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #ffffff, rgba(216, 233, 255, 0.72));
  box-shadow: 0 12px 30px rgba(18, 65, 138, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.signal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 85, 179, 0.28);
  box-shadow: var(--shadow-blue);
}

.signal-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  max-width: 16rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.signal-card-dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(12, 61, 130, 0.98), rgba(22, 85, 179, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 1rem, rgba(255, 255, 255, 0.12) 1rem 1.08rem);
  border-color: rgba(255, 255, 255, 0.16);
}

.signal-card-dark span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  position: relative;
  margin-top: var(--section-gap);
}

.section::before {
  content: "";
  position: absolute;
  left: -1.3rem;
  top: 0.2rem;
  width: 5px;
  height: 3.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 0 0 8px rgba(47, 132, 235, 0.08);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.section-note {
  max-width: 18rem;
  margin: 0;
  color: var(--ink-muted);
}

.section-heading h2,
.meeting-card h2 {
  font-size: 2.7rem;
}

.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 1rem;
  align-items: start;
}

.season-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.season-stat {
  overflow: hidden;
  padding: 1.25rem;
  background: #ffffff;
}

.season-stat::before,
.feature-card::before,
.feed-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
}

.season-stat strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent-deep);
  font-size: 2.05rem;
  line-height: 1;
}

.season-stat span {
  color: var(--ink-muted);
  font-weight: 700;
}

.achievement-list {
  display: grid;
  background: linear-gradient(180deg, #ffffff, rgba(232, 241, 255, 0.82));
  overflow: hidden;
}

.achievement-item {
  display: grid;
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  transition: background-color 180ms ease;
}

.achievement-item:hover {
  background: rgba(216, 233, 255, 0.42);
}

.achievement-item + .achievement-item {
  border-top: 1px solid rgba(22, 85, 179, 0.1);
}

.achievement-item time {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.achievement-item h3 {
  margin-bottom: 0.28rem;
  font-size: 1.08rem;
}

.achievement-item p {
  margin: 0;
  color: var(--ink-muted);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 9.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--accent-deep);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 38%, rgba(6, 31, 67, 0.86)),
    linear-gradient(135deg, rgba(47, 132, 235, 0.2), transparent 42%);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius-lg) - 3px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.gallery-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-card.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card.is-wide {
  grid-column: span 2;
}

.gallery-card.is-tall {
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  color: #ffffff;
}

.gallery-overlay span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-overlay strong {
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.25;
}

.gallery-state {
  grid-column: 1 / -1;
  padding: 1.35rem;
}

.gallery-state h3 {
  margin-bottom: 0.42rem;
  font-size: 1.15rem;
}

.gallery-state p {
  margin: 0;
  color: var(--ink-muted);
}

.upcoming,
.calendar-panel {
  padding: 1.25rem;
}

.upcoming-header,
.calendar-panel-header,
.feed-card-topline,
.feed-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.upcoming h3,
.calendar-panel h3,
.feature-card h3,
.feed-card h3,
.feed-state h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.upcoming-header span,
.feed-updated,
.feed-source,
.feed-views {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.upcoming-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.upcoming-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem;
  border: 1px solid rgba(22, 85, 179, 0.12);
  border-radius: var(--radius-md);
  background: rgba(216, 233, 255, 0.48);
}

.upcoming-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent-bright);
}

.upcoming-item strong,
.upcoming-item span {
  display: block;
}

.upcoming-item span {
  margin-top: 0.22rem;
  color: var(--ink-muted);
}

.upcoming-time {
  color: var(--accent-deep);
  font-weight: 800;
}

.calendar-panel {
  background: linear-gradient(180deg, #ffffff, rgba(232, 241, 255, 0.9));
}

.calendar-legend {
  display: grid;
  gap: 0.42rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.legend-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
}

.legend-training {
  background: var(--accent);
}

.legend-today {
  background: #69b6ff;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
}

.calendar-weekdays {
  margin-bottom: 0.65rem;
}

.calendar-weekdays span {
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-height: 4rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.62rem 0.5rem;
  border: 1px solid rgba(22, 85, 179, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-muted);
  font-weight: 700;
}

.calendar-day.is-empty {
  background: transparent;
  border-style: dashed;
  opacity: 0.35;
}

.calendar-day.is-training {
  color: var(--accent-deep);
  border-color: rgba(22, 85, 179, 0.2);
  box-shadow: inset 0 0 0 1px rgba(22, 85, 179, 0.05);
}

.calendar-day.is-training::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(22, 85, 179, 0.08);
  animation: training-pulse 2.4s ease-in-out infinite;
}

.calendar-day.is-today {
  background: linear-gradient(180deg, rgba(105, 182, 255, 0.22), rgba(255, 255, 255, 0.84));
  border-color: rgba(47, 132, 235, 0.3);
}

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

.feature-card {
  overflow: hidden;
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.feature-index {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}

.feature-card p,
.meeting-card p,
.feed-card p,
.feed-state p {
  margin-bottom: 0;
  color: var(--ink-muted);
  line-height: 1.68;
}

.meeting-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 1fr);
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.45rem;
  background: linear-gradient(135deg, #ffffff, rgba(216, 233, 255, 0.74));
}

.meeting-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meeting-list li {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(22, 85, 179, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.meeting-card p {
  grid-column: 1 / -1;
}

.feed-meta {
  display: grid;
  justify-items: end;
  gap: 0.28rem;
}

.feed-source {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.75rem;
  border: 1px solid rgba(22, 85, 179, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-deep);
  font-weight: 700;
}

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

.feed-card,
.feed-state {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: #ffffff;
}

.feed-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feed-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.feed-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  background: linear-gradient(135deg, rgba(22, 85, 179, 0.14), rgba(105, 182, 255, 0.16));
  color: #ffffff;
}

.feed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-media.is-video {
  gap: 0.45rem;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(12, 61, 130, 0.94), rgba(22, 85, 179, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.feed-media.is-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.14) 55% 56%, transparent 56% 100%);
}

.feed-video-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(5, 24, 52, 0.22);
}

.feed-video-icon::before {
  content: "";
  margin-left: 0.24rem;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.05rem solid #ffffff;
}

.feed-media.is-video strong,
.feed-media.is-video > span:not(.feed-badge):not(.feed-video-icon) {
  position: relative;
  z-index: 1;
}

.feed-media.is-video strong {
  font-size: 1.02rem;
}

.feed-media.is-video > span:not(.feed-badge):not(.feed-video-icon) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.feed-media.has-media-error {
  display: none;
}

.feed-badge {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(12, 61, 130, 0.86);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feed-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.feed-card-topline {
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.feed-card h3 {
  margin-bottom: 0.42rem;
  line-height: 1.25;
}

.feed-excerpt {
  color: var(--ink-muted);
  line-height: 1.62;
}

.feed-fulltext {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(22, 85, 179, 0.1);
  color: var(--ink-muted);
  line-height: 1.68;
}

.feed-fulltext[hidden] {
  display: none;
}

.feed-fulltext p {
  margin: 0;
}

.feed-card-footer {
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
}

.feed-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-left: auto;
}

.feed-toggle,
.feed-link {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--accent-deep);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.feed-toggle:hover,
.feed-toggle:focus-visible,
.feed-link:hover,
.feed-link:focus-visible {
  color: var(--accent);
}

.feed-state {
  grid-column: 1 / -1;
  padding: 1.35rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(22, 85, 179, 0.12);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@keyframes logo-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes training-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(22, 85, 179, 0.08);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(47, 132, 235, 0.16);
  }
}

@keyframes rise-in {
  from {
    transform: translateY(12px);
  }

  to {
    transform: translateY(0);
  }
}

.hero,
.club-signal,
.section {
  animation: rise-in 520ms ease both;
}

.club-signal {
  animation-delay: 80ms;
}

.section {
  animation-delay: 140ms;
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .club-signal,
  .season-stats,
  .schedule-layout,
  .feature-grid,
  .gallery-grid,
  .meeting-card,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 13rem;
  }

  .gallery-card.is-large,
  .gallery-card.is-wide,
  .gallery-card.is-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-logo-card {
    justify-self: start;
    padding: 1rem;
  }

  .hero::before,
  .section::before {
    display: none;
  }

  .hero-logo {
    width: min(100%, 12rem);
  }

  .section-heading-inline,
  .calendar-panel-header,
  .upcoming-header,
  .feed-card-topline,
  .feed-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .feed-meta {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(calc(100% - 0.8rem), var(--max-width));
    padding-top: 0.6rem;
  }

  .topbar {
    top: 0.4rem;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .topbar-nav {
    display: none;
  }

  .topbar-cta,
  .hero-cta {
    width: 100%;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-logo-card {
    display: none;
  }

  .club-signal {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .signal-card {
    min-height: 6.2rem;
  }

  .gallery-grid {
    grid-auto-rows: 12rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .meeting-card h2 {
    font-size: 2rem;
  }

  .hero-info,
  .achievement-item,
  .upcoming-item {
    grid-template-columns: 1fr;
  }

  .achievement-item {
    gap: 0.65rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 0.3rem;
  }

  .calendar-day {
    min-height: 3.25rem;
    padding: 0.48rem 0.38rem;
    font-size: 0.9rem;
  }

}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
