:root {
  --red: #b00020;
  --red-dark: #7a0019;
  --red-soft: #f8e8eb;
  --ink: #25262a;
  --muted: #696d75;
  --line: #e7e2df;
  --paper: #fffdf9;
  --white: #ffffff;
  --gold: #c49a35;
  --green: #1f6b5f;
  --shadow: 0 16px 44px rgba(50, 35, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(122, 0, 25, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 700;
}

.brand-logo {
  width: 48px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.93rem;
  color: #37383d;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 7px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red-dark);
  background: var(--red-soft);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(122, 0, 25, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.language-switcher a {
  min-width: 36px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #555961;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.language-switcher a:hover,
.language-switcher a.active {
  color: var(--red-dark);
  background: var(--red-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--red-dark);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 126px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(39, 10, 14, 0.68) 0%, rgba(85, 7, 20, 0.4) 42%, rgba(80, 10, 20, 0.06) 72%, rgba(80, 10, 20, 0.01) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 0 92px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions,
.cta-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
}

.btn-light {
  color: var(--red-dark);
  background: var(--white);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn-card {
  width: max-content;
  margin-top: 8px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-color: rgba(176, 0, 32, 0.18);
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.paired,
.split,
.cta-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.about-band,
.soft-section,
.partners-strip {
  background: var(--white);
}

.about-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.about-copy {
  max-width: 620px;
}

.rich-text {
  max-width: 690px;
  color: var(--muted);
}

.rich-text.large {
  color: var(--ink);
  font-size: 1.2rem;
}

.about-profile-section {
  padding: clamp(48px, 6vw, 76px) 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.84)),
    radial-gradient(circle at 12% 18%, rgba(176, 0, 32, 0.1), transparent 28%),
    var(--paper);
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.about-profile-image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  background: var(--red-dark);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.about-profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(30, 12, 15, 0.72)),
    linear-gradient(135deg, rgba(122, 0, 25, 0.1), rgba(31, 107, 95, 0.1));
}

.about-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transition: transform 0.35s ease;
}

.about-profile-image:hover img {
  transform: scale(1.035);
}

.about-profile-image span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(39, 10, 14, 0.72);
  border-radius: 7px;
  font-weight: 800;
}

.about-profile-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(122, 0, 25, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(50, 35, 35, 0.08);
}

.about-profile-copy h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.about-profile-copy .rich-text p {
  margin-bottom: 16px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.about-facts span {
  display: grid;
  gap: 2px;
  min-height: 92px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-facts strong {
  color: var(--red-dark);
  font-size: 1.55rem;
  line-height: 1.1;
}

.about-facts small {
  color: var(--muted);
  font-weight: 800;
}

.about-values-section {
  padding-top: clamp(48px, 6vw, 72px);
}

.about-values-section .section-heading.paired > p {
  max-width: 420px;
  color: var(--muted);
  font-weight: 700;
}

.values-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  overflow: hidden;
}

.values-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--gold));
}

.value-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 8px;
  font-weight: 900;
}

.feature-grid,
.article-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.article-card,
.values-grid article,
.form-panel,
.contact-info,
.portrait-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(50, 35, 35, 0.06);
}

.feature-card,
.article-card,
.values-grid article {
  padding: 24px;
}

.values-grid article {
  padding: 28px;
}

.feature-card-image {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}

.feature-card-image > img {
  position: absolute;
  inset: -18px;
  z-index: -2;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  max-width: none;
  object-fit: cover;
  filter: blur(7px) saturate(0.9);
  transform: scale(1.04);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.feature-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 14, 16, 0.16), rgba(28, 14, 16, 0.76)),
    linear-gradient(135deg, rgba(122, 0, 25, 0.72), rgba(31, 107, 95, 0.28));
}

.feature-card-image:hover > img {
  filter: blur(4px) saturate(1.02);
  transform: scale(1.08);
}

.feature-content {
  width: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(37, 15, 18, 0.72));
}

.feature-content h3 {
  color: var(--white);
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-card > img,
.article-card > .article-image {
  width: calc(100% + 48px);
  margin: -24px -24px 20px;
}

.article-card > img,
.article-card > .article-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card > .article-image {
  display: block;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.article-card > .article-image img {
  width: 100%;
  transition: transform 0.35s ease;
}

.article-card > .article-image:hover img {
  transform: scale(1.04);
}

.article-card:hover,
.feature-card:hover,
.image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 0, 32, 0.22);
  box-shadow: var(--shadow);
}

.image-frame,
.milestone-image,
.image-card button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img,
.image-card img,
.milestone-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.image-frame:hover img,
.image-card button:hover img,
.milestone-image:hover img {
  transform: scale(1.04);
}

.image-frame span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(39, 10, 14, 0.72);
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 800;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--red-dark);
  border-radius: 8px;
  font-weight: 800;
}

.feature-card p,
.article-card p,
.values-grid p,
.message-body p {
  color: var(--muted);
}

.feature-card-image p {
  color: rgba(255, 255, 255, 0.86);
}

.progress-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(176, 0, 32, 0.08), rgba(31, 107, 95, 0.08)),
    var(--paper);
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 26px;
  align-items: stretch;
}

.progress-preview {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(122, 0, 25, 0.12);
  border-radius: 8px;
  background: var(--red-dark);
  box-shadow: var(--shadow);
}

.progress-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 12, 16, 0.82), rgba(34, 12, 16, 0.52), rgba(34, 12, 16, 0.14)),
    linear-gradient(180deg, rgba(122, 0, 25, 0.2), rgba(31, 107, 95, 0.18));
}

.progress-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.progress-preview:hover .progress-preview-image {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.035);
}

.progress-preview-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(560px, 100%);
  min-height: 520px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
}

.progress-preview-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.progress-preview-content p:not(.section-kicker) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.progress-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(122, 0, 25, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(50, 35, 35, 0.08);
  backdrop-filter: blur(12px);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading.compact p:last-child {
  max-width: 460px;
  color: var(--muted);
}

.progress-cards {
  display: grid;
  gap: 12px;
}

.progress-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  align-items: center;
  width: 100%;
  min-height: 108px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid rgba(176, 0, 32, 0.24);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.progress-card:hover,
.progress-card:focus-visible {
  transform: translateX(4px);
  border-color: rgba(176, 0, 32, 0.28);
  box-shadow: 0 12px 26px rgba(50, 35, 35, 0.1);
  outline: none;
}

.progress-card.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-color: rgba(176, 0, 32, 0.28);
  box-shadow: 0 16px 34px rgba(122, 0, 25, 0.22);
}

.progress-card span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 8px;
  font-weight: 900;
}

.progress-card.active span {
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.92);
}

.progress-card strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.25;
}

.progress-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.progress-card.active small {
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
  border-bottom: 2px solid rgba(176, 0, 32, 0.22);
}

.reference-status {
  display: inline-flex;
  margin: 4px 0 0;
  padding: 6px 10px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 800;
}

.timeline-preview {
  display: grid;
  gap: 16px;
  border-left: 3px solid var(--red);
  padding-left: 22px;
}

.milestone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(50, 35, 35, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.image-card div {
  padding: 20px;
}

.timeline-preview article {
  position: relative;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-preview article::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 24px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
}

time,
.tag,
.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.payment-band {
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.9)),
    url("../assets/smc-hero.png") center/cover;
}

.payment-layout,
.member-layout,
.contact-layout,
.president-layout,
.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.payment-showcase {
  display: grid;
  gap: 14px;
}

.payment-panel {
  max-width: 620px;
}

.mobility-visual {
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(122, 0, 25, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-heading {
  display: grid;
  gap: 4px;
}

.flow-heading span {
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-heading strong {
  color: var(--ink);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.25;
}

.flow-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-steps::before {
  display: none;
}

.flow-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 178px;
  padding: 22px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(122, 0, 25, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(50, 35, 35, 0.07);
}

.flow-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 50%;
  font-weight: 900;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--red-dark);
  background: linear-gradient(135deg, rgba(248, 232, 235, 0.96), rgba(255, 247, 223, 0.82));
  border: 1px solid rgba(176, 0, 32, 0.14);
  border-radius: 50%;
}

.flow-icon svg {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.flow-icon circle {
  fill: currentColor;
  stroke: none;
}

.flow-step h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.3;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 7px;
  font-weight: 800;
}

.article-card time {
  display: block;
  margin-bottom: 10px;
}

.article-card h2 {
  font-size: 1.15rem;
  line-height: 1.35;
}

.article-card .btn-card {
  align-self: flex-start;
  margin-top: auto;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.logo-wall span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px;
  color: #5b5e65;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.cta-band {
  padding: 54px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #1e1f24;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand {
  color: var(--white);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.compact-footer .footer-bottom {
  border-top: 0;
}

.footer-bottom a {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(122, 0, 25, 0.94), rgba(176, 0, 32, 0.78)),
    url("../assets/smc-hero.png") center/cover;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.contact-quick-band {
  padding: 28px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(255, 253, 249, 0)),
    var(--paper);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-quick-card {
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 232, 235, 0.68)),
    var(--white);
  border: 1px solid rgba(176, 0, 32, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(50, 35, 35, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-quick-card:hover,
.contact-quick-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(176, 0, 32, 0.28);
  box-shadow: var(--shadow);
  outline: none;
}

.contact-quick-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 8px;
  font-weight: 900;
}

.contact-quick-card strong {
  margin-top: 8px;
  font-size: 1.18rem;
}

.contact-quick-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.side-label {
  color: var(--red-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.portrait-card,
.form-panel,
.contact-info {
  padding: 26px;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  color: var(--red-dark);
  background: linear-gradient(135deg, var(--red-soft), #fff7df);
  border: 1px solid rgba(176, 0, 32, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.portrait-photo {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 0;
  background: var(--red-soft);
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: 0 14px 30px rgba(50, 35, 35, 0.12);
}

.portrait-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.portrait-photo:hover img {
  transform: scale(1.035);
}

.message-body {
  padding-top: 6px;
  font-size: 1.12rem;
}

.milestone-list {
  display: grid;
  gap: 18px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 100px minmax(220px, 0.48fr) 1fr;
  gap: 24px;
  padding: 26px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.milestone-item time {
  color: var(--red-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.milestone-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(50, 35, 35, 0.08);
}

.empty-state {
  padding: 34px 20px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed rgba(176, 0, 32, 0.24);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

.membership-note {
  margin-top: 22px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.membership-note h3 {
  color: var(--red-dark);
}

.fee-grid {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.fee-grid article {
  padding: 14px;
  background: var(--paper);
  border: 1px solid rgba(176, 0, 32, 0.12);
  border-radius: 8px;
}

.fee-grid span {
  display: block;
  color: var(--red-dark);
  font-weight: 900;
}

.fee-grid strong {
  display: block;
  margin: 4px 0;
  font-size: 1.1rem;
}

.fee-grid p,
.rule-list {
  margin: 0;
}

.rule-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.rule-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.info-list,
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.committee-photo {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 22px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.committee-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 44%;
  transition: transform 0.35s ease;
}

.committee-photo:hover img {
  transform: scale(1.03);
}

.committee-photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(39, 10, 14, 0.74);
  border-radius: 7px;
  font-weight: 800;
}

.info-list span,
.committee-grid article {
  display: grid;
  align-content: center;
  min-height: 72px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.committee-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.committee-grid strong {
  color: var(--red-dark);
  font-size: 1.1rem;
}

.form-panel {
  display: grid;
  gap: 14px;
}

.form-panel p {
  color: var(--muted);
}

label {
  display: grid;
  gap: 6px;
  color: #3f4248;
  font-weight: 700;
}

.required-mark {
  display: inline-flex;
  width: max-content;
  margin-left: 6px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--red);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent-row input {
  width: auto;
  margin-top: 4px;
}

.consent-row a {
  color: var(--red-dark);
  font-weight: 900;
  border-bottom: 1px solid rgba(176, 0, 32, 0.28);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffefe;
  border: 1px solid #d9d2cf;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(176, 0, 32, 0.15);
  border-color: var(--red);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.contact-info p strong {
  display: block;
  color: var(--ink);
}

.contact-info,
.form-panel {
  position: relative;
  overflow: hidden;
}

.contact-info::before,
.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--gold));
}

.contact-info-list {
  display: grid;
  gap: 0;
  margin: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-info-list p {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-list span {
  color: var(--ink);
  font-weight: 700;
}

.contact-address-en {
  margin-top: 4px;
  font-size: 1rem;
}

.contact-map {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin-top: 20px;
  background:
    linear-gradient(135deg, rgba(248, 232, 235, 0.92), rgba(255, 253, 249, 0.82)),
    var(--red-soft);
  border: 1px solid rgba(176, 0, 32, 0.14);
  border-radius: 8px;
}

.contact-map iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--red-dark);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(122, 0, 25, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(122, 0, 25, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(248, 232, 235, 0.96), rgba(255, 253, 249, 0.9));
  background-size: 44px 44px, 44px 44px, auto;
}

.map-fallback::before,
.map-fallback::after {
  content: "";
  position: absolute;
  background: rgba(176, 0, 32, 0.18);
  border-radius: 999px;
}

.map-fallback::before {
  width: 80%;
  height: 12px;
  transform: rotate(-14deg);
}

.map-fallback::after {
  width: 58%;
  height: 10px;
  transform: rotate(22deg);
}

.map-pin,
.map-fallback strong,
.map-fallback small {
  position: relative;
  z-index: 1;
}

.map-pin {
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 82px;
  padding: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 14px 34px rgba(122, 0, 25, 0.22);
  transform: rotate(-45deg);
  font-size: 0;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.map-pin::after {
  content: "深水埗";
  font-size: 0.9rem;
  transform: rotate(45deg);
}

.map-fallback strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.map-fallback small {
  max-width: 360px;
  color: var(--muted);
  font-weight: 800;
}

.map-link {
  width: max-content;
  margin-top: 14px;
}

.partner-sections {
  display: grid;
  gap: 42px;
}

.detail-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.detail-hero img,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-hero img {
  object-fit: cover;
}

.detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(35, 10, 14, 0.86), rgba(122, 0, 25, 0.52)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 60%);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 74px 0;
}

.detail-hero-content p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 42px;
  align-items: start;
}

.detail-meta {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(50, 35, 35, 0.06);
}

.detail-meta h2 {
  font-size: 1.35rem;
}

.detail-meta strong {
  display: block;
  color: var(--red-dark);
}

.detail-article {
  font-size: 1.08rem;
}

.detail-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.detail-points article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-points h2 {
  font-size: 1.15rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.single-gallery {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.detail-gallery button {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(50, 35, 35, 0.08);
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-gallery button:hover img {
  transform: scale(1.04);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.1s linear;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 20, 0.82);
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  width: min(980px, 100%);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-panel img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #17171a;
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  font-weight: 800;
}

.lightbox-close,
.back-to-top {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--red-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 70px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .language-switcher {
    position: absolute;
    right: 74px;
    top: 15px;
  }

  .split,
  .section-heading.paired,
  .cta-layout {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .feature-grid,
  .article-grid,
  .values-grid,
  .contact-quick-grid,
  .progress-layout,
  .footer-layout,
  .about-showcase,
  .about-profile,
  .milestone-gallery,
  .article-detail-layout,
  .detail-points,
  .detail-gallery,
  .payment-layout,
  .member-layout,
  .contact-layout,
  .president-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-list,
  .committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-preview,
  .progress-preview-content {
    min-height: 440px;
  }

  .about-profile-image {
    min-height: 420px;
  }

}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .language-switcher {
    right: 62px;
    top: 14px;
  }

  .language-switcher a {
    min-width: 32px;
    padding: 6px 7px;
    font-size: 0.78rem;
  }

  .brand-text {
    max-width: 146px;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .hero {
    min-height: min(700px, calc(100vh - 104px));
  }

  .hero-content {
    padding: 42px 0 52px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-profile-copy {
    padding: 24px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-profile-image {
    min-height: 320px;
  }

  .btn {
    width: 100%;
  }

  .progress-layout {
    gap: 16px;
  }

  .progress-preview,
  .progress-preview-content {
    min-height: 420px;
  }

  .progress-preview-content {
    padding: 24px;
  }

  .progress-panel {
    padding: 18px;
  }

  .progress-card {
    grid-template-columns: 42px 1fr;
    min-height: 96px;
    padding: 14px;
  }

  .progress-card span {
    width: 38px;
    height: 38px;
  }

  .mobility-visual {
    gap: 16px;
    padding: 18px;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    min-height: 154px;
    padding: 20px 12px 18px;
  }

  .flow-number {
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.84rem;
  }

  .flow-icon {
    width: 58px;
    height: 58px;
  }

  .flow-icon svg {
    width: 30px;
    height: 30px;
  }

  .milestone-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .logo-wall {
    grid-template-columns: 1fr;
  }

  .info-list,
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-link {
    width: 100%;
  }

}
