:root {
  --ink: #f7f4ec;
  --muted: #c9c3b9;
  --space: #050608;
  --night: #0c142e;
  --panel: #17191d;
  --panel-2: #24262b;
  --cyan: #12d8d0;
  --gold: #f0b94f;
  --rose: #dc6c89;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --serif: Georgia, "Times New Roman", "Noto Serif TC", serif;
  --sans: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 8%, rgba(18, 216, 208, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(220, 108, 137, 0.15), transparent 30rem),
    linear-gradient(180deg, #030406 0%, #090b10 48%, #0b1024 100%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

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

[hidden] {
  display: none !important;
}

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 68px);
  background: rgba(12, 20, 46, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 225px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.brand span {
  display: block;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
}

.nav-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.nav-button span,
.nav-button span::before,
.nav-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-button span::before {
  transform: translateY(-6px);
}

.nav-button span::after {
  transform: translateY(4px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  color: rgba(247, 244, 236, 0.82);
  font-family: var(--serif);
  font-size: 0.98rem;
  white-space: nowrap;
}

.site-nav a,
.drop-trigger {
  position: relative;
  padding: 8px 0;
  color: inherit;
}

.drop-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.site-nav a::after,
.drop-trigger::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active,
.dropdown:hover .drop-trigger,
.dropdown.is-open .drop-trigger {
  color: var(--cyan);
}

.site-nav a:hover::after,
.site-nav a.active::after,
.dropdown:hover .drop-trigger::after,
.dropdown.is-open .drop-trigger::after {
  transform: scaleX(1);
}

.dropdown {
  position: relative;
  margin-bottom: -16px;
  padding-bottom: 16px;
}

.dropdown::before {
  position: absolute;
  right: 0;
  top: calc(100% - 16px);
  z-index: 0;
  width: max(100%, 220px);
  height: 18px;
  content: "";
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1;
  display: grid;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 16, 36, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
}

.login-link::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--night);
  content: "•";
  font-size: 1.5rem;
  line-height: 0;
}

.login-link.is-authenticated::before {
  background: rgba(18, 216, 208, 0.18);
  box-shadow: inset 0 0 0 1px rgba(18, 216, 208, 0.7);
  color: var(--cyan);
  content: "";
  font-size: 0;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section.tight {
  padding-top: clamp(36px, 6vw, 78px);
  padding-bottom: clamp(36px, 6vw, 78px);
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.section-title span {
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.lead {
  color: rgba(247, 244, 236, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(18, 216, 208, 0.75);
  background: rgba(18, 216, 208, 0.1);
  color: var(--cyan);
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--cyan);
  color: #071013;
}

.button.solid {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #071013;
}

.button.solid:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.16), rgba(5, 6, 8, 0.88)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(18, 216, 208, 0.7) 0 1px, transparent 1px);
  background-position: 0 0, 42px 78px;
  background-size: 95px 95px, 140px 140px;
  content: "";
  opacity: 0.18;
  animation: drift 28s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) 0;
}

.hero-card {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(18, 216, 208, 0.93), rgba(244, 205, 178, 0.9));
  color: #152024;
  box-shadow: var(--shadow);
  animation: rise 0.9s ease both;
}

.hero-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5.15rem);
  font-weight: 500;
  line-height: 1.08;
}

.hero-card p {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-weight: 700;
}

.hero-copy {
  color: white;
  text-align: center;
  animation: rise 0.9s ease 0.16s both;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .chinese {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 800;
}

.hero-badges {
  display: grid;
  gap: 8px;
  margin: 28px auto 0;
  color: rgba(247, 244, 236, 0.9);
  font-weight: 700;
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(920px, calc(100% - 36px));
  margin: -62px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(32, 34, 38, 0.92);
  text-align: center;
}

.stat strong {
  display: block;
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding-top: 34px;
}

.dark-band {
  background: #1f1f21;
}

.black-band {
  background: #010101;
}

.white-band {
  background: #f5f2ed;
  color: #151515;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.award-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(247, 244, 236, 0.9);
  font-weight: 700;
}

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

.photo-grid img,
.mosaic img,
.feature-image,
.team-card img,
.member-card img,
.president-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid img {
  min-height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.94);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.photo-grid img:hover {
  transform: scale(1.035);
  filter: saturate(1.12);
}

.photo-grid img:nth-child(1),
.photo-grid img:nth-child(4) {
  grid-column: span 3;
}

.photo-grid img:nth-child(2),
.photo-grid img:nth-child(3),
.photo-grid img:nth-child(5) {
  grid-column: span 2;
}

.camp-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.poster {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.info-card,
.member-card,
.team-card,
.placeholder-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.info-card {
  padding: 26px;
}

.info-card h3,
.team-card h3,
.member-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.info-card p,
.team-card p,
.member-card p,
.placeholder-card p {
  color: rgba(247, 244, 236, 0.76);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-strip img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

main img:not(.image-viewer__image) {
  cursor: zoom-in;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(16px);
}

.image-viewer.is-open {
  display: grid;
}

.image-viewer__panel {
  width: min(1180px, 100%);
  height: min(820px, 88vh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #060912;
  box-shadow: var(--shadow);
}

.image-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.image-viewer__title {
  min-width: 0;
  overflow: hidden;
  color: rgba(247, 244, 236, 0.78);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-viewer__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.image-viewer button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: 800 1rem var(--sans);
}

.image-viewer button:hover {
  background: var(--cyan);
  color: #061013;
}

.image-viewer button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.image-viewer__stage {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.04) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.04) 75%),
    #020307;
  background-position: 0 0, 16px 16px;
  background-size: 32px 32px;
}

.image-viewer__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-viewer[data-fit="fill"] .image-viewer__image {
  object-fit: cover;
}

.image-viewer__caption {
  min-height: 48px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 244, 236, 0.78);
  font-size: 0.92rem;
}

body.image-viewer-open {
  overflow: hidden;
}

.site-footer {
  padding: clamp(52px, 8vw, 90px) clamp(18px, 5vw, 72px);
  background: #111a39;
  color: rgba(247, 244, 236, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 760px);
  justify-content: center;
  gap: 44px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.footer-logo img {
  width: 74px;
  height: 74px;
  border-radius: 10px;
}

.footer-logo strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.footer-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: white;
  font-weight: 800;
}

.footer-list a:hover {
  color: var(--cyan);
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 80px 18px;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.82), rgba(5, 6, 8, 0.35)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  text-align: center;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  min-height: 620px;
}

.mission-title {
  display: grid;
  align-content: center;
  padding: clamp(40px, 7vw, 90px);
  background: #f8f7f4;
  color: #101010;
}

.mission-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.mission-copy {
  display: grid;
  gap: 26px;
  align-content: center;
  padding: clamp(40px, 7vw, 90px);
  background: #020202;
  color: white;
}

.mission-copy p {
  color: rgba(247, 244, 236, 0.86);
  font-weight: 700;
}

.quote-band {
  padding: 36px 18px;
  background: var(--cyan);
  color: #071013;
  text-align: center;
}

.quote-band strong {
  display: block;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.15em;
}

.presidents {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.president-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.president-gallery img {
  aspect-ratio: 3 / 4;
}

.members-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
}

.members-intro img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.member-grid,
.team-grid,
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.member-card,
.team-card,
.placeholder-card {
  overflow: hidden;
  background-color: var(--panel-2);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.member-card:hover,
.team-card:hover,
.placeholder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 216, 208, 0.45);
}

.member-card img {
  height: clamp(260px, 31vw, 430px);
  aspect-ratio: auto;
}

.member-card .card-body,
.team-card .card-body,
.placeholder-card {
  padding: 24px;
}

.role {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.card-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(247, 244, 236, 0.72);
}

.team-card img {
  height: clamp(220px, 24vw, 320px);
  aspect-ratio: auto;
}

.camp-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1.2fr);
  gap: 0;
  align-items: center;
  padding: clamp(42px, 7vw, 78px) clamp(18px, 5vw, 72px);
  background: #020202;
}

.camp-hero-copy {
  z-index: 1;
  width: min(560px, 100%);
  justify-self: end;
  margin-right: -60px;
  padding: clamp(32px, 5vw, 60px);
  background: rgba(58, 58, 58, 0.96);
  box-shadow: var(--shadow);
}

.camp-hero-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.registration-panel {
  text-align: center;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.mosaic img {
  min-height: 180px;
  aspect-ratio: 1 / 1;
}

.mosaic img:nth-child(1),
.mosaic img:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic img:nth-child(2),
.mosaic img:nth-child(3),
.mosaic img:nth-child(4),
.mosaic img:nth-child(6) {
  grid-column: span 2;
}

.activity-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.form-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(247, 244, 236, 0.84);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.auth-shell {
  position: relative;
  overflow: hidden;
}

.auth-shell::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #8fb7ff, #f2f0df);
  content: "";
}

.auth-provider-row {
  margin-top: 26px;
}

.google-button {
  width: min(100%, 330px);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  color: rgba(247, 244, 236, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
  content: "";
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-status,
.auth-session,
.auth-note {
  margin-top: 16px;
  color: rgba(247, 244, 236, 0.74);
}

.auth-status {
  min-height: 1.4em;
  font-weight: 800;
}

.auth-status[data-tone="success"] {
  color: #9ff0c1;
}

.auth-status[data-tone="warning"] {
  color: #ffe3a1;
}

.auth-status[data-tone="error"] {
  color: #ffb0a8;
}

.auth-session {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(159, 240, 193, 0.28);
  background: rgba(159, 240, 193, 0.08);
  color: #d7ffe6;
  font-weight: 900;
}

.auth-note {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.auth-shell button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.placeholder-grid {
  margin-top: 32px;
}

.placeholder-card {
  min-height: 260px;
}

.placeholder-card .tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 5px 10px;
  background: rgba(240, 185, 79, 0.15);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item time {
  color: var(--gold);
  font-weight: 900;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-95px, 95px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .nav-button {
    display: grid;
    flex: 0 0 auto;
    margin-top: 5px;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(18px, 4vw, 68px);
    background: rgba(12, 20, 46, 0.98);
    transition: max-height 0.24s ease, padding 0.24s ease;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 620px;
    padding-bottom: 22px;
  }

  .site-nav a,
  .drop-trigger {
    width: 100%;
    padding: 14px 0;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    max-height: none;
    padding: 6px 0 10px 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .dropdown {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .dropdown::before {
    display: none;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .camp-panel,
  .mission-grid,
  .presidents,
  .members-intro,
  .camp-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stats,
  .bullet-grid,
  .member-grid,
  .team-grid,
  .placeholder-grid,
  .activity-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .camp-hero-copy {
    width: 100%;
    margin: 0;
    justify-self: stretch;
  }

  .camp-hero-image img {
    min-height: 320px;
  }

  .photo-grid,
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid img,
  .mosaic img,
  .photo-grid img:nth-child(n),
  .mosaic img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 70px;
  }

  .hero-card,
  .page-hero-inner,
  .form-shell {
    padding: 24px;
  }

  .stats,
  .bullet-grid,
  .gallery-strip,
  .member-grid,
  .team-grid,
  .placeholder-grid,
  .activity-cards,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 102px;
  }

  .footer-logo {
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
