
:root {
  --navy: #102a43;
  --navy-light: #183b56;
  --turquoise: #16b8b0;
  --turquoise-dark: #078c91;
  --green: #198754;
  --ink: #203344;
  --muted: #607486;
  --background: #f5f9fb;
  --white: #ffffff;
  --line: #dce7ed;
  --shadow: 0 18px 50px rgba(16, 42, 67, .11);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.site-header {
  min-height: 82px;
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1320px, 100%);
  margin-inline: auto;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 850;
  font-size: .88rem;
  line-height: 1.3;
}

.brand img {
  width: 72px;
  height: 62px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--turquoise-dark);
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 19px;
}

.nav-links a {
  padding: 9px 17px;
  border: 1px solid var(--turquoise-dark);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--turquoise-dark);
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: var(--turquoise-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  padding: 72px 7% 82px;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, #d9f7f3 0, transparent 30%),
    linear-gradient(135deg, #f8fbfd, white 65%, #effaf9);
}

.eyebrow {
  display: inline-block;
  color: var(--turquoise-dark);
  font-size: .78rem;
  letter-spacing: .13em;
  font-weight: 850;
  margin-bottom: 13px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 18px;
}

h3 { font-size: 1.25rem; }

.hero-copy p,
.section-heading p,
.split > div > p,
.call-to-action p {
  color: var(--muted);
  font-size: 1.05rem;
}

.accent { color: var(--turquoise-dark); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px #102a4320;
}

.button-primary {
  background: var(--turquoise);
  color: var(--navy);
}

.button-outline {
  background: white;
  border-color: var(--line);
  color: var(--navy);
}

.button-light {
  background: white;
  color: var(--navy);
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.photo-frame {
  min-height: 330px;
  position: relative;
  padding: 12px;
  border: 1px solid #d8e8eb;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(2deg);
  transition: transform .45s ease;
}

.hero-visual:hover .photo-frame {
  transform: rotateY(0) rotateX(0) translateY(-4px);
}

.photo-frame img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 19px;
  background: linear-gradient(135deg, #d8f5f0, #eaf0f8);
}

.photo-placeholder {
  padding: 15px;
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 600px) {
  .admin-engagement-grid { grid-template-columns: 1fr; }
}

.floating-logo {
  position: absolute;
  width: 125px;
  height: 110px;
  padding: 8px;
  left: -22px;
  bottom: -22px;
  object-fit: contain;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.section {
  padding: 80px 7%;
}

.section-soft { background: var(--background); }

.section-heading {
  max-width: 720px;
  margin: 0 auto 35px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 8px 25px rgba(16,42,67,.035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #e2f8f5;
  color: var(--turquoise-dark);
  font-size: 1.5rem;
}

.card p { color: var(--muted); }

.moonlight-feature {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 680px;
  margin-inline: auto;
}

.moonlight-cover {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.moonlight-description {
  max-width: 640px;
  text-align: center;
}

.moonlight-description h2 { margin-bottom: 12px; }
.moonlight-description p:last-child { color: var(--muted); }

.moonlight-registration {
  width: min(100%, 640px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.moonlight-registration h3 {
  margin-top: 0;
  text-align: center;
}

.moonlight-registration button { width: 100%; }

.event-gallery {
  align-items: start;
}

.event-card {
  overflow: hidden;
  padding: 0;
}

.event-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--background);
}

.event-image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.event-image-trigger:focus-visible {
  outline: 3px solid var(--turquoise-dark);
  outline-offset: -3px;
}

.event-image-dialog {
  position: relative;
  width: min(92vw, 1000px);
  max-width: none;
  max-height: 92vh;
  padding: 48px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  background: #081522;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.event-image-dialog::backdrop {
  background: rgba(1, 8, 16, .82);
  backdrop-filter: blur(4px);
}

.event-image-dialog img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 64px);
  object-fit: contain;
}

.event-image-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
}

.magazine-image {
  object-position: center 30%;
}

.event-card-content {
  padding: 24px 26px 28px;
}

.event-card-content .eyebrow {
  margin-bottom: 8px;
}

.event-card-content h3 {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--turquoise-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.about-pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.check-list {
  list-style: none;
  padding: 0;
  color: var(--muted);
}

.check-list li { padding: 7px 0; }

.check-list li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--green);
  font-weight: 900;
}

.feature-panel {
  padding: 38px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  box-shadow: var(--shadow);
}

.feature-panel h2 { color: white; }
.feature-panel p { color: #d5e6ef; }

.call-to-action { text-align: center; }

.site-footer {
  padding: 45px 7% 18px;
  background: #0d263c;
  color: #d6e5ed;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 85px;
  height: 70px;
  padding: 4px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}

.site-footer h3 { color: white; }
.site-footer p, .site-footer a { color: #c4d5df; }
.site-footer a:hover { color: var(--turquoise); }

.social-links {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #466072;
  border-radius: 13px;
  font-weight: 900;
  transition: background .2s, transform .2s;
}

.social-links a:hover {
  background: var(--turquoise-dark);
  transform: translateY(-3px);
}

.social-links-compact a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: .8rem;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #30485b;
  font-size: .85rem;
}

.admin-footer-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #466072;
  border-radius: 50%;
}

.admin-footer-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-footer-icon:hover,
.admin-footer-icon:focus-visible {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.small { font-size: .8rem; }

.copyright {
  border-top: 1px solid #30485b;
  padding-top: 18px;
  margin-top: 30px;
  font-size: .85rem;
  text-align: center;
}

.page-hero {
  padding: 65px 7%;
  background: linear-gradient(135deg, #f3fafb, white 65%, #e7f8f6);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-text-enter {
  animation: page-text-drop .65s cubic-bezier(.2, .75, .25, 1) both;
  animation-delay: var(--page-text-enter-delay, 0ms);
}

@keyframes page-text-drop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-weight: 750;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd9e1;
  border-radius: 11px;
  font: inherit;
}

.field textarea { min-height: 130px; resize: vertical; }

.form-note { color: var(--muted); font-size: .88rem; }

.notice {
  padding: 15px;
  border-radius: 12px;
  background: #fff8e5;
  border: 1px solid #f0dfac;
  color: #6d5618;
  margin: 18px 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.media-tile {
  min-height: 190px;
  padding: 20px;
  display: flex;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #e0f6f2, #eef3f8);
  color: var(--navy);
  font-weight: 800;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-path-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(16, 42, 67, .04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.home-path-card:hover {
  transform: translateY(-6px);
  border-color: var(--turquoise);
  box-shadow: var(--shadow);
}

.home-path-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e4fbf8, #e8f5ff);
  color: var(--turquoise-dark);
  font-size: 1.25rem;
  font-weight: 850;
}

.home-path-label {
  color: var(--turquoise-dark);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.home-path-card strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.home-path-card > span:not(.home-path-icon, .home-path-label, .home-path-arrow) {
  max-width: 26ch;
  color: var(--muted);
  font-size: .9rem;
}

.home-path-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--turquoise-dark);
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.home-path-card:hover .home-path-arrow { transform: translate(3px, -3px); }

.home-gallery { margin-top: 76px; }
.home-gallery .section-heading { margin-bottom: 25px; }
.home-gallery-grid .media-tile { min-height: 150px; }
.home-gallery-note { margin-top: 14px; text-align: center; }

.home-contact {
  padding: 56px 7%;
  color: #eafaff;
  background:
    radial-gradient(ellipse at 90% 20%, #087f9460, transparent 38%),
    linear-gradient(120deg, #102a43, #06172b);
}

.home-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-contact .eyebrow { color: #34e8e5; }
.home-contact h2 { margin-bottom: 10px; color: #f4fbff; }
.home-contact p:not(.eyebrow) { margin: 0; color: #c0d8e8; }
.home-contact .button { flex: 0 0 auto; }

.projects-contact {
  margin: 28px 0 0;
  text-align: center;
  color: var(--muted);
}

.projects-contact .text-link { margin: 0 0 0 5px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1000px) {
  .nav-links { gap: 11px; }
  .nav-links a { font-size: .8rem; }
  .home-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .site-header { padding-inline: 5%; }
  .brand img { width: 60px; height: 54px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 5%;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #102a4310;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: fit-content;
    padding: 7px 15px;
    font-size: .95rem;
  }
  .split { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero { padding: 52px 7%; }
  .hero-visual { margin: 0; }
  .photo-frame img { height: 300px; }
  .section { padding: 60px 7%; }
  .card-grid { grid-template-columns: 1fr; }
  .home-contact-inner { align-items: flex-start; flex-direction: column; }
  .home-contact .button { width: 100%; }
  .footer-content { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .form-grid, .media-grid, .home-path-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .intro-overlay {
    animation-duration: .45s !important;
  }
  .intro-content {
    animation-duration: 2s !important;
    animation-iteration-count: 2 !important;
  }
  .intro-content img { animation-duration: .8s !important; }
  .intro-title,
  .intro-subtitle { animation-duration: .55s !important; }
  .intro-particles span { animation-duration: 1.35s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 3D TECHNOLOGY HERO ===== */

.hero {
  position: relative;
  display: block;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 72% 45%, #063d5c 0%, transparent 37%),
    radial-gradient(ellipse at 18% 15%, #09294a 0%, transparent 38%),
    linear-gradient(135deg, #020b18, #061b32 60%, #020b18);
  color: #eafaff;
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.hero-grid,
.hero-glow {
  position: absolute;
  pointer-events: none;
}

.hero-grid {
  inset: 0;
}

.hero-glow {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  opacity: .3;
  background-image:
    linear-gradient(#087ca0 1px, transparent 1px),
    linear-gradient(90deg, #087ca0 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(280px) rotateX(55deg) scale(1.4);
  transform-origin: bottom;
  mask-image: linear-gradient(transparent, black);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  animation: hero-copy-in .8s ease-out both;
}

.hero-copy h1 {
  color: #f4fbff;
  font-size: clamp(2.7rem, 4.5vw, 4.2rem);
}

.hero-copy p {
  color: #c0d8e8;
}

.hero-description {
  max-width: 610px;
}

.hero-actions { justify-content: flex-start; }

.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: #c0d8e8;
}

.value-icon {
  color: #34e8e5;
  font-weight: 800;
}

.hero-visual {
  width: 100%;
  min-height: 490px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
  isolation: isolate;
  animation: hero-visual-in 1s ease-out .12s both;
}

.logo-stage {
  position: relative;
  z-index: 3;
  width: min(320px, 72%);
  aspect-ratio: 349 / 313;
  display: grid;
  place-items: center;
  transform: rotateY(-9deg) rotateX(4deg);
  animation: stage-hover 6s ease-in-out infinite;
}

.hero-club-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbit {
  position: absolute;
  z-index: 1;
  width: 94%;
  height: 36%;
  left: 3%;
  top: 32%;
  border: 2px solid #00dff4;
  border-radius: 50%;
  box-shadow:
    0 0 12px #00dff4,
    inset 0 0 12px #00dff455;
  pointer-events: none;
}

.orbit-one {
  transform: rotate(-25deg);
  animation: orbit-glow 5s ease-in-out infinite;
}

.orbit-two {
  width: 86%;
  left: 7%;
  transform: rotate(36deg);
  border-color: #168aff;
  box-shadow: 0 0 16px #168aff88;
}

.orbit-three {
  width: 72%;
  left: 14%;
  transform: rotate(90deg);
  border-color: #42fff0;
  opacity: .55;
}

.tech-card {
  position: absolute;
  z-index: 4;
  min-width: 90px;
  padding: 12px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #8efaff;
  border: 1px solid #00cde8;
  border-radius: 15px;
  background: linear-gradient(145deg, #0b3658ee, #031426f2);
  box-shadow: 0 0 22px #00bde533;
  animation: card-float 5s ease-in-out infinite;
}

.tech-card span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
}

.tech-card small {
  font-size: .65rem;
  letter-spacing: .12em;
}

.tech-code {
  left: 0;
  top: 16%;
  transform: rotate(-10deg);
}

.tech-camera {
  right: 0;
  top: 18%;
  animation-delay: -1.5s;
}

.tech-video {
  right: 2%;
  bottom: 16%;
  animation-delay: -3s;
}

.stage-base {
  position: absolute;
  z-index: 0;
  bottom: 7%;
  width: 65%;
  height: 45px;
  border: 2px solid #00cfe9;
  border-radius: 50%;
  background: #06466a88;
  box-shadow:
    0 0 22px #00bff4,
    0 12px 45px #007bff66;
  transform: rotateX(60deg);
}

.hero-visual-caption {
  position: absolute;
  bottom: -2%;
  color: #b4e8f4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}

.hero-visual-caption span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #24f5df;
  box-shadow: 0 0 12px #24f5df;
}

.hero .eyebrow {
  color: #34e8e5;
}

.hero .button-primary {
  color: #021723;
  background: linear-gradient(110deg, #26f0df, #16b8ff);
}

.hero .button-outline {
  color: #eafaff;
  background: transparent;
  border-color: #16dce9;
}

@keyframes stage-hover {
  0%, 100% {
    transform: translateY(0) rotateY(-9deg) rotateX(4deg);
  }
  50% {
    transform: translateY(-10px) rotateY(7deg) rotateX(-2deg);
  }
}

@keyframes card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes orbit-glow {
  0%, 100% { filter: brightness(.8); }
  50% { filter: brightness(1.5); }
}

@keyframes hero-copy-in {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes hero-visual-in {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}

@media (max-width: 780px) {
  .hero { min-height: 0; padding: 52px 7% 72px; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy h1 { font-size: clamp(2.6rem, 9vw, 4rem); }

  .hero-visual {
    min-height: 390px;
    margin-top: 0;
  }

  .logo-stage {
    width: min(265px, 68%);
  }

  .tech-card {
    min-width: 72px;
    padding: 9px;
  }

  .tech-card span { font-size: 1.5rem; }
  .tech-card small { font-size: .55rem; }

  .hero-visual-caption {
    bottom: 0;
    font-size: .62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-stage,
  .orbit,
  .tech-card {
    animation: none !important;
  }
}

.auth-page {
  background:
    radial-gradient(circle at top, rgba(22, 184, 176, 0.2), transparent 30%),
    linear-gradient(135deg, #031522, #061b32 58%, #0a1f36);
  color: #ebfaff;
}

.auth-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 40px 20px 72px;
}

.auth-card {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  border: 1px solid rgba(84, 214, 221, 0.32);
  border-radius: 28px;
  background: rgba(7, 20, 33, 0.72);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.auth-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  background: linear-gradient(145deg, rgba(7, 32, 51, 0.95), rgba(11, 76, 81, 0.78));
}

.auth-card__visual img {
  position: relative;
  z-index: 2;
  width: min(310px, 72%);
  filter: drop-shadow(0 0 18px rgba(77, 235, 239, 0.28));
}

.auth-orbit {
  position: absolute;
  border: 2px solid rgba(67, 232, 238, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(67, 232, 238, 0.5);
}

.auth-orbit-one {
  width: 70%;
  height: 58%;
  transform: rotate(-18deg);
}

.auth-orbit-two {
  width: 82%;
  height: 72%;
  transform: rotate(28deg);
  border-color: rgba(63, 160, 255, 0.8);
}

.auth-card__form {
  padding: clamp(28px, 4vw, 48px);
}

.auth-card__form .eyebrow {
  margin-bottom: 10px;
  color: #35ebd8;
}

.auth-card__form h1 {
  margin-bottom: 12px;
  color: #f4fbff;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.auth-copy {
  margin-bottom: 22px;
  color: #c7dbe8;
}

.auth-card__form .field {
  margin-bottom: 16px;
}

.auth-card__form .field label {
  color: #d7f4ff;
}

.auth-card__form .field input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(125, 201, 223, 0.4);
  color: #eefbff;
}

.auth-card__form .field input::placeholder {
  color: rgba(220, 236, 244, 0.7);
}

.auth-button {
  width: 100%;
  margin-top: 10px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.auth-links a {
  color: #7fe7f0;
}

.auth-header {
  background: rgba(3, 13, 25, 0.82);
  border-bottom-color: rgba(63, 190, 218, 0.25);
}

.auth-header .brand,
.auth-header .brand small,
.auth-header .nav-links a {
  color: #edfaff;
}

.auth-header .menu-toggle {
  border-color: rgba(125, 201, 223, 0.4);
  background: transparent;
  color: #edfaff;
}

.auth-header .menu-toggle span {
  background: currentColor;
}

@media (max-width: 780px) {
  .auth-header .nav-links {
    background: #071a2a;
    border-bottom-color: rgba(63, 190, 218, 0.25);
  }
}

@media (max-width: 760px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-card__visual {
    min-height: 260px;
  }

  .auth-card__form {
    padding: 24px 20px 28px;
  }
}

.admin-auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #f4f7ff;
  background: #020711;
}

.admin-login-screen {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 38px 20px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(0, 115, 255, .3), transparent 39%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 47, 128, .4), transparent 48%),
    linear-gradient(180deg, #02050a, #06101f 57%, #020711);
}

.admin-login-lights {
  position: absolute;
  z-index: -1;
  inset: -35%;
  opacity: .9;
  background:
    linear-gradient(14deg, transparent 43%, rgba(18, 96, 221, .05) 46%, #168dff 47%, #70d9ff 47.3%, transparent 48.1%),
    linear-gradient(166deg, transparent 48%, rgba(0, 71, 190, .08) 50%, #075ada 50.6%, #57c8ff 51%, transparent 51.8%),
    linear-gradient(7deg, transparent 54%, rgba(24, 133, 255, .08) 55%, #1e79ff 55.4%, transparent 56.4%);
  filter: drop-shadow(0 0 14px rgba(32, 143, 255, .7));
  transform: perspective(700px) rotateX(9deg);
}

.admin-login-panel {
  position: relative;
  width: min(450px, 100%);
  padding: 1px;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 8% 100%, 0 90%);
  background: linear-gradient(145deg, rgba(214, 240, 255, .7), rgba(52, 149, 255, .45) 44%, rgba(4, 17, 39, .9));
  filter: drop-shadow(0 26px 45px rgba(0, 51, 140, .3));
}

.admin-login-content {
  padding: clamp(27px, 6vw, 43px);
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 8% 100%, 0 90%);
  background:
    radial-gradient(ellipse at 58% 74%, rgba(0, 92, 212, .3), transparent 52%),
    linear-gradient(145deg, rgba(8, 10, 16, .97), rgba(8, 23, 47, .94) 62%, rgba(4, 10, 21, .98));
  backdrop-filter: blur(16px);
}

.admin-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(30px, 6vh, 55px);
  color: #f2f6ff;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.admin-brand img {
  width: 45px;
  height: 42px;
  object-fit: contain;
}

.admin-brand-accent { color: #67c9ff; }

.admin-kicker {
  margin: 0 0 8px;
  color: #69c9ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.admin-login-content h1 {
  margin: 0 0 8px;
  color: #f5f7fb;
  font-size: clamp(1.85rem, 6vw, 2.25rem);
  letter-spacing: -.04em;
}

.admin-intro {
  margin: 0 0 29px;
  color: #aab8ca;
  font-size: .92rem;
}

.admin-field {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
}

.admin-field label {
  color: #e7edf7;
  font-size: .82rem;
  font-weight: 650;
}

.admin-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid rgba(185, 213, 244, .2);
  border-radius: 999px;
  outline: none;
  background: rgba(218, 230, 246, .16);
  color: #fff;
  font: inherit;
  font-size: .88rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.admin-field input::placeholder { color: #aab7c8; }

.admin-field input:focus {
  border-color: #66c9ff;
  background: rgba(218, 230, 246, .22);
  box-shadow: 0 0 0 3px rgba(60, 165, 255, .16);
}

.admin-login-button {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #f7f9fc;
  color: #192334;
  font-size: .95rem;
  font-weight: 750;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.admin-login-button:hover {
  transform: translateY(-2px);
  background: #dff4ff;
  box-shadow: 0 10px 24px rgba(0, 121, 255, .28);
}

.admin-login-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #ffabb2;
  font-size: .82rem;
}

.admin-login-status.is-success { color: #7df2c2; }

.admin-security-note {
  margin: 8px 0 15px;
  color: #91a1b6;
  font-size: .72rem;
  line-height: 1.5;
}

.admin-home-link {
  color: #9edcff;
  font-size: .82rem;
  font-weight: 650;
}

.admin-home-link:hover { color: #fff; }

@media (max-width: 480px) {
  .admin-login-screen { padding: 24px 15px; }
  .admin-login-content { padding: 27px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-field input,
  .admin-login-button { transition: none; }
}

.admin-dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 85% 8%, rgba(22, 184, 176, .12), transparent 32%),
    #f5f9fb;
}

.admin-dashboard-page .site-header { position: relative; }

.admin-dashboard-page .brand small {
  color: var(--turquoise-dark);
}

.admin-logout-button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.admin-content-item-details {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-content-item-stats {
  color: var(--muted);
  font-size: .78rem;
}

.admin-logout-button:hover {
  border-color: var(--turquoise-dark);
  color: var(--turquoise-dark);
}

.admin-dashboard {
  padding: clamp(45px, 8vw, 90px) 5%;
}

.admin-dashboard-welcome {
  margin-bottom: 34px;
}

.admin-dashboard-welcome .eyebrow,
.admin-dashboard-card .eyebrow {
  margin-bottom: 8px;
}

.admin-dashboard-welcome h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
}

.admin-dashboard-welcome > p:last-child {
  margin: 0;
  color: var(--muted);
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.admin-dashboard-card {
  min-height: 280px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 42, 67, .06);
}

.admin-dashboard-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: #e2f8f5;
  color: var(--turquoise-dark);
  font-weight: 850;
}

.admin-dashboard-card h2 {
  margin: 0 0 9px;
  font-size: 1.45rem;
}

.admin-dashboard-card > p:not(.eyebrow) {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .93rem;
}

.admin-dashboard-card .button {
  padding: 10px 16px;
  font-size: .9rem;
}

.admin-dashboard-note {
  margin: 25px 0 0;
  padding: 15px 18px;
  border: 1px solid #efdfae;
  border-radius: 14px;
  background: #fff8e5;
  color: #6d5618;
  font-size: .88rem;
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 28px;
}

.admin-editor-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 42, 67, .05);
}

.admin-editor-card h2,
.admin-section-heading h2 {
  margin: 0 0 20px;
  font-size: 1.45rem;
}

.admin-editor-card input[type="file"] {
  padding: 9px;
  background: var(--background);
}

.admin-content-form {
  display: grid;
  gap: 14px;
}

.admin-content-form .field { gap: 6px; }
.admin-content-form textarea { min-height: 90px; }
.admin-content-form .button { justify-self: start; }
.admin-content-form .form-note { margin: 0; }

.admin-content-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.admin-content-list li,
.admin-registration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: .9rem;
}

.admin-delete-button,
.admin-clear-button {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #edc8c8;
  border-radius: 999px;
  background: #fff;
  color: #9b3030;
  font-size: .8rem;
  font-weight: 750;
}

.admin-delete-button:hover,
.admin-clear-button:hover {
  background: #fff0f0;
}

.admin-registrations { margin-top: 52px; }

.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section-heading .eyebrow { margin-bottom: 6px; }
.admin-section-heading h2 { margin: 0; }

.admin-clear-button { padding: 9px 14px; }

.admin-engagement { margin: 30px 0; }

.admin-engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-engagement-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--muted);
}

.admin-engagement-card strong {
  color: var(--navy);
  font-size: 1.7rem;
}

.admin-registration-list {
  padding: 5px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.admin-registration-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.published-content-section { margin-top: 66px; }
.published-card .button { align-self: flex-start; margin-top: 8px; }
.published-date { font-weight: 700; }

.media-recognition-card {
  width: min(100%, 900px);
  margin-inline: auto;
}

.media-recognition-image {
  height: auto;
  max-height: 620px;
  object-fit: contain;
}

.student-article-form {
  display: grid;
  gap: 16px;
}

.student-article-form .field { gap: 7px; }
.student-article-form textarea { min-height: 220px; }
.student-article-form .button { justify-self: start; }
.student-article-form .form-note { margin: 0; }

.moonlight-article-byline {
  margin: 0 0 12px;
  color: var(--turquoise-dark);
  font-weight: 750;
}

.moonlight-article-body {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.admin-article-submission {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.admin-article-submission-details { min-width: 0; }
.admin-article-submission-details p { margin: 6px 0 0; color: var(--muted); }

.admin-article-submission-body {
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
}

.admin-article-submission-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.student-projects-panel {
  margin-top: 62px;
}

.student-projects-panel .card-grid:empty::after {
  content: "Videos and project features will appear here when published.";
  color: var(--muted);
}

.member-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--background);
  object-fit: cover;
}

.published-magazine-preview {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--background);
  object-fit: contain;
}

.featured-magazine-card {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.featured-magazine-cover {
  width: min(100%, 360px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  margin-inline: auto;
}

.announcement-section { background: var(--background); }

.announcement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.announcement-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--turquoise);
  border-radius: 15px;
  background: var(--white);
}

.announcement-card h3 { margin: 0 0 8px; }
.announcement-card p { margin: 0; color: var(--muted); }

.activity-registration-layout { align-items: start; }
.activity-selection { color: var(--turquoise-dark); font-weight: 750; }

.member-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  align-items: end;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.member-filters .field { gap: 6px; }
.member-results { max-width: 850px; margin: 0 auto 20px; color: var(--muted); }

.published-video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: #06172b;
  object-fit: contain;
}

.published-video-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #06172b;
}

.published-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.content-engagement {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.content-engagement-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: .82rem;
}

.content-engagement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.engagement-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.engagement-button svg {
  width: 18px;
  height: 18px;
}

.engagement-button:hover,
.engagement-button:focus-visible,
.engagement-button.is-liked {
  border-color: var(--turquoise-dark);
  color: var(--turquoise-dark);
}

.video-action-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.video-action-button:hover,
.video-action-button:focus-visible {
  border-color: var(--turquoise-dark);
  color: var(--turquoise-dark);
}

.video-action-button[aria-pressed="true"] {
  color: var(--turquoise-dark);
  border-color: var(--turquoise-dark);
}

.video-action-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.published-video-player:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
}

@media (max-width: 850px) {
  .admin-dashboard-grid { grid-template-columns: 1fr 1fr; }
  .admin-editor-grid { grid-template-columns: 1fr; }
  .member-filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .admin-dashboard-page .nav-links {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
  }

  .admin-dashboard-page .nav-links a {
    padding: 7px 0;
    font-size: .85rem;
  }
}

@media (max-width: 560px) {
  .admin-dashboard-page .nav-links {
    align-items: center;
    flex-direction: row;
  }

  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .announcement-list { grid-template-columns: 1fr; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; }
  .member-filters { grid-template-columns: 1fr; }
  .student-article-panel { padding: 20px; }
  .admin-article-submission { flex-direction: column; }
}

@media (max-width: 480px) {
  .admin-editor-card { padding: 19px; }
  .admin-registration-list { padding-inline: 13px; }
  .admin-registration-row { align-items: flex-start; }
}

.theme-toggle {
  position: fixed;
  z-index: 30;
  left: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(16, 42, 67, .18);
  font-size: .85rem;
  font-weight: 750;
}

.dark-mode {
  color-scheme: dark;
  --navy: #b8e8f1;
  --navy-light: #15384d;
  --ink: #e0edf3;
  --muted: #a8bdc9;
  --background: #101e2a;
  --white: #172936;
  --line: #304653;
}

.dark-mode body,
body.dark-mode {
  color: var(--ink);
  background: #0d1a24;
}

.dark-mode .site-header {
  background: rgba(15, 31, 43, .97);
}

.dark-mode .brand,
.dark-mode .nav-links a,
.dark-mode .menu-toggle {
  color: var(--ink);
}

.dark-mode .nav-links a:hover,
.dark-mode .nav-links a[aria-current="page"] {
  color: #fff;
  background: var(--turquoise-dark);
}

.dark-mode .menu-toggle {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.dark-mode .page-hero {
  background: linear-gradient(135deg, #132b38, #142531 65%, #123334);
}

.dark-mode .card,
.dark-mode .form-card,
.dark-mode .member-filters,
.dark-mode .admin-editor-card,
.dark-mode .admin-registration-list {
  background: var(--white);
  color: var(--ink);
}

.dark-mode .field label,
.dark-mode .admin-content-list li,
.dark-mode .admin-registration-row {
  color: var(--ink);
}

.dark-mode .field input,
.dark-mode .field select,
.dark-mode .field textarea {
  border-color: var(--line);
  background: #0d1a24;
  color: var(--ink);
}

.dark-mode .admin-dashboard-page {
  background: #0d1a24;
}

.dark-mode .theme-toggle {
  border-color: #55707d;
  background: #203b4b;
  color: #f2f8fb;
}

@media (max-width: 480px) {
  .theme-toggle {
    left: 12px;
    bottom: 12px;
  }
}

.intro-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(0, 110, 67, .22), transparent 46%),
    #04100d;
  animation: intro-exit .45s ease-in 3.55s forwards;
}

.intro-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 24px;
  text-align: center;
  animation: intro-float 2s ease-in-out 2;
}

.intro-content img {
  width: clamp(130px, 24vw, 205px);
  filter: drop-shadow(0 0 12px rgba(49, 255, 139, .6))
    drop-shadow(0 0 38px rgba(49, 255, 139, .27));
  animation: intro-logo-reveal .8s cubic-bezier(.2, .8, .2, 1) both;
}

.intro-title {
  margin: 24px 0 0;
  color: #eafff1;
  font-size: clamp(1.05rem, 3vw, 1.65rem);
  font-weight: 850;
  letter-spacing: .2em;
  text-shadow: 0 0 20px rgba(49, 255, 139, .55);
  animation: intro-title-reveal .55s ease-out .55s both;
}

.intro-subtitle {
  margin: 10px 0 0;
  color: #82eaa7;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .25em;
  animation: intro-title-reveal .55s ease-out .78s both;
}

.intro-subtitle span { color: #42ff92; }

.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-particles span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #64ff9d;
  box-shadow: 0 0 9px 2px rgba(70, 255, 143, .75);
  animation: intro-particle-burst 1.35s ease-out .25s both;
}

.intro-particles span:nth-child(1) { --particle-x: -36vw; --particle-y: -21vh; }
.intro-particles span:nth-child(2) { --particle-x: -27vw; --particle-y: 26vh; }
.intro-particles span:nth-child(3) { --particle-x: -18vw; --particle-y: -34vh; }
.intro-particles span:nth-child(4) { --particle-x: -12vw; --particle-y: 35vh; }
.intro-particles span:nth-child(5) { --particle-x: 0vw; --particle-y: -39vh; }
.intro-particles span:nth-child(6) { --particle-x: 9vw; --particle-y: 33vh; }
.intro-particles span:nth-child(7) { --particle-x: 18vw; --particle-y: -29vh; }
.intro-particles span:nth-child(8) { --particle-x: 27vw; --particle-y: 24vh; }
.intro-particles span:nth-child(9) { --particle-x: 37vw; --particle-y: -14vh; }
.intro-particles span:nth-child(10) { --particle-x: -41vw; --particle-y: 4vh; }
.intro-particles span:nth-child(11) { --particle-x: 41vw; --particle-y: 10vh; }
.intro-particles span:nth-child(12) { --particle-x: 5vw; --particle-y: -20vh; }

@keyframes intro-logo-reveal {
  from { opacity: 0; transform: scale(.72) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes intro-title-reveal {
  from { opacity: 0; transform: translateY(12px); letter-spacing: .38em; }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes intro-particle-burst {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(var(--particle-x), var(--particle-y)) scale(0);
  }
}

@keyframes intro-exit {
  to { opacity: 0; visibility: hidden; }
}

@keyframes intro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.cursor-follower,
.cursor-follower-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.cursor-follower {
  width: 24px;
  height: 24px;
  border: 1px solid #183653;
  background: rgba(255, 255, 255, .9);
}

.cursor-follower-dot {
  width: 8px;
  height: 8px;
  background: #b6c0ca;
}

.cursor-is-visible .cursor-follower,
.cursor-is-visible .cursor-follower-dot {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-follower,
  .cursor-follower-dot {
    display: none !important;
    animation: none !important;
    transition: none !important;
  }
}
