@charset "UTF-8";
:root {
  --paper: #f6f3ec;
  --white: #fffcf7;
  --ink: #1a2421;
  --muted: #5c6761;
  --line: #d8ddd4;
  --red: #b62824;
  --red-dark: #92221f;
  --red-soft: #f6ebe6;
  --soft: #edf0eb;
  --success: #255d49;
  --error: #a52a23;
  --serif: "Noto Serif TC", "Songti TC", "Songti SC", "Noto Serif CJK TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --latin: "Source Serif 4", "Baskerville", "Iowan Old Style", Georgia, serif;
  --container: 80rem;
  --radius: .45rem;
  --radius-lg: .75rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.8 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b6282480; outline-offset: 4px; }
::selection { background: #edc8bd; color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .75rem 1.25rem; }
.skip-link:focus { top: 1rem; }

.masthead { background: var(--ink); color: #e8ebe4; font-size: .75rem; letter-spacing: .07em; }
.masthead-inner { min-height: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead-inner > :last-child { display: none; }
.masthead a { min-height: 2rem; align-items: center; gap: 1rem; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fffdf9f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.25rem; gap: 1.5rem; }
.brand { display: flex; position: relative; width: 9.75rem; height: 3.321rem; overflow: hidden; flex: none; align-items: center; }
.brand-image { position: absolute; width: 134.37%; max-width: none; height: auto; left: -13.01%; top: -61.95%; }
.brand-fallback { display: flex; flex-direction: column; line-height: 1.2; }
.brand-fallback strong { font-size: 2rem; letter-spacing: -.08em; font-weight: 800; color: var(--red); }
.brand-fallback > span { font-size: .75rem; font-weight: 600; }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; width: 3rem; height: 3rem; background: transparent; border: 1px solid var(--line); border-radius: .4rem; }
.menu-toggle span { width: 1.15rem; height: 1px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.22rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.22rem) rotate(-45deg); }
.nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: .8rem 1.25rem 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px #202a2710; }
.nav-links.is-open { display: flex; flex-direction: column; }
.nav-links > a { display: flex; align-items: center; min-height: 3rem; padding: .5rem .25rem; font-size: .9375rem; }
.nav-links > a:hover { color: var(--red); }
.nav-links > .nav-join { justify-content: space-between; padding: .65rem 1.1rem; margin-top: .5rem; background: var(--red); color: white; border-radius: .4rem; }
.nav-links > .nav-join:hover { color: white; background: var(--red-dark); }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.25rem; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .9375rem; font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s; }
.button > span[aria-hidden] { font-size: 1.15rem; line-height: 1; }
.button-red { background: var(--red); border-color: var(--red); color: white; }
.button-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-cream { background: var(--white); color: var(--red); }
.button-cream:hover { background: white; }
.button-outline-light { border-color: #ffffff60; color: var(--white); background: transparent; }
.button-outline-light:hover { background: #ffffff10; border-color: white; }
.text-link, .inline-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding: .45rem 0; font-size: .9375rem; font-weight: 500; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; }
.text-link:hover, .inline-cta:hover { color: var(--red); }
.inline-cta { color: var(--red); }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--red); font-size: .875rem; font-weight: 600; letter-spacing: .08em; line-height: 1.5; }
.red-dot { display: block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--red); flex: none; }
.small-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.serif-emphasis { color: var(--red); }

.hero { position: relative; isolation: isolate; min-height: min(88vh, 46rem); display: grid; align-items: end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #142019f2 0%, #142019d6 42%, #14201966 68%, #14201922 100%),
  linear-gradient(180deg, #14201955 0%, transparent 28%, #142019cc 100%); }
.hero-copy { position: relative; z-index: 1; width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; padding-block: 4.5rem 3.25rem; max-width: 40rem; }
.hero .eyebrow { color: #f1c4b7; }
.hero .red-dot { background: #edb3a5; }
.hero h1 { font: 600 clamp(2.55rem, 9vw, 4.5rem)/1.22 var(--serif); letter-spacing: -.035em; margin-top: 1.2rem; color: var(--white); text-wrap: balance; }
.hero h1 > .hero-accent { color: #edb3a5; }
.hero-description { margin-top: 1.35rem; color: #d5ddd6; max-width: 32rem; line-height: 1.9; }
.desktop-break { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: 1.8rem; }
.hero-actions .text-link { color: var(--white); border-color: #ffffff70; }
.hero-actions .text-link:hover { color: #edb3a5; border-color: #edb3a5; }
.hero-topics { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: 1.7rem; font-size: .875rem; color: #b8c2b9; }
.hero-topics a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.hero-topics a:hover { color: #edb3a5; }
.hero-topics > span { color: #7f8b82; }
.hero-caption { position: relative; z-index: 1; width: min(calc(100% - 2.5rem), var(--container)); margin: 0 auto 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; font-size: .8125rem; color: #c4cdc5; }

.section { padding-block: 3.75rem; }
.section-heading h2, .learning-content h2, .community-heading h2, .faq-grid h2 { margin-top: .9rem; font: 600 clamp(2rem, 6vw, 3rem)/1.35 var(--serif); letter-spacing: -.03em; }
.section-heading-row { display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; margin-bottom: 2rem; }
.section-intro { color: var(--muted); font-size: 1rem; line-height: 1.9; }
.about-section { background:
  linear-gradient(180deg, #fffefa 0%, var(--white) 100%);
  border-block: 1px solid var(--line);
  position: relative;
}
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 2.75rem;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.about-grid { display: grid; gap: 2rem; }
.about-content { display: grid; gap: 1.2rem; align-content: start; }
.about-content > p { color: var(--muted); }
.about-content .lead-text { font-size: 1.125rem; color: var(--ink); line-height: 1.85; }
.about-content .about-principle { color: var(--red); padding-top: .8rem; font-family: var(--serif); font-size: 1.35rem; }
.service-grid { display: grid; gap: 1rem; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, background .2s; }
.service-card:hover { border-color: #b6bbb0; background: #fffefa; }
.service-card h3 { margin-top: 1rem; font: 600 1.7rem/1.4 var(--serif); letter-spacing: -.025em; }
.service-card p { padding-block: 1rem 1.2rem; color: var(--muted); line-height: 1.85; flex: 1; }
.service-card .inline-cta { margin-top: auto; }
.service-card-featured { background: var(--red-soft); border-color: #e7c8bc; border-top: 3px solid var(--red); }
.service-card-featured .small-label { color: #8c5046; }
.programme-rail { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 1.25rem; }
.programme-rail > h3 { font: 500 1.35rem/1.4 var(--serif); margin: 0; }
.programme-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.programme-item { display: grid; gap: .55rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.programme-item .small-label { margin: 0; }
.programme-item h4 { margin: 0; font: 600 1.15rem/1.45 var(--sans); }
.programme-item p { margin: 0; color: var(--muted); font-size: .9375rem; }
.programme-item .inline-cta { justify-self: start; }
.membership-benefits { margin-top: 3rem; }
.community-section .membership-benefits .eyebrow { color: #dfb5a8; }
.benefit-strip { display: grid; gap: 1rem; margin-top: 1.5rem; }
.benefit-item { padding: 1.2rem 0; border-top: 1px solid #ffffff36; }
.benefit-item:last-child { border-bottom: 1px solid #ffffff36; }
.benefit-item h3 { font: 500 1.25rem/1.4 var(--serif); margin: 0 0 .6rem; }
.benefit-item p { margin: 0; color: #c0cac1; font-size: .9375rem; }
.activity-history { margin-top: 2.4rem; }
.history-asof { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.history-timeline { display: grid; gap: 0; margin-top: 1.5rem; border-left: 2px solid var(--line); padding-left: 1.25rem; }
.history-item { position: relative; padding: .2rem 0 1.6rem; }
.history-item::before { content: ""; position: absolute; left: -1.5rem; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.history-item h3 { margin: 0 0 .55rem; font: 600 1.2rem/1.4 var(--serif); }
.history-item p { margin: 0; color: var(--muted); font-size: .9375rem; }
.provider-attribution { display: flex; align-items: center; gap: 1rem; width: 100%; margin-top: auto; padding: 1rem 0; border: 0; color: var(--ink); background: transparent; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.provider-attribution img { width: 5rem; height: 5rem; flex: 0 0 5rem; object-fit: contain; border: 0; background: transparent; }
.provider-attribution span:nth-of-type(1) { flex: 1; }
.provider-attribution span:last-child { color: var(--red); }
.service-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem 1.5rem; margin-top: 1.5rem; padding-top: 1rem; color: var(--muted); font-size: .9375rem; }

.community-section { color: var(--white); background: var(--ink); }
.community-grid { display: grid; gap: 2.5rem; }
.community-heading .eyebrow { color: #dfb5a8; }
.community-heading > p:last-child { color: #c0cac1; margin-top: 1.4rem; }
.community-options { display: grid; gap: 1.75rem; }
.community-item { padding-top: 1.4rem; border-top: 1px solid #ffffff36; }
.community-item h3 { font: 500 1.65rem/1.4 var(--serif); }
.community-item p { color: #c0cac1; margin-block: 1rem 1.5rem; }
.community-item .text-link { color: var(--white); }
.community-item .text-link:hover { color: #edb3a5; }
.learning-grid { display: grid; gap: 2.5rem; align-items: center; }
.learning-visual { min-width: 0; }
.learning-visual img { width: 100%; height: auto; border-radius: .75rem; }
.learning-visual figcaption { font-size: .8125rem; color: var(--muted); margin-top: .75rem; }
.learning-content .section-intro { margin-top: 1.2rem; }
.learning-list { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; }
.learning-list li { position: relative; padding-left: 1.2rem; margin-block: .6rem; font-size: .9375rem; }
.learning-list li::before { content: ""; width: .3rem; height: .3rem; position: absolute; left: 0; top: .85rem; background: var(--red); border-radius: 50%; }
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.partners-section { background: var(--white); border-block: 1px solid var(--line); }
.partners-section .section-heading-row { margin-bottom: 1rem; }
.partner-intro { max-width: 44rem; color: var(--muted); font-size: 1rem; }
.partner-link-note { margin-top: .6rem; margin-bottom: 1.6rem; color: var(--muted); font-size: .875rem; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-card { min-width: 0; min-height: 11rem; padding: 1.25rem .85rem; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .18s ease, box-shadow .18s ease; }
.partner-card:hover { background: var(--paper); box-shadow: inset 0 -2px var(--red); }
.partner-card:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.partner-logo-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 4.5rem; margin-bottom: 1.1rem; }
.partner-logo-wrap img { display: block; width: 100%; height: 100%; max-width: 10rem; max-height: 3.75rem; object-fit: contain; }
.partner-logo-reversed { max-width: 10rem; padding: .75rem; background: var(--ink); border-radius: .3rem; }
.partner-logo-symbol { width: 4.5rem; }
.partner-card h3 { margin: 0; font: 600 .9375rem/1.5 var(--sans); overflow-wrap: anywhere; }
.partner-domain { margin-top: auto; padding-top: .55rem; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.partner-domain > span { margin-left: .15rem; color: var(--red); }
.partner-note { margin-top: .35rem; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.partner-history-heading { margin-block: 2.5rem 1.4rem; }
.partner-history-heading h3 { font: 500 1.35rem/1.4 var(--serif); margin-bottom: .6rem; }
.partner-history-heading p { color: var(--muted); font-size: .9375rem; }
.faq-grid { display: grid; gap: 2.2rem; }
.faq-grid > div:first-child > .section-intro { margin-block: 1.3rem .6rem; }
.faq-grid > div:first-child > .text-link { color: var(--red); }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; padding-block: 1.25rem; min-height: 4rem; font-size: .9375rem; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary > span { color: var(--red); font-size: 1.5rem; font-family: var(--latin); line-height: 1; }
details[open] > summary > span { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 1rem 1.25rem 0; font-size: .9375rem; }
.contact-section { padding-block: 3.75rem; background: var(--red); color: var(--white); }
.contact-inner { display: flex; flex-direction: column; gap: 2rem; }
.contact-section .eyebrow { color: #f1c4b7; }
.contact-section h2 { margin-top: .9rem; font: 500 clamp(2rem, 6vw, 3.3rem)/1.4 var(--serif); letter-spacing: -.025em; }
.contact-section h2 + p { margin-top: 1.2rem; color: #f6d9d0; font-size: .9375rem; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; }
.contact-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.75rem; border-bottom: 1px solid #f1c4b780; font-size: .9375rem; }
.site-footer { background: var(--white); padding-block: 2.5rem 1.25rem; }
.footer-main { display: grid; gap: 1.5rem; align-items: start; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .5rem; font: 800 2rem/1 var(--sans); letter-spacing: -.065em; }
.footer-brand > span { font: 500 .8125rem/1.5 var(--sans); letter-spacing: .02em; }
.footer-main > p { color: var(--muted); font-size: .875rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem 1.5rem; font-size: .875rem; }
.footer-nav > a { min-height: 2.75rem; display: flex; align-items: center; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2rem; color: var(--muted); font-size: .8125rem; }
.footer-bottom > div { display: flex; gap: 1.5rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }

dialog { padding: 0; border: 1px solid var(--line); border-radius: .9rem; color: var(--ink); background: var(--white); max-height: 90dvh; max-width: calc(100vw - 1.5rem); width: 40rem; box-shadow: 0 24px 80px #14201945; overflow: auto; }
dialog::backdrop { background: #14201999; backdrop-filter: blur(6px); }
.dialog-shell { padding: 2.75rem 1.5rem 1.5rem; position: relative; }
.dialog-close { position: absolute; right: .6rem; top: .6rem; font-size: 1.75rem; line-height: 1; min-width: 2.75rem; min-height: 2.75rem; background: transparent; border: 0; color: var(--muted); }
.dialog-close:hover { color: var(--red); }
.dialog-shell > h2 { font: 600 1.8rem/1.4 var(--serif); margin-block: .7rem; }
.dialog-intro { font-size: .9375rem; color: var(--muted); }
.contact-dialog { width: 29rem; }
.qr-holder { margin: 1.5rem auto; width: 14.375rem; max-width: 100%; min-height: 14.375rem; background: white; display: flex; align-items: center; justify-content: center; padding: .8rem; border: 1px solid var(--line); border-radius: .5rem; }
.qr-holder .contact-qr { width: 100%; height: auto; object-fit: contain; }
.qr-fallback { text-align: center; color: var(--muted); font-size: .875rem; }
.full-width { width: 100%; justify-content: space-between; }
form label { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; font-size: .9375rem; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; background: var(--white); border: 1px solid #cbd0c7; border-radius: .4rem; color: var(--ink); font-size: 1rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8a938b; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .9375rem; margin-bottom: .6rem; }

@media (min-width: 640px) {
  .container { width: min(calc(100% - 4rem), var(--container)); }
  .masthead-inner > :last-child { display: flex; }
  .hero-copy { width: min(calc(100% - 4rem), var(--container)); padding-block: 5rem 3.5rem; }
  .hero-caption { width: min(calc(100% - 4rem), var(--container)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
  .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card { padding-inline: 1.25rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .hero { min-height: min(86vh, 44rem); align-items: center; }
  .hero-copy { padding-block: 5.5rem 4rem; max-width: 38rem; }
  .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); }
  .hero-description { font-size: .9375rem; }
  .hero-topics { font-size: .8125rem; gap: .3rem .6rem; }
  .section { padding-block: 5rem; }
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
  .about-content .lead-text { font-size: 1.25rem; }
  .section-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
  .service-card { padding: 2rem; }
  .community-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .learning-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .faq-grid { grid-template-columns: 1fr 1.35fr; gap: 4rem; }
  .contact-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
  .dialog-shell { padding: 3rem 2rem 2rem; }
}
@media (min-width: 1024px) {
  .container { width: min(calc(100% - 6rem), var(--container)); }
  .header-inner { min-height: 6rem; }
  .menu-toggle { display: none; }
  .nav-links { position: static; display: flex; align-items: center; flex-direction: row; gap: 1.5rem; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .nav-links.is-open { flex-direction: row; }
  .nav-links > a { font-size: .875rem; }
  .nav-links > .nav-join { gap: 1.5rem; margin-top: 0; min-height: 2.9rem; }
  .hero-copy { width: min(calc(100% - 6rem), var(--container)); padding-block: 6rem 4.5rem; max-width: 42rem; }
  .hero-caption { width: min(calc(100% - 6rem), var(--container)); }
  .hero h1 { margin-top: 1.5rem; font-size: clamp(3.2rem, 4.6vw, 4.5rem); }
  .hero-description { margin-top: 1.6rem; font-size: 1rem; }
  .desktop-break { display: block; }
  .hero-actions { margin-top: 2rem; }
  .hero-topics { margin-top: 1.8rem; font-size: .875rem; }
  .section { padding-block: 6rem; }
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 6rem; }
  .about-content .lead-text { font-size: 1.4rem; }
  .service-grid { gap: 1.25rem; }
  .service-card { padding: 2.25rem; }
  .service-card h3 { font-size: 2rem; }
  .service-card p { max-width: 31rem; }
  .programme-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; }
  .benefit-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; }
  .community-grid { gap: 7rem; }
  .community-item h3 { font-size: 1.9rem; }
  .learning-grid { gap: 5rem; }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partner-card { min-height: 12rem; padding-block: 1.5rem; }
  .contact-section { padding-block: 4.5rem; }
  .contact-actions { min-width: 14.5rem; }
  .contact-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr 1.25fr; gap: 3rem; }
  .footer-nav { grid-column: auto; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1440px) {
  .hero { min-height: min(84vh, 48rem); }
  .hero h1 { font-size: 4.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .7s ease both; }
  .hero-caption { animation: enter .8s .1s ease both; }
  .section-reveal { animation: enter .65s ease both; }
  @keyframes enter { from { opacity: .01; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .masthead, .site-header, .hero-actions, .contact-actions, dialog { display: none !important; }
  body { background: white; }
  .section, .contact-section { padding-block: 2rem; }
  .community-section, .contact-section { color: black; background: white; }
  .hero { min-height: auto; color: black; background: white; }
  .hero-media { display: none; }
  .hero-copy, .hero-caption { color: black; }
  .service-card, .programme-item, .history-item { break-inside: avoid; }
}

/* Featured partner uses brand ink, not an external brand blue. */
.partner-card-primary { grid-column: 1 / -1; background: var(--ink); color: #f7f5f0; padding-block: 2rem; border: 0; border-top: 3px solid var(--red); }
.partner-card-primary:hover { background: #15201d; box-shadow: none; }
.partner-card-primary .partner-logo-metachina { height: 8.5rem; margin-bottom: 1rem; padding: .75rem; background: #fff; border-radius: var(--radius); }
.partner-card-primary .partner-logo-metachina img { width: 8.5rem; height: 8.5rem; max-width: none; max-height: none; border: 0; background: transparent; object-fit: contain; }
.partner-card-primary h3 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 750; color: #fff; }
.partner-card-primary .partner-note { font-size: 1rem; color: #d7dfd6; font-weight: 600; }
.partner-card-primary .partner-domain { font-size: .9375rem; color: #f1c4b7; }
.partner-card-primary .partner-domain > span { color: #f1c4b7; }
.partner-grid-history .partner-card { min-height: 8.5rem; padding-block: 1rem; }
.partner-grid-history .partner-logo-wrap { height: 3.25rem; margin-bottom: .75rem; }
.partner-grid-history .partner-card h3 { font-size: .875rem; }

.registration-section { border-top: 1px solid var(--line); background: var(--paper); }
.registration-heading { margin-bottom: 1.75rem; }
.registration-heading .eyebrow { color: var(--red); letter-spacing: .14em; }
.registration-card { display: grid; grid-template-columns: minmax(0,1fr); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--white); }
.registration-identity { min-width: 0; padding: clamp(1.5rem,4vw,3rem); background: #f5f2ec; }
.registration-wordmark { display: block; color: var(--red); font: 750 2.25rem/1 var(--sans); letter-spacing: -.06em; margin-bottom: 2rem; }
.registration-label, .registration-facts dt { color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-bottom: .6rem; }
.registration-identity h3 { font: 600 clamp(1.4rem,3vw,1.9rem)/1.6 var(--serif); margin: 0; }
.registration-english { font-size: .6875rem; line-height: 1.8; letter-spacing: .055em; color: var(--muted); margin-top: .5rem; overflow-wrap: anywhere; }
.registration-entity { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.registration-entity > p:not([class]) { font-size: 1rem; line-height: 1.75; }
.registration-information { min-width: 0; padding: clamp(1.5rem,4vw,3rem); }
.registration-facts { display: grid; gap: 1.75rem; margin: 0; }
.registration-facts dd { margin: 0; color: var(--ink); font-size: .9375rem; line-height: 1.8; overflow-wrap: anywhere; }
.registration-services { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.registration-services li { border: 1px solid var(--line); padding: .35rem .75rem; border-radius: .3rem; font-size: .8125rem; background: var(--paper); }
.registration-document { border-top: 1px solid var(--line); margin-top: 2rem; }
.registration-document summary { min-height: 3.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding-block: .85rem; cursor: pointer; font-size: .875rem; list-style: none; }
.registration-document summary::-webkit-details-marker { display: none; }
.registration-document summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.registration-document-status { color: #825d32; background: #f5ecdf; padding: .2rem .5rem; border-radius: .25rem; font-size: .6875rem; }
.registration-expand { margin-left: auto; font-size: 1.3rem; color: var(--red); }
.registration-document[open] .registration-expand { transform: rotate(45deg); }
.registration-document-body { padding-top: .75rem; }
.registration-number { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.registration-note { margin-top: 1.25rem; font-size: .75rem; line-height: 1.8; color: var(--muted); }
@media (min-width: 768px) { .registration-card { grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); } }
.registration-section { scroll-margin-top: 7rem; }
.registration-document summary { justify-content: flex-start; }
.registration-document summary > span { font-family: var(--sans); font-size: .875rem; line-height: 1.5; color: var(--ink); }
.registration-document summary > .registration-document-status { font-size: .6875rem; color: #825d32; }
.registration-document summary > .registration-expand { font-size: 1.3rem; color: var(--red); }
.registration-document[open] > summary > span { transform: none; }
.registration-document[open] > summary > .registration-expand { transform: rotate(45deg); }
