:root {
  --black: #030306;
  --surface: rgba(7, 6, 13, 0.76);
  --surface-strong: rgba(9, 6, 17, 0.88);
  --line: rgba(255, 175, 221, 0.24);
  --text: #f9edf6;
  --muted: #cfbcc8;
  --pink-hot: #ff4eb8;
  --pink: #ff8fcb;
  --pink-pale: #ffc2e0;
  --cyan: #8ee7ff;
  --shadow-pink: 0 0 18px rgba(255, 78, 184, 0.42);
  --nav-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  isolation: isolate;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    url("/assets/logo-low-res.jpg") center center / min(92vw, 920px) auto no-repeat,
    #020104;
}

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

a {
  color: inherit;
}

strong {
  color: var(--pink-hot);
  text-shadow: var(--shadow-pink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 143, 203, 0.22);
  background: rgba(2, 2, 6, 0.84);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink-pale);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--pink-hot);
  color: #fff4fb;
  font-family: "Segoe UI", sans-serif;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
  box-shadow: inset 0 0 18px rgba(255, 78, 184, 0.28), 0 0 18px rgba(255, 78, 184, 0.28);
  text-shadow: 0 0 12px rgba(255, 194, 224, 0.65);
  transform: rotate(45deg);
}

.brand-mark::after {
  content: "PS";
  font-size: 0.78rem;
  transform: rotate(-45deg);
}

.brand-name {
  font-size: 0.95rem;
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 143, 203, 0.42);
  border-radius: 8px;
  background: rgba(12, 8, 20, 0.72);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink-pale);
  box-shadow: 0 0 10px rgba(255, 78, 184, 0.6);
}

.nav-links {
  position: absolute;
  top: calc(var(--nav-height) - 1px);
  left: 0;
  right: 0;
  display: none;
  margin: 0;
  padding: 10px 18px 18px;
  border-bottom: 1px solid rgba(255, 143, 203, 0.18);
  background: rgba(2, 2, 6, 0.95);
  list-style: none;
}

.nav-links.is-open {
  display: grid;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--pink-pale);
  text-shadow: var(--shadow-pink);
}

.page-shell {
  min-height: calc(100vh - var(--nav-height));
  background: transparent;
}

.logo-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  scroll-margin-top: var(--nav-height);
}

.page-section {
  scroll-margin-top: calc(var(--nav-height) + 22px);
  border-bottom: 1px solid rgba(255, 143, 203, 0.15);
  background: linear-gradient(180deg, rgba(4, 3, 8, 0.68), rgba(4, 3, 8, 0.82));
  backdrop-filter: saturate(92%) brightness(78%);
  padding: 58px 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 194, 224, 0.7);
  border-radius: 999px;
  background: rgba(3, 3, 8, 0.24);
  box-shadow: 0 0 24px rgba(255, 78, 184, 0.42);
  transform: translateX(-50%);
  animation: scroll-cue-bounce 1.8s ease-in-out infinite;
}

.scroll-cue::before {
  width: 12px;
  height: 12px;
  border-right: 2px solid #ffe2f0;
  border-bottom: 2px solid #ffe2f0;
  content: "";
  transform: translateY(-3px) rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(255, 78, 184, 0.9));
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

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

  .scroll-cue {
    animation: none;
  }
}

.first-section {
  scroll-margin-top: var(--nav-height);
  padding-top: 46px;
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 18px;
}

.section-inner.narrow {
  width: min(880px, 100%);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  color: #ffe2f0;
  font-size: 2.55rem;
  text-shadow: 0 0 26px rgba(255, 78, 184, 0.56);
}

.no-break {
  white-space: nowrap;
}

h2 {
  color: var(--pink-pale);
  font-size: 2.1rem;
  text-shadow: 0 0 20px rgba(255, 78, 184, 0.42);
}

h3 {
  color: var(--pink);
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.intro-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.intro-copy {
  display: grid;
  gap: 16px;
  color: var(--text);
  text-align: justify;
}

.group-photo,
.video-item,
.event-item,
.contact-form,
.member {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.group-photo {
  margin: 0;
  overflow: hidden;
}

.group-photo figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px solid rgba(255, 143, 203, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 78, 184, 0.2), rgba(142, 231, 255, 0.08)),
    rgba(5, 4, 10, 0.72);
  color: var(--pink-pale);
  text-align: center;
}

.photo-placeholder-large {
  min-height: 300px;
}

.photo-placeholder span {
  max-width: 17rem;
  padding: 0 18px;
  font-weight: 800;
  text-shadow: var(--shadow-pink);
}

.members-heading {
  scroll-margin-top: calc(var(--nav-height) + 22px);
  margin-top: 64px;
}

.members-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.member {
  display: grid;
  gap: 18px;
  padding: 14px;
}

.member-photo {
  min-height: 220px;
}

.member-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.member-copy p,
.video-item p,
.event-item p,
.contact-heading p {
  color: var(--muted);
}

.video-list {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.video-item {
  display: grid;
  gap: 14px;
  padding: 14px;
  text-align: center;
}

.video-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 143, 203, 0.25);
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.72);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.events-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.event-item {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.contact-layout {
  display: grid;
  gap: 26px;
}

.contact-heading {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.contact-form label {
  color: var(--pink-pale);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 143, 203, 0.34);
  border-radius: 6px;
  background: rgba(3, 3, 8, 0.88);
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form input {
  min-height: 46px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(255, 78, 184, 0.18), var(--shadow-pink);
}

.submit-button {
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(255, 194, 224, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, #ff4eb8, #c92c8d);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 0 24px rgba(255, 78, 184, 0.38);
}

.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.08);
}

.form-status {
  border-radius: 6px;
  padding: 12px;
  font-weight: 800;
}

.form-status--success {
  border: 1px solid rgba(142, 231, 255, 0.45);
  background: rgba(35, 118, 139, 0.24);
  color: #dbf8ff;
}

.form-status--error {
  border: 1px solid rgba(255, 143, 203, 0.48);
  background: rgba(118, 12, 64, 0.34);
  color: #ffd7eb;
}

@media (min-width: 720px) {
  :root {
    --nav-height: 78px;
  }

  .site-nav {
    padding: 0 26px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    padding: 4px 0;
  }

  .page-section {
    padding: 86px 0;
  }

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  .first-section {
    padding-top: 72px;
  }

  .section-inner {
    padding: 0 28px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    align-items: start;
    gap: 34px;
  }

  .member {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    padding: 18px;
  }

  .member:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .member:nth-child(even) .member-photo {
    order: 2;
  }

  .member:nth-child(even) .member-copy {
    order: 1;
    text-align: right;
  }

  .contact-layout {
    grid-template-columns: 0.78fr 1fr;
    align-items: start;
    gap: 42px;
  }
}

@media (min-width: 1020px) {
  .member {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .member:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
