:root {
  color-scheme: light;
  --navy: #081d49;
  --cobalt: #1245aa;
  --sky: #1699ca;
  --lime: #bddc18;
  --paper: #fbfaf4;
  --ink: #102247;
  --edge: clamp(21px, 4.8vw, 78px);
  --header: 76px;
  --heavy: "PingFang HK", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 20px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 1rem/1.6 var(--heavy); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.skip { position: fixed; z-index: 5; left: 12px; top: 8px; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--navy); color: white; }
.nav-wrap { min-height: var(--header); display: flex; justify-content: space-between; align-items: center; max-width: 1700px; margin: auto; padding: 0 var(--edge); gap: 18px; }
.brand { align-self: stretch; display: flex; gap: 12px; align-items: center; color: var(--navy); position: relative; isolation: isolate; text-decoration: none; white-space: nowrap; font-size: clamp(1rem, 2vw, 1.47rem); font-weight: 800; }
.brand::before { content: ""; position: absolute; z-index: -1; inset: 0 -30px 0 -100px; background: white; clip-path: polygon(0 0,100% 0,calc(100% - 26px) 100%,0 100%); }
.brand img { width: 66px; height: 48px; object-fit: contain; }
nav { display: flex; gap: clamp(18px, 4vw, 62px); align-items: center; }
nav a { text-decoration: none; font-weight: 750; }
nav a:hover, nav a:focus-visible { color: var(--lime); }
.menu { display: none; }
.hero { background: var(--cobalt); color: white; overflow: clip; --reveal: 1; }
.hero-story { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); position: relative; max-width: 1700px; margin: auto; }
.hero-copy { padding: clamp(60px, 8vw, 142px) 0 clamp(74px, 8vw, 125px) var(--edge); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.7rem, 5.7vw, 6.25rem); font-weight: 850; line-height: 1.12; letter-spacing: -.075em; white-space: nowrap; transform: skewX(-6deg); transform-origin: left center; }
.hero em { color: var(--lime); font-style: normal; }
.hero-link { display: inline-flex; gap: 20px; align-items: center; margin-top: 27px; padding: 10px 28px; background: white; clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); color: var(--navy); font-weight: 850; text-decoration: none; }
.hero-link:hover, .hero-link:focus-visible { background: var(--lime); }
.flight { position: absolute; z-index: -1; width: min(41vw, 630px); height: 92px; left: 5%; bottom: -10px; pointer-events: none; }
.flight i { position: absolute; inset: 0; background: var(--sky); clip-path: polygon(0 100%, 100% 8%, 38% 100%); }
.flight i:nth-child(2) { background: var(--lime); clip-path: polygon(38% 100%, 100% 8%, 76% 50%); }
.flight img { display: none; }
.hero-photo { position: relative; min-width: 0; min-height: 425px; isolation: isolate; }
.hero-image { position: absolute; inset: 0 0 0 -14%; clip-path: polygon(26% 0,100% 0,100% 100%,0 100%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-photo::before, .hero-photo::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.hero-photo::before { inset: 0 auto auto 7%; width: 29%; height: 23%; background: var(--lime); clip-path: polygon(32% 0,100% 0,0 100%); }
.hero-photo::after { inset: auto 0 0 auto; height: 23%; width: 68%; background: var(--lime); clip-path: polygon(100% 0,100% 100%,0 100%); }
figcaption { position: absolute; z-index: 2; right: 2.7%; bottom: 6%; }
figcaption a { display: block; padding: 7px 23px; background: white; color: var(--navy); font-weight: 850; text-decoration: none; }
figcaption a:hover { background: var(--navy); color: white; }
.content { max-width: 1600px; margin: auto; padding-inline: var(--edge); }
.section-upcoming, .section-archive { padding-block: clamp(42px, 5.2vw, 85px) 0; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.12; letter-spacing: -.065em; font-weight: 850; }
.section-upcoming h2::after, .section-archive h2::after { display: block; content: ""; width: 1.45em; height: .14em; background: var(--lime); transform: skewX(-23deg); margin: .23em 0 .54em; }
.upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.event { min-height: 225px; position: relative; isolation: isolate; display: flex; align-items: center; color: white; background: var(--cobalt); overflow: hidden; text-decoration: none; }
.event img { position: absolute; inset: 0 0 0 auto; width: 48%; height: 100%; object-fit: cover; clip-path: polygon(31% 0,100% 0,100% 100%,0 100%); z-index: -1; }
.event::after { content: ""; position: absolute; z-index: -1; inset: 0 40% 0 auto; width: 17%; background: var(--lime); clip-path: polygon(90% 0,100% 0,10% 100%,0 100%); }
.event.football { background: #00668f; }
.event-body { padding: 17px 0 17px clamp(15px, 2.8vw, 34px); max-width: 54%; }
.event h3 { text-shadow: 0 1px 3px rgb(0 0 0 / .24); font-size: clamp(1.32rem, 2.55vw, 2.6rem); font-weight: 850; line-height: 1.14; margin: .28em 0 .38em; text-wrap: balance; }
.event-date, .event-action { font-size: clamp(.73rem, 1vw, .92rem); font-weight: 750; }
.event-action { display: inline-block; padding: 4px 10px; background: white; color: var(--navy); }
.event:hover .event-action, .event:focus-visible .event-action { background: var(--lime); }
.poetry-info { margin-top: 14px; border-bottom: 1px solid #c9d3df; padding: 8px 0 12px; }
summary { cursor: pointer; }
.poetry-info summary { font-weight: 750; }
.poetry-info p { margin: 12px 0; }
.action-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.action-links a { border: 1px solid #a9b8c8; border-radius: 3px; padding: 6px 12px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.archive-card { background: white; min-width: 0; border-bottom: 3px solid var(--sky); }
.archive-card summary { list-style: none; }
.archive-card summary::-webkit-details-marker { display: none; }
.archive-card img { height: auto; aspect-ratio: 1.76; object-fit: cover; }
.archive-label { display: grid; gap: 4px; padding: 13px 40px 16px 14px; position: relative; line-height: 1.3; }
.archive-label::after { content: '+'; position: absolute; color: var(--cobalt); font-size: 1.6rem; right: 14px; bottom: 11px; }
.archive-card[open] .archive-label::after { content: '−'; }
.archive-label small { font-weight: 750; color: var(--cobalt); }
.archive-label strong { font-size: clamp(1rem,1.8vw,1.35rem); }
.archive-card p { padding: 0 14px 18px; }
.about { margin-top: clamp(48px, 8vw, 104px); background: #e2f2f6; padding-block: clamp(38px, 6vw, 78px); }
.about-motto { color: var(--cobalt); font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 850; margin-top: 12px; }
.about p:last-child { max-width: 42ch; margin-top: 8px; }
footer { padding-block: 22px; color: white; background: var(--navy); }
footer .content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { text-decoration: none; }
@media (max-width: 930px) and (min-width: 701px) {
  .hero-copy { padding-block: 88px; }
  .event { min-height: 192px; }
  .event-body { max-width: 58%; }
  .event img { width: 43%; }
}
@media (max-width: 700px) {
  :root { --header: 62px; }
  .nav-wrap { flex-wrap: wrap; gap: 0; }
  .brand { min-height: var(--header); padding-right: 10px; }
  .brand img { width: 53px; height: 40px; }
  .menu-ready .menu { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: white; cursor: pointer; padding: 10px 0 10px 8px; min-height: 44px; }
  .menu span { width: 19px; height: 13px; display: inline-block; border-block: 2px solid; position: relative; }
  .menu span::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid; }
  nav { width: 100%; justify-content: space-between; gap: 8px; padding-block: 8px 13px; }
  .menu-ready:not(.menu-open) nav { display: none; }
  nav a { padding: 7px 0; }
  .hero { background: var(--navy); }
  .hero-story { display: block; }
  .hero-copy { min-height: clamp(354px, 98vw, 505px); padding: clamp(58px, 15vw, 104px) var(--edge) 95px; }
  .hero h1 { font-size: clamp(2.18rem, 10.15vw, 4.62rem); letter-spacing: -.076em; }
  .hero-link { margin-top: 23px; padding: 8px 18px; }
  .flight {
    --dove-width: clamp(90px, 30vw, 140px);
    inset: auto var(--edge) 12px;
    width: auto;
    height: auto;
    z-index: 0;
  }
  .flight i { display: none; }
  .flight img { display: block; width: var(--dove-width); }
  .scroll-motion .flight {
    transform: translate(
      calc((100% - var(--dove-width)) * var(--flight-progress, 0)),
      calc(-14px * var(--flight-progress, 0))
    );
  }
  .hero-photo { min-height: clamp(245px, 75vw, 460px); }
  .hero-image { inset: 0; clip-path: polygon(0 14%,100% 0,100% 94%,0 100%); }
  .hero-photo::before { inset: 0 0 auto; width: 100%; height: 20%; background: var(--sky); clip-path: polygon(0 70%,100% 0,100% 27%,0 100%); }
  .hero-photo::after { width: 62%; height: 16%; }
  figcaption { bottom: 4%; right: 0; max-width: 92%; }
  figcaption a { padding: 6px 15px; }
  .upcoming-grid { grid-template-columns: 1fr; gap: 12px; }
  .event { min-height: 147px; }
  .event-body { max-width: 58%; }
  .event h3 { font-size: clamp(1.35rem, 5.3vw, 2rem); }
  .event-date { display: block; }
  .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .archive-card:first-child { grid-column: 1/-1; }
  .archive-label { padding: 9px 27px 12px 9px; }
  .archive-label::after { right: 8px; bottom: 6px; }
  .scroll-motion .hero-image {
    clip-path: polygon(0 calc(23% - var(--reveal) * 22%),100% 0,100% calc(88% + var(--reveal) * 12%),0 100%);
  }
  .scroll-motion .hero-image img { transform: scale(calc(1.14 - var(--reveal) * .14)); }
  .scroll-motion .event { transform: translateX(calc((1 - var(--enter, 1)) * 20px)); }
  .scroll-motion .upcoming-grid { clip-path: inset(-6px -7px -6px -7px); }
}
@media (max-width: 350px) {
  .event img { width: 43%; }
  .event-body { max-width: 61%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
