:root{--ink:#17203a;--muted:#5d677f;--line:#e3e6ee;--brand:#1c3f94;--deep:#132c68;--gold:#c8a14a;--sand:#f6f7fb;--white:#fff}
*{box-sizing:border-box}
body{margin:0;font:16px/1.65 Georgia,"Times New Roman",serif;color:var(--ink);background:var(--white)}
img{max-width:100%;display:block}
a{color:var(--brand)}
h1,h2,h3{letter-spacing:-.01em}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.wrap.narrow{max-width:760px}
.sans{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}

/* header */
header.site{border-bottom:1px solid var(--line);background:var(--white);position:sticky;top:0;z-index:10}
header.site .wrap{display:flex;align-items:center;gap:26px;height:74px}
.logo{font-weight:700;font-size:19px;color:var(--brand);text-decoration:none;letter-spacing:-.01em}
.logo span{display:block;font:11px/1 -apple-system,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-top:3px}
header.site nav{display:flex;gap:22px;margin-left:auto;font-family:-apple-system,sans-serif;font-size:14.5px}
header.site nav a{color:var(--muted);text-decoration:none}
header.site nav a:hover{color:var(--brand)}
.btn{display:inline-block;background:var(--brand);color:#fff;padding:12px 22px;border-radius:4px;text-decoration:none;font:600 14.5px/1 -apple-system,sans-serif;border:1px solid var(--brand)}
.btn:hover{background:var(--deep);border-color:var(--deep)}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn.ghost:hover{background:rgba(255,255,255,.14)}

/* hero */
.hero{position:relative;isolation:isolate;color:#fff;display:flex;align-items:flex-end;min-height:min(74vh,620px);padding:0 0 62px;border-bottom:1px solid var(--line)}
.hero .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(88deg,rgba(10,22,52,.82) 0%,rgba(10,22,52,.62) 46%,rgba(10,22,52,.18) 100%)}
.hero h1{font-size:clamp(32px,5vw,52px);line-height:1.1;margin:0 0 16px;max-width:16ch}
.hero .lede{font-size:19px;max-width:52ch;margin:0 0 28px;color:rgba(255,255,255,.9)}
.hero .eyebrow{color:#e8cf9c}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin:0}
/* An inner page: same shape, no picture behind it. */
.hero.small{min-height:0;padding:74px 0;background:var(--sand);color:var(--ink);align-items:stretch}
.hero.small::after{display:none}
.hero.small h1{font-size:clamp(30px,4.6vw,46px);max-width:17ch}
.hero.small .lede{color:var(--muted)}
.hero.small .eyebrow{color:var(--gold)}

.eyebrow{font:700 11.5px/1 -apple-system,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--gold);margin:0 0 14px}
section{padding:66px 0}
section h2{font-size:clamp(23px,3vw,31px);margin:0 0 12px}
section .intro{color:var(--muted);max-width:62ch;margin:0 0 32px}
.alt{background:var(--sand)}

/* the numbers band under the hero */
.band{background:var(--deep);color:#fff;padding:34px 0}
.band .facts{display:grid;gap:26px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.band .fact .num{font-size:33px;line-height:1.1;color:#fff}
.band .fact .lab{font:13.5px/1.5 -apple-system,sans-serif;color:rgba(255,255,255,.72);margin-top:5px}

/* welcome from the head */
.welcome{display:grid;gap:36px;grid-template-columns:230px 1fr;align-items:start}
.welcome img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#e6e9f2}
.welcome p{margin:0 0 16px}
.welcome .sig{font:600 15px/1.5 -apple-system,sans-serif;color:var(--muted);margin:20px 0 0}

/* stages */
.stages{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:32px}
.stage{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.stage img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e6e9f2}
.stage h3{margin:18px 20px 4px;font-size:19px}
.stage .ages{margin:0 20px 10px;font:600 12.5px/1 -apple-system,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--gold)}
.stage p{margin:0 20px 20px;color:var(--muted);font-size:15px}

/* gallery */
.gallery{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-top:30px}
.gallery figure{margin:0}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;background:#e6e9f2}
.gallery figcaption{font:14px/1.5 -apple-system,sans-serif;color:var(--muted);margin-top:9px}

/* parent quotes */
.quotes{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:30px}
.quotes figure{margin:0;background:#fff;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:6px;padding:24px 26px}
.quotes blockquote{margin:0;font-size:17px;line-height:1.6}
.quotes figcaption{margin-top:14px;font:600 13px/1 -apple-system,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}

/* news and staff cards */
.grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.card{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;display:block}
.card img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e6e9f2}
.card .body{padding:18px}
.card h3{margin:0 0 7px;font-size:18px}
.card time{font:600 12px/1 -apple-system,sans-serif;color:var(--gold);text-transform:uppercase;letter-spacing:.07em}
.card p{margin:9px 0 0;color:var(--muted);font-size:15px}
.staff{display:grid;gap:26px;grid-template-columns:repeat(auto-fit,minmax(196px,1fr))}
.person img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;margin-bottom:13px;background:#e6e9f2}
.person h3{margin:0 0 3px;font-size:17px}
.person .role{font:600 13px/1.4 -apple-system,sans-serif;color:var(--gold);margin:0 0 7px}
.person p{margin:0;color:var(--muted);font-size:14.5px}

/* dated lists */
.events{border-top:1px solid var(--line)}
.event{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid var(--line);align-items:baseline}
.event .when{flex:none;width:132px;font:700 13px/1.5 -apple-system,sans-serif;color:var(--brand);text-transform:uppercase;letter-spacing:.05em}
.event .when time{display:block;font-size:11px;opacity:.65;letter-spacing:.04em}
.event h3{margin:0 0 5px;font-size:18px}
.event p{margin:0;color:var(--muted);font-size:15px}

/* numbered steps */
.steps{counter-reset:step;list-style:none;margin:32px 0 0;padding:0;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.steps li{counter-increment:step;position:relative;padding:26px 24px 24px;background:#fff;border:1px solid var(--line);border-radius:8px}
.steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  background:var(--brand);color:#fff;font:700 15px/1 -apple-system,sans-serif;margin-bottom:14px}
.steps h3{margin:0 0 7px;font-size:17.5px}
.steps p{margin:0;color:var(--muted);font-size:15px}

/* questions */
.faq{margin-top:28px;border-top:1px solid var(--line)}
.faq > div{padding:22px 0;border-bottom:1px solid var(--line)}
.faq h3{margin:0 0 7px;font-size:17.5px}
.faq p{margin:0;color:var(--muted)}

.richtext ul{margin:14px 0;padding-left:22px}
.richtext li{margin:0 0 7px}
.richtext a{color:var(--brand)}

/* fact box, used for event details and fees */
.factbox{background:var(--white);border-left:3px solid var(--gold);padding:22px 26px;margin:26px 0;border:1px solid var(--line)}
.alt .factbox{background:var(--white)}
.factbox dl{margin:0;display:grid;grid-template-columns:150px 1fr;gap:9px 18px;font-size:15.5px}
.factbox dt{font:700 12px/1.7 -apple-system,sans-serif;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.factbox dd{margin:0}
.fineprint{font:14px/1.6 -apple-system,sans-serif;color:var(--muted);margin:18px 0 0}

/* the band before the footer */
.callout{background:var(--brand);color:#fff;padding:52px 0}
.callout .wrap{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.callout div{flex:1 1 420px}
.callout h2{margin:0 0 8px}
.callout p{margin:0;color:rgba(255,255,255,.86);max-width:56ch}
.callout .btn{background:#fff;color:var(--brand);border-color:#fff}
.callout .btn:hover{background:#e8eefb;border-color:#e8eefb}

/* article */
article.post{max-width:720px;margin:0 auto}
article.post h1{font-size:clamp(28px,4vw,40px);line-height:1.2;margin:0 0 14px}
article.post .meta{font:600 13px/1 -apple-system,sans-serif;color:var(--gold);text-transform:uppercase;letter-spacing:.08em;margin-bottom:26px}
article.post img.lead{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;margin-bottom:30px;background:#e6e9f2}
article.post .body{font-size:17.5px;line-height:1.75}
article.post .body p{margin:0 0 18px}
.phx-empty{color:var(--muted);font-style:italic}

/* enquiry form */
form.enquiry{margin-top:26px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
form.enquiry label{display:block;font-size:13.5px;font-weight:600;color:var(--muted);margin-bottom:16px}
form.enquiry .two{display:grid;gap:0 18px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
form.enquiry input,form.enquiry select,form.enquiry textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;
  border:1px solid var(--line);border-radius:5px;background:#fff;font:16px/1.4 inherit;color:var(--ink)}
form.enquiry textarea{resize:vertical}
form.enquiry input:focus,form.enquiry select:focus,form.enquiry textarea:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
form.enquiry button{border:0;cursor:pointer;margin-top:4px}
form.enquiry .small{font-size:13px;color:var(--muted);margin:14px 0 0;font-weight:400}
.confirm{background:#fff;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:5px;padding:20px 22px;margin-top:26px}

/* notice bar and footer */
.notice{background:var(--deep);color:#fff;font:15px/1.5 -apple-system,sans-serif}
.notice .wrap{display:flex;align-items:center;gap:18px;padding:11px 24px}
.notice p{margin:0}
.notice a{color:#fff;font-weight:600;white-space:nowrap}
footer.site{border-top:1px solid var(--line);padding:48px 0 40px;font:14px/1.7 -apple-system,sans-serif;color:var(--muted);background:var(--sand)}
footer.site .cols{display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
footer.site strong{display:block;color:var(--ink);margin-bottom:8px}
footer.site p{margin:0 0 4px}
footer.site a{color:var(--muted);text-decoration:none;display:block;margin-bottom:6px}
footer.site a:hover{color:var(--brand)}
footer.site .fineprint{border-top:1px solid var(--line);padding-top:18px;margin-top:34px;font-size:13px}

/* An event in a listing is a link to its own page (D51). */
a.event{text-decoration:none;color:inherit}
a.event:hover h3{text-decoration:underline}
a.event .when time{font-size:13px;opacity:1}
a.event .when span{display:block;font-size:11px;opacity:.65}
.more{margin:18px 0 0;font-weight:600}
.phx-empty{color:var(--muted)}
/* News categories and the filter above the listing (D54). */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.filters button{font:600 13px/1 -apple-system,sans-serif;padding:9px 15px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}
.filters button:hover{border-color:var(--brand)}
.filters button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.cat:empty{display:none}
/* The pager under a long listing (D55). */
.phx-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:30px 0 0}
.phx-pager:empty{display:none}
.phx-pager button{font:600 14px/1 -apple-system,sans-serif;min-width:40px;padding:11px 14px;border-radius:6px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}
.phx-pager button:hover{border-color:var(--brand)}
.phx-pager button[aria-current="page"]{background:var(--brand);border-color:var(--brand);color:#fff}
.cat{font:600 11px/1 -apple-system,sans-serif;text-transform:uppercase;letter-spacing:.07em;color:var(--brand);margin-left:8px}
.cat::before{content:"\00b7";margin-right:8px;color:var(--muted)}
/* A row of an event's facts shows only when it has something in it, so a
   one-day event has no empty "Until" and an event with no venue no "Where". */
.factbox dl .row{display:contents}
.factbox dl .row:has(dd:empty),.factbox dl .row:has(time:empty){display:none}
.when .until:empty{display:none}
a.event .when time.until{font-size:11px;opacity:.75}
.when .until::before{content:"to "}

@media (max-width:820px){
  header.site .wrap{height:auto;padding-top:14px;padding-bottom:14px;flex-wrap:wrap;gap:12px}
  /* Logo, then the menu, then the button across the bottom. The button
     between the two read as part of the menu and pushed it onto two lines. */
  header.site .logo{order:1;width:100%}
  header.site nav{order:2;width:100%;margin-left:0;flex-wrap:wrap;gap:16px}
  header.site .btn{order:3;width:100%;text-align:center}
  /* On a narrow screen the words sit over the middle of the picture rather
     than the open sky on its left, so the wash has to come from the bottom. */
  .hero::after{background:linear-gradient(180deg,rgba(10,22,52,.5) 0%,rgba(10,22,52,.86) 72%)}
  .welcome{grid-template-columns:1fr}
  .welcome img{max-width:200px}
  .hero{min-height:0;padding:64px 0 48px}
  .event{display:block}
  .event .when{width:auto;margin-bottom:8px}
  .factbox dl{grid-template-columns:1fr;gap:2px 0}
  .factbox dt{margin-top:10px}
}

/* ── Chinese ──────────────────────────────────────────────────────────────
 *
 * Scoped to the language, so the English pages are untouched. System faces
 * only: no @font-face and no downloaded file, which is what keeps this clear
 * of D40. A CJK face has taller line boxes than a Latin one, so the body line
 * height is opened up rather than left at the Latin default.
 */
html[lang^="zh"] body,
html[lang^="zh"] button,
html[lang^="zh"] input {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
html[lang^="zh"] p,
html[lang^="zh"] blockquote { line-height: 1.85; }

/* The language switch sits in the nav and reads as a link, not a section. */
nav a.lang { opacity: .75; }
nav a.lang:hover { opacity: 1; }
