/* 展藝舞蹈學會 — 對齊舊站 socialdance.com.hk 版面語言 */
:root {
  --bg: #faf7f2;
  --bg-soft: #f5ece0;
  --surface: #ffffff;
  --ink: #1d2d44;
  --ink-2: #1d3557;
  --ink-soft: #2e4259;
  --muted: #7a6050;
  --line: #f5e2da;
  --line-2: #e5dec9;
  --line-btn: #e2d4ca;
  --accent: #cd5e77;
  --accent-hover: #b84d66;
  --accent-deep: #c43b2a;
  --accent-soft: #f8e8eb;
  --teal: #1f6e8c;
  --blue-soft: #2b4c7e;
  --whatsapp: #25d366;
  --shadow-xs: 0 1px 2px rgba(29, 45, 68, 0.04), 0 4px 14px rgba(29, 45, 68, 0.05);
  --radius: 32px;
  --radius-sm: 20px;
  --radius-pill: 999px;
  --header-h: 5rem;
  --font-sans: "Plus Jakarta Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "Cormorant Garamond", "Songti TC", serif;
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 3rem, var(--max));
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 4rem, var(--max));
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 226, 218, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
}

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

.brand-logo {
  display: block;
  height: 3.35rem;
  width: auto;
  max-width: min(20rem, 58vw);
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.12rem 0.3rem;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 222, 201, 0.7);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.68rem;
  color: #8a7a6e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  min-height: 2.4rem;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem;
  max-height: 1rem;
  flex-shrink: 0;
  display: block;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
  border: 1px solid var(--line-btn);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-btn);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  min-height: 2.4rem;
}

.btn-whatsapp {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
}

.btn-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 0.75rem;
  background: transparent;
  border: 0;
  color: var(--ink);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: flex-end;
  margin-right: 0.75rem;
}

.nav-desktop a {
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--ink);
  border-bottom-color: var(--ink-2);
}

.mobile-nav-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(15, 23, 42, 0.28);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.mobile-nav-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  background: #fff;
  padding: 1.1rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav-panel.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-drawer a {
  display: block;
  padding: 0.8rem 0.85rem;
  border-radius: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* —— Page shell —— */
.page-main {
  padding-bottom: 0;
}

@media (max-width: 720px) {
  .page-main {
    padding-bottom: 0;
  }
}

.page-title-bar {
  padding: 1.35rem 0 0.15rem;
}

.page-title-bar h1 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 0.3rem;
}

/* —— Home top grid: hero 7 + founder 5 —— */
.home-top {
  padding: 1.15rem 0 0;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .home-grid > .hero-slider-wrap {
    grid-column: span 7;
  }

  .home-grid > .founder-side {
    grid-column: span 5;
  }
}

.hero-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Pathway / inner page hero — edge-to-edge full width */
.hero-banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-banner .hero-card--full {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  min-height: clamp(420px, 62vh, 640px);
}

.hero-banner .hero-copy {
  width: min(100% - 2rem, 36rem);
  max-width: 36rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .hero-banner .hero-copy {
    width: min(52%, 36rem);
    margin-left: max(1.5rem, calc((100% - var(--max)) / 2));
  }
}

@media (min-width: 1024px) {
  .hero-banner .hero-copy {
    margin-left: max(2rem, calc((100% - var(--max)) / 2));
  }
}

.hero-banner .hero-media-mask img {
  width: 62%;
}

@media (max-width: 639px) {
  .hero-banner .hero-media-mask img {
    width: 78%;
    opacity: 0.88;
  }
}

/* Hero card — matches rounded-[32px] overlay layout */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-xs);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .hero-card {
    min-height: 430px;
  }
}

@media (min-width: 1024px) {
  .hero-card {
    min-height: 520px;
  }
}

[data-hero-slide][hidden] {
  display: none !important;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orbs::before,
.hero-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.hero-orbs::before {
  top: -2.5rem;
  left: -2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(254, 205, 211, 0.35);
}

.hero-orbs::after {
  bottom: -2.5rem;
  right: 5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(186, 230, 253, 0.3);
}

.hero-media-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-media-mask img {
  width: 58%;
  height: 100%;
  margin-left: auto;
  object-fit: cover;
  object-position: 100% 0%;
  -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 100%);
  mask-image: linear-gradient(to left, #000 52%, transparent 100%);
}

@media (max-width: 639px) {
  .hero-media-mask img {
    width: 62%;
    opacity: 0.95;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.25rem 1rem;
  max-width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-copy {
    padding: 2rem 2.15rem 1.25rem;
    width: 58%;
    max-width: 32rem;
  }
}

@media (min-width: 1024px) {
  .hero-copy {
    width: 55%;
    padding: 2.25rem 2.25rem 1.5rem;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }
}

.badge-teal {
  background: var(--teal);
  color: #fff;
}

.badge-red {
  background: var(--accent-deep);
  color: #fff;
}

.badge-soft {
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(1.15rem, 3.2vw, 2.25rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.hero-copy .lede {
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  font-weight: 600;
  color: var(--blue-soft);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.hero-copy .body {
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-copy .body {
    -webkit-line-clamp: 3;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.class-hero-grid .hero-actions .btn {
  min-height: 2.55rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.84rem;
}

.class-hero-grid .hero-actions .btn-ghost {
  color: var(--ink-2);
}

.hero-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.35rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(29, 53, 87, 0.2);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.dot.active {
  width: 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--ink-2);
}

.hero-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

/* Founder side card — 對齊舊站設計 */
.founder-side {
  border-radius: var(--radius);
  background: linear-gradient(165deg, #fffdf9 0%, #faf4ea 42%, #f3ebe0 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-xs);
  padding: 1.15rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.founder-side:hover {
  box-shadow: 0 16px 36px rgba(29, 45, 68, 0.1);
}

.founder-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #e5d7be;
  color: #5c482c;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(92, 72, 44, 0.08);
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-deep);
  flex-shrink: 0;
}

.founder-side .link-more {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

.founder-side-body {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.founder-photo {
  width: 5rem;
  height: 6.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #e7e5e4;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(29, 45, 68, 0.08);
  flex-shrink: 0;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.founder-side:hover .founder-photo img {
  transform: scale(1.05);
}

.founder-side h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0.2rem;
  color: var(--ink-2);
  line-height: 1.2;
}

.founder-side .title-line {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  color: #8c6d48;
  margin-bottom: 0.45rem;
}

.founder-highlight {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  background: #eae0d0;
  border-radius: 0.45rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #4a3d2c;
}

.founder-year {
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(120, 53, 15, 0.1);
  color: #451a03;
  font-family: ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
}

.founder-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.founder-panel-block p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.65;
  color: #556980;
}

.founder-panel-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.ico {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  flex-shrink: 0;
}

.ico-heritage {
  background: linear-gradient(135deg, #c43b2a, #e8a598);
}

.ico-unesco {
  background: linear-gradient(135deg, #1f6e8c, #7dd3fc);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.milestone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.milestone-row span {
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  background: #faf7f2;
  border: 1px solid var(--line-2);
  font-size: 0.6rem;
  font-weight: 600;
  color: #5c482c;
}

.quote {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 0.75rem 0.75rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.quote--panel {
  margin: 0;
  padding: 0.35rem 0 0.1rem 0.7rem;
  border-left-color: #d4c3a3;
  background: transparent;
  border-radius: 0;
  font-size: 0.72rem;
  color: #556980;
}

.founder-side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
}

.founder-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #8c7a5b;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: #1d3557;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border: 0;
  transition: background 0.2s var(--ease);
}

.btn-navy:hover {
  background: #2b4c7e;
  color: #fff;
}

/* 首頁四格亮點橫列 */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding: 0.9rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #efeae2;
  box-shadow: var(--shadow-xs);
}

@media (min-width: 900px) {
  .home-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.1rem;
    border-radius: 1.5rem;
  }
}

.home-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 1rem;
  background: #faf7f2;
  border: 1px solid rgba(239, 234, 226, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(29, 45, 68, 0.08);
}

.home-chip-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.home-chip--amber .home-chip-ico {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: inset 0 0 0 4px transparent;
  background-image: radial-gradient(circle at 50% 50%, #f59e0b 0 28%, transparent 30%);
}

.home-chip--blue .home-chip-ico {
  background: rgba(31, 110, 140, 0.1);
  border: 1px solid rgba(31, 110, 140, 0.2);
  background-image: radial-gradient(circle at 50% 50%, #1f6e8c 0 28%, transparent 30%);
}

.home-chip--rose .home-chip-ico {
  background: rgba(205, 94, 119, 0.1);
  border: 1px solid rgba(205, 94, 119, 0.22);
  background-image: radial-gradient(circle at 50% 50%, #cd5e77 0 28%, transparent 30%);
}

.home-chip--teal .home-chip-ico {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  background-image: radial-gradient(circle at 50% 50%, #10b981 0 28%, transparent 30%);
}

.home-chip strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.home-chip span:not(.home-chip-ico) {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.4;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.stat {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(229, 222, 201, 0.8);
  border-radius: 0.75rem;
  padding: 0.55rem 0.65rem;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.stat span {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
}

/* —— Sections —— */
.section {
  padding: 1.75rem 0;
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.section-head h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  margin: 0;
}

.section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 45, 68, 0.08);
}

.card-body {
  padding: 0.95rem 1.05rem 1.1rem;
}

.card-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.7rem;
  font-weight: 700;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
}

/* —— Instructors page —— */
.ins-page-top {
  padding-top: 1.15rem;
}

.ins-hero-banner {
  padding: 1.4rem 1.5rem 1.35rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #eef5fb, #f7fbff 55%, #ffffff);
  border: 1px solid #d7e6f3;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.5rem;
}

.ins-hero-pill {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #1d3557;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ins-hero-banner h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: #1d3557;
}

.ins-hero-banner p {
  margin: 0;
  max-width: 52rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.92rem;
}

.ins-section-head {
  margin-bottom: 1rem;
}

.ins-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 900px) {
  .ins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ins-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  min-height: 100%;
}

.ins-card:first-child {
  border-color: #bfd4ea;
}

.ins-card-head {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: start;
}

.ins-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #f0e7db;
  border: 1px solid #eadfce;
}

.ins-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ins-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #1d3557;
  line-height: 1.3;
}

.ins-en {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.ins-title {
  margin: 0.25rem 0 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.ins-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ins-badge {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 700;
}

.ins-badge--navy {
  background: #e8eef6;
  color: #1d3557;
}

.ins-badge--gold {
  background: #f5e6c8;
  color: #7c4a1a;
}

.ins-badge--teal {
  background: #d8f3ef;
  color: #0f766e;
}

.ins-badge--rose {
  background: #fce7f3;
  color: #9d174d;
}

.ins-badge--red {
  background: #ffe4e6;
  color: #9f1239;
}

.ins-quote {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: #f7f1e8;
  border: 1px solid #eadfce;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.ins-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ins-pill {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #f5efe6;
  border: 1px solid #e8dcc8;
  color: #6b4a1e;
  font-size: 0.72rem;
  font-weight: 700;
}

.ins-creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ins-creds li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.ins-check {
  color: #16a34a;
  font-weight: 800;
}

.ins-actions-mid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ins-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.ins-action svg {
  width: 0.85rem;
  height: 0.85rem;
}

.ins-action--master {
  background: #fff6e5;
  color: #9a4d12;
  border-color: #f0d7a8;
}

.ins-action--video {
  background: #ffe4ea;
  color: #9f1239;
  border-color: #fecdd3;
}

.ins-action--schedule {
  background: #e8f1fb;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.ins-actions-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.ins-enquire {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.ins-enquire:hover {
  color: #9f1239;
}

.genre-row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 860px) {
  .genre-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

a.genre-row-card {
  display: grid;
  grid-template-columns: 4.25rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

a.genre-row-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(29, 45, 68, 0.08);
  border-color: #c9d9ea;
}

.genre-row-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #f5ece0;
  border: 1px solid #efe4d4;
  flex-shrink: 0;
}

.genre-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.genre-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.25rem;
}

.genre-row-copy strong {
  display: block;
  font-size: 1.05rem;
  color: #1d3557;
}

.genre-row-en {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.genre-row-tag {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #e8f1fb;
  color: #1d4ed8;
  font-size: 0.66rem;
  font-weight: 700;
}

.genre-row-copy p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.genre-row-meta {
  margin-top: 0.35rem !important;
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  display: block !important;
  -webkit-line-clamp: 1 !important;
}

.genre-row-chevron {
  color: #93c5fd;
  font-size: 1.35rem;
  font-weight: 700;
}

.genre-title-en {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-sans);
}

.genre-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0.35rem;
}

.genre-profile-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
}

.genre-intro-card .genre-intro-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.genre-intro-card .genre-intro-en {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #efe7db;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  font-family: var(--font-sans);
}

.genre-facts {
  display: grid;
  gap: 0.75rem;
}

.genre-fact {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #f0ebe3;
}

.genre-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.genre-fact strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.genre-fact span {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
}

.genre-exam-card {
  background: linear-gradient(160deg, #fffaf0, #fff7e8 55%, #f8f1e3);
  border: 1px solid #edd9a8;
  border-radius: 1.35rem;
  padding: 1.35rem 1.4rem 1.5rem;
}
.genre-exam-head h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  color: #7c4a12;
}
.genre-exam-badge {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #f0d7a0;
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 700;
}
.genre-exam-highlight {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #f0d7a0;
  color: #9a3412;
  font-weight: 700;
  font-size: 0.9rem;
}
.genre-exam-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #f0d9a8;
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  margin-top: 0.85rem;
}
.genre-exam-box-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.45rem;
}
.genre-exam-box-top span {
  font-size: 0.72rem;
  color: var(--muted);
}
.genre-exam-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.genre-exam-checks span {
  padding: 0.28rem 0.55rem;
  border-radius: 0.55rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
}
.genre-level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.genre-level {
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 0.65rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.genre-level strong {
  display: block;
  font-size: 0.78rem;
  color: #9a3412;
}
.genre-level span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  color: #b45309;
}
.genre-history-card {
  display: grid;
  gap: 1.15rem;
}
.genre-history-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
  padding-left: 0.65rem;
  border-left: 3px solid #1f6e8c;
}
.genre-history-block ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
}
.genre-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.genre-video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  padding-bottom: 0.85rem;
}
.genre-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #111;
  cursor: pointer;
}
.genre-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.genre-video-tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.genre-video-card h3 {
  margin: 0.7rem 0.9rem 0.35rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.genre-video-card .tt-detail {
  margin-left: 0.9rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.genre-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 860px) {
  .genre-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .genre-video-grid {
    grid-template-columns: 1fr;
  }
}

.genre-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #f3ebe0;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
}

.genre-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.genre-gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .genre-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .genre-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.genre-row-grid.is-syncing,
.genre-grid.is-syncing {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.genre-item {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fcfaf7);
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.genre-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--bg-soft);
}

.genre-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.genre-item h3 {
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

.genre-item .en {
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* 首頁熱門舞種 — 對齊舊站緊湊插圖卡片 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .genre-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 1100px) {
  .genre-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

a.genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 9.5rem;
  padding: 0.9rem 0.55rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.25s var(--ease);
}

a.genre-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 14px 28px rgba(29, 45, 68, 0.1);
  filter: brightness(0.99);
}

a.genre-card:hover .genre-card-art {
  transform: scale(1.05);
}

a.genre-card:hover .genre-card-name {
  color: var(--accent);
}

.genre-card-art {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  margin-inline: auto;
  border-radius: 0.85rem;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease);
}

@media (min-width: 640px) {
  .genre-card-art {
    width: 5rem;
    height: 5rem;
  }
}

.genre-card-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.genre-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.genre-card-name {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s var(--ease);
}

@media (min-width: 640px) {
  .genre-card-name {
    font-size: 0.875rem;
  }
}

.genre-card-en {
  display: block;
  width: 100%;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.genre-card--latin {
  background: #fff0ed;
  border-color: #f7dfd8;
}

.genre-card--ballroom {
  background: #fdf3e7;
  border-color: #f3e4d2;
}

.genre-card--hiphop {
  background: #edf6fa;
  border-color: #daebf5;
}

.genre-card--kpop {
  background: #fff0f5;
  border-color: #fce1ec;
}

.genre-card--chinese {
  background: #ebf7f4;
  border-color: #d5efe6;
}

.genre-card--fitness {
  background: #ecfdf5;
  border-color: #d1fae5;
}

.genre-card--ballet {
  background: #fdf2f6;
  border-color: #f7dce6;
}

.genre-card--jazz {
  background: #f8f0fc;
  border-color: #eedef5;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .pathway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

a.pathway-card {
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

a.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(29, 45, 68, 0.1);
}

.pathway-card--rose {
  border-color: #f3d7de;
}

.pathway-card--rose:hover {
  border-color: rgba(251, 113, 133, 0.8);
}

.pathway-card--blue {
  border-color: #d7e6f3;
}

.pathway-card--blue:hover {
  border-color: rgba(56, 189, 248, 0.75);
}

.pathway-card--gold {
  border-color: #e8dcc8;
}

.pathway-card--gold:hover {
  border-color: rgba(212, 163, 115, 0.8);
}

.pathway-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pathway-badge {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
}

.pathway-card--rose .pathway-badge {
  background: #ffe4e6;
  color: #881337;
}

.pathway-card--blue .pathway-badge {
  background: #e0f2fe;
  color: #0c4a6e;
}

.pathway-card--gold .pathway-badge {
  background: #f5e6d3;
  color: #7c4a1a;
}

.pathway-age {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: #faf7f2;
  color: #5c482c;
}

.pathway-media {
  width: 100%;
  height: 13rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #f5ece0;
  border: 1px solid rgba(229, 222, 201, 0.8);
}

@media (min-width: 640px) {
  .pathway-media {
    height: 14rem;
  }
}

.pathway-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

a.pathway-card:hover .pathway-media img {
  transform: scale(1.05);
}

.pathway-card h3 {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  color: var(--ink-2);
}

.pathway-sub {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.45;
}

.pathway-card .meta {
  flex: 1;
  margin-bottom: 0.35rem;
}

.pathway-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.pathway-card .track {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
}

/* UNESCO 認證橫幅 — 全寬 */
.cert-section {
  padding: 0;
}

.cert-banner {
  width: 100%;
  border-radius: 0;
  border: 0;
  border-top: 1px solid #e8dcc8;
  border-bottom: 1px solid #e8dcc8;
  background: linear-gradient(135deg, #fffdf8, #f7f0e6 55%, #f3ebe1);
  box-shadow: none;
  padding: 2rem 0 2.15rem;
}

.cert-banner-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 900px) {
  .cert-banner {
    padding: 2.5rem 0 2.65rem;
  }

  .cert-banner-inner {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
    gap: 2.25rem;
    align-items: center;
    justify-items: stretch;
  }
}

.cert-plaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.cert-plaque-head {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 0.02em;
}

.cert-frame {
  position: relative;
  width: min(100%, 17rem);
  padding: 0.85rem 0.85rem 1.1rem;
  border: 0;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #1d3557, #152844);
  box-shadow: 0 16px 36px rgba(29, 53, 87, 0.28);
  cursor: pointer;
}

.cert-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #f5f0e6;
}

.cert-zoom {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #2b4c7e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.cert-award {
  position: absolute;
  right: 0.75rem;
  bottom: 3rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.cert-plaque-foot {
  width: min(100%, 17rem);
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid #d4a574;
  background: linear-gradient(180deg, #fff8ee, #f3e4cf);
  color: #7c4a1a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cert-copy h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  margin-bottom: 0.65rem;
  color: #1d3557;
  font-family: var(--font-serif);
}

.cert-copy p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 40rem;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #f5e6c8;
  color: #6b4a1e;
  font-size: 0.7rem;
  font-weight: 700;
}

.course-card {
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: grid;
  gap: 0.4rem;
  box-shadow: var(--shadow-xs);
}

.course-card .time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.course-card h3 {
  font-size: 1rem;
  margin: 0.15rem 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}

.chip {
  border: 1px solid var(--line-btn);
  background: #f3efe8;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chip:hover {
  border-color: #d7cbb8;
  color: var(--ink);
}

.chip-accent.active,
.chip-accent:hover {
  background: #cd5e77;
  border-color: #cd5e77;
  color: #fff;
}

.chip-navy.active,
.chip-navy:hover {
  background: #1d3557;
  border-color: #1d3557;
  color: #fff;
}

.chip.active:not(.chip-navy):not(.chip-accent) {
  background: var(--accent-soft);
  border-color: #e7b7c0;
  color: var(--accent-hover);
}

/* —— Timetable page —— */
.tt-top-section {
  padding-top: 1.15rem;
}

.tt-cert-banner {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fffefb, #f7f3ea 60%, #eef5fb);
  border: 1px solid #e5dccb;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.15rem;
}

@media (min-width: 900px) {
  .tt-cert-banner {
    grid-template-columns: 1.5fr auto;
    align-items: start;
  }

  .tt-track-row {
    grid-column: 1 / -1;
  }
}

.tt-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #fff1df;
  color: #9a4d12;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.tt-cert-pill svg {
  width: 0.95rem;
  height: 0.95rem;
}

.tt-cert-copy h1 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #1d3557;
  margin: 0 0 0.55rem;
}

.tt-cert-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 46rem;
}

.tt-cert-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  background: #e67e22;
  color: #fff;
  border: 0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-orange svg,
.btn-orange + .btn svg,
.tt-cert-actions .btn svg {
  width: 1rem;
  height: 1rem;
}

.btn-orange:hover {
  background: #d35400;
  color: #fff;
}

.tt-track-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #e2d6c4;
}

.tt-track-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.25rem;
}

.tt-filter-panel {
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
  display: grid;
  gap: 0.95rem;
}

.tt-filter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.tt-filter-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tt-filter-title > svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #1d3557;
  flex-shrink: 0;
}

.tt-filter-title strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink-2);
}

.tt-match {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #eef3f9;
  color: #1d3557;
  font-size: 0.72rem;
  font-weight: 600;
}

.tt-match b {
  margin: 0 0.15rem;
  font-weight: 800;
}

.tt-filter-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tt-refresh {
  gap: 0.35rem;
  font-size: 0.78rem;
}

.tt-refresh svg {
  width: 0.95rem;
  height: 0.95rem;
}

.tt-sort select,
.tt-tutor select {
  border: 1px solid var(--line-btn);
  background: #faf7f2;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 11rem;
}

.tt-filter-row {
  display: grid;
  gap: 0.45rem;
}

.tt-row-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.tt-row-label svg {
  width: 0.95rem;
  height: 0.95rem;
}

.tt-filter-row--advanced {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  padding-top: 0.35rem;
  border-top: 1px solid #f0ebe3;
}

.tt-tutor {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.tt-tutor span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tt-tutor svg {
  width: 0.95rem;
  height: 0.95rem;
}

.tt-empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  background: #fff;
  border-radius: 1rem;
  border: 1px dashed var(--line);
}

.tt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 860px) {
  .tt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.35rem;
  }
}

.tt-card {
  position: relative;
  display: grid;
  grid-template-columns: 5.25rem 1fr;
  gap: 0.95rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tt-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.tt-card .tt-nav,
.tt-card .course-live {
  position: relative;
  z-index: 2;
}

.tt-card:hover,
.tt-card:focus-within {
  border-color: rgba(30, 58, 95, 0.22);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.08);
  transform: translateY(-1px);
}

.tt-card:hover .tt-detail,
.tt-card:focus-within .tt-detail {
  color: #9f1239;
}

.tt-card-top {
  display: contents;
}

.tt-thumb {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff0ed;
  border: 1px solid #f7dfd8;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.tt-thumb img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center center;
}

.tt-card-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tt-thumb--latin { background: #fff0ed; border-color: #f7dfd8; }
.tt-thumb--ballroom { background: #fdf3e7; border-color: #f3e4d2; }
.tt-thumb--hiphop { background: #edf6fa; border-color: #daebf5; }
.tt-thumb--kpop { background: #fff0f5; border-color: #fce1ec; }
.tt-thumb--chinese { background: #ebf7f4; border-color: #d5efe6; }
.tt-thumb--fitness { background: #ecfdf5; border-color: #d1fae5; }
.tt-thumb--ballet { background: #fdf2f6; border-color: #f7dce6; }
.tt-thumb--jazz { background: #f8f0fc; border-color: #eedef5; }

.tt-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.tt-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.tt-meta svg {
  width: 0.9rem;
  height: 0.9rem;
}

.tt-meta-actions {
  margin-left: auto;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.course-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #ffe4ea;
  color: #9f1239;
  font-size: 0.68rem;
  font-weight: 700;
}

.course-live svg {
  width: 0.7rem;
  height: 0.7rem;
}

.course-live:hover {
  background: #fecdd3;
  color: #881337;
}

.tt-status {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #dcfce7;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 700;
}

.tt-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink-2);
}

.tt-venue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}

.tt-venue {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.tt-venue svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #cd5e77;
  flex-shrink: 0;
}

.tt-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #e8f1fb;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
}

.tt-nav svg {
  width: 0.85rem;
  height: 0.85rem;
}

.tt-nav:hover {
  background: #dbeafe;
  color: #1e40af;
}

.tt-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1ebe3;
  margin-top: auto;
}

.tt-price {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  background: #fff4e5;
  color: #c2410c;
  font-size: 0.88rem;
  font-weight: 800;
}

.tt-detail {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.tt-detail:hover {
  color: #9f1239;
}

/* Class detail pages */
.class-hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .class-hero-grid {
    grid-template-columns: minmax(220px, 0.85fr) 1.35fr;
    gap: 2rem;
  }
}

.class-hero-media {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #f5ece0;
  border: 1px solid #eadfce;
  aspect-ratio: 1;
}

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

.class-genre-chip {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadfce;
  box-shadow: 0 4px 12px rgba(29, 45, 68, 0.06);
  margin-bottom: 0.75rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a.class-genre-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(29, 45, 68, 0.1);
}

a.badge.badge-teal {
  text-decoration: none;
  cursor: pointer;
}

a.badge.badge-teal:hover {
  filter: brightness(0.96);
}

.class-video-btn {
  margin-top: 0.85rem;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  white-space: nowrap;
  width: auto;
  max-width: none;
}

.class-video-btn span {
  display: inline;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

.class-genre-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.class-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
}

.class-facts div {
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
}

.class-facts strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.class-facts strong svg {
  width: 0.9rem;
  height: 0.9rem;
}

.class-facts span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
}

.class-bullets {
  margin: 0.85rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 0.75rem;
  border-left: 2px solid var(--line-2);
  padding-left: 1rem;
  margin-top: 0.85rem;
}

.timeline-item {
  position: relative;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1rem - 5px);
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.9rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
}

.video-frame iframe,
.video-frame img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-list {
  display: grid;
  gap: 0.5rem;
  max-height: 22rem;
  overflow: auto;
}

.video-list button {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.6rem;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.4rem;
  cursor: pointer;
}

.video-list button.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.video-list img {
  width: 5.5rem;
  height: 3.2rem;
  object-fit: cover;
  border-radius: 0.55rem;
}

.map-placeholder {
  border-radius: var(--radius-sm);
  border: 1px dashed #c9b8a4;
  background:
    linear-gradient(135deg, rgba(31, 110, 140, 0.07), rgba(205, 94, 119, 0.07)),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(29, 53, 87, 0.03) 18px, rgba(29, 53, 87, 0.03) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(29, 53, 87, 0.03) 18px, rgba(29, 53, 87, 0.03) 19px);
  min-height: 13rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.35rem;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-btn);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: var(--ink);
}

.form-row textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.75rem;
  align-items: start;
}

.founder-layout .founder-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-width: 320px;
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(29, 45, 68, 0.12);
}

.founder-layout .founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* —— Footer —— */
.site-footer {
  background: #0e1a2b;
  color: rgba(255, 255, 255, 0.86);
  padding: 2.75rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 2rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.9fr 1fr 1.1fr;
    gap: 1.5rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #fff;
}

.footer-logo img {
  height: 3rem;
  width: auto;
  max-width: 14rem;
  border-radius: 0.45rem;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  padding: 0.2rem 0.4rem;
}

.footer-logo strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.footer-logo small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-footer svg {
  width: 1rem;
  height: 1rem;
}

.btn-footer-wa {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.08);
}

.btn-footer-wa:hover {
  background: rgba(74, 222, 128, 0.16);
  color: #86efac;
}

.btn-footer-phone {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-footer-phone:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.footer-links,
.footer-genres {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-genres a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.28rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer-links a span {
  color: var(--accent);
  font-weight: 700;
}

.footer-genres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.75rem;
}

.footer-genres a::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #cd5e77;
  flex-shrink: 0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-enquire {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #e8799a, #cd5e77);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(205, 94, 119, 0.28);
}

.footer-enquire:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 18, 32, 0.82);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.lightbox-overlay.open {
  opacity: 1;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-overlay img {
  max-width: min(92vw, 34rem);
  max-height: 86vh;
  border-radius: 0.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.cert-banner .hero-actions {
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cert-banner .btn-navy {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.footer-socials {
  display: grid;
  gap: 0.55rem;
}

.footer-socials-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

.social-card strong {
  display: block;
  font-size: 0.78rem;
}

.social-card small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
}

.social-ico {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.social-card--yt .social-ico {
  background: #ef4444;
  color: #fff;
}

.social-card--fb .social-ico {
  background: #2563eb;
  color: #fff;
}

.social-card--ig .social-ico {
  background: linear-gradient(135deg, #f97316, #db2777, #7c3aed);
  color: #fff;
}

.footer-contact-meta {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.footer-contact-meta a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.28);
  padding: 0.85rem 0 calc(0.85rem + 4.5rem);
}

@media (min-width: 721px) {
  .footer-bottom-bar {
    padding-bottom: 0.95rem;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.btn-back-inline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-back-inline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 214, 197, 0.9);
  padding: 0.3rem 0.2rem calc(0.3rem + env(safe-area-inset-bottom));
}

.bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 0.12rem;
  padding: 0.3rem 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--accent);
}

.bottom-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.back-to-top {
  position: fixed;
  right: 0.9rem;
  bottom: 4.6rem;
  z-index: 95;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  border: 0;
  background: var(--ink-2);
  color: #fff;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

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

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

@media (max-width: 980px) {
  .founder-layout,
  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .founder-layout .founder-photo {
    max-width: 280px;
    margin-inline: auto;
  }

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

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-primary {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 721px) {
  .bottom-nav {
    display: none;
  }

  .page-main {
    padding-bottom: 2rem;
  }

  .site-footer {
    padding-bottom: 2.35rem;
  }

  .back-to-top {
    bottom: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .btn-menu {
    display: none;
  }
}

/* —— 水彩游標特效（對齊舊站「游標意境」） —— */
.cursor-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
}

.cursor-fx-panel {
  position: fixed;
  right: 4.2rem;
  bottom: 1.25rem;
  z-index: 96;
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(232, 165, 152, 0.3);
  box-shadow: 0 10px 28px rgba(74, 62, 61, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s var(--ease);
}

.cursor-fx-panel:hover,
.cursor-fx-panel.is-open {
  background: rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
  .cursor-fx-panel {
    display: flex;
  }
}

@media (min-width: 721px) {
  .cursor-fx-panel {
    bottom: 1.35rem;
  }
}

.cursor-fx-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: #faf6f0;
  color: #4a3e3d;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.cursor-fx-toggle:hover {
  background: #f3ece1;
}

.cursor-fx-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8a598, #f9d5a7, #e2d4e8);
  flex-shrink: 0;
}

.cursor-fx-dot--rosewater {
  background: linear-gradient(135deg, #e8a598, #f9d5a7, #e2d4e8);
}

.cursor-fx-dot--swanlake {
  background: linear-gradient(135deg, #b8c0ff, #d8e2dc, #e2d4e8);
}

.cursor-fx-dot--goldenhour {
  background: linear-gradient(135deg, #f4a261, #f9d5a7, #fadcd9);
}

.cursor-fx-dot--camellia {
  background: linear-gradient(135deg, #e5989b, #ffb5a7, #fcd5ce);
}

.cursor-fx-options {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.25rem;
}

.cursor-fx-options[hidden] {
  display: none;
}

.cursor-fx-swatches {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cursor-fx-swatch {
  width: 1.25rem;
  height: 1.25rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.cursor-fx-swatch:hover {
  opacity: 1;
  transform: scale(1.2);
}

.cursor-fx-swatch.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px #4a3e3d, 0 0 0 3px #fff;
}

.cursor-fx-swatch--rosewater {
  background: linear-gradient(135deg, #e8a598, #f9d5a7, #e2d4e8);
}

.cursor-fx-swatch--swanlake {
  background: linear-gradient(135deg, #b8c0ff, #d8e2dc, #e2d4e8);
}

.cursor-fx-swatch--goldenhour {
  background: linear-gradient(135deg, #f4a261, #f9d5a7, #fadcd9);
}

.cursor-fx-swatch--camellia {
  background: linear-gradient(135deg, #e5989b, #ffb5a7, #fcd5ce);
}

.cursor-fx-divider {
  display: inline-block;
  width: 1px;
  height: 0.75rem;
  margin: 0 0.25rem;
  background: #cbd5e1;
}

.cursor-fx-mode {
  border: 0;
  border-radius: 0.4rem;
  padding: 0.2rem 0.5rem;
  background: #f1f5f9;
  color: #4a3e3d;
  font-size: 0.625rem;
  cursor: pointer;
  white-space: nowrap;
}

.cursor-fx-mode:hover {
  background: #e2e8f0;
}

/* —— Pathway index page —— */
.pw-hero {
  padding-top: 1.35rem;
}

.pw-kicker {
  color: #b07a6a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.pw-hero-copy h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #1d3557;
  font-family: var(--font-serif);
}

.pw-subkicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7c93;
  margin-bottom: 0.85rem;
}

.pw-hero-copy > p {
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 1.1rem;
}

.pw-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.pw-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pw-pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-btn);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  color: #5c6675;
}

.pw-pill--amber {
  background: #fff6e5;
  border-color: #f0d7a8;
  color: #9a4d12;
}

.pw-pill--blue {
  background: #e8f1fb;
  border-color: #bfd4ea;
  color: #1d4ed8;
}

.pw-tracks-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1.75rem 0 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid #eadfce;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a7a66;
}

.pw-tracks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .pw-tracks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

a.pw-track-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

a.pw-track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(29, 45, 68, 0.1);
}

.pw-track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.pw-track-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.pw-track-card--rose .pw-track-mark { background: #e11d48; }
.pw-track-card--amber .pw-track-mark { background: #ea580c; }
.pw-track-card--teal .pw-track-mark { background: #0f766e; }

.pw-track-slug {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
}

.pw-track-card--rose .pw-track-slug { background: #ffe4e6; color: #9f1239; }
.pw-track-card--amber .pw-track-slug { background: #fef3c7; color: #92400e; }
.pw-track-card--teal .pw-track-slug { background: #ccfbf1; color: #115e59; }

.pw-track-media {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f5ece0;
}

.pw-track-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pw-track-overlay-title,
.pw-track-caption {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.75rem 0.9rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.pw-track-overlay-title {
  top: 35%;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0.45));
}

.pw-track-caption {
  bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0.72));
}

.pw-why-banner {
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #fffdf8, #f7f0e6 60%, #f3ebe1);
  border: 1px solid #e8dcc8;
}

.pw-why-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.pw-why-head h2 {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: #1d3557;
  font-family: var(--font-serif);
}

.pw-why-head span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9aa3b2;
}

.pw-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .pw-why-grid {
    grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
    gap: 1.5rem;
  }
}

.pw-why-list {
  display: grid;
  gap: 0.75rem;
}

.pw-why-card {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid #efe6d8;
  box-shadow: var(--shadow-xs);
}

.pw-why-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.pw-why-card--gold .pw-why-num { background: #d4a017; }
.pw-why-card--blue .pw-why-num { background: #3b82f6; }
.pw-why-card--rose .pw-why-num { background: #e8799a; }
.pw-why-card--green .pw-why-num { background: #22a06b; }

.pw-why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #1d3557;
  line-height: 1.4;
}

.pw-why-card p {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.pw-why-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pw-block-head {
  margin-bottom: 1rem;
}

.pw-block-head span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7c8aa0;
  margin-bottom: 0.35rem;
}

.pw-block-head h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #1d3557;
}

.pw-block-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pw-block-head--sm {
  margin-top: 1.5rem;
}

.pw-block-head--sm h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #1d3557;
}

.pw-block-sub {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.pw-dims-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .pw-dims-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pw-dim-card {
  padding: 1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.pw-dim-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.pw-dim-card--orange span { color: #ea580c; }
.pw-dim-card--blue span { color: #2563eb; }
.pw-dim-card--rose span { color: #e11d48; }
.pw-dim-card--green span { color: #16a34a; }

.pw-dim-card strong {
  display: block;
  font-size: 0.98rem;
  color: #1d3557;
  margin-bottom: 0.25rem;
}

.pw-dim-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.pw-acad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .pw-acad-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
}

.pw-acad-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.pw-acad-card span {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.pw-acad-card--orange span { color: #ea580c; }
.pw-acad-card--blue span { color: #2563eb; }
.pw-acad-card--rose span { color: #e11d48; }

.pw-acad-card strong {
  display: block;
  font-size: 1.25rem;
  color: #1d3557;
  margin-bottom: 0.25rem;
}

.pw-acad-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.pw-disclaimer {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #e5dccb;
  background: #faf7f2;
  font-size: 0.78rem;
  color: var(--muted);
}

.pw-levels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .pw-levels-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pw-level-card {
  padding: 1.05rem 1.1rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  min-height: 100%;
}

.pw-level-card--gold {
  border-color: #e4c27a;
}

.pw-level-tag {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.pw-level-card--grey .pw-level-tag { background: #eef1f5; color: #475569; }
.pw-level-card--blue .pw-level-tag { background: #e0f2fe; color: #075985; }
.pw-level-card--rose .pw-level-tag { background: #ffe4e6; color: #9f1239; }
.pw-level-card--gold .pw-level-tag { background: #fef3c7; color: #92400e; }

.pw-level-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #1d3557;
}

.pw-level-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pw-careers {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: #f1f3f6;
}

.pw-careers > span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.pw-careers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pw-career-pill {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #d7dde5;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.pw-career-pill:hover {
  border-color: #1d3557;
  color: #1d3557;
}

.pw-consult-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border-radius: 1.35rem;
  background: #1d3557;
  color: #fff;
  margin-bottom: 1.75rem;
}

.pw-consult-banner strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.pw-consult-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.pw-faq-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a93a3;
  margin-bottom: 0.75rem;
}

.pw-faq-list {
  display: grid;
  gap: 0.65rem;
}

.pw-faq-item {
  border-radius: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  padding: 0.15rem 0.2rem;
}

.pw-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: #1d3557;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pw-faq-item summary::-webkit-details-marker {
  display: none;
}

.pw-faq-item summary span::before {
  content: "›";
  display: inline-block;
  color: #94a3b8;
  font-size: 1.2rem;
  transition: transform 0.2s var(--ease);
}

.pw-faq-item[open] summary span::before {
  transform: rotate(90deg);
}

.pw-faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* —— Home timeline / venues —— */
.home-tl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.home-tl-item {
  background: linear-gradient(180deg, #fffdf8, #f7f0e4);
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
}
.home-tl-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e3a5f;
  margin-bottom: 0.45rem;
}
.home-tl-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.home-tl-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}
.home-venue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-venue-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1rem;
  padding: 1.15rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.home-venue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.08);
}
.home-venue-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.home-venue-meta {
  display: inline-block;
  margin-top: 0.75rem;
  color: #1e3a5f;
  font-size: 0.85rem;
  font-weight: 600;
}
@media (max-width: 960px) {
  .home-tl-grid,
  .home-venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .home-tl-grid,
  .home-venue-grid {
    grid-template-columns: 1fr;
  }
}

/* —— About heritage —— */
.about-tl {
  display: grid;
  gap: 1.25rem;
}
.about-tl-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: #fffdf8;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 1.1rem;
  overflow: hidden;
}
.about-tl-photo img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.about-tl-copy {
  padding: 1.15rem 1.25rem 1.25rem 0;
}
.about-tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.about-fellow-grid,
.about-shield-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.about-fellow,
.about-shield {
  background: linear-gradient(165deg, #fffef9, #f4ebe0);
  border: 1px solid var(--border, rgba(30, 58, 95, 0.1));
  border-radius: 1rem;
  padding: 1.15rem;
}
.about-fellow-code,
.about-shield-code {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--seal, #1e3a5f);
  margin-bottom: 0.35rem;
}
.about-shield {
  border-color: var(--border);
  box-shadow: inset 0 0 0 1px var(--border);
}
.about-shield-role {
  font-weight: 600;
  color: #1e3a5f;
}
.about-album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.about-album-photo {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}
.about-album-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.about-album-photo:hover img {
  transform: scale(1.05);
}
.about-clipping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.about-clipping {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: start;
  background: #fffdf8;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1.1rem;
  padding: 1rem;
}
.about-clipping-media {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0ebe3;
}
.about-clipping-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-clipping-body h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.05rem;
}
.about-clipping-body .lede {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.about-unesco-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
}
.founder-layout h2 .en {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-sans);
}
@media (max-width: 720px) {
  .about-clipping-grid {
    grid-template-columns: 1fr;
  }
  .about-clipping {
    grid-template-columns: 1fr;
  }
}

.about-album-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.78rem;
  text-align: left;
}
@media (max-width: 900px) {
  .about-tl-item {
    grid-template-columns: 1fr;
  }
  .about-tl-copy {
    padding: 0 1.1rem 1.1rem;
  }
  .about-fellow-grid,
  .about-shield-grid,
  .about-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .about-fellow-grid,
  .about-shield-grid,
  .about-album-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Outreach —— */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.outreach-card {
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.outreach-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.outreach-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.outreach-body ul {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.outreach-body .btn {
  margin-top: auto;
  align-self: flex-start;
}
.outreach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.outreach-step {
  background: linear-gradient(180deg, #fffdf8, #f3ebe0);
  border-radius: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(30, 58, 95, 0.08);
}
.outreach-step-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #1e3a5f;
  margin-bottom: 0.35rem;
}
@media (max-width: 900px) {
  .outreach-grid,
  .outreach-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .outreach-grid,
  .outreach-steps {
    grid-template-columns: 1fr;
  }
}

/* —— Press gallery —— */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.gallery-filters .chip span {
  opacity: 0.7;
  margin-left: 0.25rem;
  font-size: 0.78em;
}
.gallery-count {
  margin: 0 0 1rem;
}
.gallery-masonry {
  columns: 3 280px;
  column-gap: 1rem;
}
.gallery-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1rem;
  overflow: hidden;
}
.gallery-media {
  position: relative;
  background: #111;
}
.gallery-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.gallery-fallback {
  min-height: 8rem;
  display: grid;
  place-items: center;
  background: #1e3a5f;
  color: #fff;
}
.gallery-play {
  position: absolute;
  inset: auto auto 0.75rem 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e3a5f;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.gallery-body {
  padding: 0.95rem 1rem 1.1rem;
}
.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.gallery-body h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}
.gallery-body p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.gallery-empty {
  text-align: center;
  padding: 2rem;
  color: var(--ink-soft);
}
.lightbox-video {
  width: min(960px, 92vw);
}
.lightbox-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 0.5rem;
  background: #000;
}

/* —— Pathway sub pages —— */
.pw-genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.35rem;
}
.pw-genre-card {
  background: #fffdf8;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1.15rem;
  padding: 1.25rem 1.35rem;
}
.pw-genre-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: var(--ink);
}
.pw-genre-card h3 .en {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-sans);
}
.pw-genre-card .lede {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.pw-genre-benefits {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .pw-genre-grid {
    grid-template-columns: 1fr;
  }
}

.pw-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.pw-stage {
  background: #fffdf8;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1rem;
  padding: 1.1rem;
}
.pw-stage-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1e3a5f;
  margin-bottom: 0.45rem;
}
.pw-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pw-outcome {
  background: linear-gradient(160deg, #fff, #f7f0e6);
  border-radius: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(30, 58, 95, 0.08);
}
@media (max-width: 960px) {
  .pw-stage-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .pw-stage-grid,
  .pw-outcome-grid {
    grid-template-columns: 1fr;
  }
}

/* —— News / Contact / Privacy —— */
.news-list {
  display: grid;
  gap: 1.15rem;
}
.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1.1rem;
  overflow: hidden;
}
.news-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}
.news-body {
  padding: 1.1rem 1.2rem 1.2rem 0;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.news-details {
  margin-top: 0.75rem;
}
.news-details summary {
  cursor: pointer;
  color: #1e3a5f;
  font-weight: 600;
}
.news-details p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.contact-venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.contact-venue {
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 1.1rem;
  overflow: hidden;
}
.contact-map {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}
.contact-venue-body {
  padding: 1rem 1.1rem 1.2rem;
}
.contact-socials {
  display: grid;
  gap: 0.75rem;
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: #f7f1e7;
  border: 1px solid rgba(30, 58, 95, 0.08);
}
.contact-social:hover {
  background: #efe6d6;
}
.contact-social span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.privacy-prose p {
  line-height: 1.8;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .news-card {
    grid-template-columns: 1fr;
  }
  .news-body {
    padding: 0 1.1rem 1.1rem;
  }
  .contact-venue-grid {
    grid-template-columns: 1fr;
  }
}
