@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ── Ink (collegiate blue) ── */
  --navy: #182a4d;
  --navy-light: #24406f;

  /* ── Accents ── */
  --gold: #e3a83e;
  --gold-dark: #c98f28;
  --neon: #b3902f;
  --neon-dark: #8f7226;
  --jade: #2e6e58;

  /* ── Warm neutrals ── */
  --white: #ffffff;
  --paper: #fffcf5;
  --stone: #faf3e3;
  --stone-2: #f1e3c6;
  --light-gray: #f1e3c6;
  --gray: #8a8072;
  --text: #2b2620;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', 'Noto Sans TC', 'Segoe UI', serif;
  color: var(--text);
  background: var(--stone);
}

h1, h2, h3, .display {
  font-family: 'Fraunces', 'Noto Serif TC', 'Segoe UI', serif;
}

::selection {
  background: var(--neon);
  color: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── EYEBROW LABEL ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', 'Noto Sans TC', serif;
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--neon);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.eyebrow.on-dark {
  color: var(--gold);
}

.eyebrow.on-dark::before {
  background: var(--gold);
}

/* ── NAV ── */
nav {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: auto;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 20px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-links a:hover {
    background: rgba(227, 168, 62, 0.2);
  }

  .nav-links a.active {
    background: var(--neon);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo .logo-img {
  height: 96px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.14);
}

.nav-links a.active {
  background: var(--neon);
  color: var(--white);
  font-weight: 700;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 400px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 32px 20px 0;
}

.hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  z-index: 0;
}

.hero-hills .hill-1 { fill: var(--navy); display: none; }
.hero-hills .hill-2 { fill: var(--navy-light); opacity: 0.55; display: none; }
.hero-hills .hill-3 { fill: var(--gold); opacity: 0.32; }

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--navy);
  padding: 0 20px 40px;
  max-width: 760px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--paper);
  border: 1.5px dashed var(--neon);
  padding: 6px 16px;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 22px;
  box-shadow: 0 3px 10px rgba(24,42,77,0.1);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--navy);
}

.hero-content h1 .zh {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  margin-top: 10px;
}

.hero-underline {
  display: inline-block;
  position: relative;
}

.hero-underline::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--neon);
  opacity: 0.35;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 20px;
}

/* ── ABOUT ── */
.about {
  background: var(--paper);
  padding: 80px 40px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(24,42,77,0.06);
}

.about h2 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 6px;
}

.about .sub {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.03em;
}

.about p {
  line-height: 1.9;
  color: var(--text);
  font-size: 1rem;
}

/* ── SECTION TITLES ── */
.section-title {
  text-align: center;
  padding: 56px 20px 10px;
}

.section-title h2 {
  color: var(--navy);
  font-size: 2rem;
}

.section-title .sub {
  color: var(--gray);
  margin-top: 6px;
  font-size: 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* ── EVENTS CTA (homepage) ── */
.events-cta {
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 20px 60px;
  text-align: center;
}

.events-cta p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 26px;
}

/* ── RESOURCES ── */
.resource-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 40px 10px;
  text-align: center;
}

.resource-intro p {
  color: var(--text);
  line-height: 1.9;
  font-size: 1rem;
}

.resource-intro .disclaimer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.7;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 30px auto 10px;
  padding: 0 40px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 14px;
  background: var(--paper);
  border: 1.5px solid var(--stone-2);
  border-radius: 14px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-card span {
  font-size: 1.8rem;
  line-height: 1;
}

.cat-card small {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-dark);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(24,42,77,0.12);
}

.resource-section {
  padding: 46px 40px;
  scroll-margin-top: 90px;
}

.resource-section.alt {
  background: var(--stone-2);
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 20px auto 0;
}

.resource-item {
  display: block;
  position: relative;
  background: var(--paper);
  border-radius: 12px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  text-decoration: none;
  box-shadow: 0 1px 8px rgba(24,42,77,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--neon);
  box-shadow: 0 10px 22px rgba(24,42,77,0.13);
}

.resource-item .r-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.resource-item .r-arrow {
  color: var(--gold-dark);
  font-weight: 400;
  transition: transform 0.2s ease;
  display: inline-block;
}

.resource-item:hover .r-arrow {
  transform: translate(2px, -2px);
  color: var(--neon);
}

.resource-item .r-desc {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.resource-item .r-source {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-dark);
  background: var(--stone);
  padding: 2px 10px;
  border-radius: 999px;
}

/* ── DISTRICT / INFO CARDS ── */
.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 20px auto 0;
}

.district-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 1px 8px rgba(24,42,77,0.06);
}

.district-card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.district-card .d-tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold-dark);
  background: var(--stone);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.district-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ── STAT CARDS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 20px auto 0;
}

.stat-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  border: 1.5px solid var(--stone-2);
}

.stat-card .stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── INFO TABLE ── */
.info-table-wrap {
  max-width: 900px;
  margin: 20px auto 0;
  overflow-x: auto;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(24,42,77,0.06);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 12px 18px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  white-space: nowrap;
}

.info-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--stone-2);
  color: var(--text);
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:nth-child(even) {
  background: var(--stone);
}

/* ── NOTE BOX ── */
.note-box {
  max-width: 1000px;
  margin: 18px auto 0;
  background: var(--stone-2);
  border-left: 3px solid var(--neon);
  border-radius: 10px;
  padding: 16px 22px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── EMERGENCY BOX ── */
.emergency-wrap {
  padding: 20px 40px 10px;
}

.emergency-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 32px 36px;
  border: 2px solid var(--neon);
}

.emergency-box .eyebrow {
  color: var(--gold);
}

.emergency-box .eyebrow::before {
  background: var(--gold);
}

.emergency-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.emergency-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.emergency-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.emergency-list strong {
  flex: 0 0 auto;
  min-width: 108px;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--gold);
}

.emergency-list span {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── LUMA EMBED ── */
.luma-section {
  padding: 30px 60px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.luma-placeholder {
  border: 2px dashed var(--gold);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: var(--gray);
  background: var(--paper);
  font-size: 0.95rem;
  line-height: 1.8;
}

.luma-placeholder code {
  display: block;
  margin: 14px auto;
  background: var(--stone-2);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text);
  max-width: 600px;
  text-align: left;
  word-break: break-all;
}

/* ── EVENT HIGHLIGHTS (photo gallery) ── */
.highlights-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 24px 60px 56px;
  max-width: 1200px;
  margin: 0 auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.highlight-item {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  box-shadow: 0 2px 14px rgba(24,42,77,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(24,42,77,0.2);
}

.highlight-item .ph-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  opacity: 0.5;
}

.highlight-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: slideIn 0.3s;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 200px);
  width: 100%;
  object-fit: cover;
}

.lightbox-content .close-btn {
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content .close-btn:hover {
  background: rgba(0,0,0,0.8);
}

#highlightDesc {
  padding: 20px;
  background: var(--paper);
}

/* ── PAST EVENTS ── */
.past-events-section {
  background: var(--stone-2);
  padding: 56px 60px;
}

.collapsible-toggle {
  background: var(--paper);
  border: 1.5px solid var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  margin: 0 auto 24px;
  transition: background 0.2s, color 0.2s;
}

.collapsible-toggle:hover {
  background: var(--navy);
  color: var(--white);
}

.collapsible-toggle .arrow {
  transition: transform 0.3s;
  display: inline-block;
}

.collapsible-toggle.open .arrow {
  transform: rotate(180deg);
}

/* ── EVENTS GRID ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding: 30px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(24,42,77,0.09);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(24,42,77,0.18);
}

.event-card .card-img {
  height: 170px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

img.event-card, .event-card img.card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.event-card .card-body {
  padding: 16px 18px 20px;
}

.event-card .card-date {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--paper);
  border: 1.5px dashed var(--neon);
  padding: 3px 12px;
  border-radius: 4px;
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
  margin-top: -30px;
  margin-bottom: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.14);
}

.event-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.event-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
}

.btn-details {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 18px;
  background: var(--neon);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-details:hover {
  background: var(--neon-dark);
  transform: translateY(-1px);
}

/* ── MEMBERSHIP ── */
.membership-section {
  background: var(--stone-2);
  padding: 64px 40px 70px;
}

.membership-cards {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.membership-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 46px 32px 36px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(24,42,77,0.1);
  border-top: 3px solid var(--navy);
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--stone-2);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.12);
}

.membership-card.featured {
  border-top-color: var(--gold);
  transform: scale(1.04);
}

.membership-card.featured::after {
  content: '\71B1\9580  Popular';
  position: absolute;
  top: 18px;
  right: -34px;
  background: var(--neon);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.membership-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.membership-card .zh {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.membership-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Fraunces', serif;
}

.membership-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
  font-family: 'Lora', sans-serif;
}

.membership-card .discount {
  font-size: 0.82rem;
  color: var(--neon);
  font-weight: 600;
  margin: 8px 0 22px;
}

.membership-card ul {
  text-align: left;
  list-style: none;
  margin-bottom: 26px;
  padding-top: 20px;
  border-top: 2px dashed var(--stone-2);
}

.membership-card ul li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--text);
}

.membership-card ul li::before {
  content: '\2713  ';
  color: var(--gold-dark);
  font-weight: bold;
}

.btn-join {
  display: inline-block;
  padding: 11px 30px;
  background: var(--neon);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.btn-join:hover {
  background: var(--neon-dark);
  transform: translateY(-1px);
}

.membership-card.featured .btn-join {
  background: var(--gold);
  color: var(--navy);
}

.membership-card.featured .btn-join:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.membership-notes {
  max-width: 700px;
  margin: 46px auto 0;
  background: var(--paper);
  border-radius: 16px;
  padding: 28px 32px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text);
  box-shadow: 0 2px 14px rgba(24,42,77,0.08);
  border-left: 4px solid var(--gold);
}

.membership-notes h4 {
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Fraunces', 'Noto Serif TC', serif;
}

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
  padding: 30px 60px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(24,42,77,0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  background: var(--paper);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(24,42,77,0.16);
  border-color: var(--neon);
}

.benefit-card .b-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.benefit-card .b-name {
  padding: 14px 12px 4px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.benefit-card .b-tag {
  text-align: center;
  font-size: 0.86rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  padding-bottom: 14px;
}

/* ── CONTACT FORM ── */
.contact-section {
  background: var(--stone-2);
  padding: 64px 40px;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--paper);
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(24,42,77,0.08);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--stone-2);
  background: var(--stone);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon);
  background: var(--paper);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--neon);
  color: var(--white);
  border: none;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--neon-dark);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 48px 40px 36px;
  text-align: center;
  position: relative;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Fraunces', 'Noto Serif TC', serif;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-logo .zh {
  font-size: 1rem;
  display: block;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-email {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-email a {
  color: var(--gold);
  text-decoration: none;
}

.footer-social {
  margin: 10px 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.98rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.9rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 12% 30%, rgba(227,168,62,0.16), transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(224,57,47,0.18), transparent 45%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 66px 20px 58px;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-hero .sub {
  opacity: 0.8;
  font-size: 1.08rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* ── PLAN TABS (Membership / Benefits sub-nav) ── */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 26px 20px 0;
  background: var(--stone-2);
}

.plan-tab {
  padding: 10px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper);
  border: 1.5px solid var(--navy);
  transition: background 0.2s, color 0.2s;
}

.plan-tab:hover {
  background: var(--stone);
}

.plan-tab.active {
  background: var(--neon);
  color: var(--white);
  border-color: var(--neon);
}

/* ── EVENT / BENEFIT MODAL ── */
.event-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24,20,14,0.55);
  animation: fadeIn 0.3s;
}

.event-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--paper);
  padding: 40px;
  border-radius: 18px;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s;
}

.modal-event-img {
  width: calc(100% + 80px);
  margin: -40px -40px 20px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  display: block;
}

.close-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 26px;
  font-weight: bold;
  color: var(--white);
  background: rgba(24,20,14,0.45);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  line-height: 1;
}

.close-btn:hover {
  background: var(--neon);
}

.modal-event-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-event-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.modal-event-date {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.modal-event-details {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.modal-event-details strong {
  color: var(--navy);
}

.modal-section-label {
  display: block;
  color: var(--neon);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-event-date a,
.modal-event-details a {
  color: var(--navy);
  text-decoration: underline;
}

.benefit-list {
  margin: 0;
  padding-left: 20px;
}

.benefit-list li {
  margin-bottom: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav {
    padding: 0 16px;
  }
  .nav-links a {
    padding: 7px 10px;
    font-size: 12px;
  }
  .hero {
    min-height: 340px;
    padding-top: 24px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content h1 .zh {
    font-size: 1.4rem;
  }
  .events-grid, .benefits-grid {
    padding: 20px;
  }
  .about {
    margin: 24px 16px;
    padding: 50px 24px;
  }
  .form-row {
    flex-direction: column;
  }
  .membership-card.featured {
    transform: none;
  }
  .modal-content {
    width: 90%;
    padding: 24px;
  }
  .modal-event-img {
    width: calc(100% + 48px);
    margin: -24px -24px 20px;
  }
}

/* ── FLOATING NAVIGATION ── */
.floating-nav {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(24,42,77,0.25);
  transition: all 0.3s ease;
  z-index: 99;
  text-decoration: none;
  color: var(--white);
  font-size: 1.4rem;
}

.floating-nav:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(227,168,62,0.35);
}

@media (max-width: 768px) {
  .floating-nav {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* ── STICKY CATEGORY BAR ── */
.sticky-categories {
  position: fixed;
  top: 95px;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 3px solid var(--gold);
  padding: 16px 20px;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(24,42,77,0.12);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.sticky-categories-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 32px;
}

.sticky-categories-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-cat-link {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--stone-2);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-cat-link:hover,
.sticky-cat-link:focus {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  outline: none;
}

@media (max-width: 768px) {
  .sticky-categories {
    padding: 12px 12px;
  }

  .sticky-categories-inner {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sticky-categories-label {
    display: none;
  }

  .sticky-cat-link {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}
