:root {
  --kutube-topbar-background: rgba(255, 255, 255, 0.9);
  --kutube-topbar-border: #d7e1ed;
  --kutube-topbar-text: #050505;
  --kutube-topbar-active: #3264cf;
}

html {
  background: transparent;
  overflow-x: clip;
  overflow-y: scroll;
  overscroll-behavior-y: auto;
}

body {
  min-height: 100%;
  background: transparent;
  overflow: visible;
  overscroll-behavior-y: auto;
}

/* Adapted from the supplied KU Tube light top-bar package. */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: auto;
  align-items: initial;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-shell {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 4.35rem;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0.35rem 1rem;
  pointer-events: auto;
  border: 1px solid var(--kutube-topbar-border);
  border-radius: 1rem;
  background: var(--kutube-topbar-background);
  box-shadow: 0 12px 34px rgba(8, 29, 51, 0.08);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  backdrop-filter: blur(30px) saturate(185%);
}

.brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: #0d4c92;
}

.brand .brand-mark-official {
  display: block;
  width: 15.8rem;
  height: auto;
  object-fit: contain;
}

.brand-separator {
  width: 1px;
  height: 2.5rem;
  flex: 0 0 1px;
  background: rgba(15, 23, 42, 0.18);
}

.brand-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: #0d4c92;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1;
  white-space: nowrap;
}

.brand-label strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-label small {
  margin-top: 0.32rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 1rem;
}

.site-nav > a {
  border-radius: 0.75rem;
  padding: 0.5rem 0.95rem;
  color: var(--kutube-topbar-text);
  font-size: 0.9rem;
  font-weight: 650;
  opacity: 1;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav > a:hover {
  color: #000;
  background: rgba(13, 76, 148, 0.07);
}

.site-nav > a.nav-active {
  color: #fff;
  background: #0d4c94;
  box-shadow: 0 8px 20px rgba(13, 76, 148, 0.25);
}

.header-controls {
  display: none;
}

.hero {
  padding-top: 10rem;
}

.site-footer {
  grid-template-columns: auto 1fr auto;
  min-height: 0;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-top: 0;
  background: #0d4c94;
  color: #fff;
}

.footer-brand {
  display: block;
  line-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand img {
  display: block;
  width: 4.35rem;
  height: auto;
}

.site-footer .footer-socials {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.footer-socials a:hover {
  color: #0d4c94;
  background: #fff;
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-socials .linkedin-icon {
  fill: currentColor;
  stroke: none;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .site-header {
    padding: 0 1.5rem;
  }

  .nav-shell {
    width: auto;
    min-height: 4.45rem;
  }

  .brand .brand-mark-official {
    width: 18rem;
    height: auto;
  }

  .brand-separator {
    height: 2.8rem;
  }

  .brand-label strong {
    font-size: 1.15rem;
  }

  .brand-label small {
    font-size: 0.76rem;
  }
}

@media (max-width: 920px) and (min-width: 768px) {
  .site-nav > a {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    top: max(0.75rem, env(safe-area-inset-top));
    padding: 0 1rem;
  }

  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 5.25rem;
    padding: 0.7rem 0.75rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    gap: 0.4rem;
  }

  .brand .brand-mark-official {
    width: min(15.8rem, calc(100vw - 7.5rem));
    height: auto;
  }

  .brand-separator {
    height: 2.75rem;
  }

  .brand-label strong {
    overflow: hidden;
    font-size: 0.94rem;
    text-overflow: ellipsis;
  }

  .brand-label small {
    margin-top: 0.26rem;
    overflow: hidden;
    font-size: 0.61rem;
    letter-spacing: 0.075em;
    text-overflow: ellipsis;
  }

  .site-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    align-items: stretch;
    margin: 0;
    padding: 0.65rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-shell.nav-open {
    border: 1px solid var(--kutube-topbar-border);
    border-radius: 1rem;
    background: var(--kutube-topbar-background);
    box-shadow: 0 18px 32px rgba(8, 29, 51, 0.08);
  }

  .nav-shell.nav-open .site-nav {
    box-shadow: none;
  }

  .site-nav > a {
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .header-controls {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .menu-toggle {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.75rem;
    color: #0d4c94;
    background: #eef5fd;
  }

  .menu-chevron {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
    transition: transform 180ms ease;
  }

  .menu-toggle.is-open .menu-chevron {
    transform: rotate(180deg);
  }

  .hero {
    padding-top: calc(8.75rem + env(safe-area-inset-top));
  }

  .site-footer {
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-items: start;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem max(0.55rem, env(safe-area-inset-bottom));
    text-align: right;
  }

  .footer-brand img {
    width: 3.55rem;
  }

  .site-footer .footer-socials {
    justify-self: start;
    gap: 0.35rem;
  }

  .footer-socials a {
    width: 2rem;
    height: 2rem;
  }

  .footer-socials svg {
    width: 1rem;
    height: 1rem;
  }

  .site-footer p {
    justify-self: end;
    margin: 0;
    font-size: 0.55rem;
    line-height: 1.25;
  }
}

/* Simple, information-led chapter layout. */
.site-nav > a.nav-active,
.site-nav > a.nav-active:hover,
.site-nav > a.nav-active:focus-visible {
  color: #fff !important;
  background: #0d4c94 !important;
  box-shadow: none;
  opacity: 1 !important;
}

.hero {
  min-height: auto;
  padding: 11.5rem max(1.5rem, calc((100vw - var(--max))/2)) 5.5rem;
  gap: 3rem;
  background: #fff;
  color: #102033;
}

.hero-contours,
.scroll-cue {
  display: none;
}

.hero h1 {
  max-width: 50rem;
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.hero h1 em {
  color: #0d4c94;
}

.hero-text {
  max-width: 37rem;
  margin: 1.5rem 0 2rem;
  color: #425466;
}

.button-primary {
  color: #fff;
  background: #0d4c94;
}

.button-primary:hover {
  box-shadow: none;
  background: #083a73;
}

.button-text {
  color: #0d4c94;
}

.hero-panel {
  width: min(100%, 27rem);
  padding: 1.65rem 1.75rem;
  align-self: center;
  border: 1px solid #d7e1ed;
  border-left: 4px solid #0d4c94;
  box-shadow: none;
}

.hero-panel h2 {
  font-size: 1.7rem;
}

.hero-panel p:not(.panel-label) {
  margin-bottom: 1.25rem;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.eyebrow,
.hero .eyebrow,
.section-ink .eyebrow {
  color: #0d4c94;
}

.split-heading,
.events-heading,
.members {
  gap: 3.5rem;
}

.impact-grid {
  margin-top: 4rem;
}

.impact-grid article {
  min-height: 0;
  padding-top: 1.25rem;
}

.section-ink {
  background: #f4f7fb;
  color: #102033;
}

.section-ink .text-link,
.event-card a,
.feature-event a {
  color: #0d4c94;
}

.events-heading {
  margin: 2rem 0 2.75rem;
}

.events-heading p {
  color: #526577;
}

.event-list {
  gap: 1rem;
  background: transparent;
}

.event-card,
.feature-event {
  min-height: 18rem;
  padding: 1.7rem;
  border: 1px solid #d7e1ed;
  background: #fff;
  color: #102033;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.1);
  transform: translateY(-4px);
}

.feature-event {
  border-color: #0d4c94;
  background: #0d4c94;
  color: #fff;
}

.feature-event .event-card-date,
.feature-event .event-type,
.feature-event a {
  color: #fff;
}

.members {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  align-items: start;
  background: #fff;
}

.members h2 {
  font-size: clamp(2.8rem, 4.8vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
}

.members-content {
  padding: 2rem;
  border: 1px solid #d7e1ed;
  background: #f8fbff;
}

.members-content > p {
  margin-top: 0;
  font-size: 1.05rem;
}

.members-content ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.members-content li {
  position: relative;
  padding-left: 1.2rem;
}

.members-content li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #0d4c94;
  content: '';
}

.join {
  gap: 3.5rem;
  background: #f4f7fb;
}

.join-card {
  padding: 2rem;
  background: #0d4c94;
}

.join-card p {
  font-size: 1.3rem;
}

.site-footer {
  border-top: 3px solid #083a73;
}

@keyframes ku-spe-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-panel {
  animation: ku-spe-rise 500ms ease both;
}

.hero-panel {
  animation-delay: 110ms;
}

.motion-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms ease;
}

.motion-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-panel,
  .event-card,
  .motion-ready {
    animation: none;
    transition: none;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: calc(8.5rem + env(safe-area-inset-top));
    padding-bottom: 3.5rem;
    display: block;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-panel {
    width: 100%;
    margin-top: 2.5rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .events-heading,
  .members,
  .join {
    gap: 1.75rem;
  }

  .events-heading {
    margin: 1.5rem 0 2rem;
  }

  .event-list {
    gap: 0.75rem;
  }

  .event-card,
  .feature-event {
    min-height: 14rem;
  }

  .members {
    grid-template-columns: 1fr;
  }

  .members-content,
  .join-card {
    padding: 1.5rem;
  }
}

/* SPE-led page redesign */
main {
  --spe-blue: #0057b8;
  --spe-blue-dark: #003f87;
  --spe-navy: #081d33;
  --spe-mist: #f3f7fb;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.hero {
  position: relative;
  min-height: 44rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 24%, rgba(72, 214, 164, 0.18), transparent 28rem),
    #0b68d1;
  color: #fff;
}

.hero::before {
  position: absolute;
  bottom: -5.6rem;
  left: -5%;
  z-index: 2;
  width: 110%;
  height: 8rem;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #fff;
  content: '';
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to right, transparent, #000 55%);
  content: '';
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 48rem;
  font-size: clamp(3.8rem, 7.4vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 span,
.hero h1 em {
  display: block;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero h1 em {
  margin-top: 0.1em;
  color: #71e1b0;
}

.hero-copy.is-changing h1 span,
.hero-copy.is-changing h1 em,
.hero-copy.is-changing .hero-text {
  opacity: 0;
  transform: translateY(10px);
}

.hero-text {
  max-width: 34rem;
  margin: 1.75rem 0 2.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero .button-primary {
  color: #fff;
  background: #1fb574;
}

.hero .button-primary:hover {
  color: #fff;
  background: #15945e;
}

.hero .button-text {
  color: #fff;
}

.hero-actions .button span,
.join-actions .button span {
  transition: transform 180ms ease;
}

.hero-actions .button:hover span,
.join-actions .button:hover span {
  transform: translateX(4px);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.75rem;
}

.hero-arrow {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
  width: 1.5rem;
  background: #71e1b0;
}

.section {
  scroll-margin-top: 7.5rem;
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading h2,
.join h2 {
  margin: 0;
  max-width: 48rem;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.section-heading p,
.join > div > p {
  margin: 0;
  max-width: 28rem;
  color: #54677a;
  font-size: 1.08rem;
}

.intro .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  max-width: 58rem;
  margin: 0 auto;
  border: 0;
}

.feature-row article {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  min-height: 0;
  place-content: center;
  padding: 1.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.feature-row article + article {
  padding-left: 1.5rem;
}

.feature-row article::before {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: conic-gradient(#2bc984 0 24%, rgba(43, 201, 132, 0.18) 24% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.8rem), #000 calc(100% - 0.72rem));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.8rem), #000 calc(100% - 0.72rem));
  content: '';
  animation: ring-turn 12s linear infinite;
}

.feature-row article::after {
  position: absolute;
  inset: 0.38rem;
  border: 1px solid rgba(0, 87, 184, 0.1);
  border-radius: 50%;
  content: '';
}

.feature-row strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--spe-navy);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.feature-row span {
  position: relative;
  z-index: 1;
  color: #5e7081;
}

@keyframes ring-turn {
  to {
    transform: rotate(360deg);
  }
}

.chapter-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d7e1ed;
  border-bottom: 1px solid #d7e1ed;
}

.chapter-facts article {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 0.55rem;
  padding: 2rem 2.5rem 2.5rem 0;
  background: transparent;
}

.chapter-facts article + article {
  padding-right: 0;
  padding-left: 2.5rem;
  border-left: 1px solid #d7e1ed;
}

.chapter-facts strong {
  color: var(--spe-blue);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.chapter-facts span {
  color: #4b6379;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-facts article:nth-child(2) {
  background: transparent;
}

.chapter-facts article:nth-child(2) span {
  color: #4b6379;
}

.chapter-awards {
  display: block;
  margin-top: 4rem;
  padding: 3.5rem 0 0;
  color: var(--spe-navy);
  background: transparent;
}

.chapter-awards h3 {
  margin: 0 0 2.5rem;
  color: var(--spe-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.award-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.award-item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid #d7e1ed;
}

.award-item img {
  display: block;
  width: 5rem;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.award-item-text {
  grid-template-columns: 1fr;
}

.award-item > div:last-child {
  display: grid;
  gap: 0.35rem;
}

.award-item > div:last-child span {
  color: var(--spe-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.award-item h4 {
  margin: 0;
  color: #4b6379;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
}

.events {
  position: relative;
  margin-top: 4rem;
  padding-top: 9rem;
  overflow: hidden;
  background: var(--spe-mist);
  color: var(--spe-navy);
}

.events::before {
  position: absolute;
  top: -4.5rem;
  left: -5%;
  width: 110%;
  height: 8rem;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--spe-mist);
  content: '';
}

.events > * {
  position: relative;
  z-index: 1;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: transparent;
}

.event-card,
.feature-event {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid #d7e1ed;
  background: #fff;
  color: var(--spe-navy);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.event-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, transparent 42%, rgba(0, 87, 184, 0.1));
  opacity: 0;
  content: '';
  transition: opacity 220ms ease;
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-card:hover {
  border-color: rgba(0, 87, 184, 0.45);
  box-shadow: 0 1.4rem 3rem rgba(8, 29, 51, 0.12);
  transform: translateY(-7px);
}

.event-card:hover::before {
  opacity: 1;
}

.event-card h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.event-card p {
  max-width: 15rem;
  margin: 0;
  color: #607284;
}

.event-media {
  display: block;
  width: calc(100% + 4rem);
  aspect-ratio: 16 / 10;
  margin: -2rem -2rem 1.5rem;
  border-bottom: 1px solid rgba(13, 76, 148, 0.12);
}

.event-media-community {
  background:
    radial-gradient(circle at 24% 35%, rgba(255, 255, 255, 0.82) 0 7%, transparent 7.5%),
    radial-gradient(circle at 54% 55%, rgba(255, 255, 255, 0.55) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #0057b8, #43c6bc);
}

.event-media-industry {
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.3) 47% 53%, transparent 53%),
    linear-gradient(145deg, #081d33, #1780d7);
}

.event-media-adipec {
  background:
    repeating-linear-gradient(120deg, transparent 0 2.4rem, rgba(255, 255, 255, 0.16) 2.4rem 2.55rem),
    linear-gradient(145deg, #0d4c94, #2bc984);
}

.feature-event {
  border-color: var(--spe-blue);
  background: var(--spe-blue);
  color: #fff;
}

.feature-event p {
  color: #fff;
}

.members {
  display: block;
  color: var(--spe-navy);
  background:
    radial-gradient(circle at 50% 30%, rgba(9, 103, 201, 0.13), transparent 32rem),
    #eaf4ff;
}

.members > h2 {
  margin: 0 0 4rem;
  color: var(--spe-blue);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.065em;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .member-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .member-profile {
    grid-column: span 2;
  }

  .member-profile:nth-last-child(2) {
    grid-column: 3 / span 2;
    grid-row: 4;
  }

  .member-profile:last-child {
    grid-column: 5 / span 2;
    grid-row: 4;
  }
}

.member-profile {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.member-photo {
  position: relative;
  width: min(100%, 14rem);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 1rem;
  border: 0.9rem solid rgba(9, 103, 201, 0.58);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(13, 76, 148, 0.08),
    inset 0 0 0 0.45rem rgba(255, 255, 255, 0.42);
}

.member-photo::after {
  position: absolute;
  right: -0.7rem;
  top: 48%;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0d4c94;
  content: '';
}

.member-photo-one {
  background: linear-gradient(145deg, #0d4c94, #2f8ee5);
}

.member-photo-two {
  background: linear-gradient(145deg, #0b68d1, #8cc7ee);
}

.member-photo-three {
  background: linear-gradient(145deg, #081d33, #0d4c94);
}

.member-photo-four {
  background: linear-gradient(145deg, #1780d7, #d6eefb);
}

.member-photo .member-initials {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.member-photo .member-initials::before,
.member-photo .member-initials::after {
  display: none;
}

.member-profile figcaption {
  display: grid;
  gap: 0.3rem;
  max-width: 16rem;
  margin: 0 auto;
  padding-top: 1rem;
  text-align: center;
}

.member-profile figcaption strong {
  color: #0d4c94;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.15;
}

.member-profile figcaption small {
  color: #0967c9;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.1;
}

.members > .button-primary {
  background: var(--spe-blue);
}

.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  background: var(--spe-blue);
  color: #fff;
}

.join h2 {
  margin-bottom: 0.75rem;
}

.join > div > p {
  color: rgba(255, 255, 255, 0.75);
}

.join-actions {
  display: flex;
  gap: 0.75rem;
}

.join .button-primary {
  color: var(--spe-blue);
  background: #fff;
}

.join .button-outline {
  border-color: rgba(255, 255, 255, 0.68);
  color: #fff;
}

.join .button-outline:hover {
  color: var(--spe-blue);
  background: #fff;
}

.site-footer {
  border-top: 0;
  background: var(--spe-navy, #081d33);
}

@media (max-width: 1024px) and (min-width: 768px) {
  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html,
  body,
  main,
  .hero,
  .section,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
  }

  .site-header {
    width: 100vw;
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-left: max(1rem, env(safe-area-inset-left));
  }

  .hero {
    min-height: max(40rem, 100svh);
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: calc(9.25rem + env(safe-area-inset-top));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-bottom: 3.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
  }

  .hero::after {
    background-size: 2.8rem 2.8rem;
  }

  .chapter-facts {
    grid-template-columns: 1fr;
  }

  .chapter-facts article,
  .chapter-facts article + article {
    padding: 1.75rem 0 2rem;
  }

  .chapter-facts article + article {
    border-top: 1px solid #d7e1ed;
    border-left: 0;
  }

  .chapter-awards {
    margin-top: 3rem;
    padding: 3rem 0 0;
  }

  .award-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .award-item {
    padding: 1.25rem 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 12vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
  }

  .hero-text {
    margin: 1.35rem 0 1.7rem;
  }

  .hero-controls {
    margin-top: 2rem;
  }

  .section {
    padding-top: 4.5rem;
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-bottom: 4.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .section-heading h2,
  .join h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .member-path {
    grid-template-columns: 1fr;
  }

  .feature-row {
    display: flex;
    gap: 1rem;
    max-width: none;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-row article,
  .feature-row article + article {
    width: 10rem;
    flex: 0 0 10rem;
    padding: 1rem;
    border: 0;
    scroll-snap-align: start;
  }

  .event-list {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: min(84vw, 22rem);
    grid-auto-flow: column;
    gap: 0.75rem;
    margin-right: -1.5rem;
    padding: 0 1.5rem 1.5rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .event-card,
  .feature-event {
    min-height: 14rem;
    padding: 1.5rem;
    scroll-snap-align: start;
  }

  .event-card h3 {
    font-size: 2rem;
  }

  .member-path span + span {
    border-top: 1px solid #d7e1ed;
    border-left: 0;
  }

  .join {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .join-actions {
    flex-wrap: wrap;
  }

  .members > h2 {
    margin-bottom: 3rem;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1rem;
  }

  .member-photo {
    width: min(100%, 10.5rem);
    border-width: 0.65rem;
  }

  .member-photo::after {
    right: -0.5rem;
    width: 1.4rem;
  }

  .member-profile figcaption strong {
    font-size: 0.92rem;
  }

  .site-footer {
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-left: max(0.75rem, env(safe-area-inset-left));
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-row article::before {
    animation: none;
  }

  .hero h1 span,
  .hero h1 em,
  .hero-text,
  .hero-dot,
  .event-card,
  .feature-row article::before,
  .member-path span {
    transition: none;
  }
}
