/* ==========================================================================
   香港學生總會 HKSU — Design System
   Colors sampled from 素材包/HKSU品牌网站色卡_副本.png
   ========================================================================== */

:root {
  /* Brand palette (sampled) */
  --c-yellow: #FAD951;
  --c-yellow-soft: #FBEA9E;
  --c-green-a: #B3C560;
  --c-green: #95BD74;
  --c-green-b: #78B484;
  --c-teal: #469DAD;
  --c-teal-deep: #2E7D93;   /* darkened from sample for WCAG button/link contrast */
  --c-aqua: #8ED2D4;
  --c-aqua-tint: #E7F4F3;
  --c-accent: #369394;
  --c-ink: #404D59;
  --c-ink-deep: #2F3B47;
  --c-muted: #9BA1AA;
  --c-muted-2: #66717D;
  --c-bg: #EEF2F7;
  --c-white: #FFFFFF;
  --c-line: #DDE5EC;

  /* Gradients from brand card swatches */
  --grad-brand: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-green-a) 34%, var(--c-green) 62%, var(--c-teal) 100%);
  --grad-green: linear-gradient(135deg, var(--c-green-a), var(--c-green-b));
  --grad-teal: linear-gradient(135deg, var(--c-teal), var(--c-teal-deep));
  --grad-leaf: linear-gradient(160deg, var(--c-yellow-soft), var(--c-aqua-tint));

  /* Type & layout */
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 78px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 36px rgba(47, 59, 71, 0.10);
  --shadow-soft: 0 6px 18px rgba(47, 59, 71, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-teal-deep); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--c-ink-deep); line-height: 1.25; margin: 0 0 0.5em; font-weight: 900; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-yellow); color: var(--c-ink-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Buttons & chips
   (i18n language mutex rules are injected solely by js/i18n.js — not here)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-teal-deep);
  color: var(--c-white);
}
.btn-primary:hover { background: #276B80; color: var(--c-white); box-shadow: 0 10px 24px rgba(46, 125, 147, 0.35); }

.btn-outline {
  background: transparent;
  border-color: var(--c-teal-deep);
  color: var(--c-teal-deep);
}
.btn-outline:hover { background: var(--c-teal-deep); color: var(--c-white); }

.btn-light {
  background: var(--c-white);
  color: var(--c-teal-deep);
}
.btn-light:hover { box-shadow: 0 10px 24px rgba(47, 59, 71, 0.18); color: var(--c-accent); }

.btn .btn-spark {
  position: absolute;
  right: -14px;
  top: -16px;
  width: 44px;
  height: 44px;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.btn:hover .btn-spark { opacity: 0.9; transform: rotate(18deg) scale(1.05); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.chip-teal { background: var(--c-aqua-tint); color: var(--c-teal-deep); }
.chip-yellow { background: #FDF3C8; color: #8A6D12; }
.chip-green { background: #E9F2E0; color: #4E7D3A; }

/* --------------------------------------------------------------------------
   Section commons
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--c-bg); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0;
  position: relative;
  padding-left: 18px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.section-more {
  flex-shrink: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-more svg { transition: transform 0.2s var(--ease); }
.section-more:hover svg { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--c-teal-deep);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: var(--grad-brand);
}

/* Divider assets from brand kit */
.divider-network,
.divider-rhythm {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  margin: 8px auto 0;
  pointer-events: none;
  user-select: none;
}
.divider-rhythm { height: 230px; }

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: block;
  white-space: nowrap;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--c-ink);
  border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a.nav-link:hover { color: var(--c-teal-deep); background: var(--c-aqua-tint); }
.main-nav a.nav-link.is-current { color: var(--c-teal-deep); font-weight: 700; }
.main-nav a.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 10px; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--c-white);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-muted-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button:hover { color: var(--c-teal-deep); }
.lang-switch button.is-active { background: var(--c-teal-deep); color: var(--c-white); }

.btn-nav { min-height: 44px; padding: 9px 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--c-ink-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--c-ink-deep);
  color: #C9D3DC;
  overflow: hidden;
  padding: 72px 0 0;
}
.site-footer a { color: #E7EEF4; }
.site-footer a:hover { color: var(--c-yellow); }
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; border-radius: 12px; background: var(--c-white); padding: 6px; }
.footer-brand p { font-size: 14.5px; color: #AEB9C4; max-width: 30em; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--c-accent); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-col h4 {
  color: var(--c-white);
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-landscape {
  position: relative;
  z-index: 1;
  line-height: 0;
}
.footer-landscape img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.9;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.25);
  padding: 16px 0;
  font-size: 13.5px;
  color: #9FAAB6;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Cards (shared grammar)
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card .card-halo {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  background: url("../assets/img/brand/hover-halo.png") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
}
.card:hover .card-halo { opacity: 0.16; }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 22px 24px 26px; position: relative; z-index: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--c-muted-2); font-weight: 500; }
.card-title { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.card-sub { font-size: 14.5px; color: var(--c-muted-2); margin: 0; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (brand node cadence)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses early enough for the longest (EN) labels */
@media (max-width: 1140px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px rgba(47, 59, 71, 0.14);
    padding: 18px 24px 24px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 13px 10px; font-size: 16.5px; }
  .main-nav a.nav-link.is-current::after { display: none; }
  .nav-actions { margin: 12px 0 0; justify-content: space-between; }
  .site-header { background: var(--c-white); }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: auto; }
}

/* --------------------------------------------------------------------------
   Home hero (concept-mockup collage)
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52vw 60vh at 88% 6%, rgba(142, 210, 212, 0.20), transparent 62%),
    radial-gradient(40vw 46vh at 4% 90%, rgba(250, 217, 81, 0.16), transparent 60%),
    var(--c-white);
  padding: 44px 0 96px;
}
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -88px;
  width: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-ornament { display: none; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
}
.hero-tagline {
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 15px;
  color: var(--c-teal-deep);
  margin-bottom: 18px;
}
.hero-copy h1 {
  font-size: clamp(44px, 5.6vw, 74px);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
html[data-lang="en"] .hero-copy h1 {
  font-size: clamp(32px, 3.4vw, 49px);
  letter-spacing: 0;
  line-height: 1.14;
}
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--c-ink); margin-bottom: 6px; }
.hero-en-line { font-size: 14px; letter-spacing: 0.12em; color: var(--c-muted-2); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Collage tiles — organic leaf shapes from the concept mockup */
.hero-collage {
  position: relative;
  height: 560px;
}
.tile { position: absolute; }
.tile p { margin: 0; color: var(--c-white); font-weight: 900; letter-spacing: 0.22em; line-height: 1.6; font-size: clamp(13px, 1.25vw, 17px); }

.tile-green {
  left: 1%; top: 5%;
  width: 28.5%; height: 46%;
  border-radius: 74px 12px 74px 12px;
  background: var(--grad-green);
  transform: rotate(-2deg);
  display: flex;
  align-items: flex-end;
  padding: 9% 6% 9% 10%;
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.tile-green p { font-size: clamp(10px, 0.85vw, 12.5px); letter-spacing: 0.1em; line-height: 1.75; }
.tile-photo { overflow: hidden; box-shadow: var(--shadow-card); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }

.tile-students {
  left: 31%; top: 0;
  width: 45%; height: 54%;
  border-radius: 14px 96px 14px 96px;
  transform: rotate(1.2deg);
  z-index: 3;
}
.tile-city {
  right: 0; top: 6%;
  width: 23%; height: 62%;
  border-radius: 86px 12px 86px 12px;
  transform: rotate(2deg);
  z-index: 1;
}
.tile-skyline {
  left: 11%; bottom: 0;
  width: 48%; height: 42%;
  border-radius: 12px 96px 12px 96px;
  transform: rotate(-1.2deg);
  z-index: 4;
}
.tile-teal {
  right: 2%; bottom: 1%;
  width: 33.5%; height: 38%;
  border-radius: 96px 14px 96px 14px;
  background: var(--grad-teal);
  transform: rotate(1.6deg);
  display: flex;
  align-items: center;
  padding-left: 13%;
  font-style: italic;
  box-shadow: var(--shadow-card);
  z-index: 3;
}
.tile-teal p { font-style: italic; letter-spacing: 0.12em; font-size: clamp(12px, 1.05vw, 15px); }
.hero-note {
  position: absolute;
  right: -0.5%; top: 42%;
  font-size: 14px;
  z-index: 5;
  background: var(--c-white);
  color: var(--c-teal-deep);
  font-weight: 700;
  line-height: 1.5;
  padding: 14px 20px;
  border-radius: 14px 4px 14px 4px;
  box-shadow: var(--shadow-soft);
  transform: rotate(3deg);
  margin: 0;
}
.hero-note::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.tile-dot { border-radius: 10px; }
.tile-dot-a {
  left: 24%; top: -3%;
  width: 34px; height: 34px;
  background: var(--c-yellow);
  transform: rotate(14deg);
  z-index: 2;
}
.tile-dot-b {
  left: 4%; bottom: 6%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-aqua);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Home band: 最新活動 | 精選機會 | 學生故事
   -------------------------------------------------------------------------- */
.home-band-section { padding-top: 40px; }
.home-band {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 34px;
  align-items: start;
}
.band-col .section-head { margin-bottom: 26px; }
.band-col .section-head h2 { font-size: clamp(21px, 1.9vw, 25px); padding-left: 14px; }
.band-col .section-more { font-size: 14px; }

.events-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.events-mini .card-body { padding: 16px 16px 20px; }
.events-mini .card-title { font-size: 16px; }
.events-mini .card-title a { color: inherit; }
.events-mini .card-title a:hover { color: var(--c-teal-deep); }
.events-mini .card-sub { font-size: 13px; }
.events-mini .card-meta { font-size: 13px; flex-wrap: wrap; }

.opp-list { display: grid; gap: 16px; }
.opp-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: inherit;
}
.opp-row:hover { color: inherit; }
.opp-thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.opp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.opp-info .card-title { font-size: 16.5px; margin-bottom: 2px; }
.opp-info .chip { margin-bottom: 8px; }
.opp-info .card-sub { font-size: 13px; }
.opp-arrow { color: var(--c-teal-deep); transition: transform 0.2s var(--ease); }
.opp-row:hover .opp-arrow { transform: translateX(4px); }

/* Story card (dark, like the concept) */
.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-ink-deep);
  color: #D8E2EA;
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow-card);
}
.story-media { aspect-ratio: 16 / 9; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 20px 22px 24px; }
.story-body h3 { color: var(--c-white); font-size: 20px; margin-bottom: 8px; }
.story-body p { font-size: 14px; color: #B9C5CF; margin-bottom: 18px; }
.story-body .btn { min-height: 42px; padding: 8px 20px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band { padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: 44px;
  align-items: center;
}
.stats-lead h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.stats-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stat {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.stat-icon { grid-row: span 2; color: var(--c-teal); }
.stat-num { font-size: clamp(22px, 2vw, 28px); font-weight: 900; color: var(--c-teal-deep); line-height: 1.15; }
.stat-label { font-size: 13.5px; color: var(--c-muted-2); font-weight: 500; }

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote-section { padding-top: 26px; text-align: center; }
.quote-card {
  margin: 8px auto 0;
  max-width: 760px;
  background: linear-gradient(135deg, rgba(179, 197, 96, 0.16), rgba(142, 210, 212, 0.18));
  border-radius: var(--radius-lg);
  padding: 34px 40px;
}
.quote-card p {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  color: var(--c-teal-deep);
}

/* --------------------------------------------------------------------------
   Home responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .home-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .band-events { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .home-hero { padding: 26px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-overlay { bottom: -12px; }
  .hero-ornament {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 74px;
    object-fit: contain;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
  }
  .hero-ornament-left { left: -16px; }
  .hero-ornament-right { right: -16px; }
  .hero-collage {
    height: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    position: relative;
    padding: 0 8px;
  }
  .tile { position: static; transform: none; }
  .tile-green, .tile-city, .hero-note, .tile-dot { display: none; }
  .tile-students { width: auto; height: 240px; border-radius: 14px 72px 14px 72px; }
  .tile-skyline { width: auto; height: 240px; border-radius: 72px 14px 72px 14px; }
  .tile-teal {
    grid-column: 1 / -1;
    height: 132px;
    border-radius: 60px 14px 60px 14px;
    padding-left: 12%;
  }
  .tile-teal p { font-size: 11px; letter-spacing: 0.12em; line-height: 1.55; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-band { grid-template-columns: 1fr; }
  .events-mini { grid-template-columns: 1fr; }
  .events-mini .card-media { aspect-ratio: 16 / 9; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-cta .btn { flex: 1 1 auto; }
  .quote-card { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Subpage hero (unified grammar, content-led variation per page)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  background:
    radial-gradient(46vw 42vh at 92% 0%, rgba(142, 210, 212, 0.22), transparent 60%),
    radial-gradient(34vw 36vh at 2% 100%, rgba(250, 217, 81, 0.14), transparent 62%),
    var(--c-white);
}
.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 14px; }
html[data-lang="en"] .page-hero h1 { letter-spacing: 0; line-height: 1.12; }
.page-lede { font-size: 17px; color: var(--c-muted-2); max-width: 34em; margin-bottom: 0; }
.page-hero-media { position: relative; padding-bottom: 40px; }
.page-hero-media img.page-banner {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px 92px 14px 92px;
  box-shadow: var(--shadow-card);
}
.page-hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.decor-burst { width: 300px; right: -70px; bottom: -40px; opacity: 0.5; }
.decor-ring { width: 340px; left: -90px; bottom: -60px; opacity: 0.35; }
.decor-ribbon { width: 300px; right: -60px; top: -50px; opacity: 0.4; }
.decor-cluster { width: 320px; right: -80px; bottom: -70px; opacity: 0.25; }
.decor-letters { width: 300px; left: -80px; bottom: -60px; opacity: 0.3; }

/* CTA band shared across subpages */
.cta-band { padding: 30px 0 90px; }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-teal);
  color: var(--c-white);
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-card h2 { color: var(--c-white); font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 8px; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 40em; }
.cta-card .btn-light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }
.cta-card .cta-ribbon {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 200px;
  opacity: 0.25;
  transform: rotate(12deg);
  pointer-events: none;
}

/* Content grids used by subpages */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card, .resource-card, .join-card { padding: 30px 28px 32px; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px 6px 18px 6px;
  background: var(--grad-brand);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.service-card .card-title, .resource-card .card-title, .join-card .card-title { font-size: 19px; }
.join-card .btn { margin-top: 14px; min-height: 46px; }

/* About mission block */
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.mission-ring { position: relative; text-align: center; }
.mission-ring img { width: min(420px, 88%); margin: 0 auto; }
.mission-points { display: grid; gap: 14px; margin-top: 26px; }
.mission-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.mission-point .mp-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-top: 7px;
  background: var(--grad-brand);
}
.mission-point p { margin: 0; font-size: 15px; }

/* Events page recap strip */
.ig-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--c-aqua-tint);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
}
.ig-strip p { margin: 0; font-weight: 500; }

@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .page-hero { padding-top: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-media { padding-bottom: 26px; }
  .mission-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-card { padding: 34px 26px; }
}
@media (max-width: 640px) {
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .page-hero-decor { opacity: 0.2; }
}
