/* ACEOA — Asia CEO Alliance */
:root {
  --ink: #0a1628;
  --ink-soft: #142338;
  --navy: #1a3354;
  --navy-mid: #243f66;
  --gold: #c4a35a;
  --gold-light: #e0c878;
  --gold-dim: rgba(196, 163, 90, 0.18);
  --cream: #f2efe8;
  --paper: #faf8f4;
  --muted: #5c6b7e;
  --line: rgba(26, 51, 84, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.12);
  --radius: 4px;
  --font-display: "Noto Serif TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --nav-h: 100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* PHP CMS additions */
.design-credit { font-size: .72rem; opacity: .72; letter-spacing: .02em; }
.design-credit a { display: inline; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 58px; padding: 0 14px; border-radius: 999px; color: #fff; background: #25d366; box-shadow: 0 8px 28px rgba(0,0,0,.23); font-size: .78rem; font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .65rem; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
.pagination a.is-active, .pagination a:hover { color: #fff; background: var(--gold); border-color: var(--gold); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.check-line { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400 !important; }
.check-line input { width: auto; margin-top: .3rem; }
.cms-carousel { position: relative; min-height: 320px; overflow: hidden; background: #0c1521; box-shadow: 0 18px 50px rgba(16,25,40,.16); }
.cms-slide { display: none; position: relative; min-height: 320px; }
.cms-slide.is-active { display: block; animation: cmsFade .6s ease; }
.cms-slide img { width: 100%; height: min(580px, 58vw); min-height: 320px; object-fit: cover; }
.cms-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 2rem 1.5rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.cms-slide-caption h2 { margin: 0 0 .35rem; color: #fff; }
.cms-carousel-prev,.cms-carousel-next { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.5); font-size: 2rem; cursor: pointer; }
.cms-carousel-prev { left: 16px; }.cms-carousel-next { right: 16px; }
.cms-carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 14px; display: flex; gap: 8px; transform: translateX(-50%); }
.cms-carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }.cms-carousel-dots button.is-active { background: #fff; transform: scale(1.25); }
.prose { max-width: 980px; }.prose h2 { margin: 2rem 0 .75rem; }.prose p { margin-bottom: 1rem; color: var(--muted); }
.event-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }.event-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@keyframes cmsFade { from { opacity: .3; } to { opacity: 1; } }
@media(max-width:720px){.event-gallery{grid-template-columns:1fr 1fr}.cms-slide-caption{padding:3rem 1.25rem 1.25rem}.whatsapp-float{right:14px;bottom:14px}}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul,
ol {
  list-style: none;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 51, 84, 0.1);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.brand-en {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 768px) {
  .brand-logo {
    height: 70px;
  }
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(26, 51, 84, 0.25);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
}

.nav-item {
  position: relative;
}

.nav-item > .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-family: inherit;
}

.nav-item > .nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.nav-item > .nav-parent:hover,
.nav-item.is-open > .nav-parent,
.nav-item > .nav-parent.is-active {
  color: var(--gold);
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  padding: 0.45rem 0;
  background: var(--white);
  border: 1px solid rgba(26, 51, 84, 0.1);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.1);
  z-index: 120;
}

/* Bridge the gap so hover doesn't drop while moving into submenu */
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.nav-item:hover > .nav-sub,
.nav-item.is-open > .nav-sub {
  display: block;
}

.nav-sub a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--navy);
  white-space: nowrap;
}

.nav-sub a:hover,
.nav-sub a.is-active {
  color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
}

.site-nav .nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--ink) !important;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
}

.site-nav .nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroKenBurns 22s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.72) 42%, rgba(26, 51, 84, 0.55) 100%),
    linear-gradient(to top, rgba(10, 22, 40, 0.75) 0%, transparent 45%);
}

@keyframes heroKenBurns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero > .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(196, 163, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 90, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(32px, 32px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 2rem 5rem;
  max-width: 780px;
  width: 100%;
  text-align: center;
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}

.hero-brand span {
  display: block;
  font-size: 0.38em;
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.65rem;
  font-weight: 500;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 28em;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

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

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-light);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background-color: var(--ink);
  color: var(--white);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 22, 40, 0.9) 0%, rgba(26, 51, 84, 0.72) 55%, rgba(10, 22, 40, 0.55) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 36em;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ——— Sections ——— */
main {
  flex: 1;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #ebe6db 0%, var(--cream) 100%);
}

.section-ink {
  background: var(--ink-soft);
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 2.25rem;
}

.section-ink .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.prose {
  max-width: 46em;
}

.prose p + p {
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ——— Cards / grids ——— */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-block {
  padding: 1.75rem 0;
  border-top: 2px solid var(--gold);
}

.value-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
}

.value-block p,
.value-block li {
  color: var(--muted);
  font-size: 0.95rem;
}

.value-block ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.value-block li {
  padding-left: 1rem;
  position: relative;
}

.value-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.activity-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1;
  min-width: 2.2rem;
}

.activity-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.activity-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Content media blocks ——— */
.content-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.content-split--reverse {
  direction: rtl;
}

.content-split--reverse > * {
  direction: ltr;
}

.content-photo {
  overflow: hidden;
  background: var(--ink);
  min-height: 280px;
}

.content-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.photo-grid figure:hover img {
  transform: scale(1.04);
}

.photo-grid figcaption {
  padding: 0.95rem 1rem 1.05rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.region-list span {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  color: var(--navy);
}

.value-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.value-feature:last-child {
  border-bottom: none;
}

.value-feature--flip {
  grid-template-columns: 1.15fr 1fr;
}

.value-feature--flip .value-feature-media {
  order: 2;
}

.value-feature--flip .value-feature-body {
  order: 1;
}

.value-feature-media {
  overflow: hidden;
  min-height: 240px;
  background: var(--ink);
}

.value-feature-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.value-feature-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
}

.value-feature-body > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.activity-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.activity-feature:last-child {
  border-bottom: none;
}

.activity-feature-media {
  overflow: hidden;
  background: var(--ink);
}

.activity-feature-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.activity-feature-body .activity-num {
  margin-bottom: 0.5rem;
}

.activity-feature-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.activity-feature-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.activity-feature-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.activity-feature-body li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.activity-feature-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ——— Spotlight event (brand festival) ——— */
.spotlight-event {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.75rem;
}

.spotlight-event-poster {
  display: block;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.14);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.spotlight-event-poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 22, 40, 0.18);
}

.spotlight-event-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.spotlight-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep, #9a7b2f);
  margin-bottom: 0.65rem;
}

.spotlight-event-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.spotlight-event-body > p {
  color: var(--muted);
  margin-bottom: 1.35rem;
  max-width: 36em;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Past events / blog ——— */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-card-media {
  display: block;
  overflow: hidden;
  background: var(--ink);
}

.blog-card-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s var(--ease);
}

.blog-card-media:hover img {
  transform: scale(1.04);
}

.blog-card-body time {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep, #9a7b2f);
  margin-bottom: 0.5rem;
}

.blog-card-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.blog-card-body h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--navy);
}

.blog-card-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 51, 84, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

.blog-post-hero {
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(246, 243, 236, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 20%, rgba(201, 168, 76, 0.12), transparent 42%);
}

.blog-post-hero .eyebrow a {
  color: inherit;
  text-decoration: none;
}

.blog-post-hero time {
  display: block;
  margin: 0.75rem 0 0.85rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep, #9a7b2f);
}

.blog-post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.3;
  max-width: 16em;
  margin-bottom: 0.85rem;
}

.blog-post-lead {
  color: var(--muted);
  max-width: 40em;
  font-size: 1.05rem;
}

.blog-post-content {
  padding-bottom: 4rem;
}

.blog-cover {
  margin: 1.5rem 0 2rem;
  overflow: hidden;
}

.blog-cover a {
  display: block;
  cursor: zoom-in;
}

.blog-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.blog-prose {
  max-width: 42em;
  margin-bottom: 2rem;
}

.blog-prose p {
  color: var(--muted);
  line-height: 1.8;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.blog-gallery-3 {
  grid-template-columns: repeat(3, 1fr);
}

.blog-gallery a,
.blog-gallery figure {
  overflow: hidden;
  background: var(--ink);
  margin: 0;
  display: block;
  cursor: zoom-in;
}

.blog-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}

.blog-gallery a:hover img,
.blog-gallery figure:hover img {
  transform: scale(1.03);
}

.blog-back {
  margin-top: 0.5rem;
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.88);
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

/* ——— Leaders directory ——— */
.leaders-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.leaders-jump a {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.88rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.leaders-jump a:hover,
.leaders-jump a[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.leader-grid {
  display: grid;
  gap: 1.35rem;
}

.leader-grid--large {
  grid-template-columns: repeat(3, 1fr);
}

.leader-grid--medium {
  grid-template-columns: repeat(4, 1fr);
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.section-alt .leader-card {
  box-shadow: 0 2px 0 rgba(10, 22, 40, 0.03);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.leader-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #d8dde5;
}

.leader-grid--large .leader-photo {
  aspect-ratio: 3 / 3.6;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.leader-photo--bw img {
  filter: grayscale(1);
}

.leader-info h3.leader-name--boxed {
  display: inline-block;
  border: 2px solid #111;
  padding: 0.2rem 0.55rem;
  line-height: 1.3;
}

.leader-photo--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1a3354, #0a1628);
}

.leader-photo--empty span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.leader-card--no-photo .leader-info h3 {
  color: var(--navy);
}

.leader-name-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem 1.25rem;
  margin-top: 0.5rem;
}

.leader-name-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .leader-name-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .leader-name-list {
    grid-template-columns: 1fr;
  }
}

.leader-info {
  padding: 1rem 1rem 1.15rem;
  text-align: center;
}

.leader-role {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.leader-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

@media (max-width: 980px) {
  .leader-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-grid--medium {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .leader-grid--large,
  .leader-grid--medium {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .leader-info {
    padding: 0.75rem 0.55rem 0.9rem;
  }

  .leader-info h3 {
    font-size: 0.92rem;
  }
}

.org-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .content-split,
  .content-split--reverse,
  .value-feature,
  .value-feature--flip,
  .activity-feature,
  .org-intro {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .value-feature--flip .value-feature-media,
  .value-feature--flip .value-feature-body {
    order: initial;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img,
  .value-feature-media img,
  .activity-feature-media img {
    height: 220px;
  }
}

/* ——— Structure ——— */
.org-group {
  margin-bottom: 3rem;
}

.org-group h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.org-group .org-role {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.role-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.role-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 0 rgba(10, 22, 40, 0.03);
}

.role-item strong {
  font-size: 0.98rem;
}

.role-item span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.section-ink .role-item {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.section-ink .role-item span {
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Membership fees ——— */
.fee-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.fee-table th,
.fee-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.fee-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

.fee-table tbody tr {
  transition: background 0.2s;
}

.fee-table tbody tr:hover {
  background: var(--gold-dim);
}

.fee-table .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
}

.fee-table .discount {
  color: var(--gold);
  font-weight: 700;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.benefit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
}

.benefit-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--gold);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 2.25rem;
  background: var(--ink);
  color: var(--white);
  margin-top: 2.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 28em;
  font-size: 0.95rem;
}

.cta-band h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

/* ——— Network filters ——— */
.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.filter-reset {
  align-self: end;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 163, 90, 0.45);
}

.member-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  margin-bottom: 1rem;
}

.member-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: var(--gold-dim);
  color: var(--navy);
  letter-spacing: 0.02em;
}

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

.network-empty,
.network-count {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ——— Forms ——— */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.form-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.form-section .form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

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

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 0.35rem;
}

.option-list {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: stretch;
}

.option-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.radio-group label,
.checkbox-group label,
.option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.4;
}

.option input[type="radio"],
.option input[type="checkbox"],
.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--navy);
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.option-text--inline {
  flex-direction: row;
  align-items: baseline;
  gap: 0.4rem;
}

.option-zh {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.option-en {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
}

.option-text--inline .option-en {
  font-size: 0.85rem;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.declaration {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.form-error {
  color: #9b2c2c;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(196, 163, 90, 0.15);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

/* ——— Home extras ——— */
.home-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  border-top: 1px solid rgba(196, 163, 90, 0.25);
}

.home-strip a {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(196, 163, 90, 0.25);
  color: var(--white);
  background: rgba(10, 22, 40, 0.55);
  transition: background 0.3s;
}

.home-strip a:last-child {
  border-right: none;
}

.home-strip a:hover {
  background: rgba(196, 163, 90, 0.15);
}

.home-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--gold-light);
}

.home-strip span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.feature-visual {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196, 163, 90, 0.35);
  margin: 1rem;
  pointer-events: none;
}

.photo-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

.photo-credit a {
  color: rgba(224, 200, 120, 0.7);
  text-decoration: underline;
}

.activity-visual {
  margin-top: 2rem;
  overflow: hidden;
  max-height: 320px;
}

.activity-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(0.92);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-brand-en {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer-grid a {
  display: block;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-grid > div > span {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

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

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .grid-3,
  .member-grid,
  .home-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .filter-reset {
    grid-column: 1 / -1;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid rgba(26, 51, 84, 0.1);
    box-shadow: 0 12px 24px rgba(10, 22, 40, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(26, 51, 84, 0.08);
    color: var(--navy);
  }

  .nav-item {
    border-bottom: 1px solid rgba(26, 51, 84, 0.08);
  }

  .nav-item > .nav-parent {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.5rem;
  }

  .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 0.75rem;
    background: transparent;
  }

  .nav-item.is-open > .nav-sub {
    display: block;
  }

  .nav-item:hover > .nav-sub {
    display: none;
  }

  .nav-item.is-open:hover > .nav-sub {
    display: block;
  }

  .nav-sub a {
    border-bottom: none;
    padding: 0.55rem 0.5rem;
    font-size: 0.88rem;
  }

  .site-nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .member-grid,
  .home-strip,
  .role-list,
  .form-grid,
  .filters,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 1.5rem 1.25rem;
  }

  .cta-band {
    padding: 1.5rem;
  }

  .spotlight-event,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-media img {
    height: 280px;
  }

  .blog-gallery {
    grid-template-columns: 1fr;
  }

  .blog-gallery-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-gallery img {
    height: 180px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .hero-inner {
    padding: 3.25rem 1.25rem 3.75rem;
  }
}
